tensorflow / lattice
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 29 files with 8,507 lines of code.
    • 3 very long files (3,518 lines of code)
    • 1 long files (555 lines of code)
    • 11 medium size files (3,613 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (376 lines of code)
    • 11 very small files (445 lines of code)
41% | 6% | 42% | 4% | 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
py41% | 6% | 42% | 4% | 5%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tensorflow_lattice/python41% | 6% | 42% | 4% | 4%
ROOT0% | 0% | 0% | 0% | 100%
tensorflow_lattice0% | 0% | 0% | 0% | 100%
tensorflow_lattice/layers0% | 0% | 0% | 0% | 100%
tensorflow_lattice/sonnet_modules0% | 0% | 0% | 0% | 100%
Longest Files (Top 29)
File# lines# units
lattice_lib.py
in tensorflow_lattice/python
1199 37
premade_lib.py
in tensorflow_lattice/python
1181 41
estimators.py
in tensorflow_lattice/python
1138 30
pwl_calibration_layer.py
in tensorflow_lattice/python
555 26
lattice_layer.py
in tensorflow_lattice/python
488 23
pwl_calibration_lib.py
in tensorflow_lattice/python
460 14
visualization.py
in tensorflow_lattice/python
354 15
premade.py
in tensorflow_lattice/python
353 13
kronecker_factored_lattice_lib.py
in tensorflow_lattice/python
333 14
rtl_layer.py
in tensorflow_lattice/python
317 8
kronecker_factored_lattice_layer.py
in tensorflow_lattice/python
297 24
configs.py
in tensorflow_lattice/python
285 26
pwl_calibration_sonnet_module.py
in tensorflow_lattice/python
267 9
linear_lib.py
in tensorflow_lattice/python
255 3
linear_layer.py
in tensorflow_lattice/python
204 9
categorical_calibration_layer.py
in tensorflow_lattice/python
146 9
cdf_layer.py
in tensorflow_lattice/python
120 5
utils.py
in tensorflow_lattice/python
110 7
categorical_calibration_lib.py
in tensorflow_lattice/python
82 3
parallel_combination_layer.py
in tensorflow_lattice/python
76 6
internal_utils.py
in tensorflow_lattice/python
75 4
setup.py
in root
66 -
rtl_lib.py
in tensorflow_lattice/python
59 1
model_info.py
in tensorflow_lattice/python
26 -
__init__.py
in tensorflow_lattice
25 -
aggregation_layer.py
in tensorflow_lattice/python
23 4
__init__.py
in tensorflow_lattice/layers
9 -
__init__.py
in tensorflow_lattice/python
3 -
__init__.py
in tensorflow_lattice/sonnet_modules
1 -
Files With Most Units (Top 20)
File# lines# units
premade_lib.py
in tensorflow_lattice/python
1181 41
lattice_lib.py
in tensorflow_lattice/python
1199 37
estimators.py
in tensorflow_lattice/python
1138 30
pwl_calibration_layer.py
in tensorflow_lattice/python
555 26
configs.py
in tensorflow_lattice/python
285 26
kronecker_factored_lattice_layer.py
in tensorflow_lattice/python
297 24
lattice_layer.py
in tensorflow_lattice/python
488 23
visualization.py
in tensorflow_lattice/python
354 15
pwl_calibration_lib.py
in tensorflow_lattice/python
460 14
kronecker_factored_lattice_lib.py
in tensorflow_lattice/python
333 14
premade.py
in tensorflow_lattice/python
353 13
categorical_calibration_layer.py
in tensorflow_lattice/python
146 9
pwl_calibration_sonnet_module.py
in tensorflow_lattice/python
267 9
linear_layer.py
in tensorflow_lattice/python
204 9
rtl_layer.py
in tensorflow_lattice/python
317 8
utils.py
in tensorflow_lattice/python
110 7
parallel_combination_layer.py
in tensorflow_lattice/python
76 6
cdf_layer.py
in tensorflow_lattice/python
120 5
internal_utils.py
in tensorflow_lattice/python
75 4
aggregation_layer.py
in tensorflow_lattice/python
23 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