id: 1 unit: func NewNetCollectorOrDie() file: pkg/systemstatsmonitor/net_collector.go start line: 47 end line: 229 size: 165 LOC McCabe index: 17 number of parameters: 1 id: 2 unit: func NewCPUCollectorOrDie() file: pkg/systemstatsmonitor/cpu_collector.go start line: 54 end line: 171 size: 106 LOC McCabe index: 11 number of parameters: 1 id: 3 unit: func() file: pkg/custompluginmonitor/custom_plugin_monitor.go start line: 150 end line: 279 size: 105 LOC McCabe index: 28 number of parameters: 1 id: 4 unit: func() file: pkg/custompluginmonitor/plugin/plugin.go start line: 140 end line: 266 size: 105 LOC McCabe index: 20 number of parameters: 1 id: 5 unit: func NewDiskCollectorOrDie() file: pkg/systemstatsmonitor/disk_collector.go start line: 58 end line: 165 size: 95 LOC McCabe index: 9 number of parameters: 1 id: 6 unit: func() file: pkg/systemstatsmonitor/net_collector.go start line: 231 end line: 309 size: 76 LOC McCabe index: 19 number of parameters: 1 id: 7 unit: func main() file: pkg/util/nethealth/nethealth.go start line: 66 end line: 131 size: 61 LOC McCabe index: 12 number of parameters: 0 id: 8 unit: func() file: pkg/systemstatsmonitor/disk_collector.go start line: 167 end line: 235 size: 59 LOC McCabe index: 15 number of parameters: 1 id: 9 unit: func NewMemoryCollectorOrDie() file: pkg/systemstatsmonitor/memory_collector.go start line: 36 end line: 97 size: 55 LOC McCabe index: 6 number of parameters: 1 id: 10 unit: func() file: pkg/systemlogmonitor/log_monitor.go start line: 166 end line: 229 size: 55 LOC McCabe index: 11 number of parameters: 1 id: 11 unit: func() file: pkg/systemstatsmonitor/cpu_collector_linux.go start line: 54 end line: 113 size: 51 LOC McCabe index: 13 number of parameters: 1 id: 12 unit: func() file: pkg/systemstatsmonitor/disk_collector.go start line: 237 end line: 296 size: 45 LOC McCabe index: 10 number of parameters: 1 id: 13 unit: func NewSystemStatsMonitorOrDie() file: pkg/systemstatsmonitor/system_stats_monitor.go start line: 54 end line: 105 size: 45 LOC McCabe index: 12 number of parameters: 1 id: 14 unit: func getJournal() file: pkg/systemlogmonitor/logwatchers/journald/log_watcher.go start line: 143 end line: 189 size: 41 LOC McCabe index: 9 number of parameters: 2 id: 15 unit: func() file: pkg/custompluginmonitor/types/config.go start line: 75 end line: 123 size: 40 LOC McCabe index: 12 number of parameters: 1 id: 16 unit: func() file: cmd/options/options.go start line: 102 end line: 141 size: 39 LOC McCabe index: 3 number of parameters: 1 id: 17 unit: func() file: pkg/systemstatsmonitor/memory_collector_linux.go start line: 24 end line: 67 size: 38 LOC McCabe index: 9 number of parameters: 1 id: 18 unit: func() file: pkg/systemstatsmonitor/osfeature_collector.go start line: 97 end line: 142 size: 38 LOC McCabe index: 10 number of parameters: 1 id: 19 unit: func() file: pkg/systemlogmonitor/logwatchers/filelog/log_watcher.go start line: 95 end line: 134 size: 38 LOC McCabe index: 8 number of parameters: 1 id: 20 unit: func() file: pkg/systemlogmonitor/logwatchers/journald/log_watcher.go start line: 94 end line: 135 size: 37 LOC McCabe index: 8 number of parameters: 1 id: 21 unit: func() file: pkg/problemdetector/problem_detector.go start line: 47 end line: 88 size: 36 LOC McCabe index: 10 number of parameters: 1 id: 22 unit: func() file: pkg/systemlogmonitor/logwatchers/kmsg/log_watcher_linux.go start line: 88 end line: 125 size: 34 LOC McCabe index: 8 number of parameters: 1 id: 23 unit: func() file: pkg/util/metrics/fakes.go start line: 54 end line: 92 size: 34 LOC McCabe index: 8 number of parameters: 1 id: 24 unit: func() file: pkg/custompluginmonitor/types/config.go start line: 126 end line: 162 size: 33 LOC McCabe index: 12 number of parameters: 1 id: 25 unit: func() file: cmd/nodeproblemdetector/node_problem_detector_windows.go start line: 104 end line: 153 size: 31 LOC McCabe index: 2 number of parameters: 1 id: 26 unit: func npdMain() file: cmd/nodeproblemdetector/node_problem_detector.go start line: 43 end line: 83 size: 31 LOC McCabe index: 6 number of parameters: 2 id: 27 unit: func() file: pkg/systemstatsmonitor/system_stats_monitor.go start line: 113 end line: 146 size: 31 LOC McCabe index: 5 number of parameters: 1 id: 28 unit: func() file: pkg/systemstatsmonitor/cpu_collector.go start line: 173 end line: 215 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 29 unit: func CmdlineArgs() file: pkg/util/metrics/system/cmdline_args.go start line: 55 end line: 88 size: 31 LOC McCabe index: 6 number of parameters: 0 id: 30 unit: func NewInt64Metric() file: pkg/util/metrics/metric_int64.go start line: 45 end line: 79 size: 30 LOC McCabe index: 5 number of parameters: 6 id: 31 unit: func NewFloat64Metric() file: pkg/util/metrics/metric_float64.go start line: 45 end line: 79 size: 30 LOC McCabe index: 5 number of parameters: 6 id: 32 unit: func main() file: cmd/healthchecker/health_checker.go start line: 31 end line: 62 size: 29 LOC McCabe index: 6 number of parameters: 0 id: 33 unit: func() file: pkg/systemstatsmonitor/osfeature_collector.go start line: 58 end line: 90 size: 29 LOC McCabe index: 8 number of parameters: 1 id: 34 unit: func NewCustomPluginMonitorOrDie() file: pkg/custompluginmonitor/custom_plugin_monitor.go start line: 56 end line: 91 size: 29 LOC McCabe index: 6 number of parameters: 1 id: 35 unit: func() file: pkg/exporters/stackdriver/gce/type.go start line: 38 end line: 67 size: 29 LOC McCabe index: 9 number of parameters: 1 id: 36 unit: func ParsePrometheusMetrics() file: pkg/util/metrics/helpers.go start line: 70 end line: 102 size: 28 LOC McCabe index: 7 number of parameters: 1 id: 37 unit: func() file: pkg/exporters/stackdriver/stackdriver_exporter.go start line: 152 end line: 182 size: 28 LOC McCabe index: 6 number of parameters: 1 id: 38 unit: func NewLogMonitorOrDie() file: pkg/systemlogmonitor/log_monitor.go start line: 59 end line: 90 size: 27 LOC McCabe index: 5 number of parameters: 1 id: 39 unit: func Modules() file: pkg/util/metrics/system/module_stats.go start line: 40 end line: 81 size: 27 LOC McCabe index: 5 number of parameters: 0 id: 40 unit: func() file: cmd/options/options.go start line: 177 end line: 211 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 41 unit: func serviceLoop() file: cmd/nodeproblemdetector/node_problem_detector_windows.go start line: 155 end line: 181 size: 26 LOC McCabe index: 8 number of parameters: 4 id: 42 unit: func NewHostCollectorOrDie() file: pkg/systemstatsmonitor/host_collector.go start line: 33 end line: 63 size: 26 LOC McCabe index: 5 number of parameters: 1 id: 43 unit: func NewProblemMetricsManagerOrDie() file: pkg/problemmetrics/problem_metrics.go start line: 47 end line: 76 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 44 unit: func() file: pkg/healthchecker/health_checker.go start line: 67 end line: 96 size: 26 LOC McCabe index: 8 number of parameters: 1 id: 45 unit: func() file: pkg/custompluginmonitor/plugin/plugin.go start line: 92 end line: 124 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: func getHealthCheckFunc() file: pkg/healthchecker/health_checker.go start line: 138 end line: 163 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 47 unit: func() file: pkg/exporters/stackdriver/stackdriver_exporter.go start line: 122 end line: 150 size: 25 LOC McCabe index: 3 number of parameters: 1 id: 48 unit: func() file: cmd/healthchecker/options/options.go start line: 49 end line: 73 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: func main() file: cmd/logcounter/log_counter.go start line: 33 end line: 59 size: 24 LOC McCabe index: 5 number of parameters: 0 id: 50 unit: func() file: pkg/systemstatsmonitor/cpu_collector_linux.go start line: 27 end line: 52 size: 23 LOC McCabe index: 10 number of parameters: 1 id: 51 unit: func() file: pkg/custompluginmonitor/plugin/plugin.go start line: 62 end line: 89 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 52 unit: func GetFloat64Metric() file: pkg/util/metrics/helpers.go start line: 107 end line: 129 size: 23 LOC McCabe index: 8 number of parameters: 4 id: 53 unit: func logPatternHealthCheck() file: pkg/healthchecker/health_checker.go start line: 100 end line: 123 size: 23 LOC McCabe index: 8 number of parameters: 3 id: 54 unit: func NewExporterOrDie() file: pkg/exporters/stackdriver/stackdriver_exporter.go start line: 200 end line: 228 size: 23 LOC McCabe index: 5 number of parameters: 1 id: 55 unit: func() file: pkg/custompluginmonitor/custom_plugin_monitor.go start line: 124 end line: 147 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 56 unit: func() file: pkg/systemlogmonitor/log_buffer.go start line: 63 end line: 87 size: 22 LOC McCabe index: 6 number of parameters: 1 id: 57 unit: func GetStartTime() file: pkg/util/helpers.go start line: 35 end line: 63 size: 22 LOC McCabe index: 6 number of parameters: 4 id: 58 unit: func getUptimeFunc() file: pkg/healthchecker/health_checker_windows.go start line: 34 end line: 63 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 59 unit: func() file: pkg/healthchecker/types/types.go start line: 75 end line: 96 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 60 unit: func() file: pkg/systemstatsmonitor/types/config.go start line: 75 end line: 97 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 61 unit: func() file: pkg/systemlogmonitor/log_monitor.go start line: 127 end line: 147 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 62 unit: func() file: pkg/logcounter/log_counter.go start line: 68 end line: 91 size: 21 LOC McCabe index: 7 number of parameters: 1 id: 63 unit: func() file: pkg/systemlogmonitor/logwatchers/filelog/translator.go start line: 59 end line: 81 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 64 unit: func getOSVersion() file: pkg/util/helpers_linux.go start line: 44 end line: 63 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 65 unit: func() file: pkg/problemmetrics/problem_metrics.go start line: 88 end line: 116 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 66 unit: func() file: pkg/exporters/k8sexporter/k8s_exporter.go start line: 79 end line: 104 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 67 unit: func() file: cmd/options/options.go start line: 144 end line: 164 size: 19 LOC McCabe index: 7 number of parameters: 1 id: 68 unit: func() file: cmd/healthchecker/options/options.go start line: 77 end line: 100 size: 19 LOC McCabe index: 12 number of parameters: 1 id: 69 unit: func NewExporterOrDie() file: pkg/exporters/prometheusexporter/prometheus_exporter.go start line: 35 end line: 54 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 70 unit: func NewJournaldLogCounter() file: pkg/logcounter/log_counter.go start line: 48 end line: 66 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: func NewSyslogWatcherOrDie() file: pkg/systemlogmonitor/logwatchers/filelog/log_watcher.go start line: 48 end line: 67 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 72 unit: func getTagKeysFromNames() file: pkg/util/metrics/helpers.go start line: 47 end line: 65 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 73 unit: func checkForPattern() file: pkg/healthchecker/health_checker_linux.go start line: 77 end line: 97 size: 18 LOC McCabe index: 4 number of parameters: 4 id: 74 unit: func getMetricTypeConversionFunction() file: pkg/exporters/stackdriver/stackdriver_exporter.go start line: 95 end line: 116 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 75 unit: func NewOsFeatureCollectorOrDie() file: pkg/systemstatsmonitor/osfeature_collector.go start line: 33 end line: 50 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 76 unit: func NewKmsgWatcher() file: pkg/systemlogmonitor/logwatchers/kmsg/log_watcher_linux.go start line: 45 end line: 63 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 77 unit: func NewProblemDaemons() file: pkg/problemdaemon/problem_daemon.go start line: 55 end line: 73 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 78 unit: func GetOSVersion() file: pkg/util/helpers_windows.go start line: 38 end line: 58 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 79 unit: func getUptimeFunc() file: pkg/healthchecker/health_checker_linux.go start line: 32 end line: 55 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 80 unit: func checkForPattern() file: pkg/healthchecker/health_checker_windows.go start line: 91 end line: 108 size: 17 LOC McCabe index: 4 number of parameters: 4 id: 81 unit: func NewExporterOrDie() file: pkg/exporters/k8sexporter/k8s_exporter.go start line: 47 end line: 68 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 82 unit: func NewJournaldWatcher() file: pkg/systemlogmonitor/logwatchers/journald/log_watcher.go start line: 51 end line: 68 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 83 unit: func() file: pkg/util/metrics/metric_int64.go start line: 82 end line: 100 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 84 unit: func() file: pkg/util/metrics/metric_float64.go start line: 82 end line: 100 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 85 unit: func ReadFileIntoLines() file: pkg/util/metrics/system/common.go start line: 22 end line: 38 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 86 unit: func NewHealthChecker() file: pkg/healthchecker/health_checker.go start line: 48 end line: 63 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: func() file: cmd/options/options.go start line: 214 end line: 241 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 88 unit: func() file: pkg/systemstatsmonitor/osfeature_collector.go start line: 144 end line: 158 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 89 unit: func initializeProblemMetricsOrDie() file: pkg/custompluginmonitor/custom_plugin_monitor.go start line: 95 end line: 109 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 90 unit: func initializeProblemMetricsOrDie() file: pkg/systemlogmonitor/log_monitor.go start line: 94 end line: 108 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 91 unit: func Kill() file: pkg/util/exec_windows.go start line: 67 end line: 88 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 92 unit: func() file: pkg/healthchecker/types/types.go start line: 58 end line: 72 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 93 unit: func() file: pkg/exporters/k8sexporter/problemclient/fake_problem_client.go start line: 76 end line: 90 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 94 unit: func NewClientOrDie() file: pkg/exporters/k8sexporter/problemclient/problem_client.go start line: 65 end line: 84 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 95 unit: func() file: pkg/exporters/k8sexporter/problemclient/problem_client.go start line: 86 end line: 100 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 96 unit: func() file: pkg/systemstatsmonitor/memory_collector_windows.go start line: 25 end line: 40 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 97 unit: func getLogReader() file: pkg/systemlogmonitor/logwatchers/filelog/log_watcher_linux.go start line: 29 end line: 48 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 98 unit: func Exec() file: pkg/util/exec_windows.go start line: 30 end line: 52 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 99 unit: func() file: pkg/exporters/stackdriver/config/config.go start line: 43 end line: 56 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 100 unit: func() file: pkg/systemstatsmonitor/host_collector.go start line: 65 end line: 79 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 101 unit: func getRepairFunc() file: pkg/healthchecker/health_checker_linux.go start line: 58 end line: 73 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 102 unit: func() file: pkg/exporters/k8sexporter/condition/manager.go start line: 127 end line: 139 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 103 unit: func() file: pkg/exporters/k8sexporter/condition/manager.go start line: 153 end line: 166 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 104 unit: func main() file: cmd/nodeproblemdetector/node_problem_detector_windows.go start line: 45 end line: 60 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 105 unit: func setupLogging() file: cmd/nodeproblemdetector/node_problem_detector_windows.go start line: 71 end line: 85 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 106 unit: func() file: pkg/systemstatsmonitor/types/config.go start line: 100 end line: 112 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 107 unit: func() file: pkg/systemlogmonitor/log_monitor.go start line: 150 end line: 163 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 108 unit: func validatePluginConfig() file: pkg/systemlogmonitor/logwatchers/filelog/translator.go start line: 84 end line: 95 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 109 unit: func ConvertToAPIConditionStatus() file: pkg/util/convert.go start line: 40 end line: 51 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 110 unit: func() file: pkg/exporters/k8sexporter/condition/manager.go start line: 113 end line: 124 size: 12 LOC McCabe index: 6 number of parameters: 1 id: 111 unit: func() file: cmd/logcounter/options/options.go start line: 41 end line: 51 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: func readFromReader() file: pkg/custompluginmonitor/plugin/plugin.go start line: 127 end line: 138 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 113 unit: func() file: pkg/systemlogmonitor/config.go start line: 50 end line: 60 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 114 unit: func() file: pkg/systemlogmonitor/logwatchers/kmsg/log_watcher_linux.go start line: 67 end line: 79 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 115 unit: func() file: pkg/systemlogmonitor/logwatchers/filelog/log_watcher.go start line: 73 end line: 83 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 116 unit: func NewFakeInt64Metric() file: pkg/util/metrics/fakes.go start line: 40 end line: 52 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 117 unit: func execCommand() file: pkg/healthchecker/health_checker.go start line: 166 end line: 176 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 118 unit: func groupChannel() file: pkg/problemdetector/problem_detector.go start line: 90 end line: 100 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 119 unit: func() file: pkg/exporters/k8sexporter/problemclient/fake_problem_client.go start line: 63 end line: 73 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 120 unit: func NewExporters() file: pkg/exporters/register.go start line: 53 end line: 63 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 121 unit: func() file: cmd/healthchecker/options/options.go start line: 103 end line: 112 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 122 unit: func listRootBlockDevices() file: pkg/systemstatsmonitor/disk_collector.go start line: 299 end line: 312 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 123 unit: func toConditionStatus() file: pkg/custompluginmonitor/custom_plugin_monitor.go start line: 281 end line: 290 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 124 unit: func() file: pkg/systemlogmonitor/log_monitor.go start line: 110 end line: 119 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 125 unit: func() file: pkg/systemlogmonitor/logwatchers/journald/log_watcher.go start line: 74 end line: 83 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 126 unit: func newTranslatorOrDie() file: pkg/systemlogmonitor/logwatchers/filelog/translator.go start line: 47 end line: 56 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 127 unit: func ReturnHTTPJson() file: pkg/util/http.go start line: 25 end line: 34 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 128 unit: func splitAfterSpace() file: pkg/util/metrics/system/cmdline_args.go start line: 39 end line: 52 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 129 unit: func ConvertToAPIEventType() file: pkg/util/convert.go start line: 54 end line: 64 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 130 unit: func healthCheckEndpointOKFunc() file: pkg/healthchecker/health_checker.go start line: 126 end line: 135 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 131 unit: func() file: pkg/exporters/k8sexporter/problemclient/fake_problem_client.go start line: 51 end line: 60 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 132 unit: func() file: pkg/exporters/k8sexporter/problemclient/problem_client.go start line: 102 end line: 112 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 133 unit: func initialConditions() file: pkg/custompluginmonitor/custom_plugin_monitor.go start line: 304 end line: 312 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 134 unit: func() file: pkg/systemlogmonitor/config.go start line: 63 end line: 71 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 135 unit: func initialConditions() file: pkg/systemlogmonitor/log_monitor.go start line: 243 end line: 251 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 136 unit: func ConvertToAPICondition() file: pkg/util/convert.go start line: 29 end line: 37 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: func NewProblemMetricsManagerStub() file: pkg/problemmetrics/problem_metrics_stub.go start line: 25 end line: 35 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: func NewConditionManager() file: pkg/exporters/k8sexporter/condition/manager.go start line: 81 end line: 89 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 139 unit: func() file: pkg/exporters/k8sexporter/condition/manager.go start line: 103 end line: 111 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 140 unit: func waitForAPIServerReadyWithTimeout() file: pkg/exporters/k8sexporter/k8s_exporter.go start line: 106 end line: 116 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 141 unit: func isRunningAsWindowsService() file: cmd/nodeproblemdetector/node_problem_detector_windows.go start line: 62 end line: 69 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 142 unit: func initializeRun() file: cmd/nodeproblemdetector/node_problem_detector_windows.go start line: 87 end line: 97 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 143 unit: func() file: pkg/systemstatsmonitor/cpu_collector.go start line: 217 end line: 225 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 144 unit: func() file: pkg/custompluginmonitor/custom_plugin_monitor.go start line: 293 end line: 302 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 145 unit: func NewPlugin() file: pkg/custompluginmonitor/plugin/plugin.go start line: 48 end line: 56 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 146 unit: func() file: pkg/systemlogmonitor/log_monitor.go start line: 232 end line: 241 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: func GetLogWatcherOrDie() file: pkg/systemlogmonitor/logwatchers/log_watchers.go start line: 35 end line: 42 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 148 unit: func translate() file: pkg/systemlogmonitor/logwatchers/journald/log_watcher.go start line: 192 end line: 199 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 149 unit: func Exec() file: pkg/util/exec_linux.go start line: 26 end line: 34 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 150 unit: func monitorTimeElapsed() file: pkg/util/nethealth/nethealth.go start line: 56 end line: 64 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 151 unit: func ContainsModule() file: pkg/util/metrics/system/common.go start line: 40 end line: 47 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 152 unit: func GenerateConditionChangeEvent() file: pkg/util/helpers.go start line: 26 end line: 33 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 153 unit: func extractCommandOutput() file: pkg/healthchecker/health_checker_windows.go start line: 80 end line: 87 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 154 unit: func() file: pkg/exporters/k8sexporter/k8s_exporter.go start line: 70 end line: 77 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 155 unit: func() file: pkg/exporters/k8sexporter/problemclient/problem_client.go start line: 114 end line: 122 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 156 unit: func getNodeRef() file: pkg/exporters/k8sexporter/problemclient/problem_client.go start line: 146 end line: 154 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 157 unit: func NewNodeProblemDetectorOptions() file: cmd/options/options.go start line: 92 end line: 99 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 158 unit: func npdInteractive() file: cmd/nodeproblemdetector/node_problem_detector.go start line: 34 end line: 41 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 159 unit: func listAttachedBlockDevices() file: pkg/systemstatsmonitor/disk_collector.go start line: 315 end line: 322 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 160 unit: func init() file: pkg/custompluginmonitor/custom_plugin_monitor.go start line: 37 end line: 43 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 161 unit: func NewLogBuffer() file: pkg/systemlogmonitor/log_buffer.go start line: 48 end line: 54 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 162 unit: func init() file: pkg/systemlogmonitor/log_monitor.go start line: 39 end line: 45 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 163 unit: func generateMessage() file: pkg/systemlogmonitor/log_monitor.go start line: 253 end line: 259 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 164 unit: func GetProblemDaemonNames() file: pkg/problemdaemon/problem_daemon.go start line: 37 end line: 43 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 165 unit: func GetProblemDaemonHandlerOrDie() file: pkg/problemdaemon/problem_daemon.go start line: 46 end line: 52 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 166 unit: func init() file: pkg/util/nethealth/nethealth.go start line: 46 end line: 54 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 167 unit: func GetUptimeDuration() file: pkg/util/helpers_windows.go start line: 28 end line: 34 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 168 unit: func GetUptimeDuration() file: pkg/util/helpers_linux.go start line: 30 end line: 36 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 169 unit: func generatePatch() file: pkg/exporters/k8sexporter/problemclient/problem_client.go start line: 129 end line: 135 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 170 unit: func getEventRecorder() file: pkg/exporters/k8sexporter/problemclient/problem_client.go start line: 138 end line: 144 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 171 unit: func GetExporterNames() file: pkg/exporters/register.go start line: 35 end line: 41 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 172 unit: func GetExporterHandlerOrDie() file: pkg/exporters/register.go start line: 44 end line: 50 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 173 unit: func main() file: cmd/nodeproblemdetector/node_problem_detector_linux.go start line: 24 end line: 30 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: func() file: pkg/systemstatsmonitor/net_collector.go start line: 311 end line: 317 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 175 unit: func() file: pkg/custompluginmonitor/custom_plugin_monitor.go start line: 111 end line: 116 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 176 unit: func logPluginStderr() file: pkg/custompluginmonitor/plugin/plugin.go start line: 274 end line: 279 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 177 unit: func formalizeTimestamp() file: pkg/systemlogmonitor/logwatchers/filelog/translator.go start line: 99 end line: 104 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 178 unit: func Kill() file: pkg/util/exec_linux.go start line: 37 end line: 42 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 179 unit: func() file: pkg/util/metrics/metric.go start line: 91 end line: 97 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 180 unit: func NewTomb() file: pkg/util/tomb/tomb.go start line: 26 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 181 unit: func() file: pkg/problemmetrics/problem_metrics.go start line: 79 end line: 85 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 182 unit: func NewProblemDetector() file: pkg/problemdetector/problem_detector.go start line: 39 end line: 44 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 183 unit: func NewFakeProblemClient() file: pkg/exporters/k8sexporter/problemclient/fake_problem_client.go start line: 35 end line: 40 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 184 unit: func() file: pkg/exporters/stackdriver/gce/type.go start line: 31 end line: 36 size: 6 LOC McCabe index: 5 number of parameters: 1 id: 185 unit: func init() file: pkg/exporters/stackdriver/stackdriver_exporter.go start line: 40 end line: 45 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 186 unit: func init() file: pkg/systemstatsmonitor/system_stats_monitor.go start line: 35 end line: 39 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 187 unit: func() file: pkg/systemstatsmonitor/system_stats_monitor.go start line: 107 end line: 111 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 188 unit: func() file: pkg/systemlogmonitor/log_buffer.go start line: 56 end line: 60 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 189 unit: func() file: pkg/systemlogmonitor/logwatchers/testing/fake_log_watcher.go start line: 45 end line: 49 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 190 unit: func init() file: pkg/util/metrics/metric.go start line: 70 end line: 75 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 191 unit: func() file: pkg/util/metrics/metric.go start line: 84 end line: 89 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 192 unit: func init() file: pkg/util/metrics/helpers.go start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 193 unit: func Powershell() file: pkg/util/exec_windows.go start line: 55 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 194 unit: func getRepairFunc() file: pkg/healthchecker/health_checker_windows.go start line: 66 end line: 71 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 195 unit: func() file: pkg/exporters/k8sexporter/condition/manager.go start line: 95 end line: 101 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 196 unit: func() file: pkg/exporters/k8sexporter/problemclient/fake_problem_client.go start line: 43 end line: 47 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 197 unit: func() file: pkg/systemstatsmonitor/system_stats_monitor.go start line: 148 end line: 151 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 198 unit: func() file: pkg/custompluginmonitor/custom_plugin_monitor.go start line: 118 end line: 121 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 199 unit: func() file: pkg/custompluginmonitor/plugin/plugin.go start line: 269 end line: 272 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 200 unit: func() file: pkg/systemlogmonitor/log_buffer.go start line: 89 end line: 92 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 201 unit: func() file: pkg/systemlogmonitor/log_monitor.go start line: 121 end line: 124 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 202 unit: func NewKmsgWatcher() file: pkg/systemlogmonitor/logwatchers/kmsg/log_watcher_windows.go start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 203 unit: func() file: pkg/systemlogmonitor/logwatchers/kmsg/log_watcher_linux.go start line: 82 end line: 85 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 204 unit: func ReturnHTTPError() file: pkg/util/http.go start line: 37 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 205 unit: func() file: pkg/util/metrics/system/cmdline_args.go start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: func() file: pkg/util/metrics/system/module_stats.go start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 207 unit: func() file: pkg/util/tomb/tomb.go start line: 34 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 208 unit: func powershell() file: pkg/healthchecker/health_checker_windows.go start line: 74 end line: 77 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: func() file: pkg/exporters/stackdriver/stackdriver_exporter.go start line: 194 end line: 197 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 210 unit: func init() file: cmd/options/options.go start line: 243 end line: 245 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 211 unit: func NewHealthCheckerOptions() file: cmd/healthchecker/options/options.go start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 212 unit: func init() file: cmd/healthchecker/options/options.go start line: 114 end line: 116 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 213 unit: func NewLogCounterOptions() file: cmd/logcounter/options/options.go start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 214 unit: func init() file: cmd/logcounter/options/options.go start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 215 unit: func() file: pkg/custompluginmonitor/plugin/plugin.go start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 216 unit: func() file: pkg/systemlogmonitor/log_buffer.go start line: 95 end line: 97 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 217 unit: func concatLogs() file: pkg/systemlogmonitor/log_buffer.go start line: 100 end line: 102 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 218 unit: func registerLogWatcher() file: pkg/systemlogmonitor/logwatchers/log_watchers.go start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 219 unit: func NewFakeLogWatcher() file: pkg/systemlogmonitor/logwatchers/testing/fake_log_watcher.go start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 220 unit: func() file: pkg/systemlogmonitor/logwatchers/testing/fake_log_watcher.go start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 221 unit: func() file: pkg/systemlogmonitor/logwatchers/testing/fake_log_watcher.go start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 222 unit: func() file: pkg/systemlogmonitor/logwatchers/testing/fake_log_watcher.go start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 223 unit: func init() file: pkg/systemlogmonitor/logwatchers/register_journald.go start line: 27 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 224 unit: func init() file: pkg/systemlogmonitor/logwatchers/register_kmsg.go start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 225 unit: func init() file: pkg/systemlogmonitor/logwatchers/register_filelog.go start line: 25 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 226 unit: func() file: pkg/systemlogmonitor/logwatchers/journald/log_watcher.go start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 227 unit: func timeToJournalTimestamp() file: pkg/systemlogmonitor/logwatchers/journald/log_watcher.go start line: 201 end line: 203 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 228 unit: func getLogReader() file: pkg/systemlogmonitor/logwatchers/filelog/log_watcher_windows.go start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 229 unit: func() file: pkg/systemlogmonitor/logwatchers/filelog/log_watcher.go start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 230 unit: func Register() file: pkg/problemdaemon/problem_daemon.go start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 231 unit: func Version() file: pkg/version/version.go start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 232 unit: func PrintVersion() file: pkg/version/version.go start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 233 unit: func() file: pkg/util/metrics/fakes.go start line: 95 end line: 97 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 234 unit: func() file: pkg/util/tomb/tomb.go start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 235 unit: func() file: pkg/util/tomb/tomb.go start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 236 unit: func ExitStatus() file: pkg/util/exec_windows.go start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 237 unit: func ConvertToAPITimestamp() file: pkg/util/convert.go start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 238 unit: func GetOSVersion() file: pkg/util/helpers_linux.go start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 239 unit: func getCOSVersion() file: pkg/util/helpers_linux.go start line: 65 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 240 unit: func getDebianVersion() file: pkg/util/helpers_linux.go start line: 71 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 241 unit: func init() file: pkg/problemmetrics/problem_metrics.go start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 242 unit: func getDockerPath() file: pkg/healthchecker/health_checker_linux.go start line: 99 end line: 101 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 243 unit: func getDockerPath() file: pkg/healthchecker/health_checker_windows.go start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 244 unit: func() file: pkg/healthchecker/types/types.go start line: 99 end line: 101 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 245 unit: func() file: pkg/healthchecker/types/types.go start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 246 unit: func() file: pkg/exporters/prometheusexporter/prometheus_exporter.go start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 247 unit: func() file: pkg/exporters/k8sexporter/condition/manager.go start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 248 unit: func() file: pkg/exporters/k8sexporter/condition/manager.go start line: 142 end line: 145 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 249 unit: func() file: pkg/exporters/k8sexporter/condition/manager.go start line: 148 end line: 150 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 250 unit: func() file: pkg/exporters/k8sexporter/problemclient/fake_problem_client.go start line: 96 end line: 98 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 251 unit: func() file: pkg/exporters/k8sexporter/problemclient/problem_client.go start line: 124 end line: 126 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 252 unit: func Register() file: pkg/exporters/register.go start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 253 unit: func() file: pkg/exporters/stackdriver/stackdriver_exporter.go start line: 186 end line: 188 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 254 unit: func() file: pkg/systemstatsmonitor/cpu_collector_windows.go start line: 19 end line: 21 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 255 unit: func() file: pkg/systemstatsmonitor/cpu_collector_windows.go start line: 23 end line: 25 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 256 unit: func() file: pkg/exporters/k8sexporter/problemclient/fake_problem_client.go start line: 93 end line: 94 size: 2 LOC McCabe index: 1 number of parameters: 1