azure / draft
File Size

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

Intro
Learn more...
File Size Overall
44% | 0% | 16% | 10% | 28%
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
go62% | 0% | 14% | 11% | 12%
yaml0% | 0% | 23% | 8% | 68%
tpl0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pkg55% | 0% | 11% | 9% | 23%
cmd0% | 0% | 61% | 8% | 29%
template0% | 0% | 25% | 17% | 57%
example0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
static.go
in pkg/linguist
9117 -
create.go
in cmd
457 11
draftconfig.go
in pkg/config
345 20
288 12
linguist.go
in pkg/linguist
268 7
azure.go
in pkg/providers
268 11
prompts.go
in pkg/prompts
250 13
draft.yaml
in template/deployments/kustomize
232 -
draft.yaml
in template/deployments/helm
232 -
draft.yaml
in template/deployments/manifests
232 -
template.yaml
in pkg/safeguards/lib/v1.0.0/container-resource-limits
207 -
template.yaml
in pkg/safeguards/lib/manifests/v1.0.0/container-resource-limits
207 -
template.yaml
in pkg/safeguards/lib/manifests/v2.0.0/container-resource-limits
207 -
helpers.go
in pkg/safeguards
205 14
azcli.go
in pkg/providers
195 16
generate_classifier.go
in pkg/linguist/data
190 12
osutil.go
in pkg/osutil
180 9
util.go
in pkg/linguist
159 12
template.go
in pkg/handlers
157 8
workflow_helpers.go
in pkg/cmdhelpers
142 7
addon_helpers.go
in pkg/cmdhelpers
138 9
az-client.go
in pkg/providers
134 4
tokenizer.go
in pkg/linguist/tokenizer
122 3
deployment.yaml
in template/deployments/kustomize/base
117 -
deployment.yaml
in template/deployments/manifests/manifests
117 -
draft.yaml
in template/workflows/helm
115 -
values.yaml
in template/deployments/helm/charts
112 -
filematches.go
in pkg/filematches
101 7
update.go
in cmd
101 3
draft.yaml
in template/workflows/kustomize
99 -
draft.yaml
in template/workflows/manifests
99 -
types.go
in pkg/safeguards/types
99 6
deployment-override-workload-identity.yaml
in pkg/fixtures/deployments/kustomize/base
95 -
deployment-override-workload-identity.yaml
in pkg/fixtures/deployments/manifest/manifests
95 -
gradle.go
in pkg/handlers/variableextractors/defaults
94 8
ghcli.go
in pkg/providers
94 9
deployment.yaml
in pkg/fixtures/deployments/kustomize/base
93 -
deployment.yaml
in pkg/fixtures/deployments/manifest/manifests
93 -
template.yaml
in pkg/safeguards/lib/v1.0.0/disallowed-bad-pod-disruption-budgets
91 -
template.yaml
in pkg/safeguards/lib/manifests/v1.0.0/disallowed-bad-pod-disruption-budgets
91 -
template.yaml
in pkg/safeguards/lib/manifests/v2.0.0/disallowed-bad-pod-disruption-budgets
91 -
workflow_service_types.go
in pkg/cmdhelpers
91 10
89 3
deployment.yaml
in template/deployments/helm/charts/templates
88 -
values.yaml
in pkg/fixtures/deployments/helm/charts
88 -
draft.yaml
in template/manifests/Ingress/manifests
87 -
template_utils.go
in pkg/handlers
87 8
template.yaml
in pkg/safeguards/lib/v1.0.0/container-enforce-probes
86 -
86 4
template.yaml
in pkg/safeguards/lib/manifests/v1.0.0/container-enforce-probes
83 -
Files With Most Units (Top 50)
File# lines# units
draftconfig.go
in pkg/config
345 20
azcli.go
in pkg/providers
195 16
helpers.go
in pkg/safeguards
205 14
prompts.go
in pkg/prompts
250 13
util.go
in pkg/linguist
159 12
generate_classifier.go
in pkg/linguist/data
190 12
288 12
azure.go
in pkg/providers
268 11
create.go
in cmd
457 11
workflow_service_types.go
in pkg/cmdhelpers
91 10
addon_helpers.go
in pkg/cmdhelpers
138 9
osutil.go
in pkg/osutil
180 9
ghcli.go
in pkg/providers
94 9
gradle.go
in pkg/handlers/variableextractors/defaults
94 8
template.go
in pkg/handlers
157 8
template_utils.go
in pkg/handlers
87 8
workflow_helpers.go
in pkg/cmdhelpers
142 7
linguist.go
in pkg/linguist
268 7
filematches.go
in pkg/filematches
101 7
types.go
in pkg/safeguards/types
99 6
validators.go
in pkg/config/validators
52 6
localfsreader.go
in pkg/reporeader/readers
65 5
preprocessing_helpers.go
in pkg/safeguards/preprocessing
70 4
dryrun.go
in pkg/dryrun
26 4
az-client.go
in pkg/providers
134 4
reporeader.go
in pkg/reporeader
64 4
86 4
tokenizer.go
in pkg/linguist/tokenizer
122 3
generate_static.go
in pkg/linguist
49 3
transformers.go
in pkg/config/transformers
23 3
python.go
in pkg/handlers/variableextractors/defaults
44 3
info.go
in cmd
73 3
37 3
89 3
update.go
in cmd
101 3
preprocessing_test_helpers.go
in pkg/safeguards/preprocessing
24 2
preprocessing.go
in pkg/safeguards/preprocessing
81 2
manifestresults.go
in pkg/safeguards
81 2
logger.go
in pkg/logger
26 2
validatetemplate.go
in pkg/fixtures
30 2
localfswriter.go
in pkg/templatewriter/writers
18 2
filemapwriter.go
in pkg/templatewriter/writers
14 2
analyse.go
in pkg/linguist
50 2
commandrunner.go
in pkg/providers
28 2
embedutil.go
in pkg/embedutils
33 2
root.go
in cmd
53 2
spinner.go
in pkg/spinner
18 1
app.py
in pkg/linguist/testdirs/app-python
7 1
cred.go
in pkg/cred
19 1
deployment.go
in example
45 1
Files With Long Lines (Top 42)

