facebookresearch / UNOC
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 20 files with 4,919 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (2,079 lines of code)
    • 5 medium size files (1,568 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (1,091 lines of code)
    • 5 very small files (181 lines of code)
0% | 42% | 31% | 22% | 3%
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% | 42% | 31% | 22% | 3%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 52% | 16% | 27% | 4%
src/parsers0% | 0% | 99% | 0% | <1%
src/npybvh0% | 0% | 99% | 0% | <1%
Longest Files (Top 20)
File# lines# units
utils.py
in src
808 74
eval.py
in src
642 17
definitions.py
in src
629 51
bvh.py
in src/npybvh
456 46
quaternion.py
in src
338 18
math_helper.py
in src
305 57
unoc_parser.py
in src/parsers
253 16
bvh_converter.py
in src/parsers
216 16
data_packer.py
in src
199 35
featuresets.py
in src
187 21
train.py
in src
170 10
data_creation_torch.py
in src
155 5
features_to_pose.py
in src
142 14
plots.py
in src
136 4
training_config.py
in src
102 5
models.py
in src
90 12
training_config_instance.py
in src
68 2
env_setup.py
in src
21 -
__init__.py
in src/parsers
1 -
__init__.py
in src/npybvh
1 -
Files With Most Units (Top 17)
File# lines# units
utils.py
in src
808 74
math_helper.py
in src
305 57
definitions.py
in src
629 51
bvh.py
in src/npybvh
456 46
data_packer.py
in src
199 35
featuresets.py
in src
187 21
quaternion.py
in src
338 18
eval.py
in src
642 17
unoc_parser.py
in src/parsers
253 16
bvh_converter.py
in src/parsers
216 16
features_to_pose.py
in src
142 14
models.py
in src
90 12
train.py
in src
170 10
training_config.py
in src
102 5
data_creation_torch.py
in src
155 5
plots.py
in src
136 4
training_config_instance.py
in src
68 2
Files With Long Lines (Top 12)

There are 12 files with lines longer than 120 characters. In total, there are 112 long lines.

File# lines# units# long lines
eval.py
in src
642 17 39
utils.py
in src
808 74 22
features_to_pose.py
in src
142 14 13
train.py
in src
170 10 13
training_config.py
in src
102 5 5
data_creation_torch.py
in src
155 5 5
training_config_instance.py
in src
68 2 4
models.py
in src
90 12 3
featuresets.py
in src
187 21 3
data_packer.py
in src
199 35 2
bvh.py
in src/npybvh
456 46 2
unoc_parser.py
in src/parsers
253 16 1