pytorch / extension-cpp
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 17 files with 658 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of codeclsfd_ftr_w_mp_ins)
    • 1 small files (149 lines of code)
    • 16 very small files (509 lines of code)
0% | 0% | 0% | 22% | 77%
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
cu0% | 0% | 0% | 100% | 0%
py0% | 0% | 0% | 0% | 100%
cpp0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cuda0% | 0% | 0% | 55% | 44%
ROOT0% | 0% | 0% | 0% | 100%
cpp0% | 0% | 0% | 0% | 100%
python0% | 0% | 0% | 0% | 100%
Longest Files (Top 17)
File# lines# units
cu
lltm_cuda_kernel.cu
in cuda
149 -
check.py
in root
81 5
lltm_baseline.py
in python
71 8
lltm.cpp
in cpp
70 5
lltm_cuda.cpp
in cuda
67 2
benchmark.py
in root
59 -
lltm.py
in cuda
35 5
lltm.py
in cpp
34 5
grad_check.py
in root
31 -
lltm.py
in python
28 3
setup.py
in cuda
13 -
setup.py
in cpp
10 -
jit.py
in cuda
4 -
jit.py
in cpp
3 -
__init__.py
in python
1 -
__init__.py
in cuda
1 -
__init__.py
in cpp
1 -
Files With Most Units (Top 7)
File# lines# units
lltm_baseline.py
in python
71 8
check.py
in root
81 5
lltm.py
in cuda
35 5
lltm.cpp
in cpp
70 5
lltm.py
in cpp
34 5
lltm.py
in python
28 3
lltm_cuda.cpp
in cuda
67 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