microsoft / IIS.Common
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 87 files with 19,861 lines of code.
    • 4 very long files (6,465 lines of code)
    • 7 long files (4,845 lines of code)
    • 13 medium size files (4,255 lines of codeclsfd_ftr_w_mp_ins)
    • 15 small files (2,112 lines of code)
    • 48 very small files (2,184 lines of code)
32% | 24% | 21% | 10% | 10%
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
h39% | 18% | 21% | 12% | 7%
cpp73% | 23% | 0% | 0% | 2%
cxx0% | 43% | 44% | 8% | 3%
cs0% | 33% | 26% | 14% | 24%
hxx0% | 0% | 0% | 73% | 26%
c0% | 0% | 0% | 0% | 100%
vcxproj0% | 0% | 0% | 0% | 100%
props0% | 0% | 0% | 0% | 100%
filters0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
targets0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Include48% | 13% | 16% | 15% | 5%
lib42% | 27% | 25% | 2% | 2%
Managed/NativeMethods0% | 51% | 16% | 10% | 20%
open-inc0% | 48% | 28% | 17% | 5%
reftrace/src0% | 56% | 0% | 11% | 31%
reftrace/include0% | 0% | 64% | 0% | 35%
Managed/PseudoLoc0% | 0% | 99% | 0% | <1%
Managed/Util0% | 0% | 0% | 41% | 58%
reftrace0% | 0% | 0% | 0% | 100%
build/settings0% | 0% | 0% | 0% | 100%
build0% | 0% | 0% | 0% | 100%
version0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Managed/MySQL0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
httpserv_xp.h
in Include
2674 49
ahutil.cpp
in lib
1347 -
http_xp.h
in Include
1310 -
stringa.cpp
in lib
1134 -
cxx
ulparse.cxx
in lib
828 -
stringu.cpp
in lib
813 -
Mlang.cs
in Managed/NativeMethods
725 -
stbuff.h
in open-inc
668 -
cxx
pudebug.cxx
in reftrace/src
668 -
treehash.h
in Include
642 -
hashtable.h
in Include
501 -
cxx
normalize.cxx
in lib
486 2
stringa.h
in Include
416 -
statichash.h
in Include
406 -
pudebug.h
in reftrace/include
403 -
sttable.h
in open-inc
396 -
PseudoLocalizer.cs
in Managed/PseudoLoc
337 21
stringu.h
in Include
327 2
cxx
base64.cxx
in lib
293 -
cxx
acache.cxx
in lib
281 5
cxx
multisz.cxx
in lib
238 1
AdvApi32.cs
in Managed/NativeMethods
236 4
ahutil.h
in Include
223 -
cxx
multisza.cxx
in lib
213 1
percpu.h
in Include
189 -
hashfn.h
in Include
187 15
GACManagedAccess.cs
in Managed/Util
162 7
Fusion.cs
in Managed/NativeMethods
153 3
sttimer.h
in Include
149 -
hybrid_array.h
in Include
142 1
cxx
win32obj.cxx
in reftrace/src
142 -
cxx
datetime.cxx
in lib
138 -
sttimer.h
in open-inc
138 -
rwlock.h
in Include
136 13
buffer.h
in Include
131 -
listentry.h
in Include
128 -
hxx
multisz.hxx
in Include
107 13
hxx
multisza.hxx
in Include
107 13
stlock.h
in open-inc
103 5
irtldbg.h
in reftrace/include
100 -
ExceptionHelper.cs
in Managed/Util
99 5
tracelog.c
in reftrace/src
96 -
debugutil.h
in Include
94 1
irtldbg.cpp
in reftrace/src
94 -
Common.cs
in Managed/NativeMethods
92 7
AuthenticationModule.cs
in Managed/Util
86 3
reftrace.c
in reftrace/src
85 -
Kernel32.cs
in Managed/NativeMethods
80 1
vcxproj
CommonLib.vcxproj
in lib
78 -
vcxproj
reftrace.vcxproj
in reftrace
78 -
Files With Most Units (Top 20)
File# lines# units
httpserv_xp.h
in Include
2674 49
PseudoLocalizer.cs
in Managed/PseudoLoc
337 21
hashfn.h
in Include
187 15
hxx
multisz.hxx
in Include
107 13
hxx
multisza.hxx
in Include
107 13
rwlock.h
in Include
136 13
Common.cs
in Managed/NativeMethods
92 7
GACManagedAccess.cs
in Managed/Util
162 7
ExceptionHelper.cs
in Managed/Util
99 5
cxx
acache.cxx
in lib
281 5
stlock.h
in open-inc
103 5
AdvApi32.cs
in Managed/NativeMethods
236 4
Fusion.cs
in Managed/NativeMethods
153 3
AuthenticationModule.cs
in Managed/Util
86 3
stringu.h
in Include
327 2
cxx
normalize.cxx
in lib
486 2
irtlmisc.h
in reftrace/include
64 2
hxx
memorylog.hxx
in reftrace/include
36 2
debugutil.h
in Include
94 1
hybrid_array.h
in Include
142 1
Files With Long Lines (Top 18)

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

File# lines# units# long lines
Mlang.cs
in Managed/NativeMethods
725 - 148
props
versions.props
in build
32 - 7
PseudoLocalizer.cs
in Managed/PseudoLoc
337 21 6
props
sign.props
in build
19 - 5
Kernel32.cs
in Managed/NativeMethods
80 1 3
vcxproj
CommonLib.vcxproj
in lib
78 - 3
vcxproj
reftrace.vcxproj
in reftrace
78 - 3
bldver.h
in version
43 - 3
ntassert.h
in Include
25 - 2
UxTheme.cs
in Managed/NativeMethods
39 1 2
ExceptionHelper.cs
in Managed/Util
99 5 2
props
common.props
in build/settings
36 - 2
AdvApi32.cs
in Managed/NativeMethods
236 4 1
AuthenticationModule.cs
in Managed/Util
86 3 1
GACManagedAccess.cs
in Managed/Util
162 7 1
WebUtility.cs
in Managed/Util
46 1 1
targets
copy-outputs.targets
in build
14 - 1
props
submodule.props
in build
4 - 1