tensorflow / docs
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 86 files with 6,864 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (520 lines of code)
    • 10 medium size files (3,006 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,223 lines of code)
    • 66 very small files (2,115 lines of code)
0% | 7% | 43% | 17% | 30%
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
cs0% | 48% | 26% | 0% | 25%
py0% | 0% | 51% | 22% | 26%
html0% | 0% | 100% | 0% | 0%
yaml0% | 0% | 28% | 29% | 42%
jinja0% | 0% | 0% | 0% | 100%
proto0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
tpl0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tools/tensorflow_docs/api_generator0% | 11% | 50% | 11% | 26%
site/en/install0% | 0% | 67% | 24% | 8%
site/en/tutorials0% | 0% | 58% | 41% | 0%
tools/tensorflow_docs/tools0% | 0% | 24% | 49% | 25%
site/en/guide0% | 0% | 0% | 0% | 100%
tools/templates/subsite0% | 0% | 0% | 0% | 100%
tools/tensorflow_docs/vis0% | 0% | 0% | 0% | 100%
tools/tensorflow_docs/plots0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
tools/templates0% | 0% | 0% | 0% | 100%
tools/release_tools0% | 0% | 0% | 0% | 100%
site/en/community0% | 0% | 0% | 0% | 100%
tools/tensorflow_docs/modeling0% | 0% | 0% | 0% | 100%
tools/spelltest/tmpl0% | 0% | 0% | 0% | 100%
site/en/about0% | 0% | 0% | 0% | 100%
tools/tensorflow_docs0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
class.cs
in tools/tensorflow_docs/api_generator/gen_java/templates
520 -
generate_lib.py
in tools/tensorflow_docs/api_generator
422 31
parser.py
in tools/tensorflow_docs/api_generator
370 24
class_page.py
in tools/tensorflow_docs/api_generator/pretty_docs
345 31
signature.py
in tools/tensorflow_docs/api_generator
332 22
pip.html
in site/en/install
291 -
macros.cs
in tools/tensorflow_docs/api_generator/gen_java/templates
288 1
_index.yaml
in site/en/tutorials
286 -
base_page.py
in tools/tensorflow_docs/api_generator/pretty_docs
255 29
linter.py
in tools/tensorflow_docs/tools/nblint
211 13
reference_resolver.py
in tools/tensorflow_docs/api_generator
206 18
_toc.yaml
in site/en/tutorials
199 -
__main__.py
in tools/tensorflow_docs/tools/nbfmt
167 8
tensorflow.py
in tools/tensorflow_docs/tools/nblint/style
152 9
doc_generator_visitor.py
in tools/tensorflow_docs/api_generator
138 17
public_api.py
in tools/tensorflow_docs/api_generator
128 8
doc_controls.py
in tools/tensorflow_docs/api_generator
118 19
linter.py
in tools/tensorflow_docs/api_generator/report
109 8
__main__.py
in tools/tensorflow_docs/tools/nblint
108 5
_index.yaml
in site/en/install
104 -
proto
api_report.proto
in tools/tensorflow_docs/api_generator/report/schema
100 -
module_page.py
in tools/tensorflow_docs/api_generator/pretty_docs
97 17
left-nav-android.cs
in tools/tensorflow_docs/api_generator/gen_java/templates
96 -
traverse.py
in tools/tensorflow_docs/api_generator
92 5
utils.py
in tools/tensorflow_docs/api_generator/report
87 7
_index.yaml
in site/en/guide/migrate
86 -
_toc.yaml
in site/en/guide
78 -
module.jinja
in tools/tensorflow_docs/api_generator/pretty_docs/templates
73 -
type_alias_page.py
in tools/tensorflow_docs/api_generator/pretty_docs
62 7
_toc.yaml
in site/en/guide/migrate
60 -
docs_for_object.py
in tools/tensorflow_docs/api_generator/pretty_docs
59 1
tensorflow_docs_l10n.py
in tools/tensorflow_docs/tools/nblint/style
58 3
webp_animation.py
in tools/tensorflow_docs/vis
58 7
__init__.py
in tools/tensorflow_docs/plots
51 3
notebook_utils.py
in tools/tensorflow_docs/tools/nbfmt
50 5
decorator.py
in tools/tensorflow_docs/tools/nblint
49 4
__init__.py
in tools/tensorflow_docs/api_generator/gen_java
48 2
class.jinja
in tools/tensorflow_docs/api_generator/pretty_docs/templates
46 -
_index.yaml
in site/en/guide
45 -
setup.py
in root
45 -
package.cs
in tools/tensorflow_docs/api_generator/gen_java/templates
45 -
yaml_navtree.cs
in tools/tensorflow_docs/api_generator/gen_java/templates
44 -
_index.yaml
in tools/templates/subsite/g3doc
43 -
google.py
in tools/tensorflow_docs/tools/nblint/style
42 3
build_docs.py
in tools/templates
41 2
update_versions.py
in tools/release_tools
40 3
function_page.py
in tools/tensorflow_docs/api_generator/pretty_docs
39 8
_toc.yaml
in site/en/install
35 -
_book.yaml
in tools/templates/subsite/g3doc
35 -
_toc.yaml
in site/en/community
33 -
Files With Most Units (Top 20)
File# lines# units
generate_lib.py
in tools/tensorflow_docs/api_generator
422 31
class_page.py
in tools/tensorflow_docs/api_generator/pretty_docs
345 31
base_page.py
in tools/tensorflow_docs/api_generator/pretty_docs
255 29
parser.py
in tools/tensorflow_docs/api_generator
370 24
signature.py
in tools/tensorflow_docs/api_generator
332 22
doc_controls.py
in tools/tensorflow_docs/api_generator
118 19
reference_resolver.py
in tools/tensorflow_docs/api_generator
206 18
module_page.py
in tools/tensorflow_docs/api_generator/pretty_docs
97 17
doc_generator_visitor.py
in tools/tensorflow_docs/api_generator
138 17
linter.py
in tools/tensorflow_docs/tools/nblint
211 13
tensorflow.py
in tools/tensorflow_docs/tools/nblint/style
152 9
linter.py
in tools/tensorflow_docs/api_generator/report
109 8
public_api.py
in tools/tensorflow_docs/api_generator
128 8
function_page.py
in tools/tensorflow_docs/api_generator/pretty_docs
39 8
__main__.py
in tools/tensorflow_docs/tools/nbfmt
167 8
utils.py
in tools/tensorflow_docs/api_generator/report
87 7
type_alias_page.py
in tools/tensorflow_docs/api_generator/pretty_docs
62 7
webp_animation.py
in tools/tensorflow_docs/vis
58 7
traverse.py
in tools/tensorflow_docs/api_generator
92 5
notebook_utils.py
in tools/tensorflow_docs/tools/nbfmt
50 5
Files With Long Lines (Top 9)

There are 9 files with lines longer than 120 characters. In total, there are 89 long lines.

File# lines# units# long lines
pip.html
in site/en/install
291 - 42
_index.yaml
in site/en/tutorials
286 - 24
_index.yaml
in site/en/guide/migrate
86 - 6
class.cs
in tools/tensorflow_docs/api_generator/gen_java/templates
520 - 5
macros.cs
in tools/tensorflow_docs/api_generator/gen_java/templates
288 1 5
_index.yaml
in site/en/install
104 - 4
_index.yaml
in tools/templates/subsite/g3doc
43 - 1
left-nav-android.cs
in tools/tensorflow_docs/api_generator/gen_java/templates
96 - 1
tensorflow_docs_l10n.py
in tools/tensorflow_docs/tools/nblint/style
58 3 1