Duplication Overall
  • 3% duplication:
    • 7,923 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 278 duplicated lines
  • 25 duplicates
system3% (278 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
ts3% (278 lines)
Duplication per Component (primary)
lib3% (278 lines)
.github0% (0 lines)
ROOT0% (0 lines)
Longest Duplicates
The list of 25 longest duplicates.
See data for all 25 duplicates...
Size#FoldersFilesLinesCode
16 x 2 lib/client/services/company
lib/client/services/publisherQueryLanguage
4:71 (100%)
4:71 (100%)
view
16 x 2 lib/client/services/company
lib/client/services/lineItemTemplate
4:71 (100%)
4:71 (100%)
view
16 x 2 lib/client/services/lineItemTemplate
lib/client/services/publisherQueryLanguage
4:71 (100%)
4:71 (100%)
view
11 x 2 lib/client/services/creative
lib/client/services/creative
422:476 (3%)
677:731 (3%)
view
11 x 2 lib/common/handlers
lib/common/handlers
31:42 (23%)
49:60 (23%)
view
9 x 2 lib/client/services/lineItem
lib/client/services/lineItem
62:81 (21%)
89:108 (21%)
view
8 x 2 lib/client/services/forecast
lib/client/services/forecast
3:10 (19%)
2:9 (28%)
view
8 x 2 lib/client/services/customTargeting
lib/client/services/customTargeting
3:11 (22%)
4:13 (12%)
view
7 x 2 lib/client/services/proposal
lib/client/services/proposal
67:77 (13%)
95:105 (13%)
view
7 x 2 lib/client/services/proposal
lib/client/services/proposalLineItem
46:56 (13%)
24:41 (22%)
view
6 x 2 lib/fixtures
lib/fixtures
9:14 (2%)
92:97 (2%)
view
6 x 2 lib/fixtures
lib/fixtures
16:21 (2%)
156:161 (2%)
view
6 x 2 lib/fixtures
lib/fixtures
136:141 (2%)
252:257 (2%)
view
6 x 2 lib/common/handlers
lib/common/handlers
16:21 (13%)
33:38 (13%)
view
6 x 2 lib/common/handlers
lib/common/handlers
16:21 (13%)
51:56 (13%)
view
6 x 2 lib/client/common/types
lib/common/types
4:9 (6%)
5:10 (12%)
view
6 x 2 lib/client/common/types
lib/client/common/types
7:12 (19%)
7:12 (1%)
view
6 x 2 lib/client/common/types
lib/client/services/lineItem
7:12 (19%)
4:9 (5%)
view
6 x 2 lib/client/common/types
lib/client/services/lineItem
7:12 (1%)
4:9 (5%)
view
6 x 2 lib/client/services/cmsMetadata
lib/client/services/cmsMetadata
4:10 (13%)
3:9 (28%)
view
6 x 2 lib/client/services/lineItem
lib/client/services/order
62:78 (14%)
20:29 (12%)
view
6 x 2 lib/client/services/lineItem
lib/client/services/order
89:105 (14%)
20:29 (12%)
view
6 x 2 lib/client/services/liveStreamEvent
lib/client/services/liveStreamEvent
5:10 (10%)
4:9 (22%)
view
6 x 2 lib/client/services/proposal
lib/client/services/proposalLineItem
67:76 (11%)
59:68 (19%)
view
6 x 2 lib/client/services/proposal
lib/client/services/proposalLineItem
95:104 (11%)
59:68 (19%)
view
Most Frequent Duplicates
The list of 15 most frequently found duplicates.
Size#FoldersFilesLinesCode
6 x 3 lib/client/services/lineItem
lib/client/services/order
lib/client/services/lineItem
62:78 (14%)
20:29 (12%)
89:105 (14%)
view
6 x 3 lib/client/services/lineItemTemplate
lib/client/services/publisherQueryLanguage
lib/client/services/company
32:59 (37%)
32:59 (37%)
32:59 (37%)
view
6 x 3 lib/client/common/types
lib/client/common/types
lib/client/services/lineItem
7:12 (19%)
7:12 (1%)
4:9 (5%)
view
6 x 3 lib/client/services/lineItemTemplate
lib/client/services/publisherQueryLanguage
lib/client/services/company
12:32 (37%)
12:32 (37%)
12:32 (37%)
view
6 x 3 lib/client/services/lineItemTemplate
lib/client/services/publisherQueryLanguage
lib/client/services/company
8:28 (37%)
8:28 (37%)
8:28 (37%)
view
6 x 3 lib/client/services/lineItemTemplate
lib/client/services/publisherQueryLanguage
lib/client/services/company
24:51 (37%)
24:51 (37%)
24:51 (37%)
view
6 x 3 lib/client/services/lineItemTemplate
lib/client/services/publisherQueryLanguage
lib/client/services/company
51:71 (37%)
51:71 (37%)
51:71 (37%)
view
6 x 3 lib/common/handlers
lib/common/handlers
lib/common/handlers
16:21 (13%)
33:38 (13%)
51:56 (13%)
view
6 x 3 lib/client/services/lineItemTemplate
lib/client/services/publisherQueryLanguage
lib/client/services/company
28:55 (37%)
28:55 (37%)
28:55 (37%)
view
6 x 3 lib/client/services/lineItemTemplate
lib/client/services/publisherQueryLanguage
lib/client/services/company
40:67 (37%)
40:67 (37%)
40:67 (37%)
view
6 x 3 lib/client/services/lineItemTemplate
lib/client/services/publisherQueryLanguage
lib/client/services/company
4:24 (37%)
4:24 (37%)
4:24 (37%)
view
6 x 3 lib/client/services/lineItemTemplate
lib/client/services/publisherQueryLanguage
lib/client/services/company
36:63 (37%)
36:63 (37%)
36:63 (37%)
view
6 x 3 lib/client/services/lineItemTemplate
lib/client/services/publisherQueryLanguage
lib/client/services/company
16:36 (37%)
16:36 (37%)
16:36 (37%)
view
6 x 3 lib/client/services/lineItemTemplate
lib/client/services/publisherQueryLanguage
lib/client/services/company
20:40 (37%)
20:40 (37%)
20:40 (37%)
view
6 x 3 lib/client/services/proposal
lib/client/services/proposalLineItem
lib/client/services/proposal
67:76 (11%)
59:68 (19%)
95:104 (11%)
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...