aws / aws-network-policy-agent
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
0% | 30% | 41% | 10% | 16%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
go0% | 40% | 29% | 13% | 17%
c0% | 0% | 91% | 0% | 8%
py0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pkg0% | 24% | 55% | 6% | 13%
controllers0% | 100% | 0% | 0% | 0%
api0% | 0% | 0% | 74% | 25%
ROOT0% | 0% | 0% | 100% | 0%
cmd0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Longest Files (Top 37)
File# lines# units
bpf_client.go
in pkg/ebpf
976 31
619 27
utils.go
in pkg/utils
370 36
show.go
in pkg/clihelper
303 5
conntrack_client.go
in pkg/ebpf/conntrack
286 5
tc.v4egress.bpf.c
in pkg/ebpf/c
248 4
tc.v4ingress.bpf.c
in pkg/ebpf/c
248 4
tc.v6ingress.bpf.c
in pkg/ebpf/c
247 4
tc.v6egress.bpf.c
in pkg/ebpf/c
245 4
events.go
in pkg/ebpf/events
210 7
177 18
rpc_handler.go
in pkg/rpc
145 3
main.go
in root
108 4
cloud.go
in pkg/aws
106 7
78 3
logger.go
in pkg/logger
75 6
cli-all.go
in cmd/cliv6/cli-selector-v6
70 1
cli-all.go
in cmd/cli/cli-selector
70 1
cp.go
in pkg/utils/cp
69 3
runtime_config.go
in pkg/config
60 3
56 2
51 1
v6events.bpf.c
in pkg/ebpf/c
47 2
v4events.bpf.c
in pkg/ebpf/c
47 2
metrics.go
in pkg/metrics
45 3
client_wrapper.go
in pkg/rpcclient
35 4
imds.go
in pkg/utils/imds
23 1
helper.h
in pkg/ebpf/c
18 -
cli.go
in cmd/cliv6/cli-selector-v6
18 2
cli.go
in cmd/cli/cli-selector
18 2
ec2_metadata.go
in pkg/aws/services
17 1
cloudwatchlogs.go
in pkg/aws/services
17 1
cloud_config.go
in pkg/aws
17 1
main.go
in cmd/cliv6
12 1
main.go
in cmd/cli
12 1
groupversion_info.go
in api/v1alpha1
10 -
version.go
in pkg/version
6 -
Files With Most Units (Top 34)
File# lines# units
utils.go
in pkg/utils
370 36
bpf_client.go
in pkg/ebpf
976 31
619 27
177 18
cloud.go
in pkg/aws
106 7
events.go
in pkg/ebpf/events
210 7
logger.go
in pkg/logger
75 6
show.go
in pkg/clihelper
303 5
conntrack_client.go
in pkg/ebpf/conntrack
286 5
client_wrapper.go
in pkg/rpcclient
35 4
tc.v4egress.bpf.c
in pkg/ebpf/c
248 4
tc.v4ingress.bpf.c
in pkg/ebpf/c
248 4
tc.v6egress.bpf.c
in pkg/ebpf/c
245 4
tc.v6ingress.bpf.c
in pkg/ebpf/c
247 4
main.go
in root
108 4
78 3
metrics.go
in pkg/metrics
45 3
cp.go
in pkg/utils/cp
69 3
runtime_config.go
in pkg/config
60 3
rpc_handler.go
in pkg/rpc
145 3
56 2
v6events.bpf.c
in pkg/ebpf/c
47 2
v4events.bpf.c
in pkg/ebpf/c
47 2
cli.go
in cmd/cliv6/cli-selector-v6
18 2
cli.go
in cmd/cli/cli-selector
18 2
51 1
imds.go
in pkg/utils/imds
23 1
ec2_metadata.go
in pkg/aws/services
17 1
cloudwatchlogs.go
in pkg/aws/services
17 1
cloud_config.go
in pkg/aws
17 1
main.go
in cmd/cliv6
12 1
cli-all.go
in cmd/cliv6/cli-selector-v6
70 1
cli-all.go
in cmd/cli/cli-selector
70 1
main.go
in cmd/cli
12 1
Files With Long Lines (Top 16)

There are 16 files with lines longer than 120 characters. In total, there are 123 long lines.

File# lines# units# long lines
619 27 25
bpf_client.go
in pkg/ebpf
976 31 21
show.go
in pkg/clihelper
303 5 18
rpc_handler.go
in pkg/rpc
145 3 7
tc.v4egress.bpf.c
in pkg/ebpf/c
248 4 7
tc.v4ingress.bpf.c
in pkg/ebpf/c
248 4 7
tc.v6egress.bpf.c
in pkg/ebpf/c
245 4 7
tc.v6ingress.bpf.c
in pkg/ebpf/c
247 4 7
conntrack_client.go
in pkg/ebpf/conntrack
286 5 6
78 3 4
56 2 3
cloud.go
in pkg/aws
106 7 3
events.go
in pkg/ebpf/events
210 7 3
utils.go
in pkg/utils
370 36 2
main.go
in root
108 4 2
runtime_config.go
in pkg/config
60 3 1
Correlations

