GoogleCloudPlatform / config-validator
File Size

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

Intro
Learn more...
File Size Overall
26% | 0% | 35% | 21% | 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
go27% | 0% | 36% | 19% | 15%
proto0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pkg29% | 0% | 39% | 21% | 9%
api0% | 0% | 0% | 100% | 0%
cmd0% | 0% | 0% | 0% | 100%
build0% | 0% | 0% | 0% | 100%
internal0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 27)
File# lines# units
validator.pb.go
in pkg/api/validator
1080 101
config.go
in pkg/gcv/configs
443 17
gcptarget.go
in pkg/gcptarget
299 11
result.go
in pkg/gcv
247 8
targettest.go
in pkg/targettesting
221 7
validator.go
in pkg/gcv
219 13
config.go
in pkg/gcv/oldconfigs
175 8
asset.go
in pkg/asset
157 7
file.go
in pkg/gcv/configs
147 7
templateschema.go
in pkg/gcv/configs
142 1
tftarget.go
in pkg/tftarget
141 10
proto
114 -
87 5
openapischema.go
in pkg/gcv/configs
78 1
main.go
in cmd/server
71 6
debug.go
in cmd/policy-tool/debug
67 2
multierror.go
in pkg/multierror
61 6
policy-tool.go
in cmd/policy-tool
45 2
matcher.go
in pkg/tftarget
39 1
matcher.go
in pkg/gcptarget
39 1
fuzz.go
in internal/fuzz
38 2
lint.go
in cmd/policy-tool/lint
37 2
proto_util.go
in pkg/asset
30 2
build-cloudbuild.yaml
in build/cloudbuild
24 -
insight.go
in pkg/gcv
17 -
test-cloudbuild.yaml
in build/cloudbuild
17 -
main.go
in root
3 1
Files With Most Units (Top 23)
File# lines# units
validator.pb.go
in pkg/api/validator
1080 101
config.go
in pkg/gcv/configs
443 17
validator.go
in pkg/gcv
219 13
gcptarget.go
in pkg/gcptarget
299 11
tftarget.go
in pkg/tftarget
141 10
result.go
in pkg/gcv
247 8
config.go
in pkg/gcv/oldconfigs
175 8
file.go
in pkg/gcv/configs
147 7
asset.go
in pkg/asset
157 7
targettest.go
in pkg/targettesting
221 7
multierror.go
in pkg/multierror
61 6
main.go
in cmd/server
71 6
87 5
proto_util.go
in pkg/asset
30 2
fuzz.go
in internal/fuzz
38 2
policy-tool.go
in cmd/policy-tool
45 2
lint.go
in cmd/policy-tool/lint
37 2
debug.go
in cmd/policy-tool/debug
67 2
openapischema.go
in pkg/gcv/configs
78 1
templateschema.go
in pkg/gcv/configs
142 1
matcher.go
in pkg/tftarget
39 1
matcher.go
in pkg/gcptarget
39 1
main.go
in root
3 1
Files With Long Lines (Top 14)

There are 14 files with lines longer than 120 characters. In total, there are 56 long lines.

File# lines# units# long lines
validator.pb.go
in pkg/api/validator
1080 101 15
config.go
in pkg/gcv/configs
443 17 9
gcptarget.go
in pkg/gcptarget
299 11 7
main.go
in cmd/server
71 6 5
proto
114 - 4
validator.go
in pkg/gcv
219 13 3
asset.go
in pkg/asset
157 7 3
87 5 2
lint.go
in cmd/policy-tool/lint
37 2 2
debug.go
in cmd/policy-tool/debug
67 2 2
openapischema.go
in pkg/gcv/configs
78 1 1
result.go
in pkg/gcv
247 8 1
targettest.go
in pkg/targettesting
221 7 1
build-cloudbuild.yaml
in build/cloudbuild
24 - 1
Correlations

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

