korosuke613 / atcoder
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
  • 24% duplication:
    • 2,073 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 504 duplicated lines
  • 258 duplicates
system24% (504 lines)
Duplication per Extension
rs29% (504 lines)
Duplication per Component (primary)
contests24% (480 lines)
ROOT80% (24 lines)
tools0% (0 lines)

Duplication Between Components (50+ lines)

null

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 50 longest duplicates.
See data for all 258 duplicates...
Size#FoldersFilesLinesCode
15 x 2 contests/zone2021
contests/zone2021
4:24 (26%)
4:24 (30%)
view
14 x 2 contests/abc227
contests/arc007
1:21 (38%)
1:21 (12%)
view
14 x 2 contests/abc206
contests/arc007
1:21 (38%)
1:21 (12%)
view
14 x 2 contests/abc203
contests/arc007
1:21 (40%)
1:21 (12%)
view
14 x 2 contests/abc206
contests/abc227
1:21 (38%)
1:21 (38%)
view
14 x 2 contests/abc203
contests/abc227
1:21 (40%)
1:21 (38%)
view
14 x 2 contests/abc203
contests/abc206
1:21 (40%)
1:21 (38%)
view
13 x 2 contests/abc203
contests/zone2021
3:21 (37%)
4:22 (26%)
view
13 x 2 contests/abc203
contests/arc008
1:20 (37%)
1:20 (32%)
view
13 x 2 contests/abc227
contests/zone2021
3:21 (36%)
4:22 (26%)
view
13 x 2 contests/abc135
contests/arc007
1:20 (38%)
1:20 (12%)
view
13 x 2 contests/abc206
contests/abc227
33:54 (36%)
40:61 (36%)
view
13 x 2 contests/abc226
ROOT
27:48 (41%)
27:48 (43%)
view
13 x 2 contests/abc226
contests/abc227
1:20 (41%)
1:20 (36%)
view
13 x 2 contests/abc227
contests/abs
40:61 (36%)
42:63 (26%)
view
13 x 2 contests/abc206
contests/arc008
1:20 (36%)
1:20 (32%)
view
13 x 2 contests/abc203
contests/zone2021
3:21 (37%)
4:22 (23%)
view
13 x 2 contests/abc203
contests/abc226
1:20 (37%)
1:20 (41%)
view
13 x 2 contests/abc206
contests/abc226
33:54 (36%)
27:48 (41%)
view
13 x 2 contests/abc026
ROOT
41:57 (36%)
33:49 (43%)
view
13 x 2 contests/abc227
contests/zone2021
3:21 (36%)
4:22 (23%)
view
13 x 2 contests/abc226
contests/abc227
27:48 (41%)
40:61 (36%)
view
13 x 2 contests/abc226
contests/abs
27:48 (41%)
42:63 (26%)
view
13 x 2 contests/abc226
contests/arc007
1:20 (41%)
1:20 (12%)
view
13 x 2 contests/abc206
contests/abc226
1:20 (36%)
1:20 (41%)
view
13 x 2 contests/arc007
contests/zone2021
3:21 (12%)
4:22 (26%)
view
13 x 2 contests/abc203
contests/abc227
34:55 (37%)
40:61 (36%)
view
13 x 2 contests/abc203
contests/abc226
34:55 (37%)
27:48 (41%)
view
13 x 2 contests/abc226
contests/arc008
1:20 (41%)
1:20 (32%)
view
13 x 2 contests/abc206
contests/zone2021
3:21 (36%)
4:22 (23%)
view
13 x 2 contests/abc135
contests/abc227
1:20 (38%)
1:20 (36%)
view
13 x 2 contests/arc007
contests/arc008
1:20 (12%)
1:20 (32%)
view
13 x 2 contests/abc203
contests/abs
34:55 (37%)
42:63 (26%)
view
13 x 2 contests/abc135
contests/abc226
1:20 (38%)
1:20 (41%)
view
13 x 2 contests/abc135
contests/arc008
1:20 (38%)
1:20 (32%)
view
13 x 2 contests/zone2021
contests/zone2021
47:68 (23%)
39:60 (26%)
view
13 x 2 contests/abc206
ROOT
33:54 (36%)
27:48 (43%)
view
13 x 2 contests/abs
ROOT
42:63 (26%)
27:48 (43%)
view
13 x 2 contests/abc203
ROOT
34:55 (37%)
27:48 (43%)
view
13 x 2 contests/abc206
contests/abs
33:54 (36%)
42:63 (26%)
view
13 x 2 contests/abc227
ROOT
40:61 (36%)
27:48 (43%)
view
13 x 2 contests/abc203
contests/abc206
34:55 (37%)
33:54 (36%)
view
13 x 2 contests/abc135
contests/abc206
1:20 (38%)
1:20 (36%)
view
13 x 2 contests/abc206
contests/zone2021
3:21 (36%)
4:22 (26%)
view
13 x 2 contests/arc007
contests/zone2021
3:21 (12%)
4:22 (23%)
view
13 x 2 contests/abc227
contests/arc008
1:20 (36%)
1:20 (32%)
view
13 x 2 contests/abc135
contests/abc203
1:20 (38%)
1:20 (37%)
view
12 x 2 contests/abc168
contests/arc008
51:66 (26%)
44:59 (30%)
view
12 x 2 contests/abc227
contests/agc022
46:61 (33%)
49:64 (27%)
view
12 x 2 contests/arc008
contests/zone2021
3:20 (30%)
4:21 (21%)
view