bazelbuild / remote-apis
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 10 files with 8,944 lines of code.
    • 3 very long files (7,818 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (669 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (383 lines of code)
    • 2 very small files (74 lines of code)
87% | 0% | 7% | 4% | <1%
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
go93% | 0% | 4% | 2% | 0%
proto74% | 0% | 18% | 5% | 1%
bzl0% | 0% | 0% | 72% | 27%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
build/bazel/remote/execution/v2100% | 0% | 0% | 0% | 0%
build/bazel/remote/asset/v174% | 0% | 25% | 0% | 0%
build/bazel/remote/logstream/v10% | 0% | 67% | 32% | 0%
build/bazel/semver0% | 0% | 0% | 81% | 18%
ROOT0% | 0% | 0% | 72% | 27%
Longest Files (Top 10)
File# lines# units
remote_execution.pb.go
in build/bazel/remote/execution/v2
5013 480
proto
remote_execution.proto
in build/bazel/remote/execution/v2
1660 -
remote_asset.pb.go
in build/bazel/remote/asset/v1
1145 100
proto
remote_asset.proto
in build/bazel/remote/asset/v1
401 -
remote_logstream.pb.go
in build/bazel/remote/logstream/v1
268 21
semver.pb.go
in build/bazel/semver
150 12
proto
remote_logstream.proto
in build/bazel/remote/logstream/v1
130 -
repository_rules.bzl
in root
103 -
remote_apis_deps.bzl
in root
40 -
proto
semver.proto
in build/bazel/semver
34 -
Files With Most Units (Top 4)
File# lines# units
remote_execution.pb.go
in build/bazel/remote/execution/v2
5013 480
remote_asset.pb.go
in build/bazel/remote/asset/v1
1145 100
remote_logstream.pb.go
in build/bazel/remote/logstream/v1
268 21
semver.pb.go
in build/bazel/semver
150 12
Files With Long Lines (Top 6)

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

File# lines# units# long lines
remote_execution.pb.go
in build/bazel/remote/execution/v2
5013 480 179
remote_asset.pb.go
in build/bazel/remote/asset/v1
1145 100 38
proto
remote_execution.proto
in build/bazel/remote/execution/v2
1660 - 12
remote_logstream.pb.go
in build/bazel/remote/logstream/v1
268 21 8
semver.pb.go
in build/bazel/semver
150 12 1
proto
remote_asset.proto
in build/bazel/remote/asset/v1
401 - 1