azure / kubernetes-carbon-intensity-exporter
File Size

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

Intro
Learn more...
File Size Overall
0% | 51% | 11% | 14% | 22%
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
yaml0% | 80% | 0% | 0% | 19%
go0% | 35% | 19% | 23% | 21%
tpl0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pkg0% | 63% | 14% | 7% | 14%
cmd0% | 0% | 0% | 81% | 18%
charts0% | 0% | 0% | 0% | 100%
Longest Files (Top 29)
File# lines# units
swagger.yaml
in pkg/sdk/api
820 -
api_carbon_aware.go
in pkg/sdk/client
620 7
client.go
in pkg/sdk/client
330 17
exporter.go
in pkg/exporter
175 5
server.go
in cmd/exporter/app
112 3
options.go
in cmd/exporter/app/options
111 4
deployment.yaml
in charts/carbon-intensity-exporter/templates
99 -
configmap.go
in pkg/exporter
98 5
api_locations.go
in pkg/sdk/client
72 1
tpl
_helpers.tpl
in charts/carbon-intensity-exporter/templates
48 -
configuration.go
in pkg/sdk/client
45 3
values.yaml
in charts/carbon-intensity-exporter
41 -
config.go
in cmd/exporter/app/config
28 1
main.go
in cmd/exporter
22 2
secret.yaml
in charts/carbon-intensity-exporter/templates
21 -
response.go
in pkg/sdk/client
20 2
service.yaml
in charts/carbon-intensity-exporter/templates
15 -
14 -
rbac.yaml
in charts/carbon-intensity-exporter/templates
12 -
11 -
emissions_data.go
in pkg/sdk/api
10 -
model_emissions_data.go
in pkg/sdk/client
10 -
10 -
10 -
consts.go
in pkg/exporter
10 -
9 -
Chart.yaml
in charts/carbon-intensity-exporter
6 -
model_location.go
in pkg/sdk/client
6 -
serviceaccount.yaml
in charts/carbon-intensity-exporter/templates
5 -
Files With Most Units (Top 11)
File# lines# units
client.go
in pkg/sdk/client
330 17
api_carbon_aware.go
in pkg/sdk/client
620 7
configmap.go
in pkg/exporter
98 5
exporter.go
in pkg/exporter
175 5
options.go
in cmd/exporter/app/options
111 4
configuration.go
in pkg/sdk/client
45 3
server.go
in cmd/exporter/app
112 3
response.go
in pkg/sdk/client
20 2
main.go
in cmd/exporter
22 2
api_locations.go
in pkg/sdk/client
72 1
config.go
in cmd/exporter/app/config
28 1
Files With Long Lines (Top 6)

There are 6 files with lines longer than 120 characters. In total, there are 28 long lines.

File# lines# units# long lines
api_carbon_aware.go
in pkg/sdk/client
620 7 15
options.go
in cmd/exporter/app/options
111 4 4
configmap.go
in pkg/exporter
98 5 3
exporter.go
in pkg/exporter
175 5 3
client.go
in pkg/sdk/client
330 17 2
api_locations.go
in pkg/sdk/client
72 1 1
Correlations

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

charts/carbon-intensity-exporter/Chart.yaml x: 2 commits (all time) y: 6 lines of code charts/carbon-intensity-exporter/templates/deployment.yaml x: 3 commits (all time) y: 99 lines of code charts/carbon-intensity-exporter/values.yaml x: 5 commits (all time) y: 41 lines of code charts/carbon-intensity-exporter/templates/secret.yaml x: 1 commits (all time) y: 21 lines of code pkg/exporter/configmap.go x: 7 commits (all time) y: 98 lines of code pkg/exporter/exporter.go x: 10 commits (all time) y: 175 lines of code pkg/exporter/consts.go x: 3 commits (all time) y: 10 lines of code cmd/exporter/app/server.go x: 5 commits (all time) y: 112 lines of code charts/carbon-intensity-exporter/templates/_helpers.tpl x: 1 commits (all time) y: 48 lines of code charts/carbon-intensity-exporter/templates/rbac.yaml x: 1 commits (all time) y: 12 lines of code charts/carbon-intensity-exporter/templates/service.yaml x: 1 commits (all time) y: 15 lines of code charts/carbon-intensity-exporter/templates/serviceaccount.yaml x: 1 commits (all time) y: 5 lines of code pkg/sdk/client/configuration.go x: 4 commits (all time) y: 45 lines of code cmd/exporter/main.go x: 3 commits (all time) y: 22 lines of code pkg/sdk/client/api_carbon_aware.go x: 4 commits (all time) y: 620 lines of code pkg/sdk/client/api_locations.go x: 4 commits (all time) y: 72 lines of code pkg/sdk/client/client.go x: 4 commits (all time) y: 330 lines of code pkg/sdk/client/model_carbon_intensity_batch_parameters_dto.go x: 3 commits (all time) y: 9 lines of code pkg/sdk/client/model_emissions_forecast_dto.go x: 3 commits (all time) y: 14 lines of code pkg/sdk/client/model_location.go x: 3 commits (all time) y: 6 lines of code cmd/exporter/app/config/config.go x: 2 commits (all time) y: 28 lines of code cmd/exporter/app/options/options.go x: 2 commits (all time) y: 111 lines of code pkg/sdk/api/swagger.yaml x: 2 commits (all time) y: 820 lines of code
820.0
lines of code
  min: 5.0
  average: 96.21
  25th percentile: 10.0
  median: 21.0
  75th percentile: 98.5
  max: 820.0
