pytorch / hydra-torch
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 28 files with 917 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (308 lines of code)
    • 26 very small files (609 lines of code)
0% | 0% | 0% | 33% | 66%
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% | 0% | 0% | 39% | 60%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
hydra-configs-torchvision/hydra_configs/torchvision/transforms0% | 0% | 0% | 100% | 0%
hydra-configs-torch/hydra_configs/torch/nn0% | 0% | 0% | 100% | 0%
hydra-configs-torch/hydra_configs/torch/optim0% | 0% | 0% | 0% | 100%
hydra-configs-torch/hydra_configs/torch/utils0% | 0% | 0% | 0% | 100%
configen/conf/torch0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
configen/conf0% | 0% | 0% | 0% | 100%
hydra-configs-torchvision/hydra_configs/torchvision/datasets0% | 0% | 0% | 0% | 100%
hydra-configs-torchvision0% | 0% | 0% | 0% | 100%
hydra-configs-torch0% | 0% | 0% | 0% | 100%
hydra-configs-torchvision/hydra_configs/torchvision0% | 0% | 0% | 0% | 100%
Longest Files (Top 28)
File# lines# units
transforms.py
in hydra-configs-torchvision/hydra_configs/torchvision/transforms
175 -
loss.py
in hydra-configs-torch/hydra_configs/torch/nn/modules
133 -
lr_scheduler.py
in hydra-configs-torch/hydra_configs/torch/optim
95 -
configen.yaml
in configen/conf/torch
92 -
torchvision.yaml
in configen/conf
48 -
noxfile.py
in root
38 3
sampler.py
in hydra-configs-torch/hydra_configs/torch/utils/data
36 -
mnist.py
in hydra-configs-torchvision/hydra_configs/torchvision/datasets
27 -
dataset.py
in hydra-configs-torch/hydra_configs/torch/utils/data
26 -
__init__.py
in hydra-configs-torch/hydra_configs/torch/optim
23 -
dataloader.py
in hydra-configs-torch/hydra_configs/torch/utils/data
19 -
vision.py
in hydra-configs-torchvision/hydra_configs/torchvision/datasets
15 -
setup.py
in root
15 -
setup.py
in hydra-configs-torchvision
14 -
setup.py
in hydra-configs-torch
14 -
lbfgs.py
in hydra-configs-torch/hydra_configs/torch/optim
14 -
rmsprop.py
in hydra-configs-torch/hydra_configs/torch/optim
13 -
sgd.py
in hydra-configs-torch/hydra_configs/torch/optim
12 -
adagrad.py
in hydra-configs-torch/hydra_configs/torch/optim
12 -
adamw.py
in hydra-configs-torch/hydra_configs/torch/optim
12 -
adam.py
in hydra-configs-torch/hydra_configs/torch/optim
12 -
asgd.py
in hydra-configs-torch/hydra_configs/torch/optim
12 -
adamax.py
in hydra-configs-torch/hydra_configs/torch/optim
11 -
adadelta.py
in hydra-configs-torch/hydra_configs/torch/optim
11 -
distributed.py
in hydra-configs-torch/hydra_configs/torch/utils/data
11 -
sparse_adam.py
in hydra-configs-torch/hydra_configs/torch/optim
10 -
rprop.py
in hydra-configs-torch/hydra_configs/torch/optim
10 -
__init__.py
in hydra-configs-torchvision/hydra_configs/torchvision
7 -
Files With Most Units (Top 1)
File# lines# units
noxfile.py
in root
38 3
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
__init__.py
in hydra-configs-torchvision/hydra_configs/torchvision
7 - 1