refactoring-ai / Data-Collection

Collect refactorings with metrics from java source code.
MIT License
6 stars 1 forks source link

Line Deletions #4

Open jan-gerling opened 4 years ago

jan-gerling commented 4 years ago

Examples for incorrect line additions and deletions tracking:

1.

Commit: https://github.com/krishagni/openspecimen/commit/beef30d32378581db842fd19fd5437070722fb9b Java File: WEB-INF/src/com/krishagni/catissueplus/core/common/events/AbstractListCriteria.java Lines Added (Detected - Total): 108 Lines Deleted (Detected - Total): 2 Lines Added (Manual - Total): 27 (1+ 10 + 12 + 4) Lines Deleted (Manual - Total): 2 (2)

2.

Commit: https://github.com/lsFusion/platform/commit/da7c6edcc3a729240cabd86ea3868073f016aaf6 Filehistory: https://github.com/lsfusion/platform/commits/da7c6edcc3a729240cabd86ea3868073f016aaf6/platform/server/src/main/java/platform/server/session/PropertyChange.java Lines Added (Detected - Total): 121 Lines Deleted (Detected - Total): 3 Lines Added (Manual - Total): Lines Deleted (Manual - Total): 118 (28 + 15 + 15 + 4 + 7 + 15 + 3 + 7 + 20 + 1 + 3)