Duplication Overall
  • 16% duplication:
    • 2,291 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 379 duplicated lines
  • 35 duplicates
system16% (379 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
scala15% (253 lines)
yaml19% (126 lines)
Duplication per Component (primary)
src15% (253 lines)
ROOT19% (126 lines)
Longest Duplicates
The list of 35 longest duplicates.
See data for all 35 duplicates...
Size#FoldersFilesLinesCode
35 x 2 src/main/scala/com/gu/invoicing/refund
src/main/scala/com/gu/in.../refundErroneousPayment
127:161 (20%)
68:102 (31%)
view
15 x 2 src/main/scala/com/gu/invoicing/refund
src/main/scala/com/gu/in.../refundErroneousPayment
44:58 (8%)
31:46 (13%)
view
13 x 2 ROOT
ROOT
155:167 (2%)
178:190 (2%)
view
13 x 2 ROOT
ROOT
155:167 (2%)
201:213 (2%)
view
13 x 2 ROOT
ROOT
155:167 (2%)
224:236 (2%)
view
13 x 2 ROOT
ROOT
155:167 (2%)
247:259 (2%)
view
13 x 2 ROOT
ROOT
155:167 (2%)
270:282 (2%)
view
13 x 2 ROOT
ROOT
178:190 (2%)
201:213 (2%)
view
13 x 2 ROOT
ROOT
178:190 (2%)
224:236 (2%)
view
13 x 2 ROOT
ROOT
178:190 (2%)
247:259 (2%)
view
13 x 2 ROOT
ROOT
178:190 (2%)
270:282 (2%)
view
13 x 2 ROOT
ROOT
201:213 (2%)
224:236 (2%)
view
13 x 2 ROOT
ROOT
201:213 (2%)
247:259 (2%)
view
13 x 2 ROOT
ROOT
201:213 (2%)
270:282 (2%)
view
13 x 2 ROOT
ROOT
224:236 (2%)
247:259 (2%)
view
13 x 2 ROOT
ROOT
224:236 (2%)
270:282 (2%)
view
13 x 2 ROOT
ROOT
247:259 (2%)
270:282 (2%)
view
12 x 2 ROOT
ROOT
46:57 (1%)
74:85 (1%)
view
12 x 2 ROOT
ROOT
102:113 (1%)
130:141 (1%)
view
11 x 2 src/main/scala/com/gu/invoicing/refund
src/main/scala/com/gu/in.../refundErroneousPayment
12:22 (6%)
11:22 (9%)
view
9 x 2 src/main/scala/com/gu/invoicing/invoice
src/main/scala/com/gu/invoicing/preview
11:19 (6%)
79:87 (9%)
view
9 x 2 src/main/scala/com/gu/invoicing/nextinvoicedate
src/main/scala/com/gu/invoicing/preview
28:36 (20%)
106:114 (3%)
view
8 x 2 src/main/scala/com/gu/in.../refundErroneousPayment
src/main/scala/com/gu/in.../refundErroneousPayment
82:89 (8%)
99:106 (8%)
view
7 x 2 src/main/scala/com/gu/invoicing/refund
src/main/scala/com/gu/in.../refundErroneousPayment
43:49 (87%)
43:50 (58%)
view
7 x 2 src/main/scala/com/gu/invoicing/nextinvoicedate
src/main/scala/com/gu/invoicing/preview
12:18 (29%)
65:71 (7%)
view
6 x 2 ROOT
ROOT
52:57 (<1%)
108:113 (<1%)
view
6 x 2 ROOT
ROOT
52:57 (<1%)
136:141 (<1%)
view
6 x 2 ROOT
ROOT
80:85 (<1%)
108:113 (<1%)
view
6 x 2 ROOT
ROOT
80:85 (<1%)
136:141 (<1%)
view
6 x 2 src/main/scala/com/gu/in.../refundErroneousPayment
src/main/scala/com/gu/in.../refundErroneousPayment
26:31 (6%)
83:88 (6%)
view
6 x 2 src/main/scala/com/gu/in.../refundErroneousPayment
src/main/scala/com/gu/in.../refundErroneousPayment
26:31 (6%)
100:105 (6%)
view
6 x 2 src/main/scala/com/gu/in.../refundErroneousPayment
src/main/scala/com/gu/in.../refundErroneousPayment
91:96 (6%)
108:113 (6%)
view
6 x 2 src/main/scala/com/gu/invoicing/refund
src/main/scala/com/gu/in.../refundErroneousPayment
86:91 (3%)
24:29 (5%)
view
6 x 2 src/main/scala/com/gu/invoicing/nextinvoicedate
src/main/scala/com/gu/invoicing/preview
20:25 (13%)
98:103 (2%)
view
6 x 2 src/main/scala/com/gu/invoicing/refund
src/main/scala/com/gu/in.../refundErroneousPayment
61:66 (3%)
29:34 (6%)
view
Most Frequent Duplicates
The list of 10 most frequently found duplicates.
Size#FoldersFilesLinesCode
6 x 6 ROOT
ROOT
ROOT
ROOT
ROOT
ROOT
159:164 (<1%)
182:187 (<1%)
205:210 (<1%)
228:233 (<1%)
251:256 (<1%)
274:279 (<1%)
view
6 x 6 ROOT
ROOT
ROOT
ROOT
ROOT
ROOT
155:160 (<1%)
178:183 (<1%)
201:206 (<1%)
224:229 (<1%)
247:252 (<1%)
270:275 (<1%)
view
6 x 6 ROOT
ROOT
ROOT
ROOT
ROOT
ROOT
158:163 (<1%)
181:186 (<1%)
204:209 (<1%)
227:232 (<1%)
250:255 (<1%)
273:278 (<1%)
view
6 x 6 ROOT
ROOT
ROOT
ROOT
ROOT
ROOT
161:166 (<1%)
184:189 (<1%)
207:212 (<1%)
230:235 (<1%)
253:258 (<1%)
276:281 (<1%)
view
6 x 6 ROOT
ROOT
ROOT
ROOT
ROOT
ROOT
156:161 (<1%)
179:184 (<1%)
202:207 (<1%)
225:230 (<1%)
248:253 (<1%)
271:276 (<1%)
view
6 x 6 ROOT
ROOT
ROOT
ROOT
ROOT
ROOT
162:167 (<1%)
185:190 (<1%)
208:213 (<1%)
231:236 (<1%)
254:259 (<1%)
277:282 (<1%)
view
6 x 6 ROOT
ROOT
ROOT
ROOT
ROOT
ROOT
160:165 (<1%)
183:188 (<1%)
206:211 (<1%)
229:234 (<1%)
252:257 (<1%)
275:280 (<1%)
view
6 x 6 ROOT
ROOT
ROOT
ROOT
ROOT
ROOT
157:162 (<1%)
180:185 (<1%)
203:208 (<1%)
226:231 (<1%)
249:254 (<1%)
272:277 (<1%)
view
6 x 4 ROOT
ROOT
ROOT
ROOT
52:57 (<1%)
80:85 (<1%)
108:113 (<1%)
136:141 (<1%)
view
6 x 3 src/main/scala/com/gu/in.../refundErroneousPayment
src/main/scala/com/gu/in.../refundErroneousPayment
src/main/scala/com/gu/in.../refundErroneousPayment
26:31 (6%)
83:88 (6%)
100:105 (6%)
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...