aws / aws-mobile-analytics-manager-net
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
  • 14% duplication:
    • 1,146 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 162 duplicated lines
  • 7 duplicates
system14% (162 lines)
Duplication per Extension
cs14% (162 lines)
Duplication per Component (primary)
src/Delivery33% (118 lines)
src/Event5% (18 lines)
src5% (12 lines)
src/_bcl4526% (7 lines)
src/_bcl3521% (7 lines)
src/Properties0% (0 lines)
src/Model0% (0 lines)
src/Session0% (0 lines)
src/Delivery/_bcl450% (0 lines)
src/Delivery/_bcl350% (0 lines)
src/Delivery/Policy0% (0 lines)
Longest Duplicates
The list of 7 longest duplicates.
See data for all 7 duplicates...
Size#FoldersFilesLinesCode
28 x 2 src/Delivery
src/Delivery
DeliveryClient.cs
DeliveryClient.cs
183:231 (13%)
343:389 (13%)
view
12 x 2 src/Delivery
src/Delivery
DeliveryClient.cs
DeliveryClient.cs
95:119 (5%)
254:278 (5%)
view
11 x 2 src/Delivery
src/Delivery
DeliveryClient.cs
DeliveryClient.cs
122:138 (5%)
281:297 (5%)
view
9 x 2 src/Event
src/Event
CustomEvent.cs
CustomEvent.cs
384:404 (3%)
424:444 (3%)
view
8 x 2 src/Delivery
src/Delivery
DeliveryClient.cs
DeliveryClient.cs
170:179 (3%)
330:339 (3%)
view
7 x 2 src/_bcl35
src/_bcl45
BackgroundRunner.bcl35.cs
BackgroundRunner.bcl45.cs
59:69 (21%)
52:62 (26%)
view
6 x 2 src
src
MobileAnalyticsManager.cs
MobileAnalyticsManager.cs
53:58 (4%)
75:80 (4%)
view