facebookresearch / demucs
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 53 files with 3,666 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (548 lines of code)
    • 3 medium size files (894 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,262 lines of code)
    • 40 very small files (962 lines of code)
0% | 14% | 24% | 34% | 26%
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% | 16% | 26% | 33% | 23%
yaml0% | 0% | 0% | 61% | 38%
yml0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
demucs0% | 20% | 23% | 36% | 19%
tools0% | 0% | 54% | 24% | 20%
conf0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
demucs/grids0% | 0% | 0% | 0% | 100%
conf/dset0% | 0% | 0% | 0% | 100%
conf/svd0% | 0% | 0% | 0% | 100%
demucs/remote0% | 0% | 0% | 0% | 100%
conf/variant0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
hdemucs.py
in demucs
548 16
solver.py
in demucs
335 8
demucs.py
in demucs
305 14
automix.py
in tools
254 10
wav.py
in demucs
178 9
apply.py
in demucs
165 7
audio.py
in demucs
160 18
config.yaml
in conf
158 -
separate.py
in demucs
134 2
evaluate.py
in demucs
128 3
train.py
in demucs
117 4
convert.py
in tools
113 6
repo.py
in demucs
109 17
states.py
in demucs
96 9
utils.py
in demucs
80 12
augment.py
in demucs
69 8
distrib.py
in demucs
65 6
repitch.py
in demucs
61 4
bench.py
in tools
53 1
_explorers.py
in demucs/grids
53 2
setup.py
in root
52 1
svd.py
in demucs
48 2
export.py
in tools
43 1
ema.py
in demucs
41 6
pretrained.py
in demucs
40 4
spec.py
in demucs
30 2
environment-cpu.yml
in root
24 -
environment-cuda.yml
in root
21 -
mdx_refine.py
in demucs/grids
20 1
mdx_extra.py
in demucs/grids
19 1
mdx.py
in demucs/grids
16 1
finetune.yaml
in conf/variant
16 -
auto_mus.yaml
in conf/dset
16 -
aetl.yaml
in conf/dset
14 -
in
MANIFEST.in
in root
13 -
base2.yaml
in conf/svd
11 -
base.yaml
in conf/svd
11 -
mdx.yaml
in demucs/remote
8 -
mdx_q.yaml
in demucs/remote
8 -
cfg
setup.cfg
in root
6 -
extra44.yaml
in conf/dset
5 -
__main__.py
in demucs
3 -
hubconf.py
in root
3 -
example.yaml
in conf/variant
3 -
musdb44.yaml
in conf/dset
3 -
wdemucs.py
in demucs
2 -
mdx_extra_q.yaml
in demucs/remote
2 -
mdx_extra.yaml
in demucs/remote
2 -
__init__.py
in tools
1 -
__init__.py
in demucs
1 -
Files With Most Units (Top 20)
File# lines# units
audio.py
in demucs
160 18
repo.py
in demucs
109 17
hdemucs.py
in demucs
548 16
demucs.py
in demucs
305 14
utils.py
in demucs
80 12
automix.py
in tools
254 10
wav.py
in demucs
178 9
states.py
in demucs
96 9
solver.py
in demucs
335 8
augment.py
in demucs
69 8
apply.py
in demucs
165 7
convert.py
in tools
113 6
distrib.py
in demucs
65 6
ema.py
in demucs
41 6
pretrained.py
in demucs
40 4
repitch.py
in demucs
61 4
train.py
in demucs
117 4
evaluate.py
in demucs
128 3
separate.py
in demucs
134 2
spec.py
in demucs
30 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