tensorflow / kfac
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 30 files with 7,085 lines of code.
    • 1 very long files (1,581 lines of code)
    • 4 long files (2,871 lines of code)
    • 5 medium size files (1,525 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (417 lines of code)
    • 17 very small files (691 lines of code)
22% | 40% | 21% | 5% | 9%
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
py22% | 40% | 21% | 5% | 9%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
kfac/python/ops29% | 53% | 12% | 2% | 3%
kfac/python/keras0% | 0% | 74% | 0% | 25%
kfac/python/ops/tensormatch0% | 0% | 53% | 25% | 20%
kfac/python/ops/kfac_utils0% | 0% | 0% | 41% | 58%
ROOT0% | 0% | 0% | 0% | 100%
kfac0% | 0% | 0% | 0% | 100%
kfac/python0% | 0% | 0% | 0% | 100%
Longest Files (Top 30)
File# lines# units
fisher_factors.py
in kfac/python/ops
1581 203
layer_collection.py
in kfac/python/ops
816 61
fisher_blocks.py
in kfac/python/ops
802 106
utils.py
in kfac/python/ops
666 80
optimizer.py
in kfac/python/ops
587 50
graph_search.py
in kfac/python/ops/tensormatch
403 12
loss_functions.py
in kfac/python/ops
327 89
estimator.py
in kfac/python/ops
322 35
optimizers.py
in kfac/python/keras
240 16
utils.py
in kfac/python/keras
233 8
graph_matcher.py
in kfac/python/ops/tensormatch
190 36
curvature_matrix_vector_products.py
in kfac/python/ops
120 27
periodic_inv_cov_update_kfac_opt.py
in kfac/python/ops/kfac_utils
107 4
placement.py
in kfac/python/ops
96 7
callbacks.py
in kfac/python/keras
83 9
tensorflow_graph_util.py
in kfac/python/ops/tensormatch
80 13
graph_patterns.py
in kfac/python/ops/tensormatch
74 11
saving_utils.py
in kfac/python/keras
72 2
async_inv_cov_update_kfac_opt.py
in kfac/python/ops/kfac_utils
55 7
linear_operator.py
in kfac/python/ops
52 8
data_reader.py
in kfac/python/ops/kfac_utils
48 6
data_reader_alt.py
in kfac/python/ops/kfac_utils
46 6
setup.py
in root
33 -
__init__.py
in kfac
26 -
op_queue.py
in kfac/python/ops
18 3
__init__.py
in kfac/python/keras
4 -
__init__.py
in kfac/python/ops
1 -
__init__.py
in kfac/python/ops/tensormatch
1 -
__init__.py
in kfac/python/ops/kfac_utils
1 -
__init__.py
in kfac/python
1 -
Files With Most Units (Top 20)
File# lines# units
fisher_factors.py
in kfac/python/ops
1581 203
fisher_blocks.py
in kfac/python/ops
802 106
loss_functions.py
in kfac/python/ops
327 89
utils.py
in kfac/python/ops
666 80
layer_collection.py
in kfac/python/ops
816 61
optimizer.py
in kfac/python/ops
587 50
graph_matcher.py
in kfac/python/ops/tensormatch
190 36
estimator.py
in kfac/python/ops
322 35
curvature_matrix_vector_products.py
in kfac/python/ops
120 27
optimizers.py
in kfac/python/keras
240 16
tensorflow_graph_util.py
in kfac/python/ops/tensormatch
80 13
graph_search.py
in kfac/python/ops/tensormatch
403 12
graph_patterns.py
in kfac/python/ops/tensormatch
74 11
callbacks.py
in kfac/python/keras
83 9
linear_operator.py
in kfac/python/ops
52 8
utils.py
in kfac/python/keras
233 8
placement.py
in kfac/python/ops
96 7
async_inv_cov_update_kfac_opt.py
in kfac/python/ops/kfac_utils
55 7
data_reader_alt.py
in kfac/python/ops/kfac_utils
46 6
data_reader.py
in kfac/python/ops/kfac_utils
48 6
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