microsoft / NCM-Driver-for-Windows
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 28 files with 6,164 lines of code.
    • 0 very long files (0 lines of code)
    • 2 long files (1,683 lines of code)
    • 11 medium size files (2,918 lines of codeclsfd_ftr_w_mp_ins)
    • 9 small files (1,269 lines of code)
    • 6 very small files (294 lines of code)
0% | 27% | 47% | 20% | 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
cpp0% | 52% | 35% | 11% | 0%
vcxproj0% | 0% | 100% | 0% | 0%
h0% | 0% | 39% | 45% | 15%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
function0% | 70% | 18% | 8% | 1%
host0% | 69% | 0% | 28% | 2%
common0% | 0% | 100% | 0% | 0%
inc0% | 0% | 48% | 27% | 23%
adapter0% | 0% | 45% | 54% | 0%
projects/function0% | 0% | 100% | 0% | 0%
projects/host0% | 0% | 100% | 0% | 0%
projects/adapter0% | 0% | 100% | 0% | 0%
projects/common0% | 0% | 100% | 0% | 0%
Longest Files (Top 28)
File# lines# units
device.cpp
in function
951 -
device.cpp
in host
732 -
ntb.cpp
in common
458 1
vcxproj
function.vcxproj
in projects/function
280 -
ncm.h
in inc
269 -
vcxproj
host.vcxproj
in projects/host
259 -
adapter.cpp
in adapter
251 -
device.h
in function
251 -
ncmringiterator.h
in inc
243 -
vcxproj
adapter.vcxproj
in projects/adapter
233 -
rxqueue.cpp
in adapter
230 -
vcxproj
common.vcxproj
in projects/common
227 -
buffers.cpp
in common
217 -
device.h
in host
180 -
rxqueue.h
in adapter
163 -
mac.h
in inc
162 -
txqueue.cpp
in adapter
145 -
adapter.h
in adapter
132 -
callbacks.h
in inc
129 -
txqueue.h
in adapter
126 -
driver.cpp
in function
117 -
driver.cpp
in host
115 -
NetPacketLibrary.h
in inc
83 -
buffers.h
in inc
77 -
ntb.h
in inc
45 -
trace.h
in inc
43 -
driver.h
in host
24 -
driver.h
in function
22 -
Files With Most Units (Top 1)
File# lines# units
ntb.cpp
in common
458 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
vcxproj
adapter.vcxproj
in projects/adapter
233 - 9
vcxproj
common.vcxproj
in projects/common
227 - 9
trace.h
in inc
43 - 7
vcxproj
function.vcxproj
in projects/function
280 - 1
vcxproj
host.vcxproj
in projects/host
259 - 1