aws-samples / aws-robomaker-simulation-launcher
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
  • 10% duplication:
    • 676 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 68 duplicated lines
  • 6 duplicates
system10% (68 lines)
Duplication per Extension
yml15% (68 lines)
Duplication per Component (primary)
ROOT15% (68 lines)
processAndLaunchBatchSimulations0% (0 lines)
triggerStepFunctions0% (0 lines)
sendSimSummary0% (0 lines)
checkStatus0% (0 lines)
errorLaunchingSimulations0% (0 lines)
Longest Duplicates
The list of 6 longest duplicates.
See data for all 6 duplicates...
Size#FoldersFilesLinesCode
9 x 2 ROOT
ROOT
template.yml
template.yml
162:170 (1%)
182:190 (1%)
view
8 x 2 ROOT
ROOT
template.yml
template.yml
173:180 (1%)
182:189 (1%)
view
8 x 2 ROOT
ROOT
template.yml
template.yml
144:151 (1%)
230:237 (1%)
view
8 x 2 ROOT
ROOT
template.yml
template.yml
162:169 (1%)
173:180 (1%)
view
7 x 2 ROOT
ROOT
template.yml
template.yml
382:388 (1%)
409:415 (1%)
view
6 x 2 ROOT
ROOT
template.yml
template.yml
318:323 (1%)
359:364 (1%)
view