microsoft / microsoft-r-open
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,111 files with 1,083,070 lines of code.
    • 231 very long files (777,861 lines of code)
    • 177 long files (128,375 lines of code)
    • 293 medium size files (95,718 lines of codeclsfd_ftr_w_mp_ins)
    • 268 small files (38,573 lines of code)
    • 1,142 very small files (42,543 lines of code)
71% | 11% | 8% | 3% | 3%
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
f97% | <1% | <1% | <1% | <1%
po76% | 14% | 6% | 1% | 1%
c63% | 15% | 12% | 4% | 3%
afm75% | 12% | 11% | <1% | 0%
R32% | 21% | 20% | 11% | 13%
h62% | 7% | 10% | 6% | 12%
html97% | 0% | 0% | <1% | 1%
Rd92% | 6% | 0% | 0% | <1%
bib100% | 0% | 0% | 0% | 0%
y85% | 14% | 0% | 0% | 0%
tcl51% | 36% | 3% | 5% | 3%
Rdata18% | 79% | 0% | 0% | 2%
in0% | 11% | 28% | 19% | 40%
m0% | 100% | 0% | 0% | 0%
tex0% | 81% | 0% | 18% | 0%
pl0% | 0% | 100% | 0% | 0%
cls0% | 0% | 100% | 0% | 0%
sty0% | 0% | 89% | 0% | 10%
iss0% | 0% | 52% | 23% | 23%
S0% | 0% | 100% | 0% | 0%
mo0% | 0% | 0% | 40% | 59%
rda0% | 0% | 0% | 70% | 29%
css0% | 0% | 0% | 0% | 100%
aux0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
r0% | 0% | 0% | 0% | 100%
rds0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
sed0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
source/src72% | 11% | 8% | 3% | 3%
source/doc91% | 1% | 2% | 1% | 1%
source/share82% | 0% | 12% | 0% | 4%
additionalPackages/RevoIOQ8% | 40% | 10% | 14% | 26%
source/tools0% | 0% | 89% | 0% | 10%
additionalPackages/doParallel0% | 0% | 82% | 0% | 17%
additionalPackages/RevoMods0% | 0% | 44% | 23% | 32%
source0% | 0% | 60% | 39% | 0%
source/etc0% | 0% | 0% | 46% | 53%
additionalPackages/RevoUtils0% | 0% | 0% | 36% | 63%
source/po0% | 0% | 0% | 0% | 100%
source/m40% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
f
dlapack.f
in source/src/modules/lapack
164909 -
f
cmplx.f
in source/src/modules/lapack
55944 -
f
portsrc.f
in source/src/library/stats/src
12374 -
f
cmplxblas.f
in source/src/extra/blas
8359 -
NEWS.2.html
in source/doc/html
8233 -
treering.R
in source/src/library/datasets/data
7982 -
po
pl.po
in source/src/library/base/po
7774 -
rlogo_icon.h
in source/src/modules/X11
7625 -
f
blas.f
in source/src/extra/blas
7129 -
po
ru.po
in source/src/library/base/po
6901 -
po
de.po
in source/src/library/base/po
6656 -
devPS.c
in source/src/library/grDevices/src
6571 180
po
es.po
in source/src/library/base/po
6484 -
po
it.po
in source/src/library/base/po
6472 -
QC.R
in source/src/library/tools/R
6468 46
po
fr.po
in source/src/library/base/po
6400 -
NEWS.html
in source/doc/html
6396 -
po
pt_BR.po
in source/src/library/base/po
6357 -
po
nn.po
in source/src/library/base/po
6306 -
po
tr.po
in source/src/library/base/po
6279 -
po
ja.po
in source/src/library/base/po
6221 -
po
zh_TW.po
in source/src/library/base/po
6164 -
po
zh_CN.po
in source/src/library/base/po
6061 -
R-admin.html
in source/doc/html
5982 -
po
ko.po
in source/src/library/base/po
5745 -
po
da.po
in source/src/library/base/po
5735 -
trio.c
in source/src/extra/trio
5716 -
po
en_GB.po
in source/src/library/base/po
5705 -
po
fa.po
in source/src/library/base/po
5692 -
po
en.po
in source/src/library/base/po
5684 -
valgrind.h
in source/src/include/vg
5546 -
Rd
NEWS.2.Rd
in source/doc
5362 -
connections.c
in source/src/main
5247 172
eval.c
in source/src/main
5204 139
gram.c
in source/src/main
4398 105
Rd
NEWS.Rd
in source/doc
4064 -
check.R
in source/src/library/tools/R
4008 41
vasnprintf.c
in source/src/extra/intl
3802 -
po
R-pl.po
in source/src/library/stats/po
3713 -
po
RGui-pl.po
in source/src/library/base/po
3565 -
rlocale_data.h
in source/src/main
3531 -
gramRd.c
in source/src/library/tools/src
3354 53
plot.c
in source/src/library/graphics/src
3343 50
sunspot.month.R
in source/src/library/datasets/data
3179 -
y
gram.y
in source/src/main
3107 -
afm
Helvetica-Oblique.afm
in source/src/library/grDevices/inst/afm
3051 -
afm
Helvetica.afm
in source/src/library/grDevices/inst/afm
3051 -
devWindows.c
in source/src/library/grDevices/src
3050 101
memory.c
in source/src/main
3041 117
bib
RJournal.bib
in source/share/texmf/bibtex/bib
2959 -
Files With Most Units (Top 20)
File# lines# units
graphics.c
in source/src/library/graphics/src
2608 198
devPS.c
in source/src/library/grDevices/src
6571 180
connections.c
in source/src/main
5247 172
eval.c
in source/src/main
5204 139
plotmath.c
in source/src/main
2609 139
envir.c
in source/src/main
2777 121
memory.c
in source/src/main
3041 117
cmp.R
in source/src/library/compiler/R
2616 106
gram.c
in source/src/main
4398 105
devWindows.c
in source/src/library/grDevices/src
3050 101
rui.c
in source/src/gnuwin32
1254 94
saveload.c
in source/src/main
1893 90
util.c
in source/src/main
2082 86
engine.c
in source/src/main
2365 84
grid.c
in source/src/library/grid/src
2645 83
serialize.c
in source/src/main
2273 82
grob.R
in source/src/library/grid/R
1683 73
devX11.c
in source/src/modules/X11
2678 72
buttons.c
in source/src/extra/graphapp
1085 68
dataentry.c
in source/src/library/utils/src/windows
1589 66
Files With Long Lines (Top 20)

