dart-lang / watcher
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 21 files with 1,486 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (536 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (394 lines of code)
    • 16 very small files (556 lines of code)
0% | 0% | 36% | 26% | 37%
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% | 36% | 27% | 35%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib/src/directory_watcher0% | 0% | 65% | 34% | 0%
benchmark0% | 0% | 0% | 100% | 0%
lib/src0% | 0% | 0% | 0% | 100%
lib/src/file_watcher0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
lib0% | 0% | 0% | 0% | 100%
example0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
windows.dart
in lib/src/directory_watcher
296 14
mac_os.dart
in lib/src/directory_watcher
240 11
linux.dart
in lib/src/directory_watcher
181 9
path_set.dart
in benchmark
108 10
polling.dart
in lib/src/directory_watcher
105 4
path_set.dart
in lib/src
100 8
polling.dart
in lib/src/file_watcher
63 2
custom_watcher_factory.dart
in lib/src
56 8
native.dart
in lib/src/file_watcher
55 4
constructable_file_system_event.dart
in lib/src
53 -
resubscribable.dart
in lib/src
37 -
utils.dart
in lib/src
30 2
async_queue.dart
in lib/src
26 3
watcher.dart
in lib
23 1
directory_watcher.dart
in lib/src
21 1
analysis_options.yaml
in root
17 -
watch_event.dart
in lib/src
16 -
pubspec.yaml
in root
16 -
file_watcher.dart
in lib/src
15 1
stat.dart
in lib/src
15 2
watch.dart
in example
13 1
Files With Most Units (Top 16)
File# lines# units
windows.dart
in lib/src/directory_watcher
296 14
mac_os.dart
in lib/src/directory_watcher
240 11
path_set.dart
in benchmark
108 10
linux.dart
in lib/src/directory_watcher
181 9
path_set.dart
in lib/src
100 8
custom_watcher_factory.dart
in lib/src
56 8
polling.dart
in lib/src/directory_watcher
105 4
native.dart
in lib/src/file_watcher
55 4
async_queue.dart
in lib/src
26 3
stat.dart
in lib/src
15 2
utils.dart
in lib/src
30 2
polling.dart
in lib/src/file_watcher
63 2
watcher.dart
in lib
23 1
directory_watcher.dart
in lib/src
21 1
file_watcher.dart
in lib/src
15 1
watch.dart
in example
13 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines