microsoft / ADBench
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 2,191 files with 118,609 lines of code.
    • 8 very long files (16,612 lines of code)
    • 31 long files (19,731 lines of code)
    • 67 medium size files (21,118 lines of codeclsfd_ftr_w_mp_ins)
    • 127 small files (18,291 lines of code)
    • 1,958 very small files (42,857 lines of code)
14% | 16% | 17% | 15% | 36%
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
m18% | 17% | 10% | 12% | 40%
cls100% | 0% | 0% | 0% | 0%
html0% | 32% | 41% | 18% | 7%
c0% | 35% | 56% | 8% | 0%
cpp0% | 21% | 42% | 13% | 21%
ps10% | 69% | 26% | 0% | 4%
h0% | 0% | 21% | 52% | 26%
py0% | 0% | 17% | 36% | 46%
cxx0% | 0% | 74% | 20% | 4%
jl0% | 0% | 20% | 44% | 34%
cs0% | 0% | 40% | 0% | 59%
cmake0% | 0% | 90% | 0% | 9%
bib0% | 0% | 100% | 0% | 0%
toml0% | 0% | 98% | 0% | 1%
fs0% | 0% | 0% | 63% | 36%
mat0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
cshtml0% | 0% | 0% | 0% | 100%
tex0% | 0% | 0% | 0% | 100%
fsproj0% | 0% | 0% | 0% | 100%
TXT0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
submodules19% | 17% | 11% | 11% | 39%
Documents71% | 0% | 23% | 0% | 4%
tools0% | 20% | 29% | 31% | 18%
src0% | 11% | 32% | 24% | 30%
ADBench0% | 35% | 38% | 0% | 26%
etc0% | 0% | 100% | 0% | 0%
usr0% | 0% | 48% | 25% | 25%
ROOT0% | 0% | 71% | 0% | 28%
data0% | 0% | 0% | 0% | 100%
adobuilds0% | 0% | 0% | 0% | 100%
cmake0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
a_adimat_norm1.m
in submodules/adimat-0.6.2-5288/runtime
2764 -
a_adimat_norm2.m
in submodules/adimat-0.6.2-5288/runtime
2739 -
a_adimat_pinv.m
in submodules/adimat-0.6.2-5288/runtime
2462 -
a_adimat_pinv2.m
in submodules/adimat-0.6.2-5288/runtime
2436 -
a_adimat_svd.m
in submodules/adimat-0.6.2-5288/runtime
2222 -
arrdercontdef.m
in submodules/adimat-0.6.2-5288/arrderivclassdef
1767 14
tseries.m
in submodules/adimat-0.6.2-5288/adjointclasses/taylor
1186 17
cls
gOMS2e.cls
in Documents
1036 -
adimat-4.html
in submodules/adimat-0.6.2-5288/share/doc/adimat
962 -
a_adimat_expm.m
in submodules/adimat-0.6.2-5288/runtime
951 -
a_adimat_cumtrapz_i1.m
in submodules/adimat-0.6.2-5288/runtime
854 -
a_adimat_cumtrapz.m
in submodules/adimat-0.6.2-5288/runtime
850 -
a_adimat_trapz_i1.m
in submodules/adimat-0.6.2-5288/runtime
786 -
a_adimat_trapz.m
in submodules/adimat-0.6.2-5288/runtime
782 -
main.cpp
in tools/ADOLC
733 15
a_adimat_cumtrapz_i2.m
in submodules/adimat-0.6.2-5288/runtime
731 -
adimat-7.html
in submodules/adimat-0.6.2-5288/share/doc/adimat
728 -
a_ba_objective.m
in tools/ADiMat
668 -
a_adimat_trapz_i2.m
in submodules/adimat-0.6.2-5288/runtime
655 -
run-all.ps1
in ADBench
624 -
a_adimat_hess.m
in submodules/adimat-0.6.2-5288/runtime
610 -
a_adimat_hess_H.m
in submodules/adimat-0.6.2-5288/runtime
587 -
a_gmm_objective.m
in tools/ADiMat
586 -
a_adimat_hess_10.m
in submodules/adimat-0.6.2-5288/runtime
578 -
a_adimat_hess_11.m
in submodules/adimat-0.6.2-5288/runtime
578 -
utils.cpp
in src/cpp/shared
568 16
a_adimat_hess_01.m
in submodules/adimat-0.6.2-5288/runtime
564 -
adBuffer.c
in src/cpp/modules/tapenade/utils
551 47
admGetTimings.m
in submodules/adimat-0.6.2-5288/runtime
551 -
a_gmm_objective_vector_repmat.m
in tools/ADiMat
547 -
hand_d.c
in src/cpp/modules/tapenade/hand
539 19
hand_d_tapenade_generated.c
in src/cpp/modules/tapenade/hand
532 19
d_adimat_norm1.m
in submodules/adimat-0.6.2-5288/runtime
527 2
d_adimat_norm2.m
in submodules/adimat-0.6.2-5288/runtime
521 2
d_adimat_norm2_i1.m
in submodules/adimat-0.6.2-5288/runtime
521 2
a_adimat_fftconv2.m
in submodules/adimat-0.6.2-5288/runtime
517 -
a_adimat_fftconv2_1.m
in submodules/adimat-0.6.2-5288/runtime
515 -
a_adimat_norm2_p2.m
in submodules/adimat-0.6.2-5288/runtime
514 -
a_adimat_fftconv2_2.m
in submodules/adimat-0.6.2-5288/runtime
501 -
a_adimat_fftconv.m
in submodules/adimat-0.6.2-5288/runtime
491 -
hand_d.cpp
in src/cpp/modules/manual
487 14
a_adimat_fftconv_1.m
in submodules/adimat-0.6.2-5288/runtime
483 -
a_adimat_fftconv_2.m
in submodules/adimat-0.6.2-5288/runtime
477 -
d_adimat_pinv.m
in submodules/adimat-0.6.2-5288/runtime
476 2
d_adimat_pinv2.m
in submodules/adimat-0.6.2-5288/runtime
472 2
a_adimat_qr.m
in submodules/adimat-0.6.2-5288/runtime
470 -
cmake
HunterGate.cmake
in etc
467 -
adimat-14.html
in submodules/adimat-0.6.2-5288/share/doc/adimat
467 -
hand.c
in src/cpp/modules/tapenade/hand
459 18
lstm_d.cpp
in src/cpp/modules/manual
435 11
Files With Most Units (Top 20)
File# lines# units
adStack.c
in src/cpp/modules/tapenade/utils
384 61
adBuffer.c
in src/cpp/modules/tapenade/utils
551 47
plot_graphs.py
in ADBench
430 20
hand_d.c
in src/cpp/modules/tapenade/hand
539 19
hand_d_tapenade_generated.c
in src/cpp/modules/tapenade/hand
532 19
hand.c
in src/cpp/modules/tapenade/hand
459 18
utils.py
in ADBench
76 17
tseries.m
in submodules/adimat-0.6.2-5288/adjointclasses/taylor
1186 17
Theano_experimenting.py
in tools/Theano
172 17
gmm_b.c
in src/cpp/modules/tapenade/gmm
343 16
gmm_b_tapenade_generated.c
in src/cpp/modules/tapenade/gmm
340 16
utils.cpp
in src/cpp/shared
568 16
jl
ZygoteGMM.jl
in src/julia/modules/Zygote
161 16
utils_vxl.h
in tools/Adept
201 16
light_matrix.h
in src/cpp/shared
195 15
main.cpp
in tools/ADOLC
733 15
hand_d.cpp
in src/cpp/modules/manual
487 14
jl
ZygoteBA.jl
in src/julia/modules/Zygote
123 14
arrdercontdef.m
in submodules/adimat-0.6.2-5288/arrderivclassdef
1767 14
Autograd_gmm_split.py
in tools/Autograd
108 14
Files With Long Lines (Top 20)

