microsoft / TPM-2.0-Parser
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 36 files with 26,342 lines of code.
    • 3 very long files (19,230 lines of code)
    • 3 long files (2,643 lines of code)
    • 9 medium size files (2,931 lines of codeclsfd_ftr_w_mp_ins)
    • 4 small files (685 lines of code)
    • 17 very small files (853 lines of code)
73% | 10% | 11% | 2% | 3%
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
cs75% | 10% | 8% | 2% | 2%
xaml0% | 0% | 72% | 0% | 27%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
TPM Parser/Tpm2Lib79% | 10% | 8% | <1% | <1%
TPM Parser0% | 0% | 93% | 0% | 6%
TPM Parser/Controls0% | 0% | 0% | 87% | 12%
TPM Parser/Views0% | 0% | 0% | 0% | 100%
TPM Parser/Properties0% | 0% | 0% | 0% | 100%
Longest Files (Top 36)
File# lines# units
X_TpmDefs.cs
in TPM Parser/Tpm2Lib
17158 1144
Globs.cs
in TPM Parser/Tpm2Lib
1071 65
Tpm2.cs
in TPM Parser/Tpm2Lib
1001 23
CryptoAsym.cs
in TPM Parser/Tpm2Lib
920 25
TpmCustomDefs.cs
in TPM Parser/Tpm2Lib
917 88
PolicyAces.cs
in TPM Parser/Tpm2Lib
806 81
CryptoLib.cs
in TPM Parser/Tpm2Lib
467 9
xaml
AppShell.xaml
in TPM Parser
460 -
Marshaller.cs
in TPM Parser/Tpm2Lib
362 26
TpmKey.cs
in TPM Parser/Tpm2Lib
303 11
TpmBaseClasses.cs
in TPM Parser/Tpm2Lib
289 12
xaml
App.xaml
in TPM Parser
283 -
SupportClasses.cs
in TPM Parser/Tpm2Lib
274 15
Sessions.cs
in TPM Parser/Tpm2Lib
257 20
AppShell.xaml.cs
in TPM Parser
236 15
NavMenuListView.cs
in TPM Parser/Controls
190 8
NavigationHelper.cs
in TPM Parser/Controls
177 12
SuspensionManager.cs
in TPM Parser/Controls
159 9
CryptoSymm.cs
in TPM Parser/Tpm2Lib
159 6
MarshallingAttributes.cs
in TPM Parser/Tpm2Lib
99 6
Output.xaml.cs
in TPM Parser/Views
96 9
Input.xaml.cs
in TPM Parser/Views
79 7
xaml
LandingPage.xaml
in TPM Parser/Views
78 -
App.xaml.cs
in TPM Parser
72 4
xaml
Output.xaml
in TPM Parser/Views
64 -
xaml
Input.xaml
in TPM Parser/Views
60 -
xaml
SettingsPage.xaml
in TPM Parser/Views
56 -
Tpm2Helpers.cs
in TPM Parser/Tpm2Lib
44 6
KeyWrapping.cs
in TPM Parser/Tpm2Lib
37 1
SettingsPage.xaml.cs
in TPM Parser/Views
30 2
PageHeader.xaml.cs
in TPM Parser/Controls
29 2
CustomExceptions.cs
in TPM Parser/Tpm2Lib
29 3
xaml
PageHeader.xaml
in TPM Parser/Controls
27 -
NavMenuItem.cs
in TPM Parser/Controls
19 -
LandingPage.xaml.cs
in TPM Parser/Views
19 2
AssemblyInfo.cs
in TPM Parser/Properties
15 -
Files With Most Units (Top 20)
File# lines# units
X_TpmDefs.cs
in TPM Parser/Tpm2Lib
17158 1144
TpmCustomDefs.cs
in TPM Parser/Tpm2Lib
917 88
PolicyAces.cs
in TPM Parser/Tpm2Lib
806 81
Globs.cs
in TPM Parser/Tpm2Lib
1071 65
Marshaller.cs
in TPM Parser/Tpm2Lib
362 26
CryptoAsym.cs
in TPM Parser/Tpm2Lib
920 25
Tpm2.cs
in TPM Parser/Tpm2Lib
1001 23
Sessions.cs
in TPM Parser/Tpm2Lib
257 20
AppShell.xaml.cs
in TPM Parser
236 15
SupportClasses.cs
in TPM Parser/Tpm2Lib
274 15
NavigationHelper.cs
in TPM Parser/Controls
177 12
TpmBaseClasses.cs
in TPM Parser/Tpm2Lib
289 12
TpmKey.cs
in TPM Parser/Tpm2Lib
303 11
SuspensionManager.cs
in TPM Parser/Controls
159 9
CryptoLib.cs
in TPM Parser/Tpm2Lib
467 9
Output.xaml.cs
in TPM Parser/Views
96 9
NavMenuListView.cs
in TPM Parser/Controls
190 8
Input.xaml.cs
in TPM Parser/Views
79 7
CryptoSymm.cs
in TPM Parser/Tpm2Lib
159 6
MarshallingAttributes.cs
in TPM Parser/Tpm2Lib
99 6
Files With Long Lines (Top 20)

There are 23 files with lines longer than 120 characters. In total, there are 539 long lines.

File# lines# units# long lines
X_TpmDefs.cs
in TPM Parser/Tpm2Lib
17158 1144 370
xaml
AppShell.xaml
in TPM Parser
460 - 57
xaml
App.xaml
in TPM Parser
283 - 35
CryptoAsym.cs
in TPM Parser/Tpm2Lib
920 25 15
xaml
LandingPage.xaml
in TPM Parser/Views
78 - 10
SuspensionManager.cs
in TPM Parser/Controls
159 9 8
AppShell.xaml.cs
in TPM Parser
236 15 6
CryptoSymm.cs
in TPM Parser/Tpm2Lib
159 6 5
xaml
Output.xaml
in TPM Parser/Views
64 - 5
PolicyAces.cs
in TPM Parser/Tpm2Lib
806 81 4
Sessions.cs
in TPM Parser/Tpm2Lib
257 20 4
TpmKey.cs
in TPM Parser/Tpm2Lib
303 11 4
xaml
Input.xaml
in TPM Parser/Views
60 - 3
App.xaml.cs
in TPM Parser
72 4 2
CryptoLib.cs
in TPM Parser/Tpm2Lib
467 9 2
Tpm2.cs
in TPM Parser/Tpm2Lib
1001 23 2
NavMenuListView.cs
in TPM Parser/Controls
190 8 1
NavigationHelper.cs
in TPM Parser/Controls
177 12 1
PageHeader.xaml.cs
in TPM Parser/Controls
29 2 1
SupportClasses.cs
in TPM Parser/Tpm2Lib
274 15 1