aws / amazon-ec2-metadata-mock
File Size

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

Intro
Learn more...
File Size Overall
0% | 0% | 0% | 53% | 46%
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% | 0% | 0% | 53% | 46%
yaml0% | 0% | 0% | 59% | 40%
tpl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pkg0% | 0% | 0% | 54% | 45%
helm0% | 0% | 0% | 50% | 49%
cmd0% | 0% | 0% | 0% | 100%
Longest Files (Top 47)
File# lines# units
types.go
in pkg/config
188 -
deployment.linux.yaml
in helm/amazon-ec2-metadata-mock/templates
160 -
config.go
in pkg/config
148 12
handlers.go
in pkg/mock/handlers
148 6
httpserver.go
in pkg/server
146 14
root.go
in pkg/cmd/root
146 10
deployment.windows.yaml
in helm/amazon-ec2-metadata-mock/templates
145 -
events.go
in pkg/cmd/events
116 7
metadata.go
in pkg/config
111 7
spot.go
in pkg/mock/spot
108 6
cmdutil.go
in pkg/cmd/cmdutil
98 5
tpl
_helpers.tpl
in helm/amazon-ec2-metadata-mock/templates
92 -
spot.go
in pkg/cmd/spot
89 7
events.go
in pkg/mock/events
77 4
values.yaml
in helm/amazon-ec2-metadata-mock
68 -
tokengenerator.go
in pkg/mock/imdsv2
66 2
asglifecycle.go
in pkg/mock/asglifecycle
63 4
psp.yaml
in helm/amazon-ec2-metadata-mock/templates
60 -
asglifecycle.go
in pkg/cmd/asglifecycle
57 7
static.go
in pkg/mock/static
56 2
dynamic.go
in pkg/mock/dynamic
55 2
dynamic.go
in pkg/config
54 6
userdata.go
in pkg/mock/userdata
53 2
swapper.go
in pkg/server
48 7
userdata.go
in pkg/config
44 6
tokenvalidator.go
in pkg/mock/imdsv2
37 1
types.go
in pkg/mock/static/types
23 -
Chart.yaml
in helm/amazon-ec2-metadata-mock
23 -
globalflags.go
in pkg/cmd/root/globalflags
19 1
types.go
in pkg/mock/dynamic/types
18 -
server.go
in pkg/config
17 2
service.yaml
in helm/amazon-ec2-metadata-mock/templates
15 -
root.go
in pkg/mock/root
14 1
error.go
in pkg/error
12 1
clusterrolebinding.yaml
in helm/amazon-ec2-metadata-mock/templates
12 -
serviceaccount.yaml
in helm/amazon-ec2-metadata-mock/templates
11 -
main.go
in cmd/ec2-metadata-mock
11 1
types.go
in pkg/mock/events/internal/types
10 -
defaults.go
in pkg/config/defaults
8 1
types.go
in pkg/mock/spot/internal/types
8 -
config.go
in pkg/mock/events/config
8 -
config.go
in pkg/mock/spot/config
6 -
local-image-values.yaml
in helm/amazon-ec2-metadata-mock/ci
5 -
clusterrole.yaml
in helm/amazon-ec2-metadata-mock/templates
5 -
service-config-values.yaml
in helm/amazon-ec2-metadata-mock/ci
3 -
configmap-values.yaml
in helm/amazon-ec2-metadata-mock/ci
3 -
default-values.yaml
in helm/amazon-ec2-metadata-mock/ci
1 -
Files With Most Units (Top 26)
File# lines# units
httpserver.go
in pkg/server
146 14
config.go
in pkg/config
148 12
root.go
in pkg/cmd/root
146 10
metadata.go
in pkg/config
111 7
swapper.go
in pkg/server
48 7
asglifecycle.go
in pkg/cmd/asglifecycle
57 7
spot.go
in pkg/cmd/spot
89 7
events.go
in pkg/cmd/events
116 7
dynamic.go
in pkg/config
54 6
userdata.go
in pkg/config
44 6
handlers.go
in pkg/mock/handlers
148 6
spot.go
in pkg/mock/spot
108 6
cmdutil.go
in pkg/cmd/cmdutil
98 5
asglifecycle.go
in pkg/mock/asglifecycle
63 4
events.go
in pkg/mock/events
77 4
server.go
in pkg/config
17 2
static.go
in pkg/mock/static
56 2
userdata.go
in pkg/mock/userdata
53 2
tokengenerator.go
in pkg/mock/imdsv2
66 2
dynamic.go
in pkg/mock/dynamic
55 2
defaults.go
in pkg/config/defaults
8 1
root.go
in pkg/mock/root
14 1
tokenvalidator.go
in pkg/mock/imdsv2
37 1
error.go
in pkg/error
12 1
globalflags.go
in pkg/cmd/root/globalflags
19 1
main.go
in cmd/ec2-metadata-mock
11 1
Files With Long Lines (Top 16)

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

