Giter Site home page Giter Site logo

tcp2020's Introduction

How Different is Test Case Prioritization for Open and Closed Source Projects

Reference to This Paper

X. Ling, R. Agrawal, and T. Menzies, “How different is test case prioritization for open and closed source projects,” IEEE Transactions on Software Engineering, 2021.

RQ Results of Prioritization Schemes

  • Clone the repository and install the required packages list in requirements.txt.
  • To reproduce our results for RQ1 and RQ2, run rqs.py in command line by typing
    $ python3 rqs.py [data set name]
    
    For example:
    $ python3 rqs.py [email protected]
    
    Simulation results will store in result.txt file. This file is necessary for Scott-Knott analysis.
  • Run Scott-Knott analysis in command line by typing
    $ type result.txt| python2 sk_stats.py --text 30 --latex False
    
    or with Latex text
    $ type result.txt| python2 sk_stats.py --text 30 --latex True
    
    Scott-Knott analysis will show in your terminal.
  • Examples of Scott-Knott analysis and run time are showed in result folder and runtime folder.
  • To reproduce our results for table 16 in the discussion section, run Discussion1.py in command line by typing
    $ python3 Discussion1.py
    
    The code contains all the projects in an input list called "projects" in the code. If you want to add your own projects, please put the .csv files into the /data folder and put the file name in the "projects" list. (We cannot share our proprietary data, so this project is excluded in this repo)
  • To reproduce our results for figure 3 in the discussion section, run Discussion2.py in command line by typing
    $ python3 Discussion2.py
    
    The code contains all the projects and their names in two input lists called "projects" and "project_name" in the code. If you want to add your own projects, please put the .csv files into the /data folder and put the file name in the "projects" and "project_name" list. (We cannot share our proprietary data, so this project is excluded in this repo)

tcp2020's People

Contributors

xiaoling941212 avatar

Stargazers

Junaid avatar

Watchers

Tim Menzies avatar James Cloos avatar Dylan Wilson avatar Vivek Nair avatar Wei Fu avatar Rui Shu avatar Ken Tu avatar Rainnier Arennax avatar André Lustosa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.