id: 1 unit: func() file: internal/task/run_job.go start line: 16 end line: 112 size: 93 LOC McCabe index: 3 number of parameters: 1 id: 2 unit: func() file: internal/kubelib/logs.go start line: 110 end line: 180 size: 61 LOC McCabe index: 13 number of parameters: 1 id: 3 unit: func() file: internal/task/run.go start line: 100 end line: 161 size: 55 LOC McCabe index: 14 number of parameters: 1 id: 4 unit: func registerFromClientBinary() file: internal/config/plugin/client.go start line: 69 end line: 134 size: 52 LOC McCabe index: 7 number of parameters: 3 id: 5 unit: func resolveParameters() file: internal/config/core/parameter.go start line: 97 end line: 155 size: 47 LOC McCabe index: 14 number of parameters: 2 id: 6 unit: func() file: cmd/k6ctl/cli_run.go start line: 45 end line: 97 size: 45 LOC McCabe index: 6 number of parameters: 1 id: 7 unit: func RunTask() file: internal/task/run.go start line: 19 end line: 62 size: 40 LOC McCabe index: 6 number of parameters: 7 id: 8 unit: func version() file: cmd/k6ctl/cli_version.go start line: 27 end line: 69 size: 33 LOC McCabe index: 9 number of parameters: 0 id: 9 unit: func() file: internal/kubelib/logs.go start line: 205 end line: 240 size: 32 LOC McCabe index: 8 number of parameters: 1 id: 10 unit: func FollowLogs() file: internal/kubelib/logs.go start line: 243 end line: 277 size: 30 LOC McCabe index: 2 number of parameters: 3 id: 11 unit: func remoteNamespacedConfigProvider() file: internal/config/plugin/client.go start line: 16 end line: 46 size: 29 LOC McCabe index: 2 number of parameters: 3 id: 12 unit: func LoadConfigPlugins() file: internal/task/plugins_config.go start line: 23 end line: 57 size: 29 LOC McCabe index: 5 number of parameters: 3 id: 13 unit: func LoadForStruct[T any]() file: internal/config/params.go start line: 41 end line: 71 size: 27 LOC McCabe index: 5 number of parameters: 3 id: 14 unit: func() file: internal/task/run_job.go start line: 114 end line: 140 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 15 unit: func RegisterFromClientBinaries() file: internal/config/plugin/client.go start line: 137 end line: 162 size: 23 LOC McCabe index: 5 number of parameters: 3 id: 16 unit: func() file: internal/task/run_config.go start line: 58 end line: 82 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 17 unit: func() file: internal/task/run_config.go start line: 13 end line: 35 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 18 unit: func promptForParameter() file: internal/config/core/parameter.go start line: 75 end line: 95 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 19 unit: func loadParameterSettings() file: internal/config/core/parameter.go start line: 28 end line: 47 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 20 unit: func() file: internal/task/run.go start line: 201 end line: 221 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 21 unit: func() file: internal/kubelib/logs.go start line: 35 end line: 53 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 22 unit: func() file: internal/task/run_config.go start line: 37 end line: 56 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 23 unit: func() file: internal/config/core/parameter.go start line: 159 end line: 176 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 24 unit: func createOrUpdateObject[T any]() file: internal/task/run.go start line: 81 end line: 98 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 25 unit: func main() file: sample/plugin-hello/main.go start line: 26 end line: 39 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: func() file: cmd/k6ctl/cli_run.go start line: 28 end line: 43 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 27 unit: func RegisterProviders() file: internal/config/core/registry.go start line: 9 end line: 22 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 28 unit: func() file: sample/plugin-hello/main.go start line: 14 end line: 24 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 29 unit: func ProvideConfig[T any]() file: config.go start line: 29 end line: 40 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 30 unit: func Provide[T any]() file: internal/config/provider.go start line: 18 end line: 28 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 31 unit: func() file: internal/config/provider.go start line: 36 end line: 47 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 32 unit: func() file: internal/kubelib/logs.go start line: 182 end line: 194 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 33 unit: func ServeRegistry() file: internal/config/plugin/server.go start line: 34 end line: 43 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: func() file: internal/kubelib/logs.go start line: 90 end line: 102 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: func() file: internal/config/plugin/server.go start line: 21 end line: 31 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: func() file: internal/config/plugin/client.go start line: 59 end line: 67 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: export default function() file: sample/helloworld/run.js start line: 18 end line: 27 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: func() file: internal/config/core/parameter.go start line: 63 end line: 72 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: func resolvePluginBinaryPathFromName() file: internal/task/plugins_config.go start line: 14 end line: 21 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 40 unit: func LoadSchema() file: internal/task/load.go start line: 10 end line: 19 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: func LoadSchemaFromFile() file: internal/task/load.go start line: 21 end line: 29 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: func() file: internal/task/run.go start line: 192 end line: 199 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: func() file: internal/kubelib/logs.go start line: 80 end line: 88 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: func LoadConfigForStruct[T any]() file: config.go start line: 20 end line: 26 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 45 unit: func() file: internal/config/registry.go start line: 26 end line: 32 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: func() file: internal/config/core/parameter.go start line: 49 end line: 57 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: func() file: internal/config/plugin/types.go start line: 28 end line: 35 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: func ValOrZero[T any]() file: internal/stdlib/ptr.go start line: 9 end line: 15 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: func defaultRunTaskOption() file: internal/task/run_option.go start line: 17 end line: 23 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 50 unit: func isChildPath() file: internal/task/run.go start line: 179 end line: 185 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 51 unit: func CreateKubeClientFromKubeConfig() file: internal/kubelib/client.go start line: 12 end line: 19 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: func applyDefaultingIfNeeded[T any]() file: internal/config/params.go start line: 19 end line: 25 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 53 unit: func applyValidationIfNeeded() file: internal/config/params.go start line: 27 end line: 33 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 54 unit: func WithFollowLogs() file: internal/task/run_option.go start line: 37 end line: 42 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: func WithInstances() file: internal/task/run_option.go start line: 45 end line: 50 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: func() file: cmd/k6ctl/cli_version.go start line: 14 end line: 20 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 57 unit: func main() file: cmd/k6ctl/main.go start line: 7 end line: 12 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 58 unit: func NewRegistry() file: internal/config/registry.go start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: func() file: internal/config/plugin/rpc.go start line: 16 end line: 20 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: func() file: internal/config/plugin/rpc.go start line: 22 end line: 26 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: func() file: internal/config/plugin/rpc.go start line: 30 end line: 34 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: func() file: internal/config/plugin/rpc.go start line: 36 end line: 40 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: func() file: internal/config/plugin/types.go start line: 37 end line: 41 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: func() file: internal/config/registry.go start line: 15 end line: 19 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: func() file: internal/config/registry.go start line: 21 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: func withErr[T any]() file: internal/config/params.go start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: func() file: cmd/k6ctl/cli_version.go start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: export function teardown() file: sample/helloworld/run.js start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: func() file: internal/config/provider.go start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: func() file: internal/config/core/parameter.go start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: func() file: internal/config/plugin/server.go start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: func init() file: internal/config/plugin/rpc.go start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: func() file: internal/config/plugin/types.go start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: func() file: internal/config/plugin/types.go start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: func Ptr[T any]() file: internal/stdlib/ptr.go start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: func() file: internal/task/run_option.go start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: func() file: internal/task/run.go start line: 163 end line: 165 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: func() file: internal/task/run.go start line: 167 end line: 169 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: func() file: internal/task/run.go start line: 171 end line: 173 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: func() file: internal/task/run.go start line: 175 end line: 177 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: func() file: internal/kubelib/logs.go start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: func() file: internal/kubelib/logs.go start line: 201 end line: 203 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: func() file: internal/config/types.go start line: 45 end line: 45 size: 1 LOC McCabe index: 1 number of parameters: 1