kubernetes / apiserver
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: 567
  • Daily file updates (only one update per file and date counted): 3638
  • First update: 2016-11-07
  • Latest update: 2022-02-01
  • Days between first and latest update: 1913 (273 weeks, estimated 1365 working days)
  • Active days (at least one file change): 1430
  • Data:
File Change History Overall
File Age Distribution Overall
Days since first update
  • There are 567 files with 70,905 lines of code in files.
    • 524 files that are 366+ days old (68,568 lines of code)
    • 30 files that are 181-365 days old (1,816 lines of code)
    • 10 files that are 91-180 days old (335 lines of code)
    • 3 files that are 31-90 days old (186 lines of code)
    • 0 files that are 1-30 days old (0 lines of code)
96% | 2% | <1% | <1% | 0%
Legend:
366+
181-365
91-180
31-90
1-30
Latest Change Distribution Overall
Days since last update
  • There are 567 files with 70,905 lines of code in files.
    • 279 files have been last changed 366+ days ago (22,948 lines of code)
    • 92 files have been last changed 181-365 days ago (7,012 lines of code)
    • 130 files have been last changed 91-180 days ago (24,237 lines of code)
    • 44 files have been last changed 31-90 days ago (9,878 lines of code)
    • 22 files have been last changed 1-30 days ago (6,830 lines of code)
