facebookresearch / diffq
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 13 files with 1,000 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (423 lines of codeclsfd_ftr_w_mp_ins)
    • 2 small files (270 lines of code)
    • 9 very small files (307 lines of code)
0% | 0% | 42% | 27% | 30%
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% | 45% | 29% | 24%
pyx0% | 0% | 0% | 0% | 100%
in0% | 0% | 0% | 0% | 100%
cfg0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
diffq0% | 0% | 49% | 31% | 19%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 13)
File# lines# units
base.py
in diffq
218 25
diffq.py
in diffq
205 18
ts_export.py
in diffq
151 8
lsq.py
in diffq
119 18
uniform.py
in diffq
77 12
pyx
bitpack.pyx
in root
66 4
torch_pack.py
in diffq
50 4
setup.py
in root
42 -
utils.py
in diffq
36 2
get_build.py
in root
17 -
in
MANIFEST.in
in root
7 -
__init__.py
in diffq
6 -
cfg
setup.cfg
in root
6 -
Files With Most Units (Top 8)
File# lines# units
base.py
in diffq
218 25
diffq.py
in diffq
205 18
lsq.py
in diffq
119 18
uniform.py
in diffq
77 12
ts_export.py
in diffq
151 8
torch_pack.py
in diffq
50 4
pyx
bitpack.pyx
in root
66 4
utils.py
in diffq
36 2
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