GoogleCloudPlatform / netd
File Size

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

Intro
Learn more...
File Size Overall
0% | 0% | 53% | 28% | 17%
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% | 53% | 28% | 18%
yaml0% | 0% | 100% | 0% | 0%
c0% | 0% | 0% | 100% | 0%
in0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
pkg0% | 0% | 54% | 28% | 16%
ROOT0% | 0% | 93% | 0% | 6%
scripts0% | 0% | 0% | 70% | 29%
cmd0% | 0% | 0% | 0% | 100%
tools0% | 0% | 0% | 0% | 100%
Longest Files (Top 26)
File# lines# units
pod_ip_metrics.go
in pkg/metrics/collector
387 15
netlink_metrics.go
in pkg/metrics/collector
316 18
246 1
netd.yaml
in root
244 -
parse.go
in pkg/tcp_metrics/parser
231 20
structs.go
in pkg/tcp_metrics/inetdiag
208 21
conntrack.go
in pkg/metrics/collector
184 8
config.go
in pkg/config
183 8
inotify.c
in scripts/inotify
152 3
sockstat.go
in pkg/metrics/collector
143 9
inetdiag.go
in pkg/tcp_metrics/inetdiag
114 2
kernel_metrics.go
in pkg/metrics/collector
113 4
tcpinfo.go
in pkg/tcp_metrics/tcp
95 1
collector.go
in pkg/metrics/collector
81 5
network_config_controller.go
in pkg/controllers/netconf
78 4
metrics.go
in pkg/metrics
66 2
in
Dockerfile.in
in scripts
58 -
main.go
in cmd/netd
40 1
parser_linux.go
in pkg/tcp_metrics/parser
32 2
options.go
in pkg/options
24 2
helper.go
in pkg/metrics/collector
23 2
kernel.go
in pkg/kernel
23 2
in
16 -
tools.go
in tools
6 -
tools.go
in scripts/tools
6 -
version.go
in pkg/version
2 -
Files With Most Units (Top 20)
File# lines# units
structs.go
in pkg/tcp_metrics/inetdiag
208 21
parse.go
in pkg/tcp_metrics/parser
231 20
netlink_metrics.go
in pkg/metrics/collector
316 18
pod_ip_metrics.go
in pkg/metrics/collector
387 15
sockstat.go
in pkg/metrics/collector
143 9
conntrack.go
in pkg/metrics/collector
184 8
config.go
in pkg/config
183 8
collector.go
in pkg/metrics/collector
81 5
kernel_metrics.go
in pkg/metrics/collector
113 4
network_config_controller.go
in pkg/controllers/netconf
78 4
inotify.c
in scripts/inotify
152 3
metrics.go
in pkg/metrics
66 2
helper.go
in pkg/metrics/collector
23 2
kernel.go
in pkg/kernel
23 2
options.go
in pkg/options
24 2
parser_linux.go
in pkg/tcp_metrics/parser
32 2
inetdiag.go
in pkg/tcp_metrics/inetdiag
114 2
246 1
tcpinfo.go
in pkg/tcp_metrics/tcp
95 1
main.go
in cmd/netd
40 1
Files With Long Lines (Top 8)

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

File# lines# units# long lines
conntrack.go
in pkg/metrics/collector
184 8 5
sockstat.go
in pkg/metrics/collector
143 9 3
pod_ip_metrics.go
in pkg/metrics/collector
387 15 2
network_config_controller.go
in pkg/controllers/netconf
78 4 2
collector.go
in pkg/metrics/collector
81 5 1
config.go
in pkg/config
183 8 1
inetdiag.go
in pkg/tcp_metrics/inetdiag
114 2 1
main.go
in cmd/netd
40 1 1
Correlations

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

pkg/config/config_policy_routing.go x: 31 commits (all time) y: 246 lines of code pkg/controllers/netconf/network_config_controller.go x: 36 commits (all time) y: 78 lines of code pkg/kernel/kernel.go x: 1 commits (all time) y: 23 lines of code pkg/metrics/collector/netlink_metrics.go x: 9 commits (all time) y: 316 lines of code pkg/metrics/collector/pod_ip_metrics.go x: 11 commits (all time) y: 387 lines of code Dockerfile.in x: 30 commits (all time) y: 16 lines of code scripts/Dockerfile.in x: 22 commits (all time) y: 58 lines of code tools/tools.go x: 2 commits (all time) y: 6 lines of code netd.yaml x: 53 commits (all time) y: 244 lines of code pkg/metrics/collector/kernel_metrics.go x: 4 commits (all time) y: 113 lines of code cmd/netd/main.go x: 21 commits (all time) y: 40 lines of code pkg/options/options.go x: 19 commits (all time) y: 24 lines of code pkg/metrics/collector/conntrack.go x: 4 commits (all time) y: 184 lines of code pkg/metrics/collector/collector.go x: 5 commits (all time) y: 81 lines of code pkg/metrics/collector/helper.go x: 5 commits (all time) y: 23 lines of code pkg/metrics/metrics.go x: 11 commits (all time) y: 66 lines of code scripts/inotify/inotify.c x: 2 commits (all time) y: 152 lines of code pkg/version/version.go x: 4 commits (all time) y: 2 lines of code pkg/tcp_metrics/inetdiag/inetdiag.go x: 2 commits (all time) y: 114 lines of code pkg/tcp_metrics/inetdiag/structs.go x: 2 commits (all time) y: 208 lines of code pkg/tcp_metrics/parser/parse.go x: 2 commits (all time) y: 231 lines of code pkg/tcp_metrics/parser/parser_linux.go x: 2 commits (all time) y: 32 lines of code pkg/tcp_metrics/tcp/tcpinfo.go x: 2 commits (all time) y: 95 lines of code pkg/config/config.go x: 26 commits (all time) y: 183 lines of code pkg/metrics/collector/sockstat.go x: 2 commits (all time) y: 143 lines of code
387.0
lines of code
  min: 2.0
  average: 118.12
  25th percentile: 23.75
  median: 88.0
  75th percentile: 190.0
  max: 387.0
