microsoft / Tx
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 203 files with 34,325 lines of code.
    • 7 very long files (16,017 lines of code)
    • 7 long files (4,487 lines of code)
    • 18 medium size files (5,116 lines of codeclsfd_ftr_w_mp_ins)
    • 24 small files (3,118 lines of code)
    • 147 very small files (5,587 lines of code)
46% | 13% | 14% | 9% | 16%
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
cs36% | 11% | 19% | 11% | 20%
man69% | 28% | 0% | 2% | 0%
xml96% | 0% | 0% | 3% | <1%
xaml0% | 0% | 0% | 0% | 100%
ps10% | 0% | 0% | 0% | 100%
targets0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
Generated74% | 18% | 6% | 0% | <1%
Manifests69% | 28% | 0% | 2% | 0%
References96% | 0% | 0% | 3% | 0%
Source0% | 4% | 32% | 21% | 40%
Tools0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
5594 -
Bond.xml
in References/DESKTOPCLR45
3083 -
man
CSV.man
in Manifests
1806 -
man
IE_Client.man
in Manifests
1724 -
1406 -
Microsoft_IE.cs
in Generated
1295 -
1109 -
man
HTTP_Server.man
in Manifests
795 -
731 -
man
asp.man
in Manifests
673 -
ManifestParser.cs
in Source/Tx.Windows.TypeGeneration
649 21
AspNetTrace.cs
in Generated
606 -
532 -
501 -
EtwNativeMethods.cs
in Source/Tx.Windows/EtwNative
415 1
EtwTdhEventInfo.cs
in Source/Tx.Windows/EtwTdh
373 11
EtwNativeEvent.cs
in Source/Tx.Windows/EtwNative
356 27
BinaryEventSource.cs
in Source/Tx.Bond
349 10
328 -
Asn1EncoderExtensions.cs
in Source/Tx.Network/Snmp
327 16
PdhNativeMethods.cs
in Source/Tx.Windows/PerfCounters
319 6
TmfParser.cs
in Source/Tx.Windows.TypeGeneration
315 11
TxDataContextDriver.cs
in Source/Tx.LinqPad
313 12
PcapNg.cs
in Source/Tx.Network/Pcap
250 9
Asn1DecoderExtensions.cs
in Source/Tx.Network/Snmp
250 10
Playback.cs
in Source/Tx.Core
237 11
236 -
CLRTrace.cs
in Generated
220 -
EtwTypeMap.cs
in Source/Tx.Windows/EtwNative
211 3
EtwFileReader.cs
in Source/Tx.Windows/EtwNative
210 9
Program.cs
in Source/EtwEventTypeGen
204 2
PdhUtils.cs
in Source/Tx.Windows/PerfCounters
203 5
TimeSource.cs
in Source/Tx.Core
200 18
TrapTypeMap.cs
in Source/Tx.Network/Snmp/Dynamic
184 6
ObjectIdentifier.cs
in Source/Tx.Network/Snmp
167 8
ConnectionDialog.xaml.cs
in Source/Tx.LinqPad
159 11
BinaryEtwParser.cs
in Source/Tx.Bond/Internal
152 5
SnmpEncodeDecoder.cs
in Source/Tx.Network/Snmp
145 2
TypeCache.cs
in Source/Tx.LinqPad
142 4
134 6
BaseUdpReceiver.cs
in Source/Tx.Network/Udp
134 6
PullMergeSort.cs
in Source/Tx.Core
127 10
BinaryEtwObservable.cs
in Source/Tx.Bond
126 12
EtwTdhEvent.cs
in Source/Tx.Windows/EtwTdh
125 11
ParserRegistry.cs
in Source/Tx.LinqPad
118 7
EvtxObservable.cs
in Source/Tx.Windows.Logs
118 7
W3CEnumerable.cs
in Source/Tx.Windows/IIS
115 5
Bond.Attributes.xml
in References/DESKTOPCLR45
112 -
CsvExtensions.cs
in Source/Tx.Core/Csv
112 10
CsvObservable.cs
in Source/Tx.Core/Csv
109 4
Files With Most Units (Top 50)
File# lines# units
EtwNativeEvent.cs
in Source/Tx.Windows/EtwNative
356 27
ManifestParser.cs
in Source/Tx.Windows.TypeGeneration
649 21
TimeSource.cs
in Source/Tx.Core
200 18
Asn1EncoderExtensions.cs
in Source/Tx.Network/Snmp
327 16
BinaryEtwObservable.cs
in Source/Tx.Bond
126 12
Demultiplexor.cs
in Source/Tx.Core
109 12
TxDataContextDriver.cs
in Source/Tx.LinqPad
313 12
Playback.cs
in Source/Tx.Core
237 11
ConnectionDialog.xaml.cs
in Source/Tx.LinqPad
159 11
TmfParser.cs
in Source/Tx.Windows.TypeGeneration
315 11
EtwTdhEvent.cs
in Source/Tx.Windows/EtwTdh
125 11
EtwTdhEventInfo.cs
in Source/Tx.Windows/EtwTdh
373 11
BinaryEventSource.cs
in Source/Tx.Bond
349 10
CsvExtensions.cs
in Source/Tx.Core/Csv
112 10
PullMergeSort.cs
in Source/Tx.Core
127 10
Asn1DecoderExtensions.cs
in Source/Tx.Network/Snmp
250 10
PcapNg.cs
in Source/Tx.Network/Pcap
250 9
EtwFileReader.cs
in Source/Tx.Windows/EtwNative
210 9
ObjectIdentifier.cs
in Source/Tx.Network/Snmp
167 8
Converter.cs
in Source/Tx.Core
82 7
EnvelopeTypeMap.cs
in Source/Tx.Core/TypeMap
102 7
ParserRegistry.cs
in Source/Tx.LinqPad
118 7
ExtensionMethods.cs
in Source/Tx.Network
67 7
EvtxObservable.cs
in Source/Tx.Windows.Logs
118 7
JsonTransformBuilder.cs
in Source/Tx.Bond
61 6
CompositeDeserializer.cs
in Source/Tx.Core
99 6
BufferQueue.cs
in Source/Tx.Core/Internal
62 6
134 6
108 6
Asn1TagInfo.cs
in Source/Tx.Network/Snmp
49 6
TrapTypeMap.cs
in Source/Tx.Network/Snmp/Dynamic
184 6
BaseUdpReceiver.cs
in Source/Tx.Network/Udp
134 6
PdhNativeMethods.cs
in Source/Tx.Windows/PerfCounters
319 6
PerfCounterTypeMap.cs
in Source/Tx.Windows/PerfCounters
77 6
BinaryEtwParser.cs
in Source/Tx.Bond/Internal
152 5
CsvRecordTypeMap.cs
in Source/Tx.Core/Csv
63 5
PcapNgWriter.cs
in Source/Tx.Network/Pcap
54 5
XeTypeMap.cs
in Source/Tx.SqlServer
85 5
EvtxEnumerable.cs
in Source/Tx.Windows.Logs
97 5
EtwObservable.cs
in Source/Tx.Windows/EtwNative
109 5
W3CEnumerable.cs
in Source/Tx.Windows/IIS
115 5
PdhUtils.cs
in Source/Tx.Windows/PerfCounters
203 5
PerfCounterReader.cs
in Source/Tx.Windows/PerfCounters
95 5
BinaryEtlReader.cs
in Source/Tx.Bond
108 4
30 4
26 4
59 4
Attributes.cs
in Source/Tx.Core
72 4
CsvObservable.cs
in Source/Tx.Core/Csv
109 4
TypeOccurenceAggregator.cs
in Source/Tx.Core/Internal
85 4
Files With Long Lines (Top 50)

