primer / css
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
  • 2% duplication:
    • 7,700 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 218 duplicated lines
  • 16 duplicates
system2% (218 lines)
Duplication per Extension
scss2% (218 lines)
Duplication per Component (primary)
src2% (218 lines)
ROOT0% (0 lines)
script0% (0 lines)
Longest Duplicates
The list of 16 longest duplicates.
See data for all 16 duplicates...
Size#FoldersFilesLinesCode
10 x 2 src/actionlist
src/actionlist
146:158 (2%)
238:250 (2%)
view
10 x 2 src/autocomplete
src/autocomplete
42:53 (13%)
57:68 (13%)
view
9 x 2 src/markdown
src/support/mixins
14:23 (13%)
48:57 (22%)
view
7 x 2 src/autocomplete
src/autocomplete
36:44 (15%)
49:57 (15%)
view
7 x 2 src/marketing/type
src/marketing/type
38:45 (6%)
95:102 (6%)
view
6 x 2 src/support/variables
src/support/variables
58:63 (4%)
88:93 (4%)
view
6 x 2 src/actionlist
src/actionlist
104:109 (1%)
45:50 (13%)
view
6 x 2 src/actionlist
src/actionlist
193:199 (1%)
34:41 (9%)
view
6 x 2 src/marketing/utilities
src/utilities
21:28 (18%)
10:17 (10%)
view
6 x 2 src/navigation
src/navigation
39:45 (11%)
38:44 (6%)
view
6 x 2 src/tooltips
src/tooltips
109:114 (2%)
142:147 (2%)
view
6 x 2 src/autocomplete
src/navigation
28:34 (8%)
114:120 (6%)
view
6 x 2 src/buttons
src/buttons
43:48 (8%)
78:83 (8%)
view
6 x 2 src/buttons
src/buttons
34:40 (8%)
67:73 (8%)
view
6 x 2 src/base
src/markdown
4:9 (10%)
6:11 (11%)
view
6 x 2 src/forms
src/forms
3:8 (2%)
29:34 (2%)
view