Carnegie Mellon University
Browse

Predicting Reuse of End-User Web Macro Scripts

journal contribution
posted on 2009-01-01, 00:00 authored by Chris Scaffidi, Chris Bogart, Margaret Burnett, Allen Cypher, Brad Myers, Mary Shaw

Repositories of code written by end-user program-mers are beginning to emerge, but when a piece of code is new or nobody has yet reused it, then current repositories provide users with no information about whether that code might be appropriate for reuse. Ad-dressing this problem requires predicting reusability based on information that exists when a script is created. To provide such a model for web macro scripts, we identified script traits that might plausibly predict reuse, then used IBM CoScripter repository logs to statistically test how well each corresponded to reuse. We then built a machine learning model that combines the useful traits and evaluated how well it can predict four different types of reuse that we saw in the repository logs. Our model was able to predict reuse from a surprisingly small set of traits. It is simple enough to be explained in only 6-11 rules, making it potentially viable for integration in repository search engines for end-user programmers.

History

Publisher Statement

All Rights Reserved

Date

2009-01-01

Usage metrics

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC