GoogleCloudPlatform / db-context-enrichment
File Size

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

Intro
Learn more...
File Size Overall
0% | 25% | 44% | 16% | 13%
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% | 25% | 44% | 17% | 13%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
internal0% | 30% | 51% | 10% | 7%
cmd0% | 0% | 0% | 55% | 44%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
enricher.go
in internal/enricher
734 16
sqlserver.go
in internal/database/sqlserver
452 18
mysql.go
in internal/database/mysql
421 19
postgres.go
in internal/database/postgres
398 17
database.go
in internal/database
144 16
130 2
files_utils.go
in internal/utils
113 6
root.go
in cmd
102 5
83 2
retry.go
in internal/enricher
64 2
errors.go
in internal/enricher
55 10
55 2
48 2
config.go
in internal/config
33 2
types.go
in internal/enricher
20 -
13 -
logger.go
in internal/utils
11 2
main.go
in root
7 1
Files With Most Units (Top 16)
File# lines# units
mysql.go
in internal/database/mysql
421 19
sqlserver.go
in internal/database/sqlserver
452 18
postgres.go
in internal/database/postgres
398 17
database.go
in internal/database
144 16
enricher.go
in internal/enricher
734 16
errors.go
in internal/enricher
55 10
files_utils.go
in internal/utils
113 6
root.go
in cmd
102 5
logger.go
in internal/utils
11 2
config.go
in internal/config
33 2
retry.go
in internal/enricher
64 2
48 2
55 2
83 2
130 2
main.go
in root
7 1
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 97 long lines.

File# lines# units# long lines
enricher.go
in internal/enricher
734 16 35
sqlserver.go
in internal/database/sqlserver
452 18 16
mysql.go
in internal/database/mysql
421 19 10
postgres.go
in internal/database/postgres
398 17 10
130 2 9
root.go
in cmd
102 5 7
83 2 4
48 2 3
55 2 2
retry.go
in internal/enricher
64 2 1
Correlations

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

cmd/add_comments.go x: 1 commits (all time) y: 130 lines of code cmd/apply_comments.go x: 1 commits (all time) y: 48 lines of code cmd/delete_comments.go x: 1 commits (all time) y: 83 lines of code cmd/get_comments.go x: 1 commits (all time) y: 55 lines of code cmd/root.go x: 1 commits (all time) y: 102 lines of code internal/config/config.go x: 1 commits (all time) y: 33 lines of code internal/database/database.go x: 1 commits (all time) y: 144 lines of code internal/database/mysql/mysql.go x: 1 commits (all time) y: 421 lines of code internal/database/postgres/postgres.go x: 1 commits (all time) y: 398 lines of code internal/database/sqlserver/sqlserver.go x: 1 commits (all time) y: 452 lines of code internal/enricher/enricher.go x: 1 commits (all time) y: 734 lines of code internal/enricher/types.go x: 1 commits (all time) y: 20 lines of code internal/utils/files_utils.go x: 1 commits (all time) y: 113 lines of code
734.0
lines of code
  min: 20.0
  average: 210.23
  25th percentile: 51.5
  median: 113.0
  75th percentile: 409.5
  max: 734.0
0 1.0
commits (all time)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

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

cmd/add_comments.go x: 1 contributors (all time) y: 130 lines of code cmd/apply_comments.go x: 1 contributors (all time) y: 48 lines of code cmd/delete_comments.go x: 1 contributors (all time) y: 83 lines of code cmd/get_comments.go x: 1 contributors (all time) y: 55 lines of code cmd/root.go x: 1 contributors (all time) y: 102 lines of code internal/config/config.go x: 1 contributors (all time) y: 33 lines of code internal/database/database.go x: 1 contributors (all time) y: 144 lines of code internal/database/mysql/mysql.go x: 1 contributors (all time) y: 421 lines of code internal/database/postgres/postgres.go x: 1 contributors (all time) y: 398 lines of code internal/database/sqlserver/sqlserver.go x: 1 contributors (all time) y: 452 lines of code internal/enricher/enricher.go x: 1 contributors (all time) y: 734 lines of code internal/enricher/types.go x: 1 contributors (all time) y: 20 lines of code internal/utils/files_utils.go x: 1 contributors (all time) y: 113 lines of code
734.0
lines of code
  min: 20.0
  average: 210.23
  25th percentile: 51.5
  median: 113.0
  75th percentile: 409.5
  max: 734.0
0 1.0
contributors (all time)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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): 13 points

cmd/add_comments.go x: 1 commits (90d) y: 130 lines of code cmd/apply_comments.go x: 1 commits (90d) y: 48 lines of code cmd/delete_comments.go x: 1 commits (90d) y: 83 lines of code cmd/get_comments.go x: 1 commits (90d) y: 55 lines of code cmd/root.go x: 1 commits (90d) y: 102 lines of code internal/config/config.go x: 1 commits (90d) y: 33 lines of code internal/database/database.go x: 1 commits (90d) y: 144 lines of code internal/database/mysql/mysql.go x: 1 commits (90d) y: 421 lines of code internal/database/postgres/postgres.go x: 1 commits (90d) y: 398 lines of code internal/database/sqlserver/sqlserver.go x: 1 commits (90d) y: 452 lines of code internal/enricher/enricher.go x: 1 commits (90d) y: 734 lines of code internal/enricher/types.go x: 1 commits (90d) y: 20 lines of code internal/utils/files_utils.go x: 1 commits (90d) y: 113 lines of code
734.0
lines of code
  min: 20.0
  average: 210.23
  25th percentile: 51.5
  median: 113.0
  75th percentile: 409.5
  max: 734.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): 13 points

cmd/add_comments.go x: 1 contributors (90d) y: 130 lines of code cmd/apply_comments.go x: 1 contributors (90d) y: 48 lines of code cmd/delete_comments.go x: 1 contributors (90d) y: 83 lines of code cmd/get_comments.go x: 1 contributors (90d) y: 55 lines of code cmd/root.go x: 1 contributors (90d) y: 102 lines of code internal/config/config.go x: 1 contributors (90d) y: 33 lines of code internal/database/database.go x: 1 contributors (90d) y: 144 lines of code internal/database/mysql/mysql.go x: 1 contributors (90d) y: 421 lines of code internal/database/postgres/postgres.go x: 1 contributors (90d) y: 398 lines of code internal/database/sqlserver/sqlserver.go x: 1 contributors (90d) y: 452 lines of code internal/enricher/enricher.go x: 1 contributors (90d) y: 734 lines of code internal/enricher/types.go x: 1 contributors (90d) y: 20 lines of code internal/utils/files_utils.go x: 1 contributors (90d) y: 113 lines of code
734.0
lines of code
  min: 20.0
  average: 210.23
  25th percentile: 51.5
  median: 113.0
  75th percentile: 409.5
  max: 734.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