freertos / coreHTTP
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,403 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 47 duplicated lines
  • 6 duplicates
system3% (47 lines)
Duplication per Extension
c4% (47 lines)
Duplication per Component (primary)
source4% (47 lines)
tools/cmock0% (0 lines)
ROOT0% (0 lines)
source/interface0% (0 lines)
source/include0% (0 lines)
Longest Duplicates
The list of 6 longest duplicates.
See data for all 6 duplicates...
Size#FoldersFilesLinesCode
10 x 2 source
source
core_http_client.c
core_http_client.c
661:674 (<1%)
702:715 (<1%)
view
7 x 2 source
source
core_http_client.c
core_http_client.c
1660:1671 (<1%)
1718:1728 (<1%)
view
7 x 2 source
source
core_http_client.c
core_http_client.c
1560:1571 (<1%)
1718:1728 (<1%)
view
7 x 2 source
source
core_http_client.c
core_http_client.c
1560:1571 (<1%)
1660:1671 (<1%)
view
6 x 2 source
source
core_http_client.c
core_http_client.c
667:674 (<1%)
902:909 (<1%)
view
6 x 2 source
source
core_http_client.c
core_http_client.c
708:715 (<1%)
902:909 (<1%)
view