File Size vs. Commits (all time): 37 points

main.go x: 25 commits (all time) y: 108 lines of code pkg/ebpf/bpf_client.go x: 66 commits (all time) y: 976 lines of code pkg/rpc/rpc_handler.go x: 17 commits (all time) y: 145 lines of code pkg/utils/utils.go x: 30 commits (all time) y: 370 lines of code controllers/policyendpoints_controller.go x: 48 commits (all time) y: 619 lines of code pkg/clihelper/show.go x: 12 commits (all time) y: 303 lines of code pkg/config/controller_config.go x: 9 commits (all time) y: 56 lines of code pkg/ebpf/c/tc.v4egress.bpf.c x: 5 commits (all time) y: 248 lines of code pkg/ebpf/c/tc.v6egress.bpf.c x: 5 commits (all time) y: 245 lines of code pkg/ebpf/c/v4events.bpf.c x: 5 commits (all time) y: 47 lines of code pkg/ebpf/c/v6events.bpf.c x: 6 commits (all time) y: 47 lines of code pkg/ebpf/events/events.go x: 15 commits (all time) y: 210 lines of code pkg/rpcclient/client_wrapper.go x: 2 commits (all time) y: 35 lines of code api/v1alpha1/zz_generated.deepcopy.go x: 11 commits (all time) y: 177 lines of code pkg/ebpf/conntrack/conntrack_client.go x: 12 commits (all time) y: 286 lines of code pkg/logger/logger.go x: 5 commits (all time) y: 75 lines of code pkg/metrics/metrics.go x: 5 commits (all time) y: 45 lines of code scripts/lib/verify_test_results.py x: 13 commits (all time) y: 78 lines of code pkg/utils/cp/cp.go x: 2 commits (all time) y: 69 lines of code pkg/config/runtime_config.go x: 5 commits (all time) y: 60 lines of code pkg/aws/cloud.go x: 4 commits (all time) y: 106 lines of code cmd/cli/cli-selector/cli-all.go x: 2 commits (all time) y: 70 lines of code cmd/cli/main.go x: 2 commits (all time) y: 12 lines of code pkg/aws/cloud_config.go x: 2 commits (all time) y: 17 lines of code api/v1alpha1/policyendpoints_types.go x: 2 commits (all time) y: 51 lines of code cmd/cli/cli-selector/cli.go x: 1 commits (all time) y: 18 lines of code pkg/utils/imds/imds.go x: 1 commits (all time) y: 23 lines of code pkg/version/version.go x: 1 commits (all time) y: 6 lines of code api/v1alpha1/groupversion_info.go x: 1 commits (all time) y: 10 lines of code
976.0
lines of code
  min: 6.0
  average: 139.43
  25th percentile: 18.0
  median: 69.0
  75th percentile: 227.5
  max: 976.0
0 66.0
commits (all time)
min: 1.0 | average: 9.0 | 25th percentile: 2.0 | median: 5.0 | 75th percentile: 11.5 | max: 66.0

File Size vs. Contributors (all time): 37 points

main.go x: 11 contributors (all time) y: 108 lines of code pkg/ebpf/bpf_client.go x: 13 contributors (all time) y: 976 lines of code pkg/rpc/rpc_handler.go x: 10 contributors (all time) y: 145 lines of code pkg/utils/utils.go x: 8 contributors (all time) y: 370 lines of code controllers/policyendpoints_controller.go x: 15 contributors (all time) y: 619 lines of code pkg/clihelper/show.go x: 4 contributors (all time) y: 303 lines of code pkg/config/controller_config.go x: 5 contributors (all time) y: 56 lines of code pkg/ebpf/c/tc.v4egress.bpf.c x: 4 contributors (all time) y: 248 lines of code pkg/ebpf/c/tc.v6egress.bpf.c x: 4 contributors (all time) y: 245 lines of code pkg/ebpf/c/v4events.bpf.c x: 4 contributors (all time) y: 47 lines of code pkg/ebpf/events/events.go x: 6 contributors (all time) y: 210 lines of code pkg/rpcclient/client_wrapper.go x: 2 contributors (all time) y: 35 lines of code api/v1alpha1/zz_generated.deepcopy.go x: 6 contributors (all time) y: 177 lines of code pkg/ebpf/conntrack/conntrack_client.go x: 5 contributors (all time) y: 286 lines of code pkg/logger/logger.go x: 5 contributors (all time) y: 75 lines of code pkg/metrics/metrics.go x: 5 contributors (all time) y: 45 lines of code scripts/lib/verify_test_results.py x: 4 contributors (all time) y: 78 lines of code pkg/utils/cp/cp.go x: 2 contributors (all time) y: 69 lines of code pkg/config/runtime_config.go x: 4 contributors (all time) y: 60 lines of code pkg/aws/cloud.go x: 2 contributors (all time) y: 106 lines of code cmd/cli/cli-selector/cli-all.go x: 1 contributors (all time) y: 70 lines of code cmd/cli/main.go x: 1 contributors (all time) y: 12 lines of code pkg/aws/cloud_config.go x: 2 contributors (all time) y: 17 lines of code api/v1alpha1/policyendpoints_types.go x: 1 contributors (all time) y: 51 lines of code cmd/cli/cli-selector/cli.go x: 1 contributors (all time) y: 18 lines of code pkg/utils/imds/imds.go x: 1 contributors (all time) y: 23 lines of code pkg/version/version.go x: 1 contributors (all time) y: 6 lines of code api/v1alpha1/groupversion_info.go x: 1 contributors (all time) y: 10 lines of code
976.0
lines of code
  min: 6.0
  average: 139.43
  25th percentile: 18.0
  median: 69.0
  75th percentile: 227.5
  max: 976.0
