tensorflow / playground
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,680 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 82 duplicated lines
  • 10 duplicates
system3% (82 lines)
Duplication per Extension
html11% (30 lines)
ts1% (28 lines)
css3% (24 lines)
Duplication per Component (primary)
ROOT5% (54 lines)
src1% (28 lines)
Longest Duplicates
The list of 10 longest duplicates.
See data for all 10 duplicates...
Size#FoldersFilesLinesCode
9 x 2 ROOT
ROOT
index.html
index.html
81:89 (3%)
119:127 (3%)
view
7 x 2 src
src
dataset.ts
dataset.ts
84:90 (4%)
125:131 (4%)
view
7 x 2 src
src
dataset.ts
dataset.ts
167:173 (4%)
179:185 (4%)
view
6 x 2 ROOT
ROOT
styles.css
styles.css
257:262 (<1%)
484:489 (<1%)
view
6 x 2 ROOT
ROOT
styles.css
styles.css
257:262 (<1%)
396:401 (<1%)
view
6 x 2 ROOT
ROOT
styles.css
styles.css
111:116 (<1%)
396:401 (<1%)
view
6 x 2 ROOT
ROOT
index.html
index.html
217:225 (2%)
230:238 (2%)
view
6 x 2 ROOT
ROOT
styles.css
styles.css
396:401 (<1%)
484:489 (<1%)
view
6 x 2 ROOT
ROOT
styles.css
styles.css
111:116 (<1%)
484:489 (<1%)
view
6 x 2 ROOT
ROOT
styles.css
styles.css
111:116 (<1%)
257:262 (<1%)
view