firecracker-microvm / firecracker-go-sdk
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 101 files with 10,255 lines of code.
    • 0 very long files (0 lines of code)
    • 3 long files (2,186 lines of code)
    • 4 medium size files (1,202 lines of codeclsfd_ftr_w_mp_ins)
    • 3 small files (462 lines of code)
    • 91 very small files (6,405 lines of code)
0% | 21% | 11% | 4% | 62%
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% | 14% | 12% | 4% | 67%
yaml0% | 99% | 0% | 0% | <1%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
client0% | 92% | 0% | 0% | 7%
ROOT0% | 33% | 50% | 0% | 16%
client/operations0% | 11% | 0% | 0% | 88%
fctesting0% | 0% | 0% | 75% | 24%
cni/internal0% | 0% | 0% | 53% | 46%
cni/vmconf0% | 0% | 0% | 100% | 0%
client/models0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
swagger.yaml
in client
814 -
machine.go
in root
799 53
operations_client.go
in client/operations
573 28
network.go
in root
329 12
handlers.go
in root
310 14
jailer.go
in root
289 24
firecracker.go
in root
274 26
firecracker_mock_client.go
in fctesting
181 25
netlink.go
in cni/internal
176 14
vmconf.go
in cni/vmconf
105 3
command_builder.go
in root
100 14
describe_balloon_config_responses.go
in client/operations
99 14
describe_balloon_stats_responses.go
in client/operations
99 14
get_mmds_responses.go
in client/operations
98 14
put_guest_drive_by_id_parameters.go
in client/operations
95 15
patch_guest_drive_by_id_parameters.go
in client/operations
95 15
put_guest_network_interface_by_id_parameters.go
in client/operations
95 15
patch_guest_network_interface_by_id_parameters.go
in client/operations
95 15
instance_info.go
in client/models
95 9
patch_balloon_stats_interval_responses.go
in client/operations
91 13
load_snapshot_responses.go
in client/operations
91 13
put_guest_boot_source_responses.go
in client/operations
91 13
patch_balloon_responses.go
in client/operations
91 13
patch_vm_responses.go
in client/operations
91 13
put_machine_configuration_responses.go
in client/operations
91 13
put_balloon_responses.go
in client/operations
91 13
put_guest_vsock_responses.go
in client/operations
91 13
create_snapshot_responses.go
in client/operations
91 13
patch_guest_network_interface_by_id_responses.go
in client/operations
91 13
put_guest_drive_by_id_responses.go
in client/operations
91 13
put_metrics_responses.go
in client/operations
91 13
patch_mmds_responses.go
in client/operations
91 13
put_mmds_config_responses.go
in client/operations
91 13
put_mmds_responses.go
in client/operations
91 13
patch_guest_drive_by_id_responses.go
in client/operations
91 13
put_guest_network_interface_by_id_responses.go
in client/operations
91 13
put_logger_responses.go
in client/operations
91 13
create_sync_action_responses.go
in client/operations
91 13
patch_machine_configuration_responses.go
in client/operations
91 13
drive.go
in client/models
89 8
network_interface.go
in client/models
88 7
snapshot_create_params.go
in client/models
85 8
mocks.go
in cni/internal
85 11
put_metrics_parameters.go
in client/operations
84 13
put_machine_configuration_parameters.go
in client/operations
84 13
patch_balloon_parameters.go
in client/operations
84 13
put_guest_boot_source_parameters.go
in client/operations
84 13
patch_vm_parameters.go
in client/operations
84 13
put_guest_vsock_parameters.go
in client/operations
84 13
put_mmds_config_parameters.go
in client/operations
84 13
Files With Most Units (Top 20)
File# lines# units
machine.go
in root
799 53
operations_client.go
in client/operations
573 28
firecracker.go
in root
274 26
firecracker_mock_client.go
in fctesting
181 25
jailer.go
in root
289 24
put_guest_drive_by_id_parameters.go
in client/operations
95 15
patch_guest_drive_by_id_parameters.go
in client/operations
95 15
put_guest_network_interface_by_id_parameters.go
in client/operations
95 15
patch_guest_network_interface_by_id_parameters.go
in client/operations
95 15
handlers.go
in root
310 14
command_builder.go
in root
100 14
get_mmds_responses.go
in client/operations
98 14
describe_balloon_config_responses.go
in client/operations
99 14
describe_balloon_stats_responses.go
in client/operations
99 14
netlink.go
in cni/internal
176 14
put_metrics_parameters.go
in client/operations
84 13
patch_balloon_stats_interval_responses.go
in client/operations
91 13
load_snapshot_responses.go
in client/operations
91 13
put_guest_boot_source_responses.go
in client/operations
91 13
patch_balloon_responses.go
in client/operations
91 13
Files With Long Lines (Top 20)

There are 36 files with lines longer than 120 characters. In total, there are 163 long lines.

File# lines# units# long lines
firecracker_mock_client.go
in fctesting
181 25 17
firecracker.go
in root
274 26 15
machine.go
in root
799 53 7
operations_client.go
in client/operations
573 28 7
patch_guest_network_interface_by_id_responses.go
in client/operations
91 13 6
put_guest_network_interface_by_id_responses.go
in client/operations
91 13 6
patch_balloon_stats_interval_responses.go
in client/operations
91 13 5
load_snapshot_responses.go
in client/operations
91 13 4
put_guest_boot_source_responses.go
in client/operations
91 13 4
patch_balloon_responses.go
in client/operations
91 13 4
put_machine_configuration_responses.go
in client/operations
91 13 4
put_balloon_responses.go
in client/operations
91 13 4
put_guest_vsock_responses.go
in client/operations
91 13 4
create_snapshot_responses.go
in client/operations
91 13 4
put_guest_drive_by_id_responses.go
in client/operations
91 13 4
put_metrics_responses.go
in client/operations
91 13 4
describe_balloon_config_responses.go
in client/operations
99 14 4
patch_mmds_responses.go
in client/operations
91 13 4
describe_balloon_stats_responses.go
in client/operations
99 14 4
put_mmds_config_responses.go
in client/operations
91 13 4