There are 226 files with lines longer than 120 characters. In total, there are 1460 long lines.

File# lines# units# long lines
lstm_d.cpp
in src/cpp/modules/manual
435 11 103
mat
times_24-Sep-2015.mat
in data/gmm/1k
71 - 36
mat
times_19-Sep-2015.mat
in data/gmm/1k
78 - 32
mat
times_22-Sep-2015.mat
in data/gmm/1k
76 - 31
mat
times_28-08-15.mat
in data/gmm/10k
71 - 30
mat
times_04-Sep-2015.mat
in data/gmm/1k
86 - 30
mat
times_19-Sep-2015.mat
in data/gmm/10k
68 - 29
mat
times_26-08-15.mat
in data/gmm/1k
78 - 29
mat
times_24-Sep-2015.mat
in data/gmm/10k
75 - 28
mat
times_22-Sep-2015.mat
in data/gmm/10k
76 - 27
mat
times_03-Sep-2015.mat
in data/gmm/1k
89 - 27
d_hand_objective_complicated.m
in tools/ADiMat
413 1 27
mat
gmm_estimates_backup.mat
in data/gmm/1k/est
57 - 25
mat
times_20-08-15.mat
in data/gmm/1k
72 - 25
mat
times_21-08-15.mat
in data/gmm/1k
81 - 25
d_hand_objective.m
in tools/ADiMat
393 1 24
mat
times_04-Sep-2015.mat
in data/gmm/10k
60 - 23
mat
times_03-Sep-2015.mat
in data/gmm/10k
66 - 22
mat
times_13-08-15.mat
in data/gmm/1k
74 - 18
mat
times_24-Sep-2015.mat
in data/gmm/2.5M
44 - 18