There are 42 files with lines longer than 120 characters. In total, there are 122 long lines.

File# lines# units# long lines
create.go
in cmd
457 11 13
template.yaml
in pkg/safeguards/lib/v1.0.0/disallowed-bad-pod-disruption-budgets
91 - 9
template.yaml
in pkg/safeguards/lib/manifests/v1.0.0/disallowed-bad-pod-disruption-budgets
91 - 9
template.yaml
in pkg/safeguards/lib/manifests/v2.0.0/disallowed-bad-pod-disruption-budgets
91 - 9
azure.go
in pkg/providers
268 11 9
addon_helpers.go
in pkg/cmdhelpers
138 9 5
generated.html
in pkg/linguist/testdirs/app-generated/man1
13 - 5
288 12 5
azcli.go
in pkg/providers
195 16 4
86 4 4
helpers.go
in pkg/safeguards
205 14 3
prompts.go
in pkg/prompts
250 13 3
workflow_helpers.go
in pkg/cmdhelpers
142 7 3
89 3 3
root.go
in cmd
53 2 3
preprocessing_helpers.go
in pkg/safeguards/preprocessing
70 4 2
template.yaml
in pkg/safeguards/lib/v1.0.0/container-resource-limits
207 - 2
template.yaml
in pkg/safeguards/lib/manifests/v1.0.0/container-resource-limits
207 - 2
template.yaml
in pkg/safeguards/lib/manifests/v2.0.0/container-resource-limits
207 - 2
draftconfig.go
in pkg/config
345 20 2
template.go
in pkg/handlers
157 8 2
az-client.go
in pkg/providers
134 4 2
update.go
in cmd
101 3 2
draft.yaml
in template/workflows/manifests
99 - 1
tpl
_helpers.tpl
in template/deployments/helm/charts/templates
46 - 1
draft.yaml
in template/manifests/PodDisruptionBudget/manifests
30 - 1
preprocessing.go
in pkg/safeguards/preprocessing
81 2 1
template.yaml
in pkg/safeguards/lib/v1.0.0/container-restricted-image-pulls
64 - 1
template.yaml
in pkg/safeguards/lib/v1.0.0/pod-enforce-antiaffinity
23 - 1
template.yaml
in pkg/safeguards/lib/v1.0.0/container-enforce-probes
86 - 1
template.yaml
in pkg/safeguards/lib/manifests/v1.0.0/container-restricted-image-pulls
55 - 1
template.yaml
in pkg/safeguards/lib/manifests/v1.0.0/pod-enforce-antiaffinity
23 - 1
template.yaml
in pkg/safeguards/lib/manifests/v1.0.0/container-enforce-probes
83 - 1
template.yaml
in pkg/safeguards/lib/manifests/v2.0.0/container-restricted-image-pulls
55 - 1
template.yaml
in pkg/safeguards/lib/manifests/v2.0.0/pod-enforce-antiaffinity
23 - 1
template.yaml
in pkg/safeguards/lib/manifests/v2.0.0/container-enforce-probes
83 - 1
validatetemplate.go
in pkg/fixtures
30 2 1
tokenizer.go
in pkg/linguist/tokenizer
122 3 1
linguist.go
in pkg/linguist
268 7 1
gradle.go
in pkg/handlers/variableextractors/defaults
94 8 1
ghcli.go
in pkg/providers
94 9 1
info.go
in cmd
73 3 1
Correlations

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

