kubernetes / node-problem-detector
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: 92
  • Daily file updates (only one update per file and date counted): 4884
  • First update: 2016-05-17
  • Latest update: 2021-12-16
  • Days between first and latest update: 2040 (291 weeks, estimated 1455 working days)
  • Active days (at least one file change): 374
  • Data:
File Change History Overall
File Age Distribution Overall
Days since first update
  • There are 92 files with 5,704 lines of code in files.
    • 81 files that are 366+ days old (5,288 lines of code)
    • 10 files that are 181-365 days old (400 lines of code)
    • 1 files that are 91-180 days old (16 lines of code)
    • 0 files that are 31-90 days old (0 lines of code)
    • 0 files that are 1-30 days old (0 lines of code)
92% | 7% | <1% | 0% | 0%
Legend:
366+
181-365
91-180
31-90
1-30
Latest Change Distribution Overall
Days since last update
  • There are 92 files with 5,704 lines of code in files.
    • 57 files have been last changed 366+ days ago (3,164 lines of code)
    • 30 files have been last changed 181-365 days ago (2,148 lines of code)
    • 4 files have been last changed 91-180 days ago (376 lines of code)
    • 1 files have been last changed 31-90 days ago (16 lines of code)
    • 0 files have been last changed 1-30 days ago (0 lines of code)
