4.6 Article

Identification, Impact, and Refactoring of Smells in Pipe-Like Web Mashups

Journal

IEEE TRANSACTIONS ON SOFTWARE ENGINEERING
Volume 39, Issue 12, Pages 1654-1679

Publisher

IEEE COMPUTER SOC
DOI: 10.1109/TSE.2013.42

Keywords

End-user software engineering; end-user programming; web mashups; refactoring; code smells; empirical studies

Funding

  1. US National Science Foundation (NSF) Graduate Research Fellowship CFDA [47.076]
  2. NSF [0915526]
  3. AFOSR [9550-10-1-0406]
  4. Direct For Computer & Info Scie & Enginr
  5. Division of Computing and Communication Foundations [0915526] Funding Source: National Science Foundation

Ask authors/readers for more resources

With the emergence of tools to support visual mashup creation, tens of thousands of users have started to access, manipulate, and compose data from web sources. We have observed, however, that mashups created by these users tend to suffer from deficiencies that propagate as mashups are reused, which happens frequently. To address these deficiencies, we would like to bring some of the benefits of software engineering techniques to the end users creating these programs. In this work, we focus on identifying code smells indicative of the deficiencies we observed in web mashups programmed in the popular Yahoo! Pipes environment. Through an empirical study, we explore the impact of those smells on the preferences of 61 users, and observe that a significant majority of users prefer mashups without smells. We then introduce refactorings targeting those smells. These refactorings reduce the complexity of the mashup programs, increase their abstraction, update broken data sources and dated components, and standardize their structures to fit the community development patterns. Our assessment of a sample of over 8,000 mashups shows that smells are present in 81 percent of them and that the proposed refactorings can reduce the number of smelly mashups to 16 percent, illustrating the potential of refactoring to support the thousands of end-users programming mashups. Further, we explore how the smells and refactorings can apply to other end-user programming domains to show the generalizability of our approach.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.6
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available