template/azurePipelines/kustomize/draft.yaml x: 6 commits (all time) y: 79 lines of code template/azurePipelines/manifests/draft.yaml x: 7 commits (all time) y: 79 lines of code pkg/fixtures/deployments/kustomize/base/deployment-override-workload-identity.yaml x: 1 commits (all time) y: 95 lines of code pkg/fixtures/deployments/kustomize/overlays/production/deployment-override-workload-identity.yaml x: 1 commits (all time) y: 17 lines of code template/deployments/kustomize/base/deployment.yaml x: 11 commits (all time) y: 117 lines of code pkg/fixtures/manifests/ingress/ingress.yaml x: 2 commits (all time) y: 29 lines of code template/manifests/Ingress/manifests/ingress.yaml x: 2 commits (all time) y: 37 lines of code cmd/create.go x: 73 commits (all time) y: 457 lines of code pkg/config/draftconfig.go x: 24 commits (all time) y: 345 lines of code pkg/linguist/linguist.go x: 10 commits (all time) y: 268 lines of code template/deployments/helm/charts/production.yaml x: 7 commits (all time) y: 8 lines of code cmd/root.go x: 16 commits (all time) y: 53 lines of code cmd/setupgh.go x: 3 commits (all time) y: 288 lines of code template/workflows/helm/draft.yaml x: 13 commits (all time) y: 115 lines of code template/workflows/kustomize/draft.yaml x: 12 commits (all time) y: 99 lines of code pkg/fixtures/deployments/helm/charts/values.yaml x: 5 commits (all time) y: 88 lines of code template/deployments/helm/draft.yaml x: 15 commits (all time) y: 232 lines of code pkg/fixtures/validatetemplate.go x: 6 commits (all time) y: 30 lines of code pkg/handlers/template.go x: 5 commits (all time) y: 157 lines of code pkg/linguist/static.go x: 8 commits (all time) y: 9117 lines of code pkg/linguist/util.go x: 4 commits (all time) y: 159 lines of code pkg/safeguards/lib/manifests/v1.0.0/container-allowed-images/template.yaml x: 1 commits (all time) y: 40 lines of code pkg/safeguards/lib/manifests/v1.0.0/container-resource-limits/template.yaml x: 1 commits (all time) y: 207 lines of code pkg/prompts/prompts.go x: 27 commits (all time) y: 250 lines of code pkg/providers/az-client.go x: 7 commits (all time) y: 134 lines of code pkg/providers/azcli.go x: 3 commits (all time) y: 195 lines of code pkg/providers/azure.go x: 33 commits (all time) y: 268 lines of code pkg/providers/ghcli.go x: 3 commits (all time) y: 94 lines of code pkg/handlers/template_utils.go x: 4 commits (all time) y: 87 lines of code template/addons/azure/webapp_routing/draft.yaml x: 6 commits (all time) y: 53 lines of code template/dockerfiles/clojure/draft.yaml x: 8 commits (all time) y: 32 lines of code template/dockerfiles/erlang/draft.yaml x: 9 commits (all time) y: 39 lines of code template/dockerfiles/go/draft.yaml x: 9 commits (all time) y: 31 lines of code template/dockerfiles/gradle/draft.yaml x: 10 commits (all time) y: 39 lines of code template/dockerfiles/gradlew/draft.yaml x: 8 commits (all time) y: 39 lines of code template/manifests/HorizontalPodAutoscaler/manifests/draft.yaml x: 3 commits (all time) y: 54 lines of code template/deployments/helm/charts/templates/deployment.yaml x: 10 commits (all time) y: 88 lines of code template/deployments/helm/charts/values.yaml x: 10 commits (all time) y: 112 lines of code cmd/validate.go x: 2 commits (all time) y: 89 lines of code cmd/validate_test_helpers.go x: 3 commits (all time) y: 11 lines of code pkg/cmdhelpers/workflow_helpers.go x: 2 commits (all time) y: 142 lines of code template/deployments/helm/charts/templates/_helpers.tpl x: 4 commits (all time) y: 46 lines of code cmd/update.go x: 14 commits (all time) y: 101 lines of code pkg/cmdhelpers/addon_helpers.go x: 1 commits (all time) y: 138 lines of code template/addons/azure/webapp_routing/ingress.yaml x: 4 commits (all time) y: 32 lines of code pkg/filematches/filematches.go x: 8 commits (all time) y: 101 lines of code pkg/osutil/osutil.go x: 34 commits (all time) y: 180 lines of code pkg/spinner/spinner.go x: 10 commits (all time) y: 18 lines of code
9117.0
lines of code
  min: 1.0
  average: 103.08
  25th percentile: 13.0
  median: 31.0
  75th percentile: 83.0
  max: 9117.0
