Title :
Code you can use: Searching for web automation scripts based on reusability
Author :
Admire, James ; Al Zawwad, Abbas ; Almorebah, Abdulwahab ; Karve, Sanchit ; Scaffidi, Christopher
Author_Institution :
Sch. of Electr. Eng. & Comput. Sci., Oregon State Univ., Corvallis, OR, USA
fDate :
July 28 2014-Aug. 1 2014
Abstract :
Web scripting enables users to automate interactions with websites. Online open source repositories provide scripts available for reuse. Yet just because these scripts are open source does not mean they are all reusable: many are specialized and irrelevant to most peoples´ needs, while others are hard to understand or learn from. Repositories offer keyword-based search engines to find scripts relevant to specialized needs, but they lack any means for filtering search results according to reusability. To address this shortcoming, we present an approach for creating a model to automatically estimate the reusability of web automation scripts. To test this approach, we prototyped a search engine that uses these reusability estimates to sort one particular kind of web automation scripts, CoScripter macros, according to reusability. An empirical evaluation confirmed that the system´s reusability estimates are significantly correlated with user perceptions of macro reusability, thus implying that our approach presents a viable means for helping end-user programmers to find reusable web automation scripts.
Keywords :
Web design; authoring languages; search engines; software reusability; source code (software); CoScripter macros; Web automation scripts searching; Web scripting; Websites interactions; code; end-user programmers; filtering; keyword-based search engines; macro reusability; online open source repositories; open source scripts; system reusability; user perceptions; Automation; Computational modeling; Linear regression; Programming; Radio access networks; Search engines; Web sites; end-user programming; reuse; scripting;
Conference_Titel :
Visual Languages and Human-Centric Computing (VL/HCC), 2014 IEEE Symposium on
Conference_Location :
Melbourne, VIC
DOI :
10.1109/VLHCC.2014.6883027