dart-lang / sample-pop_pop_win
File Size

The distribution of size of files (measured in lines of code).

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 26 files with 1,557 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (485 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (105 lines of code)
    • 23 very small files (967 lines of code)
0% | 0% | 31% | 6% | 62%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
dart0% | 0% | 38% | 8% | 53%
yaml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/src/game0% | 0% | 79% | 0% | 20%
lib/src/stage0% | 0% | 45% | 0% | 54%
lib0% | 0% | 0% | 100% | 0%
lib/src0% | 0% | 0% | 0% | 100%
web0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
lib/assets0% | 0% | 0% | 0% | 100%
Longest Files (Top 26)
File# lines# units
game_core.dart
in lib/src/game
250 10
game_element.dart
in lib/src/stage
235 5
pop_pop_win.dart
in lib
105 6
analysis_options.yaml
in root
95 -
square_element.dart
in lib/src/stage
88 3
array_2d.dart
in lib/src
79 7
game_background_element.dart
in lib/src/stage
74 -
field.dart
in lib/src/game
65 2
index.html
in web
64 -
platform_web.dart
in lib/src
61 3
index.template.html
in web
59 -
game_storage.dart
in lib/src
53 8
game_manager.dart
in lib/src
50 6
game_root.dart
in lib/src/stage
45 2
analytics.dart
in lib/src
42 2
board_element.dart
in lib/src/stage
36 1
score_element.dart
in lib/src/stage
33 2
style.css
in lib/assets
31 -
audio.dart
in lib/src
29 1
main.dart
in web
21 2
build.yaml
in root
21 -
pubspec.yaml
in root
13 -
stage.dart
in lib/src
2 -
util.dart
in lib/src
2 -
resources.dart
in lib/src
2 -
game.dart
in lib/src
2 -
Files With Most Units (Top 15)
File# lines# units
game_core.dart
in lib/src/game
250 10
game_storage.dart
in lib/src
53 8
array_2d.dart
in lib/src
79 7
game_manager.dart
in lib/src
50 6
pop_pop_win.dart
in lib
105 6
game_element.dart
in lib/src/stage
235 5
platform_web.dart
in lib/src
61 3
square_element.dart
in lib/src/stage
88 3
score_element.dart
in lib/src/stage
33 2
game_root.dart
in lib/src/stage
45 2
analytics.dart
in lib/src
42 2
field.dart
in lib/src/game
65 2
main.dart
in web
21 2
board_element.dart
in lib/src/stage
36 1
audio.dart
in lib/src
29 1
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 2 long lines.

File# lines# units# long lines
index.html
in web
64 - 1
index.template.html
in web
59 - 1