kubernetes / kube-state-metrics
File Age

File age measurements show the distribution of file ages (days since the first commit) and the recency of file updates (days since the latest commit).

Summary
  • Number of files: 63
  • Daily file updates (only one update per file and date counted): 6442
  • First update: 2016-05-06
  • Latest update: 2022-02-01
  • Days between first and latest update: 2098 (299 weeks, estimated 1495 working days)
  • Active days (at least one file change): 849
  • Data:
File Change History Overall
File Age Distribution Overall
Days since first update
  • There are 63 files with 8,916 lines of code in files.
    • 58 files that are 366+ days old (8,563 lines of code)
    • 1 files that are 181-365 days old (33 lines of code)
    • 0 files that are 91-180 days old (0 lines of code)
    • 4 files that are 31-90 days old (320 lines of code)
    • 0 files that are 1-30 days old (0 lines of code)
96% | <1% | 0% | 3% | 0%
Legend:
366+
181-365
91-180
31-90
1-30
Latest Change Distribution Overall
Days since last update
  • There are 63 files with 8,916 lines of code in files.
    • 12 files have been last changed 366+ days ago (344 lines of code)
    • 2 files have been last changed 181-365 days ago (98 lines of code)
    • 30 files have been last changed 91-180 days ago (5,992 lines of code)
    • 19 files have been last changed 31-90 days ago (2,482 lines of code)
    • 0 files have been last changed 1-30 days ago (0 lines of code)