0 10.0
commits (all time)
min: 1.0 | average: 3.1 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 10.0

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

charts/carbon-intensity-exporter/Chart.yaml x: 2 contributors (all time) y: 6 lines of code charts/carbon-intensity-exporter/templates/deployment.yaml x: 3 contributors (all time) y: 99 lines of code charts/carbon-intensity-exporter/values.yaml x: 3 contributors (all time) y: 41 lines of code charts/carbon-intensity-exporter/templates/secret.yaml x: 1 contributors (all time) y: 21 lines of code pkg/exporter/configmap.go x: 1 contributors (all time) y: 98 lines of code pkg/exporter/exporter.go x: 1 contributors (all time) y: 175 lines of code pkg/exporter/consts.go x: 1 contributors (all time) y: 10 lines of code cmd/exporter/app/server.go x: 1 contributors (all time) y: 112 lines of code charts/carbon-intensity-exporter/templates/_helpers.tpl x: 1 contributors (all time) y: 48 lines of code charts/carbon-intensity-exporter/templates/service.yaml x: 1 contributors (all time) y: 15 lines of code charts/carbon-intensity-exporter/templates/serviceaccount.yaml x: 1 contributors (all time) y: 5 lines of code pkg/sdk/client/configuration.go x: 1 contributors (all time) y: 45 lines of code pkg/sdk/client/api_carbon_aware.go x: 1 contributors (all time) y: 620 lines of code pkg/sdk/client/api_locations.go x: 1 contributors (all time) y: 72 lines of code pkg/sdk/client/client.go x: 1 contributors (all time) y: 330 lines of code pkg/sdk/client/model_carbon_intensity_batch_parameters_dto.go x: 1 contributors (all time) y: 9 lines of code cmd/exporter/app/config/config.go x: 1 contributors (all time) y: 28 lines of code pkg/sdk/api/swagger.yaml x: 1 contributors (all time) y: 820 lines of code
820.0
lines of code
  min: 5.0
  average: 96.21
  25th percentile: 10.0
  median: 21.0
  75th percentile: 98.5
  max: 820.0
0 3.0
contributors (all time)
min: 1.0 | average: 1.17 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.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): 3 points

charts/carbon-intensity-exporter/Chart.yaml x: 1 commits (90d) y: 6 lines of code charts/carbon-intensity-exporter/templates/deployment.yaml x: 1 commits (90d) y: 99 lines of code charts/carbon-intensity-exporter/values.yaml x: 1 commits (90d) y: 41 lines of code
99.0
lines of code
  min: 6.0
  average: 48.67
  25th percentile: 6.0
  median: 41.0
  75th percentile: 99.0
  max: 99.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

charts/carbon-intensity-exporter/Chart.yaml x: 1 contributors (90d) y: 6 lines of code charts/carbon-intensity-exporter/templates/deployment.yaml x: 1 contributors (90d) y: 99 lines of code charts/carbon-intensity-exporter/values.yaml x: 1 contributors (90d) y: 41 lines of code
99.0
lines of code
  min: 6.0
  average: 48.67
  25th percentile: 6.0
  median: 41.0
  75th percentile: 99.0
  max: 99.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