pytorch / pytorch_sphinx_theme
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 26 files with 12,811 lines of code.
    • 1 very long files (10,979 lines of code)
    • 1 long files (510 lines of code)
    • 1 medium size files (317 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (312 lines of code)
    • 21 very small files (693 lines of code)
85% | 3% | 2% | 2% | 5%
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
css100% | 0% | 0% | 0% | 0%
html0% | 66% | 0% | 0% | 33%
js0% | 0% | 32% | 31% | 35%
py0% | 0% | 0% | 0% | 100%
jinja0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pytorch_sphinx_theme/static/css100% | 0% | 0% | 0% | 0%
pytorch_sphinx_theme0% | 63% | 0% | 0% | 36%
js0% | 0% | 38% | 19% | 42%
ROOT0% | 0% | 0% | 74% | 25%
Longest Files (Top 26)
File# lines# units
theme.css
in pytorch_sphinx_theme/static/css
10979 -
layout.html
in pytorch_sphinx_theme
510 -
theme.js
in js
317 33
side-menus.js
in js
161 9
Gruntfile.js
in root
151 2
_utilities.js
in js
85 7
breadcrumbs.html
in pytorch_sphinx_theme
78 -
footer.html
in pytorch_sphinx_theme
63 -
scroll-to-anchor.js
in js
56 8
filter-tutorial-tags.js
in js
49 5
highlight-navigation.js
in js
46 2
setup.py
in root
45 -
search.html
in pytorch_sphinx_theme
43 -
versions.html
in pytorch_sphinx_theme
35 -
cookie-banner.js
in js
33 7
theme_variables.jinja
in pytorch_sphinx_theme
32 -
mobile-menu.js
in js
26 6
main-menu-dropdown.js
in js
22 4
mobile-toc.js
in js
17 3
pytorch-anchors.js
in js
14 2
fonts.html
in pytorch_sphinx_theme
14 -
searchbox.html
in pytorch_sphinx_theme
14 -
__init__.py
in pytorch_sphinx_theme
8 2
cookie_banner.html
in pytorch_sphinx_theme
6 -
pytorch_sphinx_theme.py
in root
5 1
cfg
setup.cfg
in root
2 -
Files With Most Units (Top 14)
File# lines# units
theme.js
in js
317 33
side-menus.js
in js
161 9
scroll-to-anchor.js
in js
56 8
cookie-banner.js
in js
33 7
_utilities.js
in js
85 7
mobile-menu.js
in js
26 6
filter-tutorial-tags.js
in js
49 5
main-menu-dropdown.js
in js
22 4
mobile-toc.js
in js
17 3
Gruntfile.js
in root
151 2
highlight-navigation.js
in js
46 2
pytorch-anchors.js
in js
14 2
__init__.py
in pytorch_sphinx_theme
8 2
pytorch_sphinx_theme.py
in root
5 1
Files With Long Lines (Top 10)

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

File# lines# units# long lines
theme.css
in pytorch_sphinx_theme/static/css
10979 - 104
fonts.html
in pytorch_sphinx_theme
14 - 14
theme.js
in js
317 33 7
layout.html
in pytorch_sphinx_theme
510 - 7
breadcrumbs.html
in pytorch_sphinx_theme
78 - 7
footer.html
in pytorch_sphinx_theme
63 - 5
_utilities.js
in js
85 7 2
Gruntfile.js
in root
151 2 1
cookie_banner.html
in pytorch_sphinx_theme
6 - 1
search.html
in pytorch_sphinx_theme
43 - 1