aws / aws-nitro-enclaves-cli
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 52 files with 16,528 lines of code.
    • 2 very long files (6,126 lines of code)
    • 5 long files (3,811 lines of code)
    • 16 medium size files (4,708 lines of codeclsfd_ftr_w_mp_ins)
    • 8 small files (1,238 lines of code)
    • 21 very small files (645 lines of code)
37% | 23% | 28% | 7% | 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
html100% | 0% | 0% | 0% | 0%
c77% | 0% | 22% | 0% | 0%
rs0% | 41% | 43% | 12% | 2%
spec0% | 0% | 92% | 0% | 7%
h0% | 0% | 0% | 53% | 46%
toml0% | 0% | 0% | 0% | 100%
hbs0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
yml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT96% | 0% | 0% | 0% | 3%
drivers67% | 0% | 20% | 7% | 5%
src0% | 46% | 42% | 10% | <1%
eif_utils0% | 97% | 0% | 0% | 2%
enclave_build0% | 0% | 73% | 17% | 9%
eif_defs0% | 0% | 97% | 0% | 2%
SOURCES0% | 0% | 100% | 0% | 0%
SPECS0% | 0% | 100% | 0% | 0%
vsock_proxy0% | 0% | 0% | 80% | 19%
eif_loader0% | 0% | 0% | 0% | 100%
include0% | 0% | 0% | 0% | 100%
bootstrap0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
THIRD_PARTY_LICENSES_RUST_CRATES.html
in root
5030 -
ne_misc_dev.c
in drivers/virt/nitro_enclaves
1096 35
commands_parser.rs
in src/common
956 40
resource_manager.rs
in src/enclave_proc
923 29
lib.rs
in eif_utils/src
727 14
lib.rs
in src
674 2
document_errors.rs
in src/common
531 -
connection_listener.rs
in src/enclave_proc
479 10
mod.rs
in src/enclave_proc
465 12
docker.rs
in enclave_build/src
362 4
ne_pci_dev.c
in drivers/virt/nitro_enclaves
326 14
enclave_proc_comm.rs
in src
322 1
lib.rs
in eif_defs/src
299 8
cpu_info.rs
in src/enclave_proc
290 11
main.rs
in src
290 1
eif_hasher.rs
in eif_defs/src
261 14
connection.rs
in src/enclave_proc
255 5
socket.rs
in src/enclave_proc
247 8
logger.rs
in src/common
246 10
utils.rs
in src
232 2
yaml_generator.rs
in enclave_build/src
212 1
spec
aws-nitro-enclaves-cli.spec
in SOURCES
211 -
spec
aws-nitro-enclaves-cli.spec
in SPECS
211 -
starter.rs
in vsock_proxy/src
200 2
utils.rs
in src/enclave_proc
182 6
mod.rs
in src/common
177 1
commands.rs
in src/enclave_proc
176 -
json_output.rs
in src/common
150 -
main.rs
in enclave_build/src
132 1
ne_pci_dev.h
in drivers/virt/nitro_enclaves
119 -
main.rs
in vsock_proxy/src
102 1
signal_handler.rs
in src/common
66 -
hbs
about.hbs
in root
65 -
build.rs
in root
62 2
ne_misc_dev.h
in drivers/virt/nitro_enclaves
52 -
vsock-proxy.yaml
in vsock_proxy/configs
51 -
nitro_enclaves.h
in include/uapi/linux
49 -
lib.rs
in enclave_build/src
49 -
lib.rs
in eif_loader/src
47 -
Cargo.toml
in root
40 -
spec
nitro-enclaves-dkms.spec
in drivers/virt/nitro_enclaves
33 -
Cargo.toml
in enclave_build
21 -
Cargo.toml
in vsock_proxy
19 -
Cargo.toml
in eif_loader
18 -
buildspec.yml
in root
18 -
Cargo.toml
in eif_utils
15 -
about.toml
in root
13 -
Cargo.toml
in eif_defs
13 -
appspec.yml
in root
6 -
nitro_enclaves.h
in include/linux
4 -
Files With Most Units (Top 20)
File# lines# units
commands_parser.rs
in src/common
956 40
ne_misc_dev.c
in drivers/virt/nitro_enclaves
1096 35
resource_manager.rs
in src/enclave_proc
923 29
lib.rs
in eif_utils/src
727 14
ne_pci_dev.c
in drivers/virt/nitro_enclaves
326 14
eif_hasher.rs
in eif_defs/src
261 14
mod.rs
in src/enclave_proc
465 12
cpu_info.rs
in src/enclave_proc
290 11
connection_listener.rs
in src/enclave_proc
479 10
logger.rs
in src/common
246 10
socket.rs
in src/enclave_proc
247 8
lib.rs
in eif_defs/src
299 8
utils.rs
in src/enclave_proc
182 6
connection.rs
in src/enclave_proc
255 5
docker.rs
in enclave_build/src
362 4
utils.rs
in src
232 2
lib.rs
in src
674 2
build.rs
in root
62 2
starter.rs
in vsock_proxy/src
200 2
mod.rs
in src/common
177 1
Files With Long Lines (Top 5)

There are 5 files with lines longer than 120 characters. In total, there are 130 long lines.

File# lines# units# long lines
document_errors.rs
in src/common
531 - 101
THIRD_PARTY_LICENSES_RUST_CRATES.html
in root
5030 - 26
lib.rs
in src
674 2 1
main.rs
in src
290 1 1
hbs
about.hbs
in root
65 - 1