tensorflow / gan
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 33 files with 4,892 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,294 lines of code)
    • 4 medium size files (1,350 lines of codeclsfd_ftr_w_mp_ins)
    • 10 small files (1,575 lines of code)
    • 17 very small files (673 lines of code)
0% | 26% | 27% | 32% | 13%
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% | 26% | 27% | 32% | 13%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tensorflow_gan/python0% | 76% | 0% | 11% | 12%
tensorflow_gan/python/losses0% | 76% | 0% | 22% | <1%
tensorflow_gan/python/estimator0% | 0% | 61% | 31% | 6%
tensorflow_gan/python/eval0% | 0% | 40% | 49% | 9%
tensorflow_gan/python/tpu0% | 0% | 83% | 0% | 16%
tensorflow_gan/python/features0% | 0% | 0% | 68% | 31%
ROOT0% | 0% | 0% | 0% | 100%
tensorflow_gan0% | 0% | 0% | 0% | 100%
Longest Files (Top 33)
File# lines# units
train.py
in tensorflow_gan/python
721 26
losses_impl.py
in tensorflow_gan/python/losses
573 23
tpu_gan_estimator_test_lib.py
in tensorflow_gan/python/estimator
411 27
classifier_metrics.py
in tensorflow_gan/python/eval
376 23
tpu_gan_estimator.py
in tensorflow_gan/python/estimator
355 19
normalization_ops.py
in tensorflow_gan/python/tpu
208 4
gan_estimator.py
in tensorflow_gan/python/estimator
200 10
stargan_estimator.py
in tensorflow_gan/python/estimator
196 8
normalization.py
in tensorflow_gan/python/features
191 2
summaries.py
in tensorflow_gan/python/eval
171 8
tuple_losses.py
in tensorflow_gan/python/losses
168 6
eval_utils.py
in tensorflow_gan/python/eval
152 7
virtual_batchnorm.py
in tensorflow_gan/python/features
141 9
sliced_wasserstein.py
in tensorflow_gan/python/eval
134 8
spectral_normalization.py
in tensorflow_gan/python/features
114 5
contrib_utils.py
in tensorflow_gan/python
108 7
clip_weights.py
in tensorflow_gan/python/features
92 10
setup.py
in root
91 4
namedtuples.py
in tensorflow_gan/python
86 1
inception_metrics.py
in tensorflow_gan/python/eval
74 1
latent_gan_estimator.py
in tensorflow_gan/python/estimator
64 2
random_tensor_pool.py
in tensorflow_gan/python/features
51 2
__init__.py
in tensorflow_gan
48 2
conditioning_utils.py
in tensorflow_gan/python/features
42 5
cross_replica_ops.py
in tensorflow_gan/python/tpu
39 2
__init__.py
in tensorflow_gan/python
20 -
__init__.py
in tensorflow_gan/python/features
18 -
__init__.py
in tensorflow_gan/python/eval
15 -
__init__.py
in tensorflow_gan/python/estimator
12 -
version.py
in tensorflow_gan/python
11 -
__init__.py
in tensorflow_gan/python/losses
4 -
__init__.py
in tensorflow_gan/python/tpu
3 -
losses_wargs.py
in tensorflow_gan/python/losses
3 -
Files With Most Units (Top 20)
File# lines# units
tpu_gan_estimator_test_lib.py
in tensorflow_gan/python/estimator
411 27
train.py
in tensorflow_gan/python
721 26
classifier_metrics.py
in tensorflow_gan/python/eval
376 23
losses_impl.py
in tensorflow_gan/python/losses
573 23
tpu_gan_estimator.py
in tensorflow_gan/python/estimator
355 19
gan_estimator.py
in tensorflow_gan/python/estimator
200 10
clip_weights.py
in tensorflow_gan/python/features
92 10
virtual_batchnorm.py
in tensorflow_gan/python/features
141 9
stargan_estimator.py
in tensorflow_gan/python/estimator
196 8
sliced_wasserstein.py
in tensorflow_gan/python/eval
134 8
summaries.py
in tensorflow_gan/python/eval
171 8
eval_utils.py
in tensorflow_gan/python/eval
152 7
contrib_utils.py
in tensorflow_gan/python
108 7
tuple_losses.py
in tensorflow_gan/python/losses
168 6
conditioning_utils.py
in tensorflow_gan/python/features
42 5
spectral_normalization.py
in tensorflow_gan/python/features
114 5
normalization_ops.py
in tensorflow_gan/python/tpu
208 4
setup.py
in root
91 4
latent_gan_estimator.py
in tensorflow_gan/python/estimator
64 2
cross_replica_ops.py
in tensorflow_gan/python/tpu
39 2
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