Identification, Impact, and Refactoring of Smells in Pipe-Like Web Mashups
- 6 September 2013
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 39 (12) , 1654-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
This publication has 36 references indexed in Scilit:
- A field study of refactoring challenges and benefits2012
- Search-based refactoring: Towards semantics preservation2012
- ResEval Mash2012
- End-User Programmers and their Communities: An Artifact-based Analysis2011
- Refactoring pipe-like mashups for end-user programmers2011
- Versioning for Mashups – An Exploratory Study2011
- On Development Practices for End UsersLecture Notes in Computer Science, 2011
- Domain-Specific Mashups: From All to All You NeedLecture Notes in Computer Science, 2010
- What do we2008
- Search-based refactoring for software maintenanceJournal of Systems and Software, 2008