microsoft / Detours
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 15 files with 11,464 lines of code.
    • 4 very long files (8,308 lines of code)
    • 4 long files (2,882 lines of code)
    • 1 medium size files (247 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 6 very small files (27 lines of code)
72% | 25% | 2% | 0% | <1%
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
cpp89% | 8% | 2% | 0% | <1%
h0% | 98% | 0% | 0% | 1%
filters0% | 100% | 0% | 0% | 0%
vcxproj0% | 100% | 0% | 0% | 0%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src81% | 16% | 2% | 0% | <1%
vc0% | 100% | 0% | 0% | 0%
Longest Files (Top 15)
File# lines# units
disasm.cpp
in src
3209 181
detours.cpp
in src
1959 72
image.cpp
in src
1739 56
creatwth.cpp
in src
1401 30
detours.h
in src
913 4
modules.cpp
in src
760 17
filters
Detours.vcxproj.filters
in vc
605 -
vcxproj
Detours.vcxproj
in vc
604 -
uimports.cpp
in src
247 1
detver.h
in src
17 -
disolarm.cpp
in src
2 -
disolarm64.cpp
in src
2 -
disolia64.cpp
in src
2 -
disolx64.cpp
in src
2 -
disolx86.cpp
in src
2 -
Files With Most Units (Top 7)
File# lines# units
disasm.cpp
in src
3209 181
detours.cpp
in src
1959 72
image.cpp
in src
1739 56
creatwth.cpp
in src
1401 30
modules.cpp
in src
760 17
detours.h
in src
913 4
uimports.cpp
in src
247 1
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 21 long lines.

File# lines# units# long lines
vcxproj
Detours.vcxproj
in vc
604 - 8
disasm.cpp
in src
3209 181 5
detours.cpp
in src
1959 72 3
uimports.cpp
in src
247 1 3
detours.h
in src
913 4 2