awslabs / aws-sdk-api-changes
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
  • <1% duplication:
    • 9,836 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 54 duplicated lines
  • 4 duplicates
system<1% (54 lines)
Duplication per Extension
js<1% (24 lines)
tf5% (16 lines)
css3% (14 lines)
Duplication per Component (primary)
assets/js<1% (24 lines)
tf5% (16 lines)
assets/css3% (14 lines)
tools0% (0 lines)
apichanges0% (0 lines)
ROOT0% (0 lines)
Longest Duplicates
The list of 4 longest duplicates.
See data for all 4 duplicates...
Size#FoldersFilesLinesCode
8 x 2 tf
tf
ecs_iam.tf
ecs_iam.tf
28:36 (8%)
52:60 (8%)
view
7 x 2 assets/css
assets/css
docutils.css
docutils.css
123:129 (2%)
348:354 (2%)
view
6 x 2 assets/js
assets/js
vue.js
vue.js
10314:10319 (<1%)
10324:10329 (<1%)
view
6 x 2 assets/js
assets/js
vue.js
vue.js
7363:7368 (<1%)
7394:7399 (<1%)
view