facebook / Haxl
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
  • 3% duplication:
    • 5,241 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 196 duplicated lines
  • 31 duplicates
system3% (196 lines)
Duplication per Extension
hs2% (148 lines)
cabal18% (48 lines)
Duplication per Component (primary)
Haxl/Core3% (142 lines)
example/facebook16% (28 lines)
ROOT10% (20 lines)
Haxl1% (6 lines)
example/facebook/FB0% (0 lines)
example/sql0% (0 lines)
Haxl/DataSource0% (0 lines)
Longest Duplicates
The list of 31 longest duplicates.
See data for all 31 duplicates...
Size#FoldersFilesLinesCode
14 x 2 example/facebook
example/facebook
17:30 (20%)
59:72 (20%)
view
12 x 2 Haxl/Core
Haxl/Core
471:488 (2%)
534:551 (2%)
view
10 x 2 ROOT
ROOT
163:172 (5%)
183:192 (5%)
view
9 x 2 Haxl/Core
Haxl/Core
403:415 (1%)
476:488 (1%)
view
9 x 2 Haxl/Core
Haxl/Core
291:303 (1%)
403:415 (1%)
view
9 x 2 Haxl/Core
Haxl/Core
291:303 (1%)
476:488 (1%)
view
9 x 2 Haxl/Core
Haxl/Core
403:415 (1%)
539:551 (1%)
view
9 x 2 Haxl/Core
Haxl/Core
1:10 (4%)
1:10 (12%)
view
9 x 2 Haxl/Core
Haxl/Core
291:303 (1%)
539:551 (1%)
view
8 x 2 Haxl/Core
Haxl/Core
1:9 (4%)
1:9 (5%)
view
8 x 2 Haxl/Core
Haxl/Core
1:9 (5%)
1:9 (11%)
view
7 x 2 Haxl/Core
Haxl/Core
294:303 (1%)
331:340 (1%)
view
7 x 2 Haxl/Core
Haxl/Core
331:340 (1%)
479:488 (1%)
view
7 x 2 Haxl/Core
Haxl/Core
273:282 (1%)
294:303 (1%)
view
7 x 2 Haxl/Core
Haxl/Core
273:282 (1%)
542:551 (1%)
view
7 x 2 Haxl/Core
Haxl/Core
331:340 (1%)
542:551 (1%)
view
7 x 2 Haxl/Core
Haxl/Core
273:282 (1%)
406:415 (1%)
view
7 x 2 Haxl/Core
Haxl/Core
331:340 (1%)
406:415 (1%)
view
7 x 2 Haxl/Core
Haxl/Core
273:282 (1%)
331:340 (1%)
view
7 x 2 Haxl/Core
Haxl/Core
273:282 (1%)
479:488 (1%)
view
6 x 2 Haxl/Core
Haxl/Core
1:7 (<1%)
1:7 (4%)
view
6 x 2 Haxl/Core
Haxl/Core
1:7 (1%)
1:7 (2%)
view
6 x 2 Haxl/Core
Haxl/Core
1:7 (1%)
1:7 (<1%)
view
6 x 2 Haxl/Core
Haxl/Core
1:7 (2%)
1:7 (2%)
view
6 x 2 Haxl/Core
Haxl/Core
1:7 (1%)
1:7 (4%)
view
6 x 2 Haxl/Core
Haxl/Core
67:72 (3%)
81:86 (3%)
view
6 x 2 Haxl/Core
Haxl/Core
1:7 (5%)
1:7 (2%)
view
6 x 2 Haxl/Core
Haxl/Core
1:7 (5%)
1:7 (2%)
view
6 x 2 Haxl
Haxl/Core
68:73 (5%)
18:23 (5%)
view
6 x 2 Haxl/Core
Haxl/Core
1:7 (5%)
1:7 (1%)
view
6 x 2 Haxl/Core
Haxl/Core
1:7 (1%)
1:7 (2%)
view