tensorflow / hub
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 41 files with 3,899 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (594 lines of code)
    • 7 medium size files (1,638 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (523 lines of code)
    • 29 very small files (1,144 lines of code)
0% | 15% | 42% | 13% | 29%
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
py0% | 15% | 43% | 13% | 26%
proto0% | 0% | 0% | 0% | 100%
bzl0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tensorflow_hub0% | 20% | 43% | 9% | 26%
tensorflow_hub/tools/make_image_classifier0% | 0% | 99% | 0% | <1%
tensorflow_hub/tools/module_search0% | 0% | 0% | 61% | 38%
tensorflow_hub/tools/make_nearest_neighbour_index0% | 0% | 0% | 36% | 63%
tensorflow_hub/pip_package0% | 0% | 0% | 0% | 100%
build_docs0% | 0% | 0% | 0% | 100%
tensorflow_hub/tools0% | 0% | 0% | 0% | 100%
Longest Files (Top 41)
File# lines# units
native_module.py
in tensorflow_hub
594 49
feature_column.py
in tensorflow_hub
275 50
resolver.py
in tensorflow_hub
257 31
saved_model_lib.py
in tensorflow_hub
256 29
keras_layer.py
in tensorflow_hub
233 15
make_image_classifier_lib.py
in tensorflow_hub/tools/make_image_classifier
213 9
make_image_classifier.py
in tensorflow_hub/tools/make_image_classifier
203 7
module.py
in tensorflow_hub
201 19
tensor_info.py
in tensorflow_hub
164 17
utils.py
in tensorflow_hub/tools/module_search
131 6
make_nearest_neighbour_index.py
in tensorflow_hub/tools/make_nearest_neighbour_index
121 3
tf_utils.py
in tensorflow_hub
107 11
__init__.py
in tensorflow_hub
83 2
search.py
in tensorflow_hub/tools/module_search
82 6
embedding_generator.py
in tensorflow_hub/tools/make_nearest_neighbour_index
80 4
feature_column_v2.py
in tensorflow_hub
76 13
index_builder.py
in tensorflow_hub/tools/make_nearest_neighbour_index
73 3
setup.py
in tensorflow_hub/pip_package
71 -
estimator.py
in tensorflow_hub
68 5
meta_graph_lib.py
in tensorflow_hub
65 6
similarity_finder.py
in tensorflow_hub/tools/make_nearest_neighbour_index
55 3
image_util.py
in tensorflow_hub
52 4
compressed_module_resolver.py
in tensorflow_hub
46 8
file_utils.py
in tensorflow_hub
43 3
module_spec.py
in tensorflow_hub
41 9
proto
module_def.proto
in tensorflow_hub
40 -
proto
image_module_info.proto
in tensorflow_hub
39 -
uncompressed_module_resolver.py
in tensorflow_hub
38 6
build_docs.py
in build_docs
34 1
protos.bzl
in tensorflow_hub
27 -
proto
module_attachment.proto
in tensorflow_hub
26 -
registry.py
in tensorflow_hub
23 5
module_v2.py
in tensorflow_hub
23 2
saved_model_module.py
in tensorflow_hub
21 2
module_impl.py
in tensorflow_hub
16 4
config.py
in tensorflow_hub
16 2
cfg
setup.cfg
in tensorflow_hub/pip_package
2 -
__init__.py
in tensorflow_hub/tools/make_image_classifier
1 -
__init__.py
in tensorflow_hub/tools
1 -
__init__.py
in tensorflow_hub/tools/make_nearest_neighbour_index
1 -
version.py
in tensorflow_hub
1 -
Files With Most Units (Top 20)
File# lines# units
feature_column.py
in tensorflow_hub
275 50
native_module.py
in tensorflow_hub
594 49
resolver.py
in tensorflow_hub
257 31
saved_model_lib.py
in tensorflow_hub
256 29
module.py
in tensorflow_hub
201 19
tensor_info.py
in tensorflow_hub
164 17
keras_layer.py
in tensorflow_hub
233 15
feature_column_v2.py
in tensorflow_hub
76 13
tf_utils.py
in tensorflow_hub
107 11
module_spec.py
in tensorflow_hub
41 9
make_image_classifier_lib.py
in tensorflow_hub/tools/make_image_classifier
213 9
compressed_module_resolver.py
in tensorflow_hub
46 8
make_image_classifier.py
in tensorflow_hub/tools/make_image_classifier
203 7
utils.py
in tensorflow_hub/tools/module_search
131 6
search.py
in tensorflow_hub/tools/module_search
82 6
meta_graph_lib.py
in tensorflow_hub
65 6
uncompressed_module_resolver.py
in tensorflow_hub
38 6
estimator.py
in tensorflow_hub
68 5
registry.py
in tensorflow_hub
23 5
image_util.py
in tensorflow_hub
52 4
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