facebookresearch / fairmotion
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 59 files with 6,086 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (738 lines of code)
    • 6 medium size files (1,650 lines of codeclsfd_ftr_w_mp_ins)
    • 18 small files (2,687 lines of code)
    • 34 very small files (1,011 lines of code)
0% | 12% | 27% | 44% | 16%
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% | 12% | 27% | 44% | 16%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
fairmotion/viz0% | 45% | 27% | 18% | 8%
fairmotion/tasks/motion_graph0% | 0% | 82% | 0% | 17%
fairmotion/core0% | 0% | 52% | 47% | <1%
fairmotion/data0% | 0% | 36% | 58% | 5%
fairmotion/tasks/motion_prediction0% | 0% | 26% | 61% | 11%
fairmotion/tasks/clustering0% | 0% | 0% | 67% | 32%
fairmotion/ops0% | 0% | 0% | 90% | 9%
fairmotion/models0% | 0% | 0% | 55% | 44%
fairmotion/utils0% | 0% | 0% | 0% | 100%
fairmotion/tasks/changepoint_detection0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
fairmotion/tasks0% | 0% | 0% | 0% | 100%
fairmotion0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
gl_render.py
in fairmotion/viz
738 36
motion_graph.py
in fairmotion/tasks/motion_graph
408 15
motion.py
in fairmotion/core
300 41
bvh.py
in fairmotion/data
275 4
bvh_visualizer.py
in fairmotion/viz
232 8
pyrender_visualizer.py
in fairmotion/viz
223 11
training.py
in fairmotion/tasks/motion_prediction
212 4
test.py
in fairmotion/tasks/motion_prediction
194 8
glut_viewer.py
in fairmotion/viz
186 15
generate_features.py
in fairmotion/tasks/clustering
185 5
math.py
in fairmotion/ops
185 24
asfamc.py
in fairmotion/data
182 6
preprocess.py
in fairmotion/tasks/motion_prediction
176 4
conversions.py
in fairmotion/ops
158 31
clustering.py
in fairmotion/tasks/clustering
152 9
utils.py
in fairmotion/tasks/clustering/features
151 11
transformer.py
in fairmotion/models
150 10
amass_dip.py
in fairmotion/data
149 2
similarity.py
in fairmotion/core
135 2
velocity.py
in fairmotion/core
132 17
utils.py
in fairmotion/tasks/motion_prediction
125 13
body_visualizer.py
in fairmotion/viz
111 3
amass.py
in fairmotion/data
107 6
decoders.py
in fairmotion/models
106 7
motion.py
in fairmotion/ops
103 9
manual.py
in fairmotion/tasks/clustering/features
93 11
rnn.py
in fairmotion/models
88 4
main.py
in fairmotion/tasks/motion_graph
85 -
utils.py
in fairmotion/utils
80 7
kinetic.py
in fairmotion/tasks/clustering/features
65 6
tsne.py
in fairmotion/viz
65 5
optimizer.py
in fairmotion/models
55 12
camera.py
in fairmotion/viz
48 6
quaternion.py
in fairmotion/ops
45 4
seq2seq.py
in fairmotion/models
43 6
dataset.py
in fairmotion/tasks/motion_prediction
41 4
detect.py
in fairmotion/tasks/changepoint_detection
39 2
thresholds.py
in fairmotion/tasks/clustering/features
38 5
frankmocap.py
in fairmotion/data
37 1
split_bvh.py
in fairmotion/tasks/clustering
34 2
generate.py
in fairmotion/tasks/motion_prediction
32 2
setup.py
in root
29 -
constants.py
in fairmotion/utils
22 4
utils.py
in fairmotion/viz
22 7
metrics.py
in fairmotion/tasks/motion_prediction
19 1
encoders.py
in fairmotion/models
18 2
__init__.py
in fairmotion/tasks/changepoint_detection
1 -
__init__.py
in fairmotion/tasks/motion_prediction
1 -
__init__.py
in fairmotion/tasks/motion_graph
1 -
__init__.py
in fairmotion/tasks/clustering/features
1 -
Files With Most Units (Top 20)
File# lines# units
motion.py
in fairmotion/core
300 41
gl_render.py
in fairmotion/viz
738 36
conversions.py
in fairmotion/ops
158 31
math.py
in fairmotion/ops
185 24
velocity.py
in fairmotion/core
132 17
motion_graph.py
in fairmotion/tasks/motion_graph
408 15
glut_viewer.py
in fairmotion/viz
186 15
utils.py
in fairmotion/tasks/motion_prediction
125 13
optimizer.py
in fairmotion/models
55 12
manual.py
in fairmotion/tasks/clustering/features
93 11
utils.py
in fairmotion/tasks/clustering/features
151 11
pyrender_visualizer.py
in fairmotion/viz
223 11
transformer.py
in fairmotion/models
150 10
clustering.py
in fairmotion/tasks/clustering
152 9
motion.py
in fairmotion/ops
103 9
test.py
in fairmotion/tasks/motion_prediction
194 8
bvh_visualizer.py
in fairmotion/viz
232 8
utils.py
in fairmotion/utils
80 7
decoders.py
in fairmotion/models
106 7
utils.py
in fairmotion/viz
22 7
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