0 73.0
commits (all time)
min: 1.0 | average: 4.16 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 5.0 | max: 73.0

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

template/azurePipelines/kustomize/draft.yaml x: 2 contributors (all time) y: 79 lines of code template/azurePipelines/manifests/draft.yaml x: 3 contributors (all time) y: 79 lines of code pkg/fixtures/deployments/kustomize/base/deployment-override-workload-identity.yaml x: 1 contributors (all time) y: 95 lines of code pkg/fixtures/deployments/kustomize/overlays/production/deployment-override-workload-identity.yaml x: 1 contributors (all time) y: 17 lines of code template/deployments/kustomize/base/deployment.yaml x: 4 contributors (all time) y: 117 lines of code pkg/fixtures/manifests/ingress/ingress.yaml x: 2 contributors (all time) y: 29 lines of code template/manifests/Ingress/manifests/ingress.yaml x: 2 contributors (all time) y: 37 lines of code cmd/create.go x: 13 contributors (all time) y: 457 lines of code pkg/config/draftconfig.go x: 7 contributors (all time) y: 345 lines of code pkg/linguist/linguist.go x: 3 contributors (all time) y: 268 lines of code template/deployments/helm/charts/production.yaml x: 4 contributors (all time) y: 8 lines of code cmd/root.go x: 6 contributors (all time) y: 53 lines of code cmd/setupgh.go x: 1 contributors (all time) y: 288 lines of code template/workflows/helm/draft.yaml x: 5 contributors (all time) y: 115 lines of code template/workflows/kustomize/draft.yaml x: 5 contributors (all time) y: 99 lines of code template/deployments/helm/draft.yaml x: 4 contributors (all time) y: 232 lines of code pkg/fixtures/validatetemplate.go x: 3 contributors (all time) y: 30 lines of code pkg/handlers/template.go x: 2 contributors (all time) y: 157 lines of code pkg/linguist/static.go x: 3 contributors (all time) y: 9117 lines of code pkg/linguist/util.go x: 3 contributors (all time) y: 159 lines of code pkg/safeguards/lib/manifests/v1.0.0/container-allowed-images/template.yaml x: 1 contributors (all time) y: 40 lines of code pkg/safeguards/lib/manifests/v1.0.0/container-resource-limits/template.yaml x: 1 contributors (all time) y: 207 lines of code pkg/prompts/prompts.go x: 7 contributors (all time) y: 250 lines of code pkg/providers/az-client.go x: 2 contributors (all time) y: 134 lines of code pkg/providers/azure.go x: 9 contributors (all time) y: 268 lines of code template/addons/azure/webapp_routing/draft.yaml x: 3 contributors (all time) y: 53 lines of code template/dockerfiles/erlang/draft.yaml x: 5 contributors (all time) y: 39 lines of code template/dockerfiles/go/draft.yaml x: 5 contributors (all time) y: 31 lines of code template/dockerfiles/php/draft.yaml x: 4 contributors (all time) y: 39 lines of code pkg/safeguards/helpers.go x: 2 contributors (all time) y: 205 lines of code cmd/update.go x: 8 contributors (all time) y: 101 lines of code pkg/cmdhelpers/addon_helpers.go x: 1 contributors (all time) y: 138 lines of code pkg/osutil/osutil.go x: 11 contributors (all time) y: 180 lines of code
9117.0
lines of code
  min: 1.0
  average: 103.08
  25th percentile: 13.0
  median: 31.0
  75th percentile: 83.0
  max: 9117.0
