microsoft / winfile
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 89 files with 32,327 lines of code.
    • 9 very long files (13,790 lines of code)
    • 13 long files (9,289 lines of code)
    • 16 medium size files (5,768 lines of codeclsfd_ftr_w_mp_ins)
    • 13 small files (2,042 lines of code)
    • 38 very small files (1,438 lines of code)
42% | 28% | 17% | 6% | 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
c59% | 31% | 4% | 2% | 1%
cpp0% | 24% | 65% | 4% | 5%
h0% | 26% | 28% | 26% | 18%
vcxproj0% | 0% | 82% | 17% | 0%
filters0% | 0% | 0% | 47% | 52%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src50% | 32% | 9% | 4% | 3%
tools/ExeView0% | 16% | 55% | 20% | 7%
tools/FileSignatureInfo0% | 0% | 84% | 0% | 15%
tools/VerifyResources0% | 0% | 87% | 0% | 12%
Longest Files (Top 50)
File# lines# units
wfassoc.c
in src
2141 -
wfdir.c
in src
1921 1
treectl.c
in src
1910 -
wfcopy.c
in src
1862 1
wfcomman.c
in src
1387 1
wfdlgs2.c
in src
1223 -
wffile.c
in src
1186 19
wfdlgs3.c
in src
1124 1
tbar.c
in src
1036 1
wfinit.c
in src
962 1
winfile.h
in src
958 -
wfutil.c
in src
841 2
wfinfo.c
in src
836 1
winfile.c
in src
778 -
wfsearch.c
in src
721 1
wfdirrd.c
in src
704 2
wfdirsrc.c
in src
647 -
wfdrives.c
in src
646 -
wfdlgs.c
in src
611 1
res.cpp
in tools/ExeView
556 15
wftree.c
in src
526 -
wfgoto.cpp
in src
503 11
iconcur.cpp
in tools/ExeView
490 4
filllb.cpp
in tools/ExeView
470 10
FileSignatureInfo.cpp
in tools/FileSignatureInfo
463 6
wfdrop.c
in src
434 16
VerifyResources.cpp
in tools/VerifyResources
426 12
res.h
in src
413 -
vcxproj
Winfile.vcxproj
in src
409 -
exehdr.cpp
in tools/ExeView
376 11
fmifs.h
in src
345 -
wfext.c
in src
308 -
main.cpp
in tools/ExeView
302 5
lfn.c
in src
298 -
mpr.h
in src
272 -
save.cpp
in tools/ExeView
272 6
vcxproj
FileSignatureInfo.vcxproj
in tools/FileSignatureInfo
245 -
vcxproj
VerifyResources.vcxproj
in tools/VerifyResources
245 -
vcxproj
ExeView.vcxproj
in tools/ExeView
187 -
wfdlgs.h
in src
185 -
res.h
in tools/ExeView
180 -
bmp.cpp
in tools/ExeView
176 4
lfnmisc.c
in src
175 -
exehdr.h
in tools/ExeView
173 -
wfdrop.h
in src
168 -
wfchgnot.c
in src
161 -
wfmem.c
in src
154 -
wfext.h
in src
140 -
filters
Winfile.vcxproj.filters
in src
130 -
suggest.c
in src
111 -
Files With Most Units (Top 20)
File# lines# units
wffile.c
in src
1186 19
wfdrop.c
in src
434 16
res.cpp
in tools/ExeView
556 15
VerifyResources.cpp
in tools/VerifyResources
426 12
wfgoto.cpp
in src
503 11
exehdr.cpp
in tools/ExeView
376 11
filllb.cpp
in tools/ExeView
470 10
dbg.c
in src
90 8
save.cpp
in tools/ExeView
272 6
FileSignatureInfo.cpp
in tools/FileSignatureInfo
463 6
wfloc.c
in src
63 5
main.cpp
in tools/ExeView
302 5
BagOValues.h
in src
82 4
bmp.cpp
in tools/ExeView
176 4
iconcur.cpp
in tools/ExeView
490 4
spinlock.h
in src
58 3
menudlg.cpp
in tools/ExeView
54 3
wfdirrd.c
in src
704 2
wfutil.c
in src
841 2
init.cpp
in tools/ExeView
82 2
Files With Long Lines (Top 20)

There are 23 files with lines longer than 120 characters. In total, there are 108 long lines.

File# lines# units# long lines
vcxproj
Winfile.vcxproj
in src
409 - 37
VerifyResources.cpp
in tools/VerifyResources
426 12 11
winfile.c
in src
778 - 6
vcxproj
FileSignatureInfo.vcxproj
in tools/FileSignatureInfo
245 - 6
vcxproj
VerifyResources.vcxproj
in tools/VerifyResources
245 - 6
wfcopy.c
in src
1862 1 4
wfgoto.cpp
in src
503 11 4
vcxproj
ExeView.vcxproj
in tools/ExeView
187 - 4
save.cpp
in tools/ExeView
272 6 4
wfdrop.c
in src
434 16 3
winfile.h
in src
958 - 3
stdafx.cpp
in tools/ExeView
6 - 3
targetver.h
in tools/ExeView
5 - 3
wfcomman.c
in src
1387 1 2
wfdirrd.c
in src
704 2 2
wfdlgs.c
in src
611 1 2
stdafx.h
in tools/ExeView
9 - 2
lfn.c
in src
298 - 1
treectl.c
in src
1910 - 1
wfdir.c
in src
1921 1 1