Duplication Overall
  • 1% duplication:
    • 7,393 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 106 duplicated lines
  • 9 duplicates
system1% (106 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
ts1% (76 lines)
scala3% (30 lines)
Duplication per Component (primary)
lib1% (76 lines)
src3% (30 lines)
cdk0% (0 lines)
Longest Duplicates
The list of 9 longest duplicates.
See data for all 9 duplicates...
Size#FoldersFilesLinesCode
14 x 2 lib/cql/src/lang/fixtures
lib/cql/src/typeahead
31:44 (26%)
831:844 (1%)
view
6 x 2 lib/cql/src/typeahead
lib/cql/src/typeahead
43:50 (<1%)
804:811 (<1%)
view
6 x 2 lib/cql/src/lang
lib/cql/src/lang
13:18 (11%)
25:30 (11%)
view
6 x 2 src/main/scala/lang
src/main/scala/lang
103:108 (3%)
145:150 (3%)
view
6 x 2 src/main/scala/lang
src/main/scala/lang
103:108 (3%)
168:173 (3%)
view
6 x 2 src/main/scala/lang
src/main/scala/lang
145:150 (3%)
168:173 (3%)
view
6 x 2 lib/cql/src/cqlInput/editor
lib/cql/src/cqlInput/editor
339:344 (<1%)
385:390 (<1%)
view
6 x 2 src/main/scala
src/main/scala
25:30 (9%)
16:21 (11%)
view
6 x 2 lib/cql/src/cqlInput/editor
lib/cql/src/lang
5:10 (2%)
3:8 (3%)
view
Most Frequent Duplicates
The list of 1 most frequently found duplicates.
Size#FoldersFilesLinesCode
6 x 3 src/main/scala/lang
src/main/scala/lang
src/main/scala/lang
103:108 (3%)
145:150 (3%)
168:173 (3%)
view
Duplicated Units
The list of top 1 duplicated units.
See data for all 1 unit duplicate
Size#FoldersFilesLinesCode
6 x 2 lib/cql/src/typeahead/tools-index/config
lib/cql/src/typeahead/tools-index/config
36:43 
87:94 
view
About This Analysis
  • 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...