This program mines a given Java GitHub code repository, analyses all the commits in that repository and finds commits that have added or modified the parameter of the method. The application is build on the popular framework, repodriller, that helps developers on mining software repositories. The application is already run on two popular repositories, Crawljax and Roaster. The results are generated and given in files, namely, crawljax.csv and roaster.csv
- Download the application
- Extract the downloaded contents into a directory.
- Open Netbeans and open the project by navigating into File -> Open Project
- After you open the project, Open the
MyStudy.javafile in "src/main/java/com/mycompany/mavenproject1/" by double clicking on that file from the Project explorer on the left side. - Change the Repository URl in the file on line 24 for example
.in(GitRepository.singleProject("Path/to/repo/url"))- and Change the Output CSV file directory in the line # 26 for example
.process(new DevelopersVisitor(), new CSVFile("Path/to/output.csv"))
- Right click on the project name in the left side project explorer and click Build with dependencies.
- After that, Click on Run -> Run Project (repominer).
When the Project execute successfully, It will parse all the commits in the provided repository and compile a CSV file with all the functions with added/modified parameters.
##Testing This application is already validated on two repositories, i.e. crawljax and roaster. The generated CSV files from both the repositories are included in this repository with the name crawljax.csv and roaster.csv respectively.