bazelbuild / vscode-bazel
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 43 files with 3,986 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (582 lines of code)
    • 4 medium size files (1,458 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (613 lines of code)
    • 33 very small files (1,333 lines of code)
0% | 14% | 36% | 15% | 33%
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
proto0% | 35% | 45% | 10% | 8%
ts0% | 0% | 30% | 18% | 50%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
protos0% | 35% | 45% | 10% | 8%
debug-adapter0% | 0% | 78% | 18% | 2%
extension0% | 0% | 97% | 0% | 2%
bazel0% | 0% | 0% | 39% | 60%
buildifier0% | 0% | 0% | 42% | 57%
workspace-tree0% | 0% | 0% | 0% | 100%
codelens0% | 0% | 0% | 0% | 100%
completion-provider0% | 0% | 0% | 0% | 100%
symbols0% | 0% | 0% | 0% | 100%
definition0% | 0% | 0% | 0% | 100%
Longest Files (Top 43)
File# lines# units
proto
build_event_stream.proto
in src/protos/src/main/java/com/google/devtools/build/lib/buildeventstream/proto
582 -
proto
build.proto
in src/protos/src/main/protobuf
454 -
client.ts
in src/debug-adapter
419 25
extension.ts
in src/extension
303 17
proto
skylark_debugging.proto
in src/protos/src/main/java/com/google/devtools/build/lib/skylarkdebug/proto
282 -
proto
invocation_policy.proto
in src/protos/src/main/protobuf
172 -
buildifier.ts
in src/buildifier
125 8
bazel_exit_code.ts
in src/bazel
111 2
bazel_quickpick.ts
in src/bazel
104 10
connection.ts
in src/debug-adapter
101 7
bazel_workspace_folder_tree_item.ts
in src/workspace-tree
96 9
bazel_workspace_tree_provider.ts
in src/workspace-tree
95 6
bazel_query.ts
in src/bazel
94 5
bazel_completion_provider.ts
in src/completion-provider
93 6
proto
command_line.proto
in src/protos/src/main/protobuf
87 -
bazel_build_code_lens_provider.ts
in src/codelens
87 3
bazel_utils.ts
in src/bazel
66 3
buildifier_diagnostics_manager.ts
in src/buildifier
63 3
bazel_package_tree_item.ts
in src/workspace-tree
61 8
bazel_target_tree_item.ts
in src/workspace-tree
56 8
icons.ts
in src/workspace-tree
51 1
proto
option_filters.proto
in src/protos/src/main/protobuf
50 -
buildifier_availability.ts
in src/buildifier
48 2
tasks.ts
in src/bazel
47 2
bazel_target_symbol_provider.ts
in src/symbols
46 2
bazel_goto_definition_provider.ts
in src/definition
44 1
buildifier_format_provider.ts
in src/buildifier
37 1
bazel_command.ts
in src/bazel
32 2
query_location.ts
in src/bazel
31 2
bazel_workspace_info.ts
in src/bazel
31 3
code_lens_command_adapter.ts
in src/codelens
23 2
buildifier_result.ts
in src/buildifier
17 -
bazel_task_info.ts
in src/bazel
17 3
handles.ts
in src/debug-adapter
16 3
bazel_tree_item.ts
in src/workspace-tree
10 -
index.ts
in src/bazel
9 -
configuration.ts
in src/extension
9 1
index.ts
in src/protos
8 -
index.ts
in src/buildifier
5 -
index.ts
in src/symbols
1 -
index.ts
in src/workspace-tree
1 -
index.ts
in src/completion-provider
1 -
index.ts
in src/codelens
1 -
Files With Most Units (Top 20)
File# lines# units
client.ts
in src/debug-adapter
419 25
extension.ts
in src/extension
303 17
bazel_quickpick.ts
in src/bazel
104 10
bazel_workspace_folder_tree_item.ts
in src/workspace-tree
96 9
buildifier.ts
in src/buildifier
125 8
bazel_package_tree_item.ts
in src/workspace-tree
61 8
bazel_target_tree_item.ts
in src/workspace-tree
56 8
connection.ts
in src/debug-adapter
101 7
bazel_workspace_tree_provider.ts
in src/workspace-tree
95 6
bazel_completion_provider.ts
in src/completion-provider
93 6
bazel_query.ts
in src/bazel
94 5
buildifier_diagnostics_manager.ts
in src/buildifier
63 3
bazel_build_code_lens_provider.ts
in src/codelens
87 3
bazel_utils.ts
in src/bazel
66 3
bazel_workspace_info.ts
in src/bazel
31 3
bazel_task_info.ts
in src/bazel
17 3
handles.ts
in src/debug-adapter
16 3
bazel_target_symbol_provider.ts
in src/symbols
46 2
buildifier_availability.ts
in src/buildifier
48 2
code_lens_command_adapter.ts
in src/codelens
23 2
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