aws-samples / aws-stepfunction-complex-orchestrator-app
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
  • 23% duplication:
    • 379 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 88 duplicated lines
  • 21 duplicates
system23% (88 lines)
Duplication per Extension
yaml28% (88 lines)
Duplication per Component (primary)
ROOT27% (88 lines)
functions/batch_submit0% (0 lines)
functions/callback_lambda0% (0 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 21 duplicates...
Size#FoldersFilesLinesCode
12 x 2 ROOT
ROOT
template.yaml
template.yaml
128:139 (3%)
156:167 (3%)
view
9 x 2 ROOT
ROOT
template.yaml
template.yaml
170:178 (2%)
208:216 (2%)
view
9 x 2 ROOT
ROOT
template.yaml
template.yaml
53:61 (2%)
156:164 (2%)
view
9 x 2 ROOT
ROOT
template.yaml
template.yaml
156:164 (2%)
184:192 (2%)
view
9 x 2 ROOT
ROOT
template.yaml
template.yaml
53:61 (2%)
128:136 (2%)
view
9 x 2 ROOT
ROOT
template.yaml
template.yaml
128:136 (2%)
184:192 (2%)
view
9 x 2 ROOT
ROOT
template.yaml
template.yaml
53:61 (2%)
184:192 (2%)
view
8 x 2 ROOT
ROOT
template.yaml
template.yaml
39:46 (2%)
156:163 (2%)
view
8 x 2 ROOT
ROOT
template.yaml
template.yaml
25:32 (2%)
39:46 (2%)
view
8 x 2 ROOT
ROOT
template.yaml
template.yaml
25:32 (2%)
184:191 (2%)
view
8 x 2 ROOT
ROOT
template.yaml
template.yaml
39:46 (2%)
128:135 (2%)
view
8 x 2 ROOT
ROOT
template.yaml
template.yaml
25:32 (2%)
128:135 (2%)
view
8 x 2 ROOT
ROOT
template.yaml
template.yaml
25:32 (2%)
53:60 (2%)
view
8 x 2 ROOT
ROOT
template.yaml
template.yaml
39:46 (2%)
53:60 (2%)
view
8 x 2 ROOT
ROOT
template.yaml
template.yaml
39:46 (2%)
184:191 (2%)
view
8 x 2 ROOT
ROOT
template.yaml
template.yaml
25:32 (2%)
156:163 (2%)
view
6 x 2 ROOT
ROOT
template.yaml
template.yaml
144:149 (1%)
208:213 (1%)
view
6 x 2 ROOT
ROOT
template.yaml
template.yaml
144:149 (1%)
170:175 (1%)
view
6 x 2 ROOT
ROOT
template.yaml
template.yaml
144:149 (1%)
198:203 (1%)
view
6 x 2 ROOT
ROOT
template.yaml
template.yaml
198:203 (1%)
208:213 (1%)
view