dart-lang / http_io
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
  • 2% duplication:
    • 4,657 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 110 duplicated lines
  • 9 duplicates
system2% (110 lines)
Duplication per Extension
dart2% (110 lines)
Duplication per Component (primary)
lib/src2% (104 lines)
lib1% (6 lines)
ROOT0% (0 lines)
Longest Duplicates
The list of 9 longest duplicates.
See data for all 9 duplicates...
Size#FoldersFilesLinesCode
13 x 2 lib/src
lib/src
http_date.dart
http_date.dart
39:51 (8%)
97:109 (8%)
view
9 x 2 lib/src
lib/src
http_parser.dart
http_parser.dart
560:570 (1%)
641:652 (1%)
view
6 x 2 lib/src
lib/src
http_impl.dart
http_impl.dart
1291:1297 (<1%)
1365:1371 (<1%)
view
6 x 2 lib/src
lib/src
http_impl.dart
http_impl.dart
1129:1134 (<1%)
1137:1142 (<1%)
view
6 x 2 lib/src
lib/src
http_headers_impl.dart
http_headers_impl.dart
210:217 (<1%)
229:236 (<1%)
view
6 x 2 lib/src
lib/src
http_headers_impl.dart
http_headers_impl.dart
229:236 (<1%)
248:255 (<1%)
view
6 x 2 lib/src
lib/src
http_impl.dart
http_impl.dart
833:840 (<1%)
1085:1092 (<1%)
view
6 x 2 lib/src
lib/src
http_headers_impl.dart
http_headers_impl.dart
210:217 (<1%)
248:255 (<1%)
view
6 x 2 lib
lib/src
http_io.dart
http_headers_impl.dart
691:707 (1%)
847:852 (<1%)
view