3% | 1% | 67% | 27% | 0%
Legend:
366+
181-365
91-180
31-90
1-30
File Change History per File Extension
go, md, yaml, sh, json, libsonnet, jsonnet, yml, txt, mod, gitignore
File Age Distribution per Extension
Days since first update
366+
181-365
91-180
31-90
1-30
go96% | <1% | 0% | 3% | 0%
yaml100% | 0% | 0% | 0% | 0%
jsonnet100% | 0% | 0% | 0% | 0%
Latest Change Distribution per Extension
Days since last update
366+
181-365
91-180
31-90
1-30
go3% | 1% | 67% | 27% | 0%
jsonnet100% | 0% | 0% | 0% | 0%
yaml0% | 0% | 38% | 61% | 0%
File Change History per Logical Decomposition
primary
primary (file age distribution)
Days since first update
366+
181-365
91-180
31-90
1-30
internal/store100% | 0% | 0% | 0% | 0%
pkg/options100% | 0% | 0% | 0% | 0%
pkg/metricshandler100% | 0% | 0% | 0% | 0%
pkg/builder100% | 0% | 0% | 0% | 0%
pkg/metric100% | 0% | 0% | 0% | 0%
pkg/allowdenylist100% | 0% | 0% | 0% | 0%
pkg/sharding100% | 0% | 0% | 0% | 0%
pkg/metrics_store72% | 27% | 0% | 0% | 0%
pkg/watch100% | 0% | 0% | 0% | 0%
pkg/metric_generator71% | 0% | 0% | 28% | 0%
pkg/allow100% | 0% | 0% | 0% | 0%
ROOT100% | 0% | 0% | 0% | 0%
pkg/version100% | 0% | 0% | 0% | 0%
pkg/util100% | 0% | 0% | 0% | 0%
scripts100% | 0% | 0% | 0% | 0%
tools100% | 0% | 0% | 0% | 0%
pkg/constant100% | 0% | 0% | 0% | 0%
pkg/app0% | 0% | 0% | 100% | 0%
pkg/optin0% | 0% | 0% | 100% | 0%
pkg/customresource0% | 0% | 0% | 100% | 0%
primary (latest change distribution)
Days since last update
366+
181-365
91-180
31-90
1-30
pkg/metric100% | 0% | 0% | 0% | 0%
pkg/metrics_store72% | 0% | 27% | 0% | 0%
pkg/allow100% | 0% | 0% | 0% | 0%
pkg/options11% | 0% | 59% | 28% | 0%
pkg/version100% | 0% | 0% | 0% | 0%
scripts100% | 0% | 0% | 0% | 0%
tools100% | 0% | 0% | 0% | 0%
pkg/constant100% | 0% | 0% | 0% | 0%
pkg/util10% | 0% | 0% | 90% | 0%
pkg/sharding0% | 100% | 0% | 0% | 0%
internal/store0% | 0% | 76% | 23% | 0%
pkg/metricshandler0% | 0% | 100% | 0% | 0%
pkg/watch0% | 0% | 100% | 0% | 0%
ROOT0% | 0% | 14% | 85% | 0%
pkg/app0% | 0% | 0% | 100% | 0%
pkg/builder0% | 0% | 0% | 100% | 0%
pkg/allowdenylist0% | 0% | 0% | 100% | 0%
pkg/metric_generator0% | 0% | 0% | 100% | 0%
pkg/optin0% | 0% | 0% | 100% | 0%
pkg/customresource0% | 0% | 0% | 100% | 0%
Oldest Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
main.go
in root
29 1 31 2100 167
types.go
in pkg/options
184 18 107 1379 39
options.go
in pkg/options
88 4 65 1379 60
version.go
in pkg/version
35 2 1068 1379 5
resource_unit.go
in pkg/constant
7 - 1068 1348 4
metrics_store.go
in pkg/metrics_store
87 11 487 1269 27
builder.go
in internal/store
390 55 31 1155 88
metrics_handler.go
in pkg/metricshandler
189 7 173 1155 19
listwatch.go
in pkg/sharding
70 4 338 1155 9
metric.go
in pkg/metric
80 4 1036 1120 8
family.go
in pkg/metric
24 2 553 1120 11
kustomization.yaml
in root
7 - 113 1099 6
node.go
in internal/store
403 13 119 982 38
job.go
in internal/store
362 4 119 982 27
deployment.go
in internal/store
300 3 119 982 33
cronjob.go
in internal/store
279 4 31 982 36
statefulset.go
in internal/store
255 3 119 982 27
daemonset.go
in internal/store
252 3 119 982 29
persistentvolume.go
in internal/store
251 3 77 982 38
replicaset.go
in internal/store
231 3 119 982 24
Files Not Recently Changed (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
resource_unit.go
in pkg/constant
7 - 1068 1348 4
version.go
in pkg/version
35 2 1068 1379 5
metric.go
in pkg/metric
80 4 1036 1120 8
reaper_unsupported.go
in pkg/util/proc
3 1 928 929 2
autosharding.jsonnet
in scripts
1 - 856 861 2
tools.go
in tools
8 - 834 835 2
mixin.jsonnet
in scripts
6 - 792 829 2
resource.go
in pkg/options
37 - 725 729 2
family.go
in pkg/metric
24 2 553 1120 11
metrics_store.go
in pkg/metrics_store
87 11 487 1269 27
allow_labels.go
in pkg/allow
48 2 464 657 5
standard.jsonnet
in scripts
8 - 427 861 4
metrics.go
in pkg/sharding
28 1 352 402 4
listwatch.go
in pkg/sharding
70 4 338 1155 9
metrics_writer.go
in pkg/metrics_store
33 2 173 242 5
metrics_handler.go
in pkg/metricshandler
189 7 173 1155 19
watch.go
in pkg/watch
69 4 169 907 10
utils.go
in internal/store
133 16 169 974 33
testutils.go
in internal/store
110 6 141 974 16
mutatingwebhookconfiguration.go
in internal/store
81 2 119 861 25
Most Recently Created Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
server.go
in pkg/app
237 6 31 67 2
registry_factory.go
in pkg/customresource
13 - 31 67 2
optin.go
in pkg/optin
43 4 65 71 2
filter.go
in pkg/metric_generator
27 3 74 81 3
metrics_writer.go
in pkg/metrics_store
33 2 173 242 5
metrics.go
in pkg/sharding
28 1 352 402 4
cloudbuild.yaml
in root
11 - 66 603 11
allow_labels.go
in pkg/allow
48 2 464 657 5
resource.go
in pkg/options
37 - 725 729 2
allowdenylist.go
in pkg/allowdenylist
102 9 74 732 5
lease.go
in internal/store
87 2 119 740 11
horizontalpodautoscaler.go
in internal/store
265 4 57 784 22
mixin.jsonnet
in scripts
6 - 792 829 2
tools.go
in tools
8 - 834 835 2
builder.go
in pkg/builder
80 20 31 843 30
interfaces.go
in pkg/builder/types
48 - 31 843 36
generator.go
in pkg/metric_generator
68 6 65 845 24
volumeattachment.go
in internal/store
147 2 119 847 17
validatingwebhookconfiguration.go
in internal/store
81 2 119 861 28
mutatingwebhookconfiguration.go
in internal/store
81 2 119 861 25
Most Recently Changed Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
builder.go
in internal/store
390 55 31 1155 88
cronjob.go
in internal/store
279 4 31 982 36
server.go
in pkg/app
237 6 31 67 2
poddisruptionbudget.go
in internal/store
174 3 31 982 24
builder.go
in pkg/builder
80 20 31 843 30
interfaces.go
in pkg/builder/types
48 - 31 843 36
main.go
in root
29 1 31 2100 167
registry_factory.go
in pkg/customresource
13 - 31 67 2
ingress.go
in internal/store
176 3 50 982 38
horizontalpodautoscaler.go
in internal/store
265 4 57 784 22
options.go
in pkg/options
88 4 65 1379 60
generator.go
in pkg/metric_generator
68 6 65 845 24
optin.go
in pkg/optin
43 4 65 71 2
cloudbuild.yaml
in root
11 - 66 603 11
allowdenylist.go
in pkg/allowdenylist
102 9 74 732 5
filter.go
in pkg/metric_generator
27 3 74 81 3
persistentvolume.go
in internal/store
251 3 77 982 38
reaper.go
in pkg/util/proc
27 1 77 929 6
endpoint.go
in internal/store
174 3 86 982 28
types.go
in pkg/options
184 18 107 1379 39