0 15.0
contributors (all time)
min: 1.0 | average: 3.97 | 25th percentile: 1.0 | median: 4.0 | 75th percentile: 5.0 | max: 15.0

File Size vs. Commits (30 days): 4 points

main.go x: 2 commits (30d) y: 108 lines of code pkg/ebpf/bpf_client.go x: 2 commits (30d) y: 976 lines of code pkg/rpc/rpc_handler.go x: 3 commits (30d) y: 145 lines of code pkg/utils/utils.go x: 2 commits (30d) y: 370 lines of code
976.0
lines of code
  min: 108.0
  average: 399.75
  25th percentile: 117.25
  median: 257.5
  75th percentile: 824.5
  max: 976.0
0 3.0
commits (30d)
min: 2.0 | average: 2.25 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.75 | max: 3.0

File Size vs. Contributors (30 days): 4 points

main.go x: 2 contributors (30d) y: 108 lines of code pkg/ebpf/bpf_client.go x: 2 contributors (30d) y: 976 lines of code pkg/rpc/rpc_handler.go x: 2 contributors (30d) y: 145 lines of code pkg/utils/utils.go x: 2 contributors (30d) y: 370 lines of code
976.0
lines of code
  min: 108.0
  average: 399.75
  25th percentile: 117.25
  median: 257.5
  75th percentile: 824.5
  max: 976.0
0 2.0
contributors (30d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Commits (90 days): 15 points

main.go x: 9 commits (90d) y: 108 lines of code pkg/ebpf/bpf_client.go x: 9 commits (90d) y: 976 lines of code pkg/rpc/rpc_handler.go x: 7 commits (90d) y: 145 lines of code pkg/utils/utils.go x: 6 commits (90d) y: 370 lines of code controllers/policyendpoints_controller.go x: 7 commits (90d) y: 619 lines of code pkg/clihelper/show.go x: 2 commits (90d) y: 303 lines of code pkg/config/controller_config.go x: 2 commits (90d) y: 56 lines of code pkg/ebpf/c/tc.v4egress.bpf.c x: 2 commits (90d) y: 248 lines of code pkg/ebpf/c/tc.v6egress.bpf.c x: 2 commits (90d) y: 245 lines of code pkg/ebpf/c/v4events.bpf.c x: 2 commits (90d) y: 47 lines of code pkg/ebpf/events/events.go x: 3 commits (90d) y: 210 lines of code pkg/rpcclient/client_wrapper.go x: 2 commits (90d) y: 35 lines of code
976.0
lines of code
  min: 35.0
  average: 260.27
  25th percentile: 56.0
  median: 245.0
  75th percentile: 303.0
  max: 976.0
0 9.0
commits (90d)
min: 2.0 | average: 3.93 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 7.0 | max: 9.0

File Size vs. Contributors (90 days): 15 points

main.go x: 4 contributors (90d) y: 108 lines of code pkg/ebpf/bpf_client.go x: 4 contributors (90d) y: 976 lines of code pkg/rpc/rpc_handler.go x: 4 contributors (90d) y: 145 lines of code pkg/utils/utils.go x: 4 contributors (90d) y: 370 lines of code controllers/policyendpoints_controller.go x: 4 contributors (90d) y: 619 lines of code pkg/clihelper/show.go x: 2 contributors (90d) y: 303 lines of code pkg/config/controller_config.go x: 2 contributors (90d) y: 56 lines of code pkg/ebpf/c/tc.v4egress.bpf.c x: 2 contributors (90d) y: 248 lines of code pkg/ebpf/c/tc.v6egress.bpf.c x: 2 contributors (90d) y: 245 lines of code pkg/ebpf/c/v4events.bpf.c x: 2 contributors (90d) y: 47 lines of code pkg/ebpf/events/events.go x: 3 contributors (90d) y: 210 lines of code pkg/rpcclient/client_wrapper.go x: 2 contributors (90d) y: 35 lines of code
976.0
lines of code
  min: 35.0
  average: 260.27
  25th percentile: 56.0
  median: 245.0
  75th percentile: 303.0
  max: 976.0
0 4.0
contributors (90d)
min: 2.0 | average: 2.73 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 4.0 | max: 4.0