dart-lang / language
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:
    • 21,588 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 674 duplicated lines
  • 50 duplicates
system3% (674 lines)
Duplication per Extension
tex3% (662 lines)
dart1% (12 lines)
Duplication per Component (primary)
specification3% (662 lines)
working/macros/example2% (12 lines)
working/macros0% (0 lines)
accepted/2.3/spread-collections/benchmarks0% (0 lines)
tools0% (0 lines)
ROOT0% (0 lines)
resources/variance0% (0 lines)
resources/null-shorting0% (0 lines)
specification/scripts0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 50 duplicates...
Size#FoldersFilesLinesCode
25 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
10006:10033 (<1%)
10641:10669 (<1%)
view
17 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
11617:11634 (<1%)
11827:11844 (<1%)
view
15 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
11647:11664 (<1%)
11844:11861 (<1%)
view
14 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
13059:13072 (<1%)
14737:14750 (<1%)
view
11 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
16129:16140 (<1%)
16157:16168 (<1%)
view
11 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
9984:9995 (<1%)
10589:10600 (<1%)
view
11 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
6999:7015 (<1%)
7047:7063 (<1%)
view
9 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
10149:10159 (<1%)
10894:10904 (<1%)
view
9 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
10894:10904 (<1%)
11090:11100 (<1%)
view
9 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
20712:20720 (<1%)
22348:22356 (<1%)
view
9 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
10149:10159 (<1%)
11090:11100 (<1%)
view
9 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
9978:9986 (<1%)
10556:10564 (<1%)
view
8 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
6532:6539 (<1%)
14408:14415 (<1%)
view
8 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
17806:17813 (<1%)
17977:17984 (<1%)
view
8 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
17806:17813 (<1%)
17849:17856 (<1%)
view
8 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
17849:17856 (<1%)
17977:17984 (<1%)
view
8 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
17743:17751 (<1%)
17815:17823 (<1%)
view
8 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
17733:17740 (<1%)
17977:17984 (<1%)
view
8 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
2813:2820 (<1%)
2839:2846 (<1%)
view
8 x 2 specification
specification
tex
dartLangSpec.tex
dartLangSpec.tex
15475:15483 (<1%)
15583:15591 (<1%)
view