microsoft / Network-Adapter-Class-Extension
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 236 files with 48,581 lines of code.
    • 11 very long files (18,394 lines of code)
    • 8 long files (5,964 lines of code)
    • 33 medium size files (10,438 lines of codeclsfd_ftr_w_mp_ins)
    • 55 small files (7,825 lines of code)
    • 129 very small files (5,960 lines of code)
37% | 12% | 21% | 16% | 12%
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
cpp42% | 14% | 22% | 12% | 6%
h58% | 8% | 7% | 12% | 13%
hpp0% | 7% | 32% | 30% | 29%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
netcx/adapter45% | 12% | 26% | 11% | 4%
netcx/adapter/statemachines87% | 12% | 0% | 0% | 0%
netcx/translator42% | 11% | 22% | 12% | 10%
netcx/ec/lib0% | 33% | 22% | 14% | 29%
netcx/adapter/powerpolicy0% | 38% | 10% | 37% | 13%
rtl/inc0% | 0% | 29% | 40% | 29%
netcx/translator/metadata0% | 0% | 81% | 18% | 0%
netcx/adapter/queue0% | 0% | 77% | 0% | 22%
netcx/adapter/rxscaling0% | 0% | 76% | 0% | 23%
netcx/translator/framelayout0% | 0% | 25% | 52% | 22%
netcx/adapter/config0% | 0% | 96% | 0% | 3%
netcx/bm0% | 0% | 15% | 41% | 43%
netcx/translator/coalescing0% | 0% | 0% | 76% | 23%
netcx/adapter/extension0% | 0% | 0% | 74% | 25%
netcx/ec/driver0% | 0% | 0% | 83% | 16%
netcx/adapter/monitor0% | 0% | 0% | 69% | 30%
netcx/ec/inc0% | 0% | 0% | 38% | 61%
netcx/translator/segmentation0% | 0% | 0% | 58% | 41%
netcx/adapter/types0% | 0% | 0% | 44% | 55%
netcx/statistics0% | 0% | 0% | 27% | 72%
netcx/adapter/idle0% | 0% | 0% | 33% | 66%
netcx/translator/checksum0% | 0% | 0% | 0% | 100%
netcx/statistics/km0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
nxadapter.cpp
in netcx/adapter
3260 2
adapterpnppowerstatemachine.h
in netcx/adapter/statemachines
2394 -
nxdevice.cpp
in netcx/adapter
2088 -
verifier.cpp
in netcx/adapter
1997 -
devicepnppowerstatemachine.h
in netcx/adapter/statemachines
1883 -
nxoffload.cpp
in netcx/translator
1362 -
nxadapterapi.cpp
in netcx/adapter
1116 -
nxnbltranslation.cpp
in netcx/translator
1103 -
nxrxxlat.cpp
in netcx/translator
1083 -
nxadapterstatemachine.h
in netcx/adapter/statemachines
1061 -
nxtranslationapp.cpp
in netcx/translator
1047 -
nxoffload.cpp
in netcx/adapter
979 -
executioncontext.cpp
in netcx/ec/lib
903 1
nxpowerpolicy.cpp
in netcx/adapter/powerpolicy
752 1
nxdevicestatemachine.h
in netcx/adapter/statemachines
735 -
nxadapter.hpp
in netcx/adapter
678 -
rxscaling.cpp
in netcx/translator
664 -
nxtxxlat.cpp
in netcx/translator
637 -
nxconfiguration.cpp
in netcx/adapter
616 -
adapterpnppower.cpp
in netcx/adapter
488 -
nxqueue.cpp
in netcx/adapter
483 -
verifier.hpp
in netcx/adapter
478 -
metadatatranslator.cpp
in netcx/translator/metadata
462 -
nxbufferqueue.cpp
in netcx/adapter
443 -
queuecontrol.cpp
in netcx/translator
421 -
version.cpp
in netcx/adapter
415 2
nxdevice.hpp
in netcx/adapter
410 -
karray.h
in rtl/inc
393 28
executioncontext.hpp
in netcx/ec/lib
378 -
nxadapterextensionapi.cpp
in netcx/adapter
361 -
devicepnppower.cpp
in netcx/adapter
354 -
nxoffload.hpp
in netcx/adapter
326 -
nxdma.cpp
in netcx/translator
323 1
queue.cpp
in netcx/adapter/queue
314 -
nxqueueapi.cpp
in netcx/adapter
304 -
nxtranslationapp.hpp
in netcx/translator
303 -
nxrxxlat.hpp
in netcx/translator
286 -
nxqueueverifier.cpp
in netcx/adapter
275 -
kregkey.h
in rtl/inc
271 8
nxoffload.hpp
in netcx/translator
267 -
nxnbldatapath.cpp
in netcx/translator
261 -
nxrxscaling.cpp
in netcx/adapter/rxscaling
246 -
nxpowerpolicyapi.cpp
in netcx/adapter
244 -
nxconfigurationapi.cpp
in netcx/adapter
239 -
dispatch.cpp
in netcx/ec/lib
228 -
nxnbltranslation.hpp
in netcx/translator
225 -
layer3layout.cpp
in netcx/translator/framelayout
214 -
rxscaling.hpp
in netcx/translator
212 -
nxwakesource.cpp
in netcx/adapter/powerpolicy
209 -
netclientdriverconfigurationimpl.cpp
in netcx/adapter/config
203 -
Files With Most Units (Top 20)
File# lines# units
karray.h
in rtl/inc
393 28
kref.h
in rtl/inc
151 22
kworkitem.h
in rtl/inc
154 17
nxringbuffer.hpp
in netcx/translator
99 12
klockholder.h
in rtl/inc
91 12
krundownholder.h
in rtl/inc
105 11
kwaitevent.h
in rtl/inc
128 11
nxringbufferrange.hpp
in netcx/translator
155 10
kcriticalregion.h
in rtl/inc
49 10
krundown.h
in rtl/inc
124 10
kdeletepolicy.h
in rtl/inc
43 9
khistogram.h
in rtl/inc
96 8
kregkey.h
in rtl/inc
271 8
kspinlock.h
in rtl/inc
131 8
timebudgetwarninglogger.cpp
in netcx/ec/lib
85 6
kbitmap.h
in rtl/inc
50 6
wdfobjectcallback.hpp
in netcx/adapter
174 5
kptr.h
in rtl/inc
93 5
nxnblsequence.h
in netcx/translator
61 4
knew.h
in rtl/inc
126 4
Files With Long Lines (Top 20)

