![Page 1: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/1.jpg)
BiCo: Towards an Infrastructure for Commit
AnalysisAndreas HohlerMaster Thesis
Supervised by Haidar Osman
![Page 2: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/2.jpg)
Software Evolution
![Page 3: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/3.jpg)
Software Evolution
![Page 4: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/4.jpg)
What’s a Big Commit?
Example of a small bug fix commit1): “FLUME-2672 NPE in KafkaSourceCounter”
1) https://issues.apache.org/jira/browse/FLUME-2672
![Page 5: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/5.jpg)
What’s a Big Commit?
Example of a big commit2) with
- 3’945 LOC changed- 73 files changed- LUCENE-6271 issue
classified as Bug
2) https://issues.apache.org/jira/browse/LUCENE-6271
![Page 6: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/6.jpg)
Tool Architecture
![Page 7: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/7.jpg)
Tool Architecture
Repository cloning
Issue linking
![Page 8: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/8.jpg)
Tool Architecture
Statistics generation
![Page 9: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/9.jpg)
Statistics
Project: Flume, Issue type: Bug
![Page 10: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/10.jpg)
Statistics
Project: Flume, Issue type: Bug
![Page 11: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/11.jpg)
Big Commit Detection
outlier detection
![Page 12: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/12.jpg)
Tool Architecture
Metrics extraction
![Page 13: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/13.jpg)
Case Study - Apache Storm
Commits in categories
![Page 14: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/14.jpg)
Case Study - Apache Storm
Categorization of big commits
Category Big commits Issue tracker Issue classifier Commit message
Feature 38 97.37%42.11%
94.74%44.74%
21.05%5.26%
partial hitsfull match
Documentation 16 100.00%100.00%
0.00%0.00%
31.25%31.25%
partial hitsfull match
Bug 198 57.07%35.35%
45.96%28.79%
23.23%13.64%
partial hitsfull match
Improvement 120 50.83%17.50%
53.33%20.00%
19.17%5.83%
partial hitsfull match
![Page 15: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/15.jpg)
Future Work
- Support more issue trackers like Mantis or Redmine
- Implement cloning of Subversion projects
- Store more metadata about projects, commits, issues
- Multi category classifier
- Other big commit detection methods
- RESTful API
- Ready-to-use Docker container
![Page 16: BiCo: Towards an Infrastructure for Commit Analysisscg.unibe.ch/download/softwarecomposition/2018-01-16-AndreasHo… · full match Improvement 120 50.83% 17.50% 53.33% 20.00% 19.17%](https://reader033.vdocument.in/reader033/viewer/2022060715/607b60d03bb30428416a28e5/html5/thumbnails/16.jpg)
Demo