pkg/asset/asset.go x: 18 commits (all time) y: 157 lines of code pkg/api/validator/validator.pb.go x: 26 commits (all time) y: 1080 lines of code pkg/gcptarget/gcptarget.go x: 20 commits (all time) y: 299 lines of code pkg/gcv/validator.go x: 75 commits (all time) y: 219 lines of code internal/fuzz/fuzz.go x: 3 commits (all time) y: 38 lines of code pkg/asset/proto_util.go x: 5 commits (all time) y: 30 lines of code pkg/gcv/configs/config.go x: 63 commits (all time) y: 443 lines of code pkg/gcv/oldconfigs/config.go x: 8 commits (all time) y: 175 lines of code pkg/gcv/result.go x: 18 commits (all time) y: 247 lines of code cmd/policy-tool/debug/debug.go x: 7 commits (all time) y: 67 lines of code pkg/gcv/configs/file.go x: 9 commits (all time) y: 147 lines of code pkg/targettesting/targettest.go x: 9 commits (all time) y: 221 lines of code api/validator.proto x: 14 commits (all time) y: 114 lines of code pkg/tftarget/tftarget.go x: 5 commits (all time) y: 141 lines of code pkg/gcptarget/matcher.go x: 1 commits (all time) y: 39 lines of code cmd/policy-tool/policy-tool.go x: 10 commits (all time) y: 45 lines of code build/cloudbuild/build-cloudbuild.yaml x: 13 commits (all time) y: 24 lines of code cmd/policy-tool/lint/lint.go x: 14 commits (all time) y: 37 lines of code cmd/server/main.go x: 19 commits (all time) y: 71 lines of code pkg/gcv/parallelvalidator.go x: 5 commits (all time) y: 87 lines of code pkg/multierror/multierror.go x: 8 commits (all time) y: 61 lines of code pkg/gcv/configs/openapischema.go x: 4 commits (all time) y: 78 lines of code pkg/gcv/configs/templateschema.go x: 4 commits (all time) y: 142 lines of code pkg/gcv/insight.go x: 2 commits (all time) y: 17 lines of code build/cloudbuild/test-cloudbuild.yaml x: 6 commits (all time) y: 17 lines of code
1080.0
lines of code
  min: 17.0
  average: 155.19
  25th percentile: 38.75
  median: 82.5
  75th percentile: 186.0
  max: 1080.0
0 75.0
commits (all time)
min: 1.0 | average: 14.12 | 25th percentile: 4.75 | median: 8.5 | 75th percentile: 18.0 | max: 75.0

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

pkg/asset/asset.go x: 7 contributors (all time) y: 157 lines of code pkg/api/validator/validator.pb.go x: 12 contributors (all time) y: 1080 lines of code pkg/gcptarget/gcptarget.go x: 9 contributors (all time) y: 299 lines of code pkg/gcv/validator.go x: 13 contributors (all time) y: 219 lines of code internal/fuzz/fuzz.go x: 2 contributors (all time) y: 38 lines of code pkg/asset/proto_util.go x: 3 contributors (all time) y: 30 lines of code pkg/gcv/configs/config.go x: 13 contributors (all time) y: 443 lines of code pkg/gcv/oldconfigs/config.go x: 6 contributors (all time) y: 175 lines of code pkg/gcv/result.go x: 6 contributors (all time) y: 247 lines of code cmd/policy-tool/debug/debug.go x: 6 contributors (all time) y: 67 lines of code pkg/gcv/configs/file.go x: 4 contributors (all time) y: 147 lines of code pkg/targettesting/targettest.go x: 4 contributors (all time) y: 221 lines of code api/validator.proto x: 7 contributors (all time) y: 114 lines of code pkg/tftarget/tftarget.go x: 4 contributors (all time) y: 141 lines of code pkg/gcptarget/matcher.go x: 1 contributors (all time) y: 39 lines of code cmd/policy-tool/policy-tool.go x: 4 contributors (all time) y: 45 lines of code build/cloudbuild/build-cloudbuild.yaml x: 6 contributors (all time) y: 24 lines of code cmd/policy-tool/lint/lint.go x: 5 contributors (all time) y: 37 lines of code cmd/server/main.go x: 6 contributors (all time) y: 71 lines of code pkg/gcv/parallelvalidator.go x: 3 contributors (all time) y: 87 lines of code pkg/multierror/multierror.go x: 3 contributors (all time) y: 61 lines of code pkg/gcv/configs/openapischema.go x: 2 contributors (all time) y: 78 lines of code pkg/gcv/configs/templateschema.go x: 2 contributors (all time) y: 142 lines of code pkg/gcv/insight.go x: 1 contributors (all time) y: 17 lines of code build/cloudbuild/test-cloudbuild.yaml x: 3 contributors (all time) y: 17 lines of code
1080.0
lines of code
  min: 17.0
  average: 155.19
  25th percentile: 38.75
  median: 82.5
  75th percentile: 186.0
  max: 1080.0
0 13.0
contributors (all time)
min: 1.0 | average: 5.12 | 25th percentile: 2.75 | median: 4.0 | 75th percentile: 6.25 | max: 13.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): 0 points

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

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

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