Using randomly chosen subjects in software engineering research

09 June 2017


flickr photo by HnyBny1969 (Regina) shared under a Creative Commons (BY-NC-ND) license

Many types of software engineering research require software subjects that a researcher can use during an experimental evaluation of a technique. For instance, if you develop a new way to test software, then you need to demonstrate that it can effectively find defects in real-world programs. So, where will you find these programs? And, how can you select the programs so as to minimize the risk of compromising your experiment?

One way to pick subject programs is to download them from an archive like the Software-Artifact Infrastructure Repository (SIR). However, there is growing concern in the software engineering community that selecting programs from SIR may not always usefully evaluate a method.

While it is possible to run experiments with programs that you download from sites like GitHub, there are challenges associated with this approach as well. For instance, researchers may be inclined — consciously or not — to specifically download and use programs on which their technique is likely to perform well.

This sounds like a thorny problem! Are there any viable solutions?

If you happen to conduct research that focuses on Java programs, then you can use the SF100 to evaluate your new approach. What if your research does not focus on this area? Thankfully, in certain domains, "natural" solutions have recently emerged. For instance, if, like me, you develop and evaluate ways to test web sites, then you can use the Discuvver site to randomly select a web site for use in your experimental study. Just click a button and you have a subject!

In a recent paper that introduces a technique for testing mobile-ready web pages, my colleagues and I used Discuvver to randomly pick web sites for use in our experiments (Walsh, Kapfhammer, & McMinn, 2017). The benefits associated with using randomly chosen subjects in our research is that now we can have more confidence in the results that demonstrate the efficiency and effectiveness of our approach.

If you are a software engineering researcher, I am interested in learning how you pick the subjects that you use to experimentally evaluate your methods. I would also appreciate your feedback on the approach that we adopted in our work on testing mobile-ready web pages. So, please contact me to share your insights!

Enjoy this post? If so, please read, SEED Interview with Kara King, my most recent article.

Categories

References

Like my work? Support it!