File# lines# units# long lines
root.go
in pkg/cmd/root
146 10 12
events.go
in pkg/cmd/events
116 7 7
spot.go
in pkg/mock/spot
108 6 5
metadata.go
in pkg/config
111 7 4
spot.go
in pkg/cmd/spot
89 7 4
events.go
in pkg/mock/events
77 4 3
config.go
in pkg/config
148 12 2
httpserver.go
in pkg/server
146 14 2
deployment.linux.yaml
in helm/amazon-ec2-metadata-mock/templates
160 - 2
static.go
in pkg/mock/static
56 2 1
asglifecycle.go
in pkg/mock/asglifecycle
63 4 1
error.go
in pkg/error
12 1 1
globalflags.go
in pkg/cmd/root/globalflags
19 1 1
asglifecycle.go
in pkg/cmd/asglifecycle
57 7 1
deployment.windows.yaml
in helm/amazon-ec2-metadata-mock/templates
145 - 1
tpl
_helpers.tpl
in helm/amazon-ec2-metadata-mock/templates
92 - 1
Correlations

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

helm/amazon-ec2-metadata-mock/Chart.yaml x: 44 commits (all time) y: 23 lines of code helm/amazon-ec2-metadata-mock/values.yaml x: 45 commits (all time) y: 68 lines of code pkg/config/config.go x: 9 commits (all time) y: 148 lines of code cmd/ec2-metadata-mock/main.go x: 1 commits (all time) y: 11 lines of code pkg/cmd/root/globalflags/globalflags.go x: 5 commits (all time) y: 19 lines of code pkg/cmd/root/root.go x: 13 commits (all time) y: 146 lines of code pkg/config/types.go x: 16 commits (all time) y: 188 lines of code pkg/server/httpserver.go x: 6 commits (all time) y: 146 lines of code pkg/server/swapper.go x: 1 commits (all time) y: 48 lines of code pkg/cmd/asglifecycle/asglifecycle.go x: 1 commits (all time) y: 57 lines of code pkg/cmd/cmdutil/cmdutil.go x: 10 commits (all time) y: 98 lines of code pkg/mock/asglifecycle/asglifecycle.go x: 1 commits (all time) y: 63 lines of code pkg/mock/root/root.go x: 3 commits (all time) y: 14 lines of code pkg/mock/handlers/handlers.go x: 3 commits (all time) y: 148 lines of code pkg/mock/dynamic/types/types.go x: 4 commits (all time) y: 18 lines of code pkg/mock/userdata/userdata.go x: 2 commits (all time) y: 53 lines of code pkg/config/defaults/defaults.go x: 2 commits (all time) y: 8 lines of code pkg/config/userdata.go x: 1 commits (all time) y: 44 lines of code helm/amazon-ec2-metadata-mock/templates/deployment.linux.yaml x: 4 commits (all time) y: 160 lines of code helm/amazon-ec2-metadata-mock/templates/deployment.windows.yaml x: 4 commits (all time) y: 145 lines of code pkg/mock/spot/spot.go x: 6 commits (all time) y: 108 lines of code helm/amazon-ec2-metadata-mock/templates/service.yaml x: 3 commits (all time) y: 15 lines of code pkg/config/metadata.go x: 2 commits (all time) y: 111 lines of code pkg/cmd/spot/spot.go x: 2 commits (all time) y: 89 lines of code pkg/mock/spot/config/config.go x: 2 commits (all time) y: 6 lines of code pkg/mock/events/events.go x: 4 commits (all time) y: 77 lines of code pkg/mock/dynamic/dynamic.go x: 2 commits (all time) y: 55 lines of code pkg/mock/static/static.go x: 3 commits (all time) y: 56 lines of code helm/amazon-ec2-metadata-mock/templates/_helpers.tpl x: 2 commits (all time) y: 92 lines of code pkg/config/dynamic.go x: 1 commits (all time) y: 54 lines of code helm/amazon-ec2-metadata-mock/templates/clusterrole.yaml x: 2 commits (all time) y: 5 lines of code helm/amazon-ec2-metadata-mock/ci/local-image-values.yaml x: 1 commits (all time) y: 5 lines of code helm/amazon-ec2-metadata-mock/ci/service-config-values.yaml x: 1 commits (all time) y: 3 lines of code pkg/mock/imdsv2/tokengenerator.go x: 2 commits (all time) y: 66 lines of code pkg/mock/imdsv2/tokenvalidator.go x: 1 commits (all time) y: 37 lines of code pkg/cmd/events/events.go x: 1 commits (all time) y: 116 lines of code pkg/mock/events/config/config.go x: 1 commits (all time) y: 8 lines of code pkg/mock/events/internal/types/types.go x: 1 commits (all time) y: 10 lines of code pkg/mock/static/types/types.go x: 2 commits (all time) y: 23 lines of code pkg/config/server.go x: 1 commits (all time) y: 17 lines of code helm/amazon-ec2-metadata-mock/ci/default-values.yaml x: 1 commits (all time) y: 1 lines of code helm/amazon-ec2-metadata-mock/templates/clusterrolebinding.yaml x: 1 commits (all time) y: 12 lines of code helm/amazon-ec2-metadata-mock/templates/psp.yaml x: 1 commits (all time) y: 60 lines of code
188.0
lines of code
  min: 1.0
  average: 57.67
  25th percentile: 11.0
  median: 50.5
  75th percentile: 93.5
  max: 188.0
