bazelbuild / bazel-website
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 28 files with 1,726 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (217 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (616 lines of code)
    • 23 very small files (893 lines of code)
0% | 0% | 12% | 35% | 51%
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
bzl0% | 0% | 55% | 0% | 44%
scss0% | 0% | 0% | 67% | 32%
html0% | 0% | 0% | 27% | 72%
tpl0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
rb0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 37% | 26% | 36%
_sass0% | 0% | 0% | 68% | 31%
_includes0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
_layouts0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
_plugins0% | 0% | 0% | 0% | 100%
Longest Files (Top 28)
File# lines# units
redirects.bzl
in root
217 -
style.scss
in _sass
194 -
index.html
in root
154 -
home.scss
in _sass
135 -
sidebar.scss
in _sass
133 -
site.bzl
in root
99 -
syntax.scss
in _sass
81 -
navbar.scss
in _sass
78 -
jekyll.bzl
in scripts
72 -
contribute.html
in _layouts
71 -
header.html
in _includes
65 -
footer.html
in _includes
64 -
search2.html
in root
61 -
tpl
jekyll_build.sh.tpl
in scripts
44 -
head.html
in _includes
43 -
footer-content.html
in _includes
40 -
search.scss
in _sass
31 -
_config.yml
in root
31 -
default.html
in _layouts
23 -
search.html
in root
19 -
footer.scss
in _sass
17 -
cloudbuild.yaml
in scripts
12 -
main.scss
in css
10 -
home.html
in _layouts
9 -
regular-redirect.html
in _layouts
7 -
redirect.html
in _layouts
7 -
support.scss
in _sass
6 -
svg_mime_type.rb
in _plugins
3 -
Files With Most Units (Top 0)
File# lines# units
Files With Long Lines (Top 5)

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

File# lines# units# long lines
index.html
in root
154 - 10
contribute.html
in _layouts
71 - 4
head.html
in _includes
43 - 1
header.html
in _includes
65 - 1
redirects.bzl
in root
217 - 1