bazelbuild / bazel-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 35 files with 2,886 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (1,036 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (744 lines of code)
    • 26 very small files (1,106 lines of code)
0% | 0% | 35% | 25% | 38%
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
go0% | 0% | 38% | 28% | 33%
js0% | 0% | 0% | 0% | 100%
bzl0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ibazel0% | 0% | 63% | 22% | 14%
ibazel/profiler0% | 0% | 82% | 0% | 17%
bazel0% | 0% | 100% | 0% | 0%
ibazel/output_runner0% | 0% | 0% | 100% | 0%
ibazel/process_group0% | 0% | 0% | 51% | 48%
bazel/testing0% | 0% | 0% | 100% | 0%
example_client0% | 0% | 0% | 100% | 0%
ibazel/live_reload0% | 0% | 0% | 96% | 3%
ibazel/command0% | 0% | 0% | 0% | 100%
ibazel/fswatcher0% | 0% | 0% | 0% | 100%
release/npm0% | 0% | 0% | 0% | 100%
ibazel/log0% | 0% | 0% | 0% | 100%
ibazel/workspace0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
ibazel/lifecycle_hooks0% | 0% | 0% | 0% | 100%
tools0% | 0% | 0% | 0% | 100%
example_client/data0% | 0% | 0% | 0% | 100%
Longest Files (Top 35)
File# lines# units
ibazel.go
in ibazel
436 30
profiler.go
in ibazel/profiler
340 25
bazel.go
in bazel
260 20
output_runner.go
in ibazel/output_runner
162 13
main.go
in ibazel
157 7
process_group_windows.go
in ibazel/process_group
109 8
mock.go
in bazel/testing
108 17
example_client.go
in example_client
107 2
server.go
in ibazel/live_reload
101 13
notify_command.go
in ibazel/command
98 6
command.go
in ibazel/command
86 4
index.js
in release/npm
82 3
fsevents.go
in ibazel/fswatcher/fsevents
77 6
profiler.js
in ibazel/profiler
74 3
log.go
in ibazel/log
67 11
fsnotify.go
in ibazel/fswatcher/fsnotify
65 8
workspace.go
in ibazel/workspace
65 4
default_command.go
in ibazel/command
65 6
repositories.bzl
in root
64 -
syscalls_windows.go
in ibazel/process_group
58 5
generate_package.go
in release/npm
51 1
lifecycle_hooks.go
in ibazel/lifecycle_hooks
47 8
ibazel_unix.go
in ibazel
45 1
process_group_unix.go
in ibazel/process_group
31 7
factory_darwin.go
in ibazel/fswatcher
22 1
main_unix.go
in ibazel
21 1
common.go
in ibazel/fswatcher/common
16 -
ibazel_windows.go
in ibazel
16 1
lifecycle.go
in ibazel
13 -
process_group.go
in ibazel/process_group
13 -
workplace_status.py
in tools
9 -
factory_fsnotify.go
in ibazel/fswatcher
8 1
data.go
in example_client/data
5 -
main_windows.go
in ibazel
4 1
events.go
in ibazel/live_reload
4 -
Files With Most Units (Top 20)
File# lines# units
ibazel.go
in ibazel
436 30
profiler.go
in ibazel/profiler
340 25
bazel.go
in bazel
260 20
mock.go
in bazel/testing
108 17
output_runner.go
in ibazel/output_runner
162 13
server.go
in ibazel/live_reload
101 13
log.go
in ibazel/log
67 11
lifecycle_hooks.go
in ibazel/lifecycle_hooks
47 8
fsnotify.go
in ibazel/fswatcher/fsnotify
65 8
process_group_windows.go
in ibazel/process_group
109 8
main.go
in ibazel
157 7
process_group_unix.go
in ibazel/process_group
31 7
fsevents.go
in ibazel/fswatcher/fsevents
77 6
notify_command.go
in ibazel/command
98 6
default_command.go
in ibazel/command
65 6
syscalls_windows.go
in ibazel/process_group
58 5
workspace.go
in ibazel/workspace
65 4
command.go
in ibazel/command
86 4
index.js
in release/npm
82 3
profiler.js
in ibazel/profiler
74 3
Files With Long Lines (Top 9)

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

File# lines# units# long lines
mock.go
in bazel/testing
108 17 2
index.js
in release/npm
82 3 1
lifecycle_hooks.go
in ibazel/lifecycle_hooks
47 8 1
factory_darwin.go
in ibazel/fswatcher
22 1 1
ibazel.go
in ibazel
436 30 1
output_runner.go
in ibazel/output_runner
162 13 1
server.go
in ibazel/live_reload
101 13 1
syscalls_windows.go
in ibazel/process_group
58 5 1
process_group_windows.go
in ibazel/process_group
109 8 1