There are 31 files with lines longer than 120 characters. In total, there are 242 long lines.

File# lines# units# long lines
adapterpnppowerstatemachine.h
in netcx/adapter/statemachines
2394 - 77
devicepnppowerstatemachine.h
in netcx/adapter/statemachines
1883 - 32
nxadapter.cpp
in netcx/adapter
3260 2 25
nxadapterstatemachine.h
in netcx/adapter/statemachines
1061 - 16
nxoffload.cpp
in netcx/adapter
979 - 12
nxpoweroffload.cpp
in netcx/adapter/powerpolicy
157 - 12
nxdevice.cpp
in netcx/adapter
2088 - 11
nxpowerpolicy.cpp
in netcx/adapter/powerpolicy
752 1 9
nxconfiguration.cpp
in netcx/adapter
616 - 6
nxdevicestatemachine.h
in netcx/adapter/statemachines
735 - 6
nxnbltranslation.cpp
in netcx/translator
1103 - 6
nxdma.cpp
in netcx/translator
323 1 3
nxtxxlat.cpp
in netcx/translator
637 - 3
verifier.cpp
in netcx/adapter
1997 - 2
trace.hpp
in netcx/ec/driver
19 - 2
histogramhub.cpp
in netcx/statistics
115 - 2
nxoffload.cpp
in netcx/translator
1362 - 2
nxrxxlat.hpp
in netcx/translator
286 - 2
kref.h
in rtl/inc
151 22 2
netclientdriverconfigurationimpl.cpp
in netcx/adapter/config
203 - 1