• DocumentCode
    737343
  • Title

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

  • Author

    Stolee, Kathryn T. ; Elbaum, Sebastian

  • Author_Institution
    Dept. of Comput. Sci., Iowa State Univ., Ames, IA, USA
  • Volume
    39
  • Issue
    12
  • fYear
    2013
  • Firstpage
    1654
  • Lastpage
    1679
  • Abstract
    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.
  • Keywords
    Internet; software maintenance; Web sources; Yahoo! Pipes environment; end-users programming mashups; pipe-like Web mashups; smell identification; smell impact; smell refactoring; software engineering techniques; visual mashup creation; Factoring; Generators; Mashups; Programming; Visualization; End-user software engineering; code smells; empirical studies; end-user programming; refactoring; web mashups;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.2013.42
  • Filename
    6589568