There are 342 files with lines longer than 120 characters. In total, there are 4452 long lines.

File# lines# units# long lines
Rdata
regression_2.15.2.Rdata
in additionalPackages/RevoIOQ/inst/unitTestData
977 - 323
Rdata
regression_3.0.3.Rdata
in additionalPackages/RevoIOQ/inst/unitTestData
1047 - 322
Rdata
regression_3.1.0.Rdata
in additionalPackages/RevoIOQ/inst/unitTestData
979 - 322
Rdata
regression_2.9.0.Rdata
in additionalPackages/RevoIOQ/inst/unitTestData
891 - 300
Rdata
regression.Rdata
in additionalPackages/RevoIOQ/inst/unitTestData
838 - 286
Rdata
regression_2.10.1.Rdata
in additionalPackages/RevoIOQ/inst/unitTestData
854 - 283
NEWS.2.html
in source/doc/html
8233 - 270
NEWS.html
in source/doc/html
6396 - 266
R-admin.html
in source/doc/html
5982 - 242
po
R-pl.po
in source/src/library/methods/po
2395 - 217
f
dlapack.f
in source/src/modules/lapack
164909 - 98
po
R-ru.po
in source/src/library/methods/po
1379 - 66
po
R-pl.po
in source/src/library/base/po
2585 - 58
po
R-pl.po
in source/src/library/utils/po
1838 - 56
po
R-pl.po
in source/src/library/tools/po
2093 - 51
iss
reg3264.iss
in source/src/gnuwin32/installer
52 - 47
po
R-pl.po
in source/src/library/stats/po
3713 - 43
f
cmplx.f
in source/src/modules/lapack
55944 - 38
mo
RGui.mo
in source/src/library/translations/inst/de/LC_MESSAGES
189 - 36
mo
RGui.mo
in source/src/library/translations/inst/tr/LC_MESSAGES
190 - 36