microsoft / MSRSec
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 48 files with 7,779 lines of code.
    • 1 very long files (1,074 lines of code)
    • 5 long files (3,233 lines of code)
    • 5 medium size files (1,463 lines of codeclsfd_ftr_w_mp_ins)
    • 5 small files (786 lines of code)
    • 32 very small files (1,223 lines of code)
13% | 41% | 18% | 10% | 15%
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
c20% | 47% | 15% | 6% | 9%
h0% | 30% | 25% | 18% | 25%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
TAs/optee_ta/AuthVars/src44% | 55% | 0% | 0% | 0%
TAs/optee_ta/fTPM/reference/include0% | 58% | 25% | 0% | 16%
TAs/optee_ta/AuthVars/src/ossl0% | 95% | 0% | 0% | 4%
TAs/optee_ta/AuthVars/src/wolf0% | 78% | 0% | 0% | 21%
TAs/optee_ta/fTPM/platform0% | 0% | 54% | 12% | 33%
TAs/optee_ta/AuthVars/src/include0% | 0% | 47% | 22% | 30%
TAs/optee_ta/fTPM0% | 0% | 95% | 0% | 4%
TAs/optee_ta/fTPM/platform/include0% | 0% | 0% | 82% | 17%
TAs/optee_ta/AuthVars0% | 0% | 0% | 88% | 11%
ROOT0% | 0% | 0% | 0% | 100%
TAs/optee_ta/fTPM/reference0% | 0% | 0% | 0% | 100%
TAs/optee_ta/fTPM/include0% | 0% | 0% | 0% | 100%
Longest Files (Top 48)
File# lines# units
varmgmt.c
in TAs/optee_ta/AuthVars/src
1074 -
TpmProfile.h
in TAs/optee_ta/fTPM/reference/include
739 -
varauth.c
in TAs/optee_ta/AuthVars/src
736 -
VarAuthOSSL.c
in TAs/optee_ta/AuthVars/src/ossl
653 -
varops.c
in TAs/optee_ta/AuthVars/src
591 -
VarAuthWolf.c
in TAs/optee_ta/AuthVars/src/wolf
514 -
NVMem.c
in TAs/optee_ta/fTPM/platform
324 -
TpmAlgorithmDefines.h
in TAs/optee_ta/fTPM/reference/include
316 -
ntdefs.h
in TAs/optee_ta/AuthVars/src/include
303 -
AdminPPI.c
in TAs/optee_ta/fTPM/platform
289 -
fTPM.c
in TAs/optee_ta/fTPM
231 10
AuthVars.c
in TAs/optee_ta/AuthVars
199 9
Platform_fp.h
in TAs/optee_ta/fTPM/platform/include
182 -
varops.h
in TAs/optee_ta/AuthVars/src/include
143 -
Clock.c
in TAs/optee_ta/fTPM/platform
140 -
Admin.h
in TAs/optee_ta/fTPM/platform/include
122 -
varmgmt.h
in TAs/optee_ta/AuthVars/src/include
84 -
RuntimeSupport.h
in TAs/optee_ta/fTPM/reference/include
83 -
azure-pipelines.yml
in root
83 -
RuntimeSupport.c
in TAs/optee_ta/AuthVars/src/wolf
71 4
user_settings.h
in TAs/optee_ta/AuthVars/src/wolf
70 -
NvAdmin.c
in TAs/optee_ta/fTPM/platform
62 -
TpmSal.h
in TAs/optee_ta/fTPM/reference/include
62 -
varauth.h
in TAs/optee_ta/AuthVars/src/include
60 -
uefidefs.h
in TAs/optee_ta/AuthVars/src/include
54 -
Entropy.c
in TAs/optee_ta/fTPM/platform
51 -
EPS.c
in TAs/optee_ta/fTPM/platform
50 -
RuntimeSupport.c
in TAs/optee_ta/fTPM/reference
49 4
Unique.c
in TAs/optee_ta/fTPM/platform
44 -
PlatformData.h
in TAs/optee_ta/fTPM/platform/include
40 -
PowerPlat.c
in TAs/optee_ta/fTPM/platform
38 -
fTPM.h
in TAs/optee_ta/fTPM/include
37 -
RunCommand.c
in TAs/optee_ta/fTPM/platform
31 -
RuntimeSupport.c
in TAs/optee_ta/AuthVars/src/ossl
25 1
Cancel.c
in TAs/optee_ta/fTPM/platform
24 -
PPPlat.c
in TAs/optee_ta/fTPM/platform
24 -
LibSupport.h
in TAs/optee_ta/fTPM/reference/include
23 -
VendorString.h
in TAs/optee_ta/fTPM/reference/include
22 -
DebugHelpers.c
in TAs/optee_ta/fTPM/platform
21 -
LocalityPlat.c
in TAs/optee_ta/fTPM/platform
18 -
PlatformData.c
in TAs/optee_ta/fTPM/platform
18 -
AuthVars.h
in TAs/optee_ta/AuthVars
15 -
Tpm.h
in TAs/optee_ta/fTPM/reference/include
13 -
user_ta_header_defines.h
in TAs/optee_ta/AuthVars
12 -
NvMemoryLayout.h
in TAs/optee_ta/fTPM/platform/include
12 -
user_ta_header_defines.h
in TAs/optee_ta/fTPM
12 -
Platform.h
in TAs/optee_ta/fTPM/platform/include
11 -
RuntimeSupport.h
in TAs/optee_ta/AuthVars/src/ossl
4 -
Files With Most Units (Top 5)
File# lines# units
fTPM.c
in TAs/optee_ta/fTPM
231 10
AuthVars.c
in TAs/optee_ta/AuthVars
199 9
RuntimeSupport.c
in TAs/optee_ta/AuthVars/src/wolf
71 4
RuntimeSupport.c
in TAs/optee_ta/fTPM/reference
49 4
RuntimeSupport.c
in TAs/optee_ta/AuthVars/src/ossl
25 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 7 long lines.

File# lines# units# long lines
azure-pipelines.yml
in root
83 - 7