korosuke613 / BWDM
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
  • For duplication, we look at places in code where there are 6 or more lines of code that are exactly the same.
  • Before duplication is calculated, the code is cleaned to remove empty lines, comments, and frequently duplicated constructs such as imports.
  • You should aim at having as little as possible (<5%) of duplicated code as high-level of duplication can lead to maintenance difficulties, poor factoring, and logical contradictions.
Learn more...
Duplication Overall
  • 8% duplication:
    • 1,431 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 120 duplicated lines
  • 7 duplicates
system8% (120 lines)
Duplication per Extension
kt7% (82 lines)
java13% (38 lines)
Duplication per Component (primary)
src8% (120 lines)
ROOT0% (0 lines)
Longest Duplicates
The list of 7 longest duplicates.
See data for all 7 duplicates...
Size#FoldersFilesLinesCode
14 x 2 src/main/kotlin/com/gith...3/bwdm/informationStore
src/main/kotlin/com/gith...3/bwdm/informationStore
52:74 (34%)
76:98 (26%)
view
10 x 2 src/main/java/workspace
src/main/java/workspace
80:91 (9%)
114:125 (9%)
view
9 x 2 src/main/kotlin/com/gith...3/bwdm/informationStore
src/main/kotlin/com/gith...3/bwdm/informationStore
12:28 (21%)
18:34 (16%)
view
9 x 2 src/main/java/workspace
src/main/java/workspace
137:150 (8%)
170:183 (8%)
view
6 x 2 src/main/kotlin/com/gith...613/bwdm/domainAnalysis
src/main/kotlin/com/gith...613/bwdm/domainAnalysis
211:216 (2%)
219:224 (2%)
view
6 x 2 src/main/kotlin/com/gith...613/bwdm/domainAnalysis
src/main/kotlin/com/gith...m/symbolicExecutionUnit
267:272 (2%)
54:59 (5%)
view
6 x 2 src/main/kotlin/com/gith...3/bwdm/informationStore
src/main/kotlin/com/gith...3/bwdm/informationStore
29:34 (14%)
37:42 (11%)
view
Duplicated Units
The list of top 1 duplicated units.
See data for all 1 unit duplicate
Size#FoldersFilesLinesCode
17 x 2 src/main/kotlin/com/gith...3/bwdm/informationStore
src/main/kotlin/com/gith...3/bwdm/informationStore
52:75 
76:99 
view