0 53.0
commits (all time)
min: 1.0 | average: 11.92 | 25th percentile: 2.0 | median: 4.5 | 75th percentile: 21.25 | max: 53.0

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

pkg/config/config_policy_routing.go x: 10 contributors (all time) y: 246 lines of code pkg/controllers/netconf/network_config_controller.go x: 8 contributors (all time) y: 78 lines of code pkg/kernel/kernel.go x: 1 contributors (all time) y: 23 lines of code pkg/metrics/collector/netlink_metrics.go x: 5 contributors (all time) y: 316 lines of code pkg/metrics/collector/pod_ip_metrics.go x: 6 contributors (all time) y: 387 lines of code Dockerfile.in x: 8 contributors (all time) y: 16 lines of code scripts/Dockerfile.in x: 2 contributors (all time) y: 58 lines of code tools/tools.go x: 1 contributors (all time) y: 6 lines of code netd.yaml x: 10 contributors (all time) y: 244 lines of code pkg/metrics/collector/kernel_metrics.go x: 4 contributors (all time) y: 113 lines of code cmd/netd/main.go x: 9 contributors (all time) y: 40 lines of code pkg/options/options.go x: 8 contributors (all time) y: 24 lines of code pkg/metrics/collector/conntrack.go x: 4 contributors (all time) y: 184 lines of code pkg/metrics/collector/collector.go x: 5 contributors (all time) y: 81 lines of code pkg/metrics/collector/helper.go x: 5 contributors (all time) y: 23 lines of code pkg/metrics/metrics.go x: 7 contributors (all time) y: 66 lines of code scripts/inotify/inotify.c x: 1 contributors (all time) y: 152 lines of code pkg/version/version.go x: 3 contributors (all time) y: 2 lines of code pkg/tcp_metrics/inetdiag/inetdiag.go x: 2 contributors (all time) y: 114 lines of code pkg/tcp_metrics/inetdiag/structs.go x: 2 contributors (all time) y: 208 lines of code pkg/tcp_metrics/parser/parse.go x: 2 contributors (all time) y: 231 lines of code pkg/tcp_metrics/parser/parser_linux.go x: 2 contributors (all time) y: 32 lines of code pkg/tcp_metrics/tcp/tcpinfo.go x: 2 contributors (all time) y: 95 lines of code pkg/config/config.go x: 6 contributors (all time) y: 183 lines of code pkg/metrics/collector/sockstat.go x: 2 contributors (all time) y: 143 lines of code
387.0
lines of code
  min: 2.0
  average: 118.12
  25th percentile: 23.75
  median: 88.0
  75th percentile: 190.0
  max: 387.0
0 10.0
contributors (all time)
min: 1.0 | average: 4.46 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 7.25 | max: 10.0

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

pkg/config/config_policy_routing.go x: 1 commits (30d) y: 246 lines of code pkg/controllers/netconf/network_config_controller.go x: 1 commits (30d) y: 78 lines of code pkg/kernel/kernel.go x: 1 commits (30d) y: 23 lines of code
246.0
lines of code
  min: 23.0
  average: 115.67
  25th percentile: 23.0
  median: 78.0
  75th percentile: 246.0
  max: 246.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): 3 points

pkg/config/config_policy_routing.go x: 1 contributors (30d) y: 246 lines of code pkg/controllers/netconf/network_config_controller.go x: 1 contributors (30d) y: 78 lines of code pkg/kernel/kernel.go x: 1 contributors (30d) y: 23 lines of code
246.0
lines of code
  min: 23.0
  average: 115.67
  25th percentile: 23.0
  median: 78.0
  75th percentile: 246.0
  max: 246.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): 5 points

pkg/config/config_policy_routing.go x: 1 commits (90d) y: 246 lines of code pkg/controllers/netconf/network_config_controller.go x: 1 commits (90d) y: 78 lines of code pkg/kernel/kernel.go x: 1 commits (90d) y: 23 lines of code pkg/metrics/collector/netlink_metrics.go x: 1 commits (90d) y: 316 lines of code pkg/metrics/collector/pod_ip_metrics.go x: 1 commits (90d) y: 387 lines of code
387.0
lines of code
  min: 23.0
  average: 210.0
  25th percentile: 50.5
  median: 246.0
  75th percentile: 351.5
  max: 387.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): 5 points

pkg/config/config_policy_routing.go x: 1 contributors (90d) y: 246 lines of code pkg/controllers/netconf/network_config_controller.go x: 1 contributors (90d) y: 78 lines of code pkg/kernel/kernel.go x: 1 contributors (90d) y: 23 lines of code pkg/metrics/collector/netlink_metrics.go x: 1 contributors (90d) y: 316 lines of code pkg/metrics/collector/pod_ip_metrics.go x: 1 contributors (90d) y: 387 lines of code
387.0
lines of code
  min: 23.0
  average: 210.0
  25th percentile: 50.5
  median: 246.0
  75th percentile: 351.5
  max: 387.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