0 45.0
commits (all time)
min: 1.0 | average: 4.83 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 45.0

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

helm/amazon-ec2-metadata-mock/Chart.yaml x: 6 contributors (all time) y: 23 lines of code helm/amazon-ec2-metadata-mock/values.yaml x: 7 contributors (all time) y: 68 lines of code pkg/config/config.go x: 5 contributors (all time) y: 148 lines of code cmd/ec2-metadata-mock/main.go x: 1 contributors (all time) y: 11 lines of code pkg/cmd/root/globalflags/globalflags.go x: 4 contributors (all time) y: 19 lines of code pkg/cmd/root/root.go x: 7 contributors (all time) y: 146 lines of code pkg/config/types.go x: 7 contributors (all time) y: 188 lines of code pkg/server/httpserver.go x: 4 contributors (all time) y: 146 lines of code pkg/server/swapper.go x: 1 contributors (all time) y: 48 lines of code pkg/cmd/asglifecycle/asglifecycle.go x: 1 contributors (all time) y: 57 lines of code pkg/cmd/cmdutil/cmdutil.go x: 5 contributors (all time) y: 98 lines of code pkg/mock/asglifecycle/asglifecycle.go x: 1 contributors (all time) y: 63 lines of code pkg/mock/root/root.go x: 2 contributors (all time) y: 14 lines of code pkg/mock/handlers/handlers.go x: 3 contributors (all time) y: 148 lines of code pkg/mock/dynamic/types/types.go x: 4 contributors (all time) y: 18 lines of code pkg/mock/userdata/userdata.go x: 1 contributors (all time) y: 53 lines of code pkg/config/defaults/defaults.go x: 2 contributors (all time) y: 8 lines of code pkg/config/userdata.go x: 1 contributors (all time) y: 44 lines of code helm/amazon-ec2-metadata-mock/templates/deployment.linux.yaml x: 1 contributors (all time) y: 160 lines of code helm/amazon-ec2-metadata-mock/templates/deployment.windows.yaml x: 1 contributors (all time) y: 145 lines of code pkg/mock/spot/spot.go x: 2 contributors (all time) y: 108 lines of code helm/amazon-ec2-metadata-mock/templates/service.yaml x: 2 contributors (all time) y: 15 lines of code pkg/config/metadata.go x: 1 contributors (all time) y: 111 lines of code pkg/cmd/spot/spot.go x: 1 contributors (all time) y: 89 lines of code pkg/mock/spot/config/config.go x: 1 contributors (all time) y: 6 lines of code pkg/mock/spot/internal/types/types.go x: 1 contributors (all time) y: 8 lines of code pkg/mock/events/events.go x: 2 contributors (all time) y: 77 lines of code pkg/mock/dynamic/dynamic.go x: 2 contributors (all time) y: 55 lines of code pkg/mock/static/static.go x: 2 contributors (all time) y: 56 lines of code helm/amazon-ec2-metadata-mock/templates/_helpers.tpl x: 2 contributors (all time) y: 92 lines of code pkg/config/dynamic.go x: 1 contributors (all time) y: 54 lines of code helm/amazon-ec2-metadata-mock/templates/clusterrole.yaml x: 2 contributors (all time) y: 5 lines of code helm/amazon-ec2-metadata-mock/ci/local-image-values.yaml x: 1 contributors (all time) y: 5 lines of code helm/amazon-ec2-metadata-mock/ci/service-config-values.yaml x: 1 contributors (all time) y: 3 lines of code pkg/mock/imdsv2/tokengenerator.go x: 2 contributors (all time) y: 66 lines of code pkg/mock/imdsv2/tokenvalidator.go x: 1 contributors (all time) y: 37 lines of code pkg/cmd/events/events.go x: 1 contributors (all time) y: 116 lines of code pkg/mock/events/internal/types/types.go x: 1 contributors (all time) y: 10 lines of code pkg/mock/static/types/types.go x: 2 contributors (all time) y: 23 lines of code pkg/config/server.go x: 1 contributors (all time) y: 17 lines of code helm/amazon-ec2-metadata-mock/ci/default-values.yaml x: 1 contributors (all time) y: 1 lines of code helm/amazon-ec2-metadata-mock/templates/clusterrolebinding.yaml x: 1 contributors (all time) y: 12 lines of code helm/amazon-ec2-metadata-mock/templates/psp.yaml x: 1 contributors (all time) y: 60 lines of code
188.0
lines of code
  min: 1.0
  average: 57.67
  25th percentile: 11.0
  median: 50.5
  75th percentile: 93.5
  max: 188.0
0 7.0
contributors (all time)
min: 1.0 | average: 2.15 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 7.0

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

No data for "commits (30d)" vs. "lines of code".

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

No data for "contributors (30d)" vs. "lines of code".


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

helm/amazon-ec2-metadata-mock/Chart.yaml x: 3 commits (90d) y: 23 lines of code helm/amazon-ec2-metadata-mock/values.yaml x: 3 commits (90d) y: 68 lines of code
68.0
lines of code
  min: 23.0
  average: 45.5
  25th percentile: 23.0
  median: 45.5
  75th percentile: 68.0
  max: 68.0
0 3.0
commits (90d)
min: 3.0 | average: 3.0 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 3.0 | max: 3.0

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

helm/amazon-ec2-metadata-mock/Chart.yaml x: 1 contributors (90d) y: 23 lines of code helm/amazon-ec2-metadata-mock/values.yaml x: 1 contributors (90d) y: 68 lines of code
68.0
lines of code
  min: 23.0
  average: 45.5
  25th percentile: 23.0
  median: 45.5
  75th percentile: 68.0
  max: 68.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0