BoltsFramework / Bolts-Java
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
  • 19% duplication:
    • 665 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 128 duplicated lines
  • 10 duplicates
system19% (128 lines)
Duplication per Extension
java19% (128 lines)
Duplication per Component (primary)
BoltsTest/src/bolts28% (100 lines)
Bolts/src/bolts8% (28 lines)
BoltsTest/res/values0% (0 lines)
Longest Duplicates
The list of 10 longest duplicates.
See data for all 10 duplicates...
Size#FoldersFilesLinesCode
11 x 2 BoltsTest/src/bolts
BoltsTest/src/bolts
398:410 (3%)
424:436 (3%)
view
11 x 2 BoltsTest/src/bolts
BoltsTest/src/bolts
231:242 (3%)
272:283 (3%)
view
10 x 2 BoltsTest/src/bolts
BoltsTest/src/bolts
244:256 (2%)
285:297 (2%)
view
10 x 2 BoltsTest/src/bolts
BoltsTest/src/bolts
440:450 (2%)
463:473 (2%)
view
9 x 2 BoltsTest/src/bolts
BoltsTest/src/bolts
50:60 (2%)
400:410 (2%)
view
9 x 2 BoltsTest/src/bolts
BoltsTest/src/bolts
50:60 (2%)
426:436 (2%)
view
7 x 2 Bolts/src/bolts
Bolts/src/bolts
338:344 (2%)
372:378 (2%)
view
7 x 2 BoltsTest/src/bolts
BoltsTest/src/bolts
208:216 (2%)
287:295 (2%)
view
7 x 2 BoltsTest/src/bolts
BoltsTest/src/bolts
208:216 (2%)
246:254 (2%)
view
7 x 2 Bolts/src/bolts
Bolts/src/bolts
406:412 (2%)
434:440 (2%)
view