facebookresearch / synsin
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 38 files with 5,086 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 10 medium size files (2,955 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,084 lines of code)
    • 20 very small files (1,047 lines of code)
0% | 0% | 58% | 21% | 20%
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% | 58% | 21% | 20%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
models/networks0% | 0% | 64% | 22% | 12%
data0% | 0% | 77% | 12% | 9%
options0% | 0% | 82% | 0% | 17%
ROOT0% | 0% | 100% | 0% | 0%
evaluation0% | 0% | 37% | 43% | 19%
models0% | 0% | 43% | 44% | 12%
models/losses0% | 0% | 56% | 0% | 43%
models/layers0% | 0% | 0% | 49% | 50%
models/projection0% | 0% | 0% | 0% | 100%
geometry0% | 0% | 0% | 0% | 100%
utils0% | 0% | 0% | 0% | 100%
Longest Files (Top 38)
File# lines# units
architectures.py
in models/networks
496 22
train_options.py
in options
359 8
create_rgb_dataset.py
in data
352 6
train.py
in root
280 7
configs.py
in models/networks
276 1
realestate10k.py
in data
275 9
pretrained_networks.py
in models/networks
245 12
encoderdecoder.py
in models
229 8
eval.py
in evaluation
229 5
gan_loss.py
in models/losses
214 19
batchnorm.py
in models/networks/sync_batchnorm
188 12
discriminators.py
in models/networks
168 13
eval_realestate.py
in evaluation
150 3
normalization.py
in models/layers
125 11
z_buffermodel.py
in models
124 3
base_model.py
in models
113 3
eval_kitti.py
in evaluation
111 4
habitat_data.py
in data
105 7
evaluate_perceptualsim.py
in evaluation
97 2
ssim.py
in models/losses
94 6
z_buffer_manipulator.py
in models/projection
87 5
kitti.py
in data
78 7
z_buffer_layers.py
in models/layers
76 2
options.py
in options
74 2
synthesis.py
in models/losses
70 8
comm.py
in models/networks/sync_batchnorm
70 10
depth_model.py
in models
66 3
depth_manipulator.py
in models/projection
66 3
blocks.py
in models/layers
51 6
camera_transformations.py
in geometry
48 3
batchnorm_reimpl.py
in models/networks/sync_batchnorm
47 4
replicate.py
in models/networks/sync_batchnorm
34 3
utilities.py
in models/networks
24 2
metrics.py
in evaluation
18 3
jitter.py
in utils
13 1
geometry.py
in utils
13 1
unittest.py
in models/networks/sync_batchnorm
13 1
__init__.py
in models/networks/sync_batchnorm
8 -
Files With Most Units (Top 20)
File# lines# units
architectures.py
in models/networks
496 22
gan_loss.py
in models/losses
214 19
discriminators.py
in models/networks
168 13
batchnorm.py
in models/networks/sync_batchnorm
188 12
pretrained_networks.py
in models/networks
245 12
normalization.py
in models/layers
125 11
comm.py
in models/networks/sync_batchnorm
70 10
realestate10k.py
in data
275 9
train_options.py
in options
359 8
synthesis.py
in models/losses
70 8
encoderdecoder.py
in models
229 8
train.py
in root
280 7
habitat_data.py
in data
105 7
kitti.py
in data
78 7
ssim.py
in models/losses
94 6
blocks.py
in models/layers
51 6
create_rgb_dataset.py
in data
352 6
z_buffer_manipulator.py
in models/projection
87 5
eval.py
in evaluation
229 5
batchnorm_reimpl.py
in models/networks/sync_batchnorm
47 4
Files With Long Lines (Top 1)

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

File# lines# units# long lines
train_options.py
in options
359 8 3