facebookresearch / label_dp_antipodes
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 2,370 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (874 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,213 lines of code)
    • 9 very small files (283 lines of code)
0% | 0% | 36% | 51% | 11%
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% | 36% | 51% | 11%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
lib0% | 0% | 99% | 0% | <1%
ROOT0% | 0% | 53% | 39% | 6%
lib/pate0% | 0% | 0% | 83% | 16%
lib/dataset0% | 0% | 0% | 89% | 10%
lib/models0% | 0% | 0% | 55% | 44%
memorization_attack0% | 0% | 0% | 100% | 0%
Longest Files (Top 20)
File# lines# units
train_cifar_alibi.py
in root
368 10
alibi.py
in lib
264 24
fixmatch.py
in lib
242 8
accountant.py
in lib/pate
197 14
utils.py
in lib/pate
170 17
randaugment.py
in lib/dataset
164 26
wide_resnet.py
in lib/models
164 11
train_teacher.py
in root
148 3
attack.py
in memorization_attack
134 4
train_student.py
in root
124 2
cifar.py
in lib/dataset
112 5
resnet.py
in lib/models
96 8
settings.py
in lib/pate
73 2
aggregate_votes.py
in root
43 1
canary.py
in lib/dataset
33 3
ema.py
in lib/models
32 2
__init__.py
in lib/models
3 -
__init__.py
in lib/dataset
1 -
__init__.py
in lib
1 -
__init__.py
in lib/pate
1 -
Files With Most Units (Top 16)
File# lines# units
randaugment.py
in lib/dataset
164 26
alibi.py
in lib
264 24
utils.py
in lib/pate
170 17
accountant.py
in lib/pate
197 14
wide_resnet.py
in lib/models
164 11
train_cifar_alibi.py
in root
368 10
fixmatch.py
in lib
242 8
resnet.py
in lib/models
96 8
cifar.py
in lib/dataset
112 5
attack.py
in memorization_attack
134 4
train_teacher.py
in root
148 3
canary.py
in lib/dataset
33 3
ema.py
in lib/models
32 2
settings.py
in lib/pate
73 2
train_student.py
in root
124 2
aggregate_votes.py
in root
43 1
Files With Long Lines (Top 1)

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

File# lines# units# long lines
attack.py
in memorization_attack
134 4 1