55% | 37% | 6% | <1% | 0%
Legend:
366+
181-365
91-180
31-90
1-30
File Change History per File Extension
go, json, sh, md, cmd, txt, yaml, ps1, mod, gitignore, bat, yml
File Age Distribution per Extension
Days since first update
366+
181-365
91-180
31-90
1-30
go94% | 5% | 0% | 0% | 0%
yaml59% | 34% | 5% | 0% | 0%
ps10% | 100% | 0% | 0% | 0%
Latest Change Distribution per Extension
Days since last update
366+
181-365
91-180
31-90
1-30
go58% | 36% | 5% | 0% | 0%
yaml0% | 63% | 31% | 5% | 0%
ps10% | 100% | 0% | 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/systemstatsmonitor88% | 11% | 0% | 0% | 0%
pkg/util100% | 0% | 0% | 0% | 0%
pkg/systemlogmonitor100% | 0% | 0% | 0% | 0%
pkg/exporters100% | 0% | 0% | 0% | 0%
pkg/custompluginmonitor100% | 0% | 0% | 0% | 0%
pkg/healthchecker58% | 41% | 0% | 0% | 0%
cmd/nodeproblemdetector100% | 0% | 0% | 0% | 0%
deployment63% | 36% | 0% | 0% | 0%
cmd/options100% | 0% | 0% | 0% | 0%
cmd/healthchecker100% | 0% | 0% | 0% | 0%
pkg/problemmetrics100% | 0% | 0% | 0% | 0%
pkg/logcounter100% | 0% | 0% | 0% | 0%
pkg/problemdetector100% | 0% | 0% | 0% | 0%
cmd/logcounter100% | 0% | 0% | 0% | 0%
pkg/types100% | 0% | 0% | 0% | 0%
pkg/problemdaemon100% | 0% | 0% | 0% | 0%
pkg/version100% | 0% | 0% | 0% | 0%
config/plugin0% | 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/systemlogmonitor100% | 0% | 0% | 0% | 0%
pkg/exporters89% | 10% | 0% | 0% | 0%
pkg/util67% | 32% | 0% | 0% | 0%
pkg/systemstatsmonitor35% | 58% | 6% | 0% | 0%
pkg/custompluginmonitor64% | 35% | 0% | 0% | 0%
pkg/problemmetrics100% | 0% | 0% | 0% | 0%
pkg/logcounter100% | 0% | 0% | 0% | 0%
cmd/logcounter100% | 0% | 0% | 0% | 0%
pkg/types100% | 0% | 0% | 0% | 0%
pkg/problemdaemon100% | 0% | 0% | 0% | 0%
cmd/nodeproblemdetector8% | 91% | 0% | 0% | 0%
pkg/version100% | 0% | 0% | 0% | 0%
deployment0% | 67% | 32% | 0% | 0%
pkg/healthchecker0% | 41% | 58% | 0% | 0%
cmd/options0% | 100% | 0% | 0% | 0%
cmd/healthchecker0% | 100% | 0% | 0% | 0%
pkg/problemdetector0% | 100% | 0% | 0% | 0%
config/plugin0% | 100% | 0% | 0% | 0%
ROOT0% | 0% | 0% | 100% | 0%
Oldest Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
problem_detector.go
in pkg/problemdetector
66 3 304 2089 27
types.go
in pkg/types
60 - 874 2089 14
convert.go
in pkg/util
41 4 1264 2089 6
nethealth.go
in pkg/util/nethealth
94 3 2072 2072 1
version.go
in pkg/version
9 2 1319 1849 5
http.go
in pkg/util
19 2 1826 1836 2
log_monitor.go
in pkg/systemlogmonitor
202 11 833 1824 15
log_watcher.go
in pkg/systemlogmonitor/logwatchers/journald
143 7 892 1824 11
log_watcher.go
in pkg/systemlogmonitor/logwatchers/filelog
96 4 423 1824 9
translator.go
in pkg/systemlogmonitor/logwatchers/filelog
66 4 1809 1824 3
log_buffer.go
in pkg/systemlogmonitor
61 6 1815 1824 2
config.go
in pkg/systemlogmonitor
40 2 938 1824 6
log_watchers.go
in pkg/systemlogmonitor/logwatchers
17 2 1323 1824 3
log_watcher.go
in pkg/systemlogmonitor/logwatchers/types
16 - 1165 1824 6
types.go
in pkg/systemlogmonitor/types
15 - 938 1824 6
register_journald.go
in pkg/systemlogmonitor/logwatchers
8 1 1815 1824 2
register_filelog.go
in pkg/systemlogmonitor/logwatchers
8 1 1815 1824 2
fake_log_watcher.go
in pkg/systemlogmonitor/logwatchers/testing
29 5 1813 1814 2
options.go
in cmd/options
143 6 304 1808 21
register_kmsg.go
in pkg/systemlogmonitor/logwatchers
5 1 1711 1792 2
Files Not Recently Changed (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
nethealth.go
in pkg/util/nethealth
94 3 2072 2072 1
http.go
in pkg/util
19 2 1826 1836 2
register_filelog.go
in pkg/systemlogmonitor/logwatchers
8 1 1815 1824 2
register_journald.go
in pkg/systemlogmonitor/logwatchers
8 1 1815 1824 2
log_buffer.go
in pkg/systemlogmonitor
61 6 1815 1824 2
fake_log_watcher.go
in pkg/systemlogmonitor/logwatchers/testing
29 5 1813 1814 2
translator.go
in pkg/systemlogmonitor/logwatchers/filelog
66 4 1809 1824 3
register_kmsg.go
in pkg/systemlogmonitor/logwatchers
5 1 1711 1792 2
tomb.go
in pkg/util/tomb
21 4 1535 1570 2
types.go
in pkg/custompluginmonitor/types
25 - 1324 1570 4
log_watchers.go
in pkg/systemlogmonitor/logwatchers
17 2 1323 1824 3
version.go
in pkg/version
9 2 1319 1849 5
convert.go
in pkg/util
41 4 1264 2089 6
log_watcher.go
in pkg/systemlogmonitor/logwatchers/types
16 - 1165 1824 6
options.go
in cmd/logcounter/options
30 3 1165 1325 4
prometheus_exporter.go
in pkg/exporters/prometheusexporter
34 2 967 991 2
problem_daemon.go
in pkg/problemdaemon
43 4 967 991 2
system_stats_monitor_plugin.go
in cmd/nodeproblemdetector/problemdaemonplugins
4 - 963 965 2
custom_plugin_monitor_plugin.go
in cmd/nodeproblemdetector/problemdaemonplugins
4 - 963 965 2
system_log_monitor_plugin.go
in cmd/nodeproblemdetector/problemdaemonplugins
4 - 963 965 2
Most Recently Created Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
cloudbuild.yaml
in root
16 - 50 176 4
windows_defender_problem.ps1
in config/plugin
8 - 267 270 2
cpu_collector_linux.go
in pkg/systemstatsmonitor
81 2 157 287 4
memory_collector_linux.go
in pkg/systemstatsmonitor
43 1 270 287 2
memory_collector_windows.go
in pkg/systemstatsmonitor
19 1 270 287 2
cpu_collector_windows.go
in pkg/systemstatsmonitor
5 2 270 287 2
health_checker_windows.go
in pkg/healthchecker
71 6 155 296 9
health_checker_linux.go
in pkg/healthchecker
61 4 190 296 4
types_windows.go
in pkg/healthchecker/types
7 - 234 296 3
types_linux.go
in pkg/healthchecker/types
6 - 265 296 4
node-problem-detector-healthchecker.yaml
in deployment
99 - 224 330 2
node_problem_detector_windows.go
in cmd/nodeproblemdetector
124 6 304 371 2
exec_windows.go
in pkg/util
47 4 284 371 4
exec_linux.go
in pkg/util
20 2 325 371 2
node_problem_detector_linux.go
in cmd/nodeproblemdetector
11 1 304 371 2
net_collector.go
in pkg/systemstatsmonitor
273 3 366 393 4
osfeature_collector.go
in pkg/systemstatsmonitor
114 4 380 416 4
log_watcher_linux.go
in pkg/systemlogmonitor/logwatchers/kmsg
88 4 423 426 2
helpers_linux.go
in pkg/util
46 5 270 426 4
helpers_windows.go
in pkg/util
32 2 270 426 4
Most Recently Changed Files (Top 20)
File# lines# unitslast modified
(days ago)
created
(days ago)
# changes
cloudbuild.yaml
in root
16 - 50 176 4
health_checker_windows.go
in pkg/healthchecker
71 6 155 296 9
cpu_collector_linux.go
in pkg/systemstatsmonitor
81 2 157 287 4
health_checker.go
in pkg/healthchecker
135 6 167 634 17
node-problem-detector-config.yaml
in deployment
89 - 176 1201 11
health_checker_linux.go
in pkg/healthchecker
61 4 190 296 4
disk_collector.go
in pkg/systemstatsmonitor
249 5 224 991 24
node-problem-detector-healthchecker.yaml
in deployment
99 - 224 330 2
options.go
in cmd/healthchecker/options
79 5 224 634 10
k8s_exporter.go
in pkg/exporters/k8sexporter
73 4 224 991 8
types.go
in pkg/healthchecker/types
72 4 224 634 13
types_windows.go
in pkg/healthchecker/types
7 - 234 296 3
types_linux.go
in pkg/healthchecker/types
6 - 265 296 4
system_stats_monitor.go
in pkg/systemstatsmonitor
114 5 266 991 14
config.go
in pkg/systemstatsmonitor/types
79 2 266 991 11
windows_defender_problem.ps1
in config/plugin
8 - 267 270 2
cpu_collector.go
in pkg/systemstatsmonitor
167 3 270 737 12
memory_collector.go
in pkg/systemstatsmonitor
69 1 270 737 6
helpers_linux.go
in pkg/util
46 5 270 426 4
memory_collector_linux.go
in pkg/systemstatsmonitor
43 1 270 287 2