0 13.0
contributors (all time)
min: 1.0 | average: 2.02 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 13.0

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

template/azurePipelines/kustomize/draft.yaml x: 1 commits (30d) y: 79 lines of code pkg/fixtures/deployments/kustomize/base/deployment-override-workload-identity.yaml x: 1 commits (30d) y: 95 lines of code pkg/fixtures/deployments/kustomize/overlays/production/deployment-override-workload-identity.yaml x: 1 commits (30d) y: 17 lines of code template/deployments/kustomize/base/deployment.yaml x: 1 commits (30d) y: 117 lines of code pkg/fixtures/manifests/ingress/ingress.yaml x: 1 commits (30d) y: 29 lines of code template/manifests/Ingress/manifests/ingress.yaml x: 1 commits (30d) y: 37 lines of code
117.0
lines of code
  min: 17.0
  average: 73.89
  25th percentile: 33.0
  median: 79.0
  75th percentile: 106.0
  max: 117.0
0 1.0
commits (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

template/azurePipelines/kustomize/draft.yaml x: 1 contributors (30d) y: 79 lines of code pkg/fixtures/deployments/kustomize/base/deployment-override-workload-identity.yaml x: 1 contributors (30d) y: 95 lines of code pkg/fixtures/deployments/kustomize/overlays/production/deployment-override-workload-identity.yaml x: 1 contributors (30d) y: 17 lines of code template/deployments/kustomize/base/deployment.yaml x: 1 contributors (30d) y: 117 lines of code pkg/fixtures/manifests/ingress/ingress.yaml x: 1 contributors (30d) y: 29 lines of code template/manifests/Ingress/manifests/ingress.yaml x: 1 contributors (30d) y: 37 lines of code
117.0
lines of code
  min: 17.0
  average: 73.89
  25th percentile: 33.0
  median: 79.0
  75th percentile: 106.0
  max: 117.0
0 1.0
contributors (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

template/azurePipelines/kustomize/draft.yaml x: 2 commits (90d) y: 79 lines of code pkg/fixtures/deployments/kustomize/base/deployment-override-workload-identity.yaml x: 1 commits (90d) y: 95 lines of code pkg/fixtures/deployments/kustomize/overlays/production/deployment-override-workload-identity.yaml x: 1 commits (90d) y: 17 lines of code template/deployments/kustomize/base/deployment.yaml x: 1 commits (90d) y: 117 lines of code pkg/fixtures/manifests/ingress/ingress.yaml x: 2 commits (90d) y: 29 lines of code template/manifests/Ingress/manifests/ingress.yaml x: 2 commits (90d) y: 37 lines of code cmd/create.go x: 3 commits (90d) y: 457 lines of code pkg/config/draftconfig.go x: 1 commits (90d) y: 345 lines of code pkg/linguist/linguist.go x: 2 commits (90d) y: 268 lines of code template/dockerfiles/tomcat/draft.yaml x: 1 commits (90d) y: 31 lines of code pkg/fixtures/deployments/helm/charts/production.yaml x: 1 commits (90d) y: 8 lines of code cmd/root.go x: 1 commits (90d) y: 53 lines of code cmd/setupgh.go x: 1 commits (90d) y: 288 lines of code pkg/fixtures/manifests/ingress/ingress-simple.yaml x: 1 commits (90d) y: 23 lines of code template/manifests/Ingress/manifests/draft.yaml x: 1 commits (90d) y: 87 lines of code template/workflows/helm/draft.yaml x: 1 commits (90d) y: 115 lines of code template/workflows/kustomize/draft.yaml x: 1 commits (90d) y: 99 lines of code pkg/fixtures/deployments/kustomize/base/deployment.yaml x: 1 commits (90d) y: 93 lines of code template/deployments/helm/draft.yaml x: 1 commits (90d) y: 232 lines of code
457.0
lines of code
  min: 8.0
  average: 125.57
  25th percentile: 41.0
  median: 94.0
  75th percentile: 203.25
  max: 457.0
0 3.0
commits (90d)
min: 1.0 | average: 1.25 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 3.0

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

template/azurePipelines/kustomize/draft.yaml x: 2 contributors (90d) y: 79 lines of code pkg/fixtures/deployments/kustomize/base/deployment-override-workload-identity.yaml x: 1 contributors (90d) y: 95 lines of code pkg/fixtures/deployments/kustomize/overlays/production/deployment-override-workload-identity.yaml x: 1 contributors (90d) y: 17 lines of code template/deployments/kustomize/base/deployment.yaml x: 1 contributors (90d) y: 117 lines of code pkg/fixtures/manifests/ingress/ingress.yaml x: 2 contributors (90d) y: 29 lines of code template/manifests/Ingress/manifests/ingress.yaml x: 2 contributors (90d) y: 37 lines of code cmd/create.go x: 1 contributors (90d) y: 457 lines of code pkg/config/draftconfig.go x: 1 contributors (90d) y: 345 lines of code pkg/linguist/linguist.go x: 1 contributors (90d) y: 268 lines of code template/dockerfiles/tomcat/draft.yaml x: 1 contributors (90d) y: 31 lines of code pkg/fixtures/deployments/helm/charts/production.yaml x: 1 contributors (90d) y: 8 lines of code cmd/root.go x: 1 contributors (90d) y: 53 lines of code cmd/setupgh.go x: 1 contributors (90d) y: 288 lines of code pkg/fixtures/manifests/ingress/ingress-simple.yaml x: 1 contributors (90d) y: 23 lines of code template/manifests/Ingress/manifests/draft.yaml x: 1 contributors (90d) y: 87 lines of code template/workflows/helm/draft.yaml x: 1 contributors (90d) y: 115 lines of code template/workflows/kustomize/draft.yaml x: 1 contributors (90d) y: 99 lines of code pkg/fixtures/deployments/kustomize/base/deployment.yaml x: 1 contributors (90d) y: 93 lines of code template/deployments/helm/draft.yaml x: 1 contributors (90d) y: 232 lines of code
457.0
lines of code
  min: 8.0
  average: 125.57
  25th percentile: 41.0
  median: 94.0
  75th percentile: 203.25
  max: 457.0
0 2.0
contributors (90d)
min: 1.0 | average: 1.14 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0