opensearch-project / documentation-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 22 files with 3,348 lines of code.
    • 1 very long files (1,025 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (916 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,142 lines of code)
    • 10 very small files (265 lines of code)
30% | 0% | 27% | 34% | 7%
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
scss91% | 0% | 0% | 0% | 8%
css0% | 0% | 51% | 48% | 0%
html0% | 0% | 41% | 48% | 10%
js0% | 0% | 56% | 42% | <1%
rb0% | 0% | 0% | 69% | 30%
yml0% | 0% | 0% | 72% | 27%
tpl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
_sass/custom100% | 0% | 0% | 0% | 0%
assets/fonts/open-sans0% | 0% | 100% | 0% | 0%
_layouts0% | 0% | 100% | 0% | 0%
assets/js0% | 0% | 55% | 41% | 3%
_includes0% | 0% | 0% | 82% | 17%
assets/fonts/noto-serif0% | 0% | 0% | 100% | 0%
assets/fonts/open-sans-condensed0% | 0% | 0% | 100% | 0%
_plugins0% | 0% | 0% | 69% | 30%
assets/fonts/fira-mono0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 100% | 0%
_sass/color_schemes0% | 0% | 0% | 0% | 100%
_data0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
custom.scss
in _sass/custom
1025 -
webfont.css
in assets/fonts/open-sans
490 -
default.html
in _layouts
220 -
search.js
in assets/js
206 -
webfont.css
in assets/fonts/noto-serif
196 -
_version-selector.js
in assets/js
156 6
webfont.css
in assets/fonts/open-sans-condensed
147 -
link-checker.rb
in _plugins
144 6
toc.html
in _includes
143 -
webfont.css
in assets/fonts/fira-mono
126 -
_config.yml
in root
118 -
nav.html
in _includes
112 -
search-indexer.rb
in _plugins
62 3
opensearch.scss
in _sass/color_schemes
49 -
footer.yml
in _data
43 -
odfe.scss
in _sass/color_schemes
43 -
footer.html
in _includes
36 -
head_custom.html
in _includes
12 -
tpl
version-selector.tpl
in assets/js
9 -
nav_item.html
in _includes
7 -
header-nav.js
in assets/js
3 -
alert.yml
in _data
1 -
Files With Most Units (Top 3)
File# lines# units
_version-selector.js
in assets/js
156 6
link-checker.rb
in _plugins
144 6
search-indexer.rb
in _plugins
62 3
Files With Long Lines (Top 15)

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

File# lines# units# long lines
default.html
in _layouts
220 - 17
toc.html
in _includes
143 - 11
webfont.css
in assets/fonts/open-sans
490 - 10
nav.html
in _includes
112 - 7
footer.html
in _includes
36 - 6
custom.scss
in _sass/custom
1025 - 5
webfont.css
in assets/fonts/noto-serif
196 - 4
webfont.css
in assets/fonts/fira-mono
126 - 3
webfont.css
in assets/fonts/open-sans-condensed
147 - 3
_version-selector.js
in assets/js
156 6 2
link-checker.rb
in _plugins
144 6 2
search.js
in assets/js
206 - 1
_config.yml
in root
118 - 1
search-indexer.rb
in _plugins
62 3 1
alert.yml
in _data
1 - 1