There are 67 files with lines longer than 120 characters. In total, there are 920 long lines.

File# lines# units# long lines
man
IE_Client.man
in Manifests
1724 - 218
man
HTTP_Server.man
in Manifests
795 - 137
5594 - 118
1109 - 96
1406 - 76
Bond.xml
in References/DESKTOPCLR45
3083 - 49
man
asp.man
in Manifests
673 - 40
man
CSV.man
in Manifests
1806 - 27
532 - 18
731 - 13
Asn1EncoderExtensions.cs
in Source/Tx.Network/Snmp
327 16 13
SnmpEncodeDecoder.cs
in Source/Tx.Network/Snmp
145 2 10
TrapTypeMap.cs
in Source/Tx.Network/Snmp/Dynamic
184 6 7
EvtxObservable.cs
in Source/Tx.Windows.Logs
118 7 6
EtwObservable.cs
in Source/Tx.Windows/EtwNative
109 5 6
236 - 5
BinaryEventSource.cs
in Source/Tx.Bond
349 10 4
BinaryEtwObservable.cs
in Source/Tx.Bond
126 12 3
xaml
ConnectionDialog.xaml
in Source/Tx.LinqPad
71 - 3
VarBindExtensions.cs
in Source/Tx.Network/Snmp
49 3 3
EvtxEnumerable.cs
in Source/Tx.Windows.Logs
97 5 3
InternalsVisibleTo.cs
in Source/Tx.Windows.Logs
14 - 3
EtwFileReader.cs
in Source/Tx.Windows/EtwNative
210 9 3
InternalsVisibleTo.cs
in Source/Tx.Windows
14 - 3
Microsoft_IE.cs
in Generated
1295 - 2
Bond.Attributes.xml
in References/DESKTOPCLR45
112 - 2
BinaryEtwParser.cs
in Source/Tx.Bond/Internal
152 5 2
CompositeDeserializer.cs
in Source/Tx.Core
99 6 2
EnvelopeTypeMap.cs
in Source/Tx.Core/TypeMap
102 7 2
TxEventSource.cs
in Source/Tx.LinqPad
25 1 2
PcapNg.cs
in Source/Tx.Network/Pcap
250 9 2
Asn1DecoderExtensions.cs
in Source/Tx.Network/Snmp
250 10 2
BaseUdpReceiver.cs
in Source/Tx.Network/Udp
134 6 2
EvtxTypeMap.cs
in Source/Tx.Windows.Logs
92 2 2
ManifestParser.cs
in Source/Tx.Windows.TypeGeneration
649 21 2
EtwTypeMap.cs
in Source/Tx.Windows/EtwNative
211 3 2
EtwTdhEventInfo.cs
in Source/Tx.Windows/EtwTdh
373 11 2
targets
45 - 1
501 - 1
cmd
Build.cmd
in Source
15 - 1
Program.cs
in Source/EtwEventTypeGen
204 2 1
48 3 1
TypeExtensions.cs
in Source/Tx.Bond/Internal
40 1 1
134 6 1
TypeIdentifierHelpers.cs
in Source/Tx.Core
75 4 1
108 6 1
TxDataContextDriver.cs
in Source/Tx.LinqPad
313 12 1
TypeCache.cs
in Source/Tx.LinqPad
142 4 1
ExtensionMethods.cs
in Source/Tx.Network
67 7 1
InternalsVisibleTo.cs
in Source/Tx.Network
6 - 1