Places in code with 6 or more lines that are exactly the same.
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...
To learn more about duplications and techniques for eliminating duplication, Sokrates recommends the following resources:
Avoid Repetition , MartinFlower.com (IEEE Software article)
Refactoring duplicated code , sourcemaking.com
Beck Design Rules , MartinFowler.com
DRY (Don't Repeat Yourself) Principle , Wikipedia
The Cut-and-Paste Programming Software Development Anti-Pattern , sourcemaking.com
Code Smells / Duplicated Code , Jeff Atwood, codinghorror.com:
"Duplicated code is the bane of software development. Stamp out duplication whenever possible. You should always be on the lookout for more subtle cases of near-duplication, too. Don't Repeat Yourself!"
Reducing Coupling , MartinFlower.com (IEEE Software article):
"There are several ways to describe coupling, but it boils down to this: If changing one module in a program requires changing another module, then coupling exists. ... Duplication always implies coupling, because changing one piece of duplicate code implies changing the other."
css 67% (1,767 lines)
html 34% (774 lines)
scss 18% (100 lines)
js <1% (35 lines)
css 62% (1,867 lines)
plugin 41% (783 lines)
courses 10% (14 lines)
js <1% (12 lines)
ROOT 0% (0 lines)
lib 0% (0 lines)
modules 0% (0 lines)
Size # Folders Files Lines Code
137
x 2
css/theme css/theme
53:236 (70%) 53:236 (70%)
view
122
x 2
css/theme css/theme
49:211 (63%) 49:211 (63%)
view
121
x 2
css/theme css/theme
50:211 (63%) 53:214 (62%)
view
118
x 2
css/theme css/theme
57:215 (60%) 60:218 (59%)
view
118
x 2
css/theme css/theme
60:218 (59%) 57:215 (60%)
view
118
x 2
css/theme css/theme
51:209 (61%) 56:214 (60%)
view
118
x 2
css/theme css/theme
51:209 (61%) 53:211 (61%)
view
117
x 2
css/theme css/theme
54:211 (60%) 61:218 (58%)
view
117
x 2
css/theme css/theme
58:215 (60%) 54:211 (60%)
view
117
x 2
css/theme css/theme
57:214 (60%) 58:215 (60%)
view
117
x 2
css/theme css/theme
57:214 (60%) 61:218 (58%)
view
117
x 2
css/theme css/theme
58:215 (60%) 52:209 (60%)
view
117
x 2
css/theme css/theme
58:215 (60%) 57:214 (60%)
view
117
x 2
css/theme css/theme
54:211 (60%) 58:215 (60%)
view
117
x 2
css/theme css/theme
52:209 (60%) 58:215 (60%)
view
117
x 2
css/theme css/theme
52:209 (60%) 61:218 (58%)
view
116
x 2
css/theme css/theme
59:215 (58%) 61:217 (58%)
view
116
x 2
css/theme css/theme
58:214 (56%) 61:217 (58%)
view
116
x 2
css/theme css/theme
59:215 (58%) 58:214 (56%)
view
109
x 2
css/theme css/theme
70:215 (55%) 66:211 (56%)
view
109
x 2
css/theme css/theme
66:211 (56%) 69:214 (56%)
view
109
x 2
css/theme css/theme
66:211 (56%) 70:215 (55%)
view
109
x 2
css/theme css/theme
70:215 (55%) 66:211 (56%)
view
109
x 2
css/theme css/theme
73:218 (54%) 66:211 (56%)
view
109
x 2
css/theme css/theme
66:211 (56%) 66:211 (56%)
view
109
x 2
css/theme css/theme
66:211 (56%) 70:215 (55%)
view
109
x 2
css/theme css/theme
64:209 (56%) 66:211 (56%)
view
109
x 2
css/theme css/theme
66:211 (56%) 73:218 (54%)
view
109
x 2
css/theme css/theme
69:214 (56%) 66:211 (56%)
view
109
x 2
css/theme css/theme
66:211 (56%) 64:209 (56%)
view
109
x 2
css/theme css/theme
66:211 (56%) 66:211 (56%)
view
105
x 2
css/theme css/theme
78:214 (50%) 75:211 (54%)
view
105
x 2
css/theme css/theme
81:217 (53%) 75:211 (54%)
view
105
x 2
css/theme css/theme
79:215 (53%) 82:218 (52%)
view
105
x 2
css/theme css/theme
75:211 (54%) 78:214 (50%)
view
105
x 2
css/theme css/theme
79:215 (53%) 79:215 (53%)
view
105
x 2
css/theme css/theme
81:217 (53%) 82:218 (52%)
view
105
x 2
css/theme css/theme
81:217 (53%) 75:211 (54%)
view
105
x 2
css/theme css/theme
78:214 (50%) 82:218 (52%)
view
105
x 2
css/theme css/theme
79:215 (53%) 79:215 (53%)
view
105
x 2
css/theme css/theme
78:214 (50%) 79:215 (53%)
view
105
x 2
css/theme css/theme
78:214 (50%) 78:214 (54%)
view
105
x 2
css/theme css/theme
81:217 (53%) 79:215 (53%)
view
105
x 2
css/theme css/theme
81:217 (53%) 73:209 (54%)
view
105
x 2
css/theme css/theme
81:217 (53%) 79:215 (53%)
view
105
x 2
css/theme css/theme
79:215 (53%) 75:211 (54%)
view
105
x 2
css/theme css/theme
75:211 (54%) 81:217 (53%)
view
105
x 2
css/theme css/theme
81:217 (53%) 78:214 (54%)
view
105
x 2
css/theme css/theme
79:215 (53%) 78:214 (54%)
view
105
x 2
css/theme css/theme
78:214 (50%) 73:209 (54%)
view