aws / amazon-eks-connector
File Size

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

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 36 files with 1,692 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (231 lines of codeclsfd_ftr_w_mp_ins)
    • 0 small files (0 lines of code)
    • 35 very small files (1,461 lines of code)
0% | 0% | 13% | 0% | 86%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: zoomable circles | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
yaml0% | 0% | 85% | 0% | 14%
go0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
manifests0% | 0% | 85% | 0% | 14%
pkg/state0% | 0% | 0% | 0% | 100%
pkg/k8s0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
pkg/ssm0% | 0% | 0% | 0% | 100%
pkg/agent0% | 0% | 0% | 0% | 100%
pkg/initializer0% | 0% | 0% | 0% | 100%
pkg/server0% | 0% | 0% | 0% | 100%
pkg/proxy0% | 0% | 0% | 0% | 100%
pkg/fsnotify0% | 0% | 0% | 0% | 100%
pkg/serviceaccount0% | 0% | 0% | 0% | 100%
pkg/config0% | 0% | 0% | 0% | 100%
Longest Files (Top 36)
File# lines# units
eks-connector.yaml
in manifests
231 -
state.go
in pkg/state
100 8
proxy.go
in pkg/proxy
91 6
fsnotify.go
in pkg/fsnotify
87 5
secret.go
in pkg/k8s
85 4
initializer.go
in pkg/initializer
83 3
init.go
in cmd
70 1
registration.go
in pkg/agent
64 2
server.go
in cmd
61 1
persistence_fs.go
in pkg/state
60 5
ssm.go
in pkg/ssm
56 3
serviceaccount.go
in pkg/serviceaccount
56 4
persistence_secret.go
in pkg/state
51 5
server.go
in pkg/server
49 3
auth.go
in pkg/agent
42 4
eks-connector-roles-example.yaml
in manifests
38 -
config.go
in pkg/config
34 -
hack.go
in pkg/ssm
34 1
mock_persistence.go
in pkg/state
33 2
mock_secret.go
in pkg/k8s
33 2
podindex.go
in pkg/k8s
33 2
mock_client.go
in pkg/ssm
31 2
serialization.go
in pkg/state
30 -
mock_registration.go
in pkg/agent
26 1
root.go
in cmd
26 2
listener_unix.go
in pkg/server
25 2
mock_provider.go
in pkg/config
23 1
mock_secret_provider.go
in pkg/serviceaccount
23 1
mock_pod_index_provider.go
in pkg/k8s
21 1
mock_aws_requester.go
in pkg/ssm
20 1
provider.go
in pkg/config
18 2
listener.go
in pkg/server
16 1
mock_aws_request.go
in pkg/ssm
15 1
mock_initializer.go
in pkg/initializer
15 1
listener_tcp.go
in pkg/server
7 1
persistence.go
in pkg/state
5 -
Files With Most Units (Top 20)
File# lines# units
state.go
in pkg/state
100 8
proxy.go
in pkg/proxy
91 6
persistence_fs.go
in pkg/state
60 5
persistence_secret.go
in pkg/state
51 5
fsnotify.go
in pkg/fsnotify
87 5
auth.go
in pkg/agent
42 4
serviceaccount.go
in pkg/serviceaccount
56 4
secret.go
in pkg/k8s
85 4
ssm.go
in pkg/ssm
56 3
server.go
in pkg/server
49 3
initializer.go
in pkg/initializer
83 3
mock_persistence.go
in pkg/state
33 2
provider.go
in pkg/config
18 2
registration.go
in pkg/agent
64 2
mock_client.go
in pkg/ssm
31 2
mock_secret.go
in pkg/k8s
33 2
podindex.go
in pkg/k8s
33 2
listener_unix.go
in pkg/server
25 2
root.go
in cmd
26 2
mock_provider.go
in pkg/config
23 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
initializer.go
in pkg/initializer
83 3 2
proxy.go
in pkg/proxy
91 6 1
mock_client.go
in pkg/ssm
31 2 1
ssm.go
in pkg/ssm
56 3 1
secret.go
in pkg/k8s
85 4 1