flutter / tools_metadata
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
  • <1% duplication:
    • 9,262 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 60 duplicated lines
  • 5 duplicates
system<1% (60 lines)
Duplication per Extension
dart<1% (60 lines)
Duplication per Component (primary)
tool/icon_generator/lib<1% (54 lines)
tool/icons5% (6 lines)
tool/icon_generator0% (0 lines)
tool/catalog0% (0 lines)
tool0% (0 lines)
tool/colors0% (0 lines)
ROOT0% (0 lines)
Longest Duplicates
The list of 5 longest duplicates.
See data for all 5 duplicates...
Size#FoldersFilesLinesCode
10 x 2 tool/icon_generator/lib
tool/icon_generator/lib
main.dart
main.dart
87:96 (8%)
113:122 (8%)
view
10 x 2 tool/icon_generator/lib
tool/icon_generator/lib
main.dart
main.dart
74:83 (8%)
100:109 (8%)
view
7 x 2 tool/icon_generator/lib
tool/icon_generator/lib
cupertino.dart
material.dart
5:14 (<1%)
5:14 (<1%)
view
6 x 2 tool/icon_generator/lib
tool/icons
material.dart
update_icons.dart
5:11 (<1%)
100:106 (5%)
view
6 x 2 tool/icon_generator/lib
tool/icons
cupertino.dart
update_icons.dart
5:11 (<1%)
100:106 (5%)
view