facebookresearch / PyTouch
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 61 files with 3,000 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (785 lines of codeclsfd_ftr_w_mp_ins)
    • 6 small files (708 lines of code)
    • 52 very small files (1,507 lines of code)
0% | 0% | 26% | 23% | 50%
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% | 29% | 22% | 48%
js0% | 0% | 0% | 54% | 45%
yaml0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pytouch/models0% | 0% | 50% | 19% | 30%
train/models0% | 0% | 70% | 0% | 29%
pytouch/common0% | 0% | 95% | 0% | 4%
pytouch/tasks0% | 0% | 0% | 55% | 44%
pytouch/datasets0% | 0% | 0% | 38% | 61%
website0% | 0% | 0% | 80% | 19%
pytouch/utils0% | 0% | 0% | 50% | 49%
train/datamodules0% | 0% | 0% | 0% | 100%
website/src0% | 0% | 0% | 0% | 100%
pytouch/handlers0% | 0% | 0% | 0% | 100%
pytouch/sensors0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
train/config0% | 0% | 0% | 0% | 100%
train0% | 0% | 0% | 0% | 100%
pytouch0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
slip_resnet.py
in pytouch/models
283 20
slip_resnet.py
in train/models
283 20
visualizer.py
in pytouch/common
219 19
geometry.py
in pytouch/tasks/surface3d
131 15
slip_sequence.py
in pytouch/datasets
124 8
docusaurus.config.js
in website
123 -
surface_3d.py
in pytouch/tasks
122 7
pix2pix.py
in pytouch/models/pix2pix
107 7
vis_utils.py
in pytouch/utils
101 8
zoo.py
in pytouch/models
96 10
contact_area.py
in pytouch/tasks
95 7
sensors.py
in pytouch/datasets
80 8
index.js
in website/src/pages
72 1
touch_detect.py
in pytouch/tasks
72 7
touch_detect.py
in train/datamodules
62 4
touch_detect.py
in train/models
60 5
digit.py
in pytouch/datasets
59 6
train.py
in train
59 1
video.py
in pytouch/handlers
58 6
slip_detect.py
in train/datamodules
57 4
slip_detect.py
in train/models
56 5
sequence.py
in pytouch/datasets
54 6
model_utils.py
in pytouch/utils
40 5
touch_detect.py
in pytouch/models
40 4
setup.py
in root
40 2
touch_detect.yaml
in train/config/task
38 -
slip_detect.yaml
in train/config/task
38 -
slip_detect.py
in pytouch/models
31 4
noxfile.py
in root
31 4
slip_detect.py
in pytouch/tasks
27 2
common_utils.py
in pytouch/utils
27 6
image.py
in pytouch/handlers
27 6
base.py
in pytouch
27 4
sidebars.js
in website
26 -
styles.module.css
in website/src/pages
26 -
digit.py
in pytouch/sensors
26 3
gelsight.py
in pytouch/sensors
24 3
omnitact.py
in pytouch/sensors
24 3
base.py
in pytouch/sensors
21 3
custom.css
in website/src/css
16 -
sensor.py
in pytouch/handlers
14 3
transforms.py
in pytouch/utils
12 2
train_utils.py
in pytouch/utils
12 1
constants.py
in pytouch/common
8 -
environment.yaml
in root
8 -
data_utils.py
in pytouch/utils
6 1
__init__.py
in pytouch/sensors
5 -
__init__.py
in pytouch/tasks
5 -
__init__.py
in pytouch
5 -
__init__.py
in pytouch/models
4 -
Files With Most Units (Top 20)
File# lines# units
slip_resnet.py
in pytouch/models
283 20
slip_resnet.py
in train/models
283 20
visualizer.py
in pytouch/common
219 19
geometry.py
in pytouch/tasks/surface3d
131 15
zoo.py
in pytouch/models
96 10
slip_sequence.py
in pytouch/datasets
124 8
sensors.py
in pytouch/datasets
80 8
vis_utils.py
in pytouch/utils
101 8
contact_area.py
in pytouch/tasks
95 7
surface_3d.py
in pytouch/tasks
122 7
touch_detect.py
in pytouch/tasks
72 7
pix2pix.py
in pytouch/models/pix2pix
107 7
sequence.py
in pytouch/datasets
54 6
digit.py
in pytouch/datasets
59 6
common_utils.py
in pytouch/utils
27 6
video.py
in pytouch/handlers
58 6
image.py
in pytouch/handlers
27 6
model_utils.py
in pytouch/utils
40 5
slip_detect.py
in train/models
56 5
touch_detect.py
in train/models
60 5
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