aws / SigV4-for-AWS-IoT-embedded-sdk
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
  • 3% duplication:
    • 1,839 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 64 duplicated lines
  • 5 duplicates
system3% (64 lines)
Duplication per Extension
c3% (64 lines)
Duplication per Component (primary)
source3% (64 lines)
tools/cmock0% (0 lines)
source/include0% (0 lines)
ROOT0% (0 lines)
Longest Duplicates
The list of 5 longest duplicates.
See data for all 5 duplicates...
Size#FoldersFilesLinesCode
7 x 2 source
source
sigv4.c
sigv4.c
2435:2442 (<1%)
2557:2565 (<1%)
view
7 x 2 source
source
sigv4.c
sigv4.c
2525:2538 (<1%)
2583:2597 (<1%)
view
6 x 2 source
source
sigv4.c
sigv4.c
1154:1161 (<1%)
1186:1193 (<1%)
view
6 x 2 source
source
sigv4.c
sigv4.c
465:470 (<1%)
2646:2651 (<1%)
view
6 x 2 source
source
sigv4.c
sigv4.c
314:319 (<1%)
2880:2885 (<1%)
view