google / go-attestation
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 31 files with 6,299 lines of code.
    • 0 very long files (0 lines of code)
    • 4 long files (2,445 lines of code)
    • 6 medium size files (2,136 lines of codeclsfd_ftr_w_mp_ins)
    • 7 small files (1,087 lines of code)
    • 14 very small files (631 lines of code)
0% | 38% | 33% | 17% | 10%
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
go0% | 38% | 33% | 17% | 10%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
attest0% | 39% | 31% | 20% | 8%
attributecert0% | 100% | 0% | 0% | 0%
attest/internal0% | 0% | 100% | 0% | 0%
attest/attest-tool0% | 0% | 100% | 0% | 0%
attest/attest-tool/internal/eventlog0% | 0% | 0% | 66% | 33%
ci0% | 0% | 0% | 0% | 100%
oid0% | 0% | 0% | 0% | 100%
attest/attest-tool/internal0% | 0% | 0% | 0% | 100%
Longest Files (Top 31)
File# lines# units
win_events.go
in attest
640 18
attributecert.go
in attributecert
638 5
eventlog.go
in attest
616 19
pcp_windows.go
in attest
551 19
wrapped_tpm20.go
in attest
472 30
events.go
in attest/internal
425 14
tpm.go
in attest
338 19
tpm_windows.go
in attest
337 19
attest-tool.go
in attest/attest-tool
291 8
attest.go
in attest
273 15
secureboot.go
in attest
196 1
activation.go
in attest
190 6
key_windows.go
in attest
173 14
secureboot.go
in attest/attest-tool/internal/eventlog
172 6
tpm12_linux.go
in attest
128 16
certification.go
in attest
118 2
challenge.go
in attest
110 5
gen_ekcert.go
in ci
87 3
eventlog.go
in attest/attest-tool/internal/eventlog
86 2
tpm_linux.go
in attest
84 4
application_key.go
in attest
75 8
key_linux.go
in attest
65 7
eventlog_workarounds.go
in attest
63 3
oid.go
in oid
33 -
storage.go
in attest
29 2
vendors.go
in attest
28 1
internal.go
in attest/attest-tool/internal
23 -
attest_fuzz.go
in attest
22 3
tpm_fake.go
in attest
17 1
tpm_other.go
in attest
11 2
eventlog_fuzz.go
in attest
8 1
Files With Most Units (Top 20)
File# lines# units
wrapped_tpm20.go
in attest
472 30
eventlog.go
in attest
616 19
pcp_windows.go
in attest
551 19
tpm.go
in attest
338 19
tpm_windows.go
in attest
337 19
win_events.go
in attest
640 18
tpm12_linux.go
in attest
128 16
attest.go
in attest
273 15
events.go
in attest/internal
425 14
key_windows.go
in attest
173 14
application_key.go
in attest
75 8
attest-tool.go
in attest/attest-tool
291 8
key_linux.go
in attest
65 7
activation.go
in attest
190 6
secureboot.go
in attest/attest-tool/internal/eventlog
172 6
challenge.go
in attest
110 5
attributecert.go
in attributecert
638 5
tpm_linux.go
in attest
84 4
attest_fuzz.go
in attest
22 3
eventlog_workarounds.go
in attest
63 3
Files With Long Lines (Top 11)

There are 11 files with lines longer than 120 characters. In total, there are 58 long lines.

File# lines# units# long lines
events.go
in attest/internal
425 14 17
pcp_windows.go
in attest
551 19 15
wrapped_tpm20.go
in attest
472 30 7
secureboot.go
in attest
196 1 6
eventlog.go
in attest
616 19 3
activation.go
in attest
190 6 2
certification.go
in attest
118 2 2
tpm_windows.go
in attest
337 19 2
attributecert.go
in attributecert
638 5 2
challenge.go
in attest
110 5 1
tpm.go
in attest
338 19 1