google / UIforETW
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 138 files with 12,985 lines of code.
    • 1 very long files (1,916 lines of code)
    • 2 long files (1,329 lines of code)
    • 12 medium size files (3,500 lines of codeclsfd_ftr_w_mp_ins)
    • 23 small files (3,282 lines of code)
    • 100 very small files (2,958 lines of code)
14% | 10% | 26% | 25% | 22%
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
cpp33% | 14% | 25% | 17% | 9%
vcxproj0% | 23% | 28% | 40% | 7%
cs0% | 0% | 49% | 44% | 5%
man0% | 0% | 95% | 0% | 4%
cc0% | 0% | 27% | 27% | 44%
h0% | 0% | 13% | 32% | 53%
filters0% | 0% | 0% | 23% | 76%
py0% | 0% | 0% | 0% | 100%
asm0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
UIforETW28% | 20% | 21% | 18% | 11%
ETWProviders0% | 0% | 91% | 0% | 8%
TraceProcessors0% | 0% | 49% | 44% | 5%
ETWInsights0% | 0% | 14% | 34% | 50%
EventEmitter0% | 0% | 57% | 0% | 42%
RetrieveSymbols0% | 0% | 0% | 96% | 3%
ETWEventDemo0% | 0% | 0% | 72% | 27%
LabScripts0% | 0% | 0% | 34% | 65%
include0% | 0% | 0% | 100% | 0%
DummyChrome0% | 0% | 0% | 64% | 35%
PowerMon0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
DelayedCreateProcess0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
UIforETWDlg.cpp
in UIforETW
1916 73
Utility.cpp
in UIforETW
814 53
vcxproj
UIforETW.vcxproj
in UIforETW
515 -
PowerStatus.cpp
in UIforETW
405 11
vcxproj
ETWProviders.vcxproj
in ETWProviders
383 -
man
etwproviders.man
in ETWProviders
341 -
Settings.cpp
in UIforETW
327 19
IdentifyChromeProcesses.cs
in TraceProcessors/IdentifyChromeProcesses
321 2
generate_history_from_trace.cc
in ETWInsights/etw_reader
311 11
etwprof.cpp
in ETWProviders
279 38
KeyLoggerThread.cpp
in UIforETW
258 5
vcxproj
EventEmitter.vcxproj
in EventEmitter
249 -
CPUSummary.cs
in TraceProcessors/CPUSummary
217 3
ChildProcess.cpp
in UIforETW
205 8
UIforETWDlg.h
in UIforETW
204 9
CPUFrequency.cpp
in UIforETW
193 9
vcxproj
ETWEventDemo.vcxproj
in ETWEventDemo
190 -
WorkingSet.cpp
in UIforETW
178 6
HeapSnapshotCompare.cs
in TraceProcessors/HeapSnapshotCompare
174 2
TraceLoggingSupport.cpp
in UIforETW
168 6
VideoConfCPUCounters.cs
in TraceProcessors/VideoConfCPUCounters
163 2
UIforETW.cpp
in UIforETW
161 7
string_utils.cc
in ETWInsights/base
160 21
vcxproj
ConditionalCount.vcxproj
in LabScripts/ETWPMCDemo/ConditionalCount
154 -
IdleWakeups.cs
in TraceProcessors/IdleWakeups
150 3
etw_reader.cc
in ETWInsights/etw_reader
147 9
filters
UIforETW.vcxproj.filters
in UIforETW
144 -
Support.cpp
in UIforETW
142 2
Utility.h
in UIforETW
134 4
etwprof.h
in include/ETWProviders
133 33
RetrieveSymbols.cpp
in RetrieveSymbols
129 1
vcxproj
DummyChrome.vcxproj
in DummyChrome
117 -
Resource.h
in UIforETW
117 -
vcxproj
RetrieveSymbols.vcxproj
in RetrieveSymbols
110 -
vcxproj
base.vcxproj
in ETWInsights/base
107 -
vcxproj
flame_graph.vcxproj
in ETWInsights/flame_graph
107 -
history.h
in ETWInsights/base
102 9
vcxproj
etw_reader.vcxproj
in ETWInsights/etw_reader
102 -
flame_graph.cc
in ETWInsights/flame_graph
96 3
main.cc
in ETWInsights/flame_graph
96 2
etwpmc_parser.py
in LabScripts/ETWPMCDemo
96 -
vcxproj
PowerMon.vcxproj
in PowerMon
96 -
PowerStatus.cpp
in PowerMon
94 2
filters
EventEmitter.vcxproj.filters
in EventEmitter
93 -
SummarizeData.py
in LabScripts/GeneralTracing
86 2
SpinALot32.asm
in UIforETW
82 -
child_process.cc
in ETWInsights/base
81 2
SpinALot64.asm
in UIforETW
80 -
Settings.h
in UIforETW
78 -
filters
base.vcxproj.filters
in ETWInsights/base
75 -
Files With Most Units (Top 20)
File# lines# units
UIforETWDlg.cpp
in UIforETW
1916 73
Utility.cpp
in UIforETW
814 53
etwprof.cpp
in ETWProviders
279 38
etwprof.h
in include/ETWProviders
133 33
string_utils.cc
in ETWInsights/base
160 21
Settings.cpp
in UIforETW
327 19
generate_history_from_trace.cc
in ETWInsights/etw_reader
311 11
PowerStatus.cpp
in UIforETW
405 11
history.h
in ETWInsights/base
102 9
etw_reader.cc
in ETWInsights/etw_reader
147 9
CPUFrequency.cpp
in UIforETW
193 9
UIforETWDlg.h
in UIforETW
204 9
system_history.h
in ETWInsights/etw_reader
39 8
ChildProcess.cpp
in UIforETW
205 8
thread_history.h
in ETWInsights/etw_reader
37 7
UIforETW.cpp
in UIforETW
161 7
TraceLoggingSupport.cpp
in UIforETW
168 6
WorkingSet.cpp
in UIforETW
178 6
KeyLoggerThread.cpp
in UIforETW
258 5
Utility.h
in UIforETW
134 4
Files With Long Lines (Top 20)

