facebook / PathPicker
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:
    • 2,202 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 82 duplicated lines
  • 14 duplicates
system3% (82 lines)
Duplication per Extension
py4% (82 lines)
Duplication per Component (primary)
src/pathpicker5% (82 lines)
ROOT0% (0 lines)
assets0% (0 lines)
src0% (0 lines)
Longest Duplicates
The list of 14 longest duplicates.
See data for all 14 duplicates...
Size#FoldersFilesLinesCode
7 x 2 src/pathpicker
src/pathpicker
243:252 (2%)
258:267 (2%)
view
7 x 2 src/pathpicker
src/pathpicker
86:96 (6%)
99:107 (6%)
view
6 x 2 src/pathpicker
src/pathpicker
67:74 (5%)
135:144 (5%)
view
6 x 2 src/pathpicker
src/pathpicker
77:83 (5%)
123:132 (5%)
view
6 x 2 src/pathpicker
src/pathpicker
67:74 (5%)
77:83 (5%)
view
6 x 2 src/pathpicker
src/pathpicker
67:74 (5%)
123:132 (5%)
view
6 x 2 src/pathpicker
src/pathpicker
43:54 (2%)
84:94 (2%)
view
6 x 2 src/pathpicker
src/pathpicker
123:132 (5%)
135:144 (5%)
view
6 x 2 src/pathpicker
src/pathpicker
67:74 (5%)
110:120 (5%)
view
6 x 2 src/pathpicker
src/pathpicker
110:120 (5%)
123:132 (5%)
view
6 x 2 src/pathpicker
src/pathpicker
110:120 (5%)
135:144 (5%)
view
6 x 2 src/pathpicker
src/pathpicker
61:82 (2%)
99:120 (2%)
view
6 x 2 src/pathpicker
src/pathpicker
77:83 (5%)
110:120 (5%)
view
6 x 2 src/pathpicker
src/pathpicker
77:83 (5%)
135:144 (5%)
view