facebookresearch / dlrm
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 14 files with 6,840 lines of code.
    • 2 very long files (2,517 lines of code)
    • 5 long files (3,716 lines of code)
    • 1 medium size files (286 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 6 very small files (321 lines of code)
36% | 54% | 4% | 0% | 4%
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
py36% | 54% | 4% | 0% | 4%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT42% | 51% | 4% | 0% | 1%
tools0% | 100% | 0% | 0% | 0%
tricks0% | 0% | 0% | 0% | 100%
optim0% | 0% | 0% | 0% | 100%
cython0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
dlrm_s_pytorch.py
in root
1359 21
dlrm_s_caffe2.py
in root
1158 26
dlrm_data_pytorch.py
in root
955 29
data_utils.py
in root
950 8
visualize.py
in tools
712 12
dlrm_data_caffe2.py
in root
578 21
extend_distributed.py
in root
521 25
data_loader_terabyte.py
in root
286 13
rwsadagrad.py
in optim
78 3
qr_embedding_bag.py
in tricks
74 4
mlperf_logger.py
in root
70 8
md_embedding_bag.py
in tricks
58 5
cython_criteo.py
in cython
25 -
cython_compile.py
in cython
16 -
Files With Most Units (Top 12)
File# lines# units
dlrm_data_pytorch.py
in root
955 29
dlrm_s_caffe2.py
in root
1158 26
extend_distributed.py
in root
521 25
dlrm_data_caffe2.py
in root
578 21
dlrm_s_pytorch.py
in root
1359 21
data_loader_terabyte.py
in root
286 13
visualize.py
in tools
712 12
data_utils.py
in root
950 8
mlperf_logger.py
in root
70 8
md_embedding_bag.py
in tricks
58 5
qr_embedding_bag.py
in tricks
74 4
rwsadagrad.py
in optim
78 3
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 18 long lines.

File# lines# units# long lines
visualize.py
in tools
712 12 12
data_utils.py
in root
950 8 2
dlrm_s_pytorch.py
in root
1359 21 2
rwsadagrad.py
in optim
78 3 1
extend_distributed.py
in root
521 25 1