32% | 9% | 34% | 13% | 9%
Legend:
366+
181-365
91-180
31-90
1-30
File Change History per File Extension
go, json, yaml, sh, md, proto, txt, mod
File Age Distribution per Extension
Days since first update
366+
181-365
91-180
31-90
1-30
go96% | 2% | <1% | <1% | 0%
yaml100% | 0% | 0% | 0% | 0%
proto100% | 0% | 0% | 0% | 0%
Latest Change Distribution per Extension
Days since last update
366+
181-365
91-180
31-90
1-30
go24% | 11% | 37% | 15% | 10%
yaml100% | 0% | 0% | 0% | 0%
proto29% | 0% | 70% | 0% | 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
pkg/apis99% | <1% | <1% | 0% | 0%
pkg/endpoints96% | 1% | 1% | 0% | 0%
pkg/server95% | 4% | 0% | 0% | 0%
pkg/admission100% | 0% | 0% | 0% | 0%
pkg/storage97% | 0% | <1% | 1% | 0%
pkg/util80% | 16% | 1% | 1% | 0%
pkg/registry100% | 0% | 0% | 0% | 0%
plugin/pkg98% | 1% | 0% | 0% | 0%
pkg/authentication97% | 2% | 0% | 0% | 0%
pkg/audit97% | 2% | 0% | 0% | 0%
pkg/quota100% | 0% | 0% | 0% | 0%
pkg/storageversion100% | 0% | 0% | 0% | 0%
pkg/authorization88% | 11% | 0% | 0% | 0%
pkg/features100% | 0% | 0% | 0% | 0%
pkg/warning100% | 0% | 0% | 0% | 0%
pkg/tracing0% | 100% | 0% | 0% | 0%
ROOT0% | 0% | 100% | 0% | 0%
primary (latest change distribution)
Days since last update
366+
181-365
91-180
31-90
1-30
pkg/endpoints56% | 8% | 11% | 19% | 3%
pkg/apis21% | <1% | 75% | 0% | 2%
pkg/admission50% | 3% | 11% | 21% | 12%
pkg/storage31% | 15% | 11% | 15% | 25%
pkg/server13% | 21% | 30% | 26% | 7%
pkg/authentication77% | 22% | 0% | 0% | 0%
pkg/util11% | 13% | 22% | 20% | 31%
plugin/pkg31% | 1% | 0% | 66% | 0%
pkg/registry11% | 13% | 42% | 2% | 30%
pkg/quota53% | 46% | 0% | 0% | 0%
pkg/audit21% | 23% | 54% | 0% | 0%
pkg/authorization44% | 55% | 0% | 0% | 0%
pkg/storageversion42% | 57% | 0% | 0% | 0%
pkg/warning100% | 0% | 0% | 0% | 0%
pkg/tracing0% | 100% | 0% | 0% | 0%
ROOT0% | 0% | 100% | 0% | 0%
pkg/features0% | 0% | 0% | 0% | 100%
Oldest Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
resttest.go
in pkg/registry/rest/resttest
1358 65 165 1910 49
store.go
in pkg/registry/generic/registry
1020 38 11 1910 139
rest.go
in pkg/endpoints/handlers
392 28 123 1910 130
watcher.go
in pkg/storage/etcd3
359 21 247 1910 35
admission.go
in pkg/server/options
154 7 756 1910 62
rest.go
in pkg/registry/rest
135 2 294 1910 53
selection_predicate.go
in pkg/storage
108 10 728 1910 18
interfaces.go
in pkg/storage
100 3 58 1910 51
interfaces.go
in pkg/authorization/authorizer
83 12 294 1857 13
user.go
in pkg/authentication/user
37 4 525 1857 4
writer.go
in pkg/util/flushwriter
28 2 1857 1857 1
interfaces.go
in pkg/authentication/authenticator
24 2 687 1857 5
doc.go
in pkg/authentication/user
1 - 1120 1857 3
doc.go
in pkg/util/flushwriter
1 - 1857 1857 1
x509.go
in pkg/authentication/request/x509
178 12 273 1856 31
tokenfile.go
in pkg/authentication/token/tokenfile
69 3 658 1856 8
union.go
in pkg/authorization/union
61 4 525 1856 13
union.go
in pkg/authentication/request/union
39 3 1200 1856 4
bearertoken.go
in pkg/authentication/request/bearertoken
36 2 501 1856 6
group_adder.go
in pkg/authentication/group
26 2 1200 1856 3
Files Not Recently Changed (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
doc.go
in pkg/util/flushwriter
1 - 1857 1857 1
writer.go
in pkg/util/flushwriter
28 2 1857 1857 1
doc.go
in pkg/authentication/request/x509
1 - 1856 1856 1
doc.go
in pkg/util/wsstream
1 - 1848 1848 1
doc.go
in pkg/endpoints/request
1 - 1843 1844 2
doc.go
in pkg/server/httplog
1 - 1843 1844 2
doc.go
in plugin/pkg/authenticator
1 - 1842 1842 1
doc.go
in pkg/server/filters
1 - 1835 1835 1
doc.go
in pkg/storage
1 - 1830 1830 1
conversion.go
in pkg/apis/example/v1
7 1 1830 1830 1
doc.go
in pkg/server/options
1 - 1829 1829 1
doc.go
in pkg/endpoints/filters
1 - 1828 1828 1
doc.go
in pkg/endpoints
1 - 1828 1828 1
doc.go
in pkg/endpoints/handlers/responsewriters
1 - 1828 1828 1
doc.go
in pkg/endpoints/handlers
1 - 1828 1828 1
doc.go
in pkg/registry/rest
1 - 1828 1828 1
doc.go
in pkg/registry
1 - 1828 1828 1
doc.go
in pkg/registry/generic/rest
1 - 1828 1828 1
doc.go
in pkg/registry/generic/registry
1 - 1828 1828 1
doc.go
in pkg/registry/generic
1 - 1828 1828 1
Most Recently Created Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
watch_cache_interval.go
in pkg/storage/cacher
112 7 11 61 2
observer.go
in pkg/util/flowcontrol/metrics
22 - 81 81 1
enablement.go
in pkg/util/openapi
52 3 79 87 2
seat_seconds.go
in pkg/util/flowcontrol/request
25 4 95 100 2
webhook_duration.go
in pkg/endpoints/request
72 9 81 102 2
webhook_duration.go
in pkg/endpoints/filters
12 1 81 102 2
mux_discovery_complete.go
in pkg/endpoints/filters
29 3 101 108 3
not_found_handler.go
in pkg/util/notfoundhandler
37 2 101 112 4
doc.go
in root
1 - 128 129 2
wrapper.go
in pkg/endpoints/responsewriter
78 5 80 137 3
fake.go
in pkg/endpoints/responsewriter
22 6 122 137 2
conversion.go
in pkg/apis/apiserver/v1beta1
14 1 141 141 1
metrics.go
in pkg/storage/cacher/metrics
45 2 135 156 2
fake.go
in pkg/util/flowcontrol/fairqueuing/testing/eventclock
175 15 23 182 6
real.go
in pkg/util/flowcontrol/fairqueuing/eventclock
19 2 182 182 1
interface.go
in pkg/util/flowcontrol/fairqueuing/eventclock
12 - 182 182 1
counting.go
in pkg/util/flowcontrol/fairqueuing/testing/promise
61 3 190 190 1
promise.go
in pkg/util/flowcontrol/fairqueuing/promise
40 3 183 196 3
with_retry_after.go
in pkg/server/filters
61 5 157 205 5
mutating_work_estimator.go
in pkg/util/flowcontrol/request
59 3 30 212 9
Most Recently Changed Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
apf_controller.go
in pkg/util/flowcontrol
612 25 9 740 53
store.go
in pkg/registry/generic/registry
1020 38 11 1910 139
watch_cache.go
in pkg/storage/cacher
431 27 11 1346 50
watch_cache_interval.go
in pkg/storage/cacher
112 7 11 61 2
dryrun.go
in pkg/util/dryrun
26 2 11 1324 4
kube_features.go
in pkg/features
57 1 17 1841 106
default.go
in pkg/apis/flowcontrol/bootstrap
488 7 22 813 26
cacher.go
in pkg/storage/cacher
937 63 23 1346 118
queueset.go
in pkg/util/flowcontrol/fairqueuing/queueset
663 40 23 828 83
httplog.go
in pkg/server/httplog
219 24 23 1827 46
fake.go
in pkg/util/flowcontrol/fairqueuing/testing/eventclock
175 15 23 182 6
storage_factory.go
in pkg/registry/generic/registry
91 5 23 1828 38
logger.go
in pkg/storage/etcd3
56 14 23 1171 11
timeout.go
in pkg/server/filters
194 13 25 1835 48
dispatcher.go
in pkg/admission/plugin/webhook/mutating
366 9 28 1480 64
dispatcher.go
in pkg/admission/plugin/webhook/validating
214 3 28 1480 53
metrics.go
in pkg/admission/metrics
210 15 28 1540 31
healthz.go
in pkg/server/healthz
207 21 29 1843 47
proxy.go
in pkg/util/proxy
85 3 29 1751 8
feature.go
in pkg/server/options
41 4 29 1823 12