aws / iot-atlas
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
  • 15% duplication:
    • 4,043 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 641 duplicated lines
  • 36 duplicates
system15% (641 lines)
Duplication per Extension
css22% (601 lines)
html5% (40 lines)
Duplication per Component (primary)
hugo/themes/iot-atlas/static/css22% (601 lines)
hugo/themes/iot-atlas/layouts/shortcodes12% (28 lines)
hugo/themes/iot-atlas/layouts/partials1% (6 lines)
hugo/themes/iot-atlas/layouts9% (6 lines)
docker_assets0% (0 lines)
hugo/static/css0% (0 lines)
hugo0% (0 lines)
hugo/layouts/partials0% (0 lines)
hugo/layouts/shortcodes0% (0 lines)
hugo/themes/iot-atlas0% (0 lines)
hugo/themes/iot-atlas/layouts/_default0% (0 lines)
hugo/themes/iot-atlas/i18n0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 36 duplicates...
Size#FoldersFilesLinesCode
82 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
theme-green.css
theme-red.css
30:128 (79%)
30:128 (79%)
view
82 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
theme-blue.css
theme-green.css
30:128 (79%)
30:128 (79%)
view
82 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
theme-blue.css
theme-red.css
30:128 (79%)
30:128 (79%)
view
34 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
hugo-theme.css
theme-aws.css
70:108 (16%)
237:275 (14%)
view
33 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
theme-aws.css
theme-blue.css
122:156 (13%)
59:93 (32%)
view
33 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
theme-aws.css
theme-red.css
122:156 (13%)
59:93 (32%)
view
33 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
theme-aws.css
theme-green.css
122:156 (13%)
59:93 (32%)
view
14 x 2 src/hugo/themes/iot-atlas/layouts/shortcodes
src/hugo/themes/iot-atlas/layouts/shortcodes
ref.html
relref.html
1:14 (100%)
1:14 (100%)
view
10 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
theme-aws.css
theme-green.css
71:83 (4%)
43:55 (9%)
view
10 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
theme-aws.css
theme-red.css
71:83 (4%)
43:55 (9%)
view
10 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
theme-aws.css
theme-blue.css
71:83 (4%)
43:55 (9%)
view
8 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
theme-aws.css
theme-green.css
160:169 (3%)
93:102 (7%)
view
8 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
theme-aws.css
theme-blue.css
160:169 (3%)
93:102 (7%)
view
8 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
theme-aws.css
theme-red.css
160:169 (3%)
93:102 (7%)
view
7 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
nucleus.css
nucleus.css
314:320 (1%)
414:420 (1%)
view
7 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
theme.css
theme.css
488:494 (<1%)
555:561 (<1%)
view
7 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
nucleus.css
nucleus.css
296:302 (1%)
396:402 (1%)
view
7 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
nucleus.css
nucleus.css
260:266 (1%)
360:366 (1%)
view
7 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
nucleus.css
nucleus.css
228:234 (1%)
242:248 (1%)
view
7 x 2 src/hugo/themes/iot-atlas/static/css
src/hugo/themes/iot-atlas/static/css
nucleus.css
nucleus.css
323:329 (1%)
423:429 (1%)
view