There are 30 files with lines longer than 120 characters. In total, there are 191 long lines.

File# lines# units# long lines
man
etwproviders.man
in ETWProviders
341 - 31
UIforETWDlg.cpp
in UIforETW
1916 73 30
vcxproj
ETWProviders.vcxproj
in ETWProviders
383 - 24
vcxproj
UIforETW.vcxproj
in UIforETW
515 - 18
vcxproj
EventEmitter.vcxproj
in EventEmitter
249 - 12
Utility.cpp
in UIforETW
814 53 11
vcxproj
DummyChrome.vcxproj
in DummyChrome
117 - 8
vcxproj
ETWEventDemo.vcxproj
in ETWEventDemo
190 - 8
etwprof.cpp
in ETWProviders
279 38 6
vcxproj
ConditionalCount.vcxproj
in LabScripts/ETWPMCDemo/ConditionalCount
154 - 4
IdentifyChromeProcesses.cs
in TraceProcessors/IdentifyChromeProcesses
321 2 4
CPUSummary.cs
in TraceProcessors/CPUSummary
217 3 3
HeapSnapshotCompare.cs
in TraceProcessors/HeapSnapshotCompare
174 2 3
WorkingSet.cpp
in UIforETW
178 6 3
etwprof.h
in include/ETWProviders
133 33 3
vcxproj
ETWInsights.vcxproj
in ETWInsights
71 - 2
vcxproj
base.vcxproj
in ETWInsights/base
107 - 2
vcxproj
etw_reader.vcxproj
in ETWInsights/etw_reader
102 - 2
vcxproj
flame_graph.vcxproj
in ETWInsights/flame_graph
107 - 2
vcxproj
PowerMon.vcxproj
in PowerMon
96 - 2