id: 1 unit: constructor() file: web/src/wasm_exec.js start line: 104 end line: 477 size: 314 LOC McCabe index: 27 number of parameters: 0 id: 2 unit: render() file: web/src/components/playground.js start line: 169 end line: 248 size: 80 LOC McCabe index: 3 number of parameters: 0 id: 3 unit: render() file: web/src/components/panels/result-panel.js start line: 69 end line: 142 size: 74 LOC McCabe index: 3 number of parameters: 0 id: 4 unit: func main() file: ci-tools/main.go start line: 45 end line: 119 size: 68 LOC McCabe index: 14 number of parameters: 0 id: 5 unit: async run() file: web/src/wasm_exec.js start line: 479 end line: 553 size: 64 LOC McCabe index: 5 number of parameters: 1 id: 6 unit: func getUnregisteredVersions() file: ci-tools/main.go start line: 344 end line: 410 size: 56 LOC McCabe index: 15 number of parameters: 1 id: 7 unit: static get styles() file: web/src/components/controls/index.js start line: 59 end line: 120 size: 54 LOC McCabe index: 1 number of parameters: 0 id: 8 unit: render() file: web/src/components/user-consent-banner/index.js start line: 108 end line: 159 size: 52 LOC McCabe index: 7 number of parameters: 0 id: 9 unit: func registerWebAssemblyVersion() file: ci-tools/main.go start line: 186 end line: 241 size: 46 LOC McCabe index: 10 number of parameters: 1 id: 10 unit: _renderJsonDiffResult() file: web/src/components/panels/result-panel.js start line: 235 end line: 307 size: 44 LOC McCabe index: 8 number of parameters: 0 id: 11 unit: render() file: web/src/components/panels/payload-panel.js start line: 86 end line: 126 size: 41 LOC McCabe index: 2 number of parameters: 0 id: 12 unit: _runStatements() file: web/src/components/playground.js start line: 328 end line: 364 size: 34 LOC McCabe index: 3 number of parameters: 0 id: 13 unit: func validateWebAssemblyVersions() file: ci-tools/main.go start line: 243 end line: 278 size: 31 LOC McCabe index: 8 number of parameters: 0 id: 14 unit: static get styles() file: web/src/components/controls/copy-link-button.js start line: 36 end line: 69 size: 31 LOC McCabe index: 1 number of parameters: 0 id: 15 unit: func() file: internal/processorexecutor.go start line: 112 end line: 147 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 16 unit: func() file: internal/processorexecutor.go start line: 149 end line: 184 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 17 unit: func() file: internal/processorexecutor.go start line: 186 end line: 221 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 18 unit: func generateProcessorsGoGetArgument() file: ci-tools/main.go start line: 280 end line: 313 size: 30 LOC McCabe index: 8 number of parameters: 1 id: 19 unit: func extractProcessorsVersionFromGoModule() file: ci-tools/main.go start line: 153 end line: 184 size: 28 LOC McCabe index: 9 number of parameters: 0 id: 20 unit: _addEventListeners() file: web/src/components/playground.js start line: 250 end line: 277 size: 25 LOC McCabe index: 4 number of parameters: 0 id: 21 unit: _fetchWebAssembly() file: web/src/components/playground.js start line: 283 end line: 309 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 22 unit: func ExecuteStatements() file: wasm/internal/ottlplayground.go start line: 71 end line: 97 size: 24 LOC McCabe index: 6 number of parameters: 4 id: 23 unit: of this software and associated documentation files() file: web/src/components/panels/result-panel.styles.js start line: 107 end line: 134 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 24 unit: func generateVersionsDotGoFile() file: ci-tools/main.go start line: 315 end line: 342 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 25 unit: _initCodeEditor() file: web/src/components/panels/payload-panel.js start line: 150 end line: 172 size: 23 LOC McCabe index: 2 number of parameters: 0 id: 26 unit: objectHash: function() file: web/src/components/panels/result-panel.js start line: 268 end line: 289 size: 22 LOC McCabe index: 11 number of parameters: 2 id: 27 unit: func() file: internal/processorexecutor.go start line: 66 end line: 89 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 28 unit: func escapeDollarSigns() file: internal/processorexecutor.go start line: 91 end line: 110 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 29 unit: static get styles() file: web/src/components/panels/payload-panel.js start line: 44 end line: 63 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 30 unit: func newProcessorExecutor[C any]() file: internal/processorexecutor.go start line: 45 end line: 64 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 31 unit: func main() file: main.go start line: 35 end line: 56 size: 18 LOC McCabe index: 3 number of parameters: 0 id: 32 unit: constructor() file: web/src/components/controls/index.js start line: 39 end line: 57 size: 18 LOC McCabe index: 3 number of parameters: 0 id: 33 unit: _loadURLBase64DataHash() file: web/src/components/playground.js start line: 134 end line: 152 size: 18 LOC McCabe index: 6 number of parameters: 0 id: 34 unit: _renderExecutionLogsResult() file: web/src/components/panels/result-panel.js start line: 214 end line: 233 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 35 unit: _initState() file: web/src/components/playground.js start line: 104 end line: 121 size: 16 LOC McCabe index: 4 number of parameters: 0 id: 36 unit: _spitComponents() file: web/src/components/playground.js start line: 311 end line: 326 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 37 unit: _renderResult() file: web/src/components/panels/result-panel.js start line: 195 end line: 212 size: 15 LOC McCabe index: 4 number of parameters: 0 id: 38 unit: func StatementsExecutors() file: wasm/internal/ottlplayground.go start line: 99 end line: 112 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 39 unit: func executeStatementsWrapper() file: wasm/main.go start line: 38 end line: 51 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 40 unit: _showUnchangedInputChanged() file: web/src/components/panels/result-panel.js start line: 158 end line: 170 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: func newResult() file: wasm/internal/ottlplayground.go start line: 46 end line: 56 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 42 unit: func lookupUnregisteredVersionsCount() file: ci-tools/main.go start line: 141 end line: 151 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 43 unit: _handleExampleChanged() file: web/src/components/panels/payload-panel.js start line: 128 end line: 138 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: func webPublicDir() file: main.go start line: 58 end line: 67 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 45 unit: export function base64ToUtf8() file: web/src/components/utils/base64.js start line: 30 end line: 39 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: _getCookie() file: web/src/components/user-consent-banner/index.js start line: 176 end line: 185 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 47 unit: _fetchWebAssemblyVersions() file: web/src/components/playground.js start line: 123 end line: 132 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 48 unit: _wrapLinesInputChanged() file: web/src/components/panels/result-panel.js start line: 172 end line: 181 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 49 unit: func newMetadata() file: internal/executor.go start line: 30 end line: 38 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 50 unit: func() file: internal/log_observer.go start line: 107 end line: 116 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: export function utf8ToBase64() file: web/src/components/utils/base64.js start line: 20 end line: 28 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: _setCookie() file: web/src/components/user-consent-banner/index.js start line: 166 end line: 174 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 53 unit: _notifyPayloadChange() file: web/src/components/panels/payload-panel.js start line: 140 end line: 148 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 54 unit: updated() file: web/src/components/panels/result-panel.js start line: 47 end line: 55 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 55 unit: writeSync() file: web/src/wasm_exec.js start line: 18 end line: 26 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 56 unit: _resume() file: web/src/wasm_exec.js start line: 555 end line: 563 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 57 unit: _makeFuncWrapper() file: web/src/wasm_exec.js start line: 565 end line: 573 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: func NewLogObserver() file: internal/log_observer.go start line: 70 end line: 77 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 59 unit: func() file: internal/transformprocessorexecutor.go start line: 30 end line: 37 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: func() file: internal/filterprocessorexecutor.go start line: 30 end line: 37 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: func takeObservedLogs() file: wasm/internal/ottlplayground.go start line: 62 end line: 69 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: _initDefaultValues() file: web/src/components/playground.js start line: 58 end line: 65 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: get state() file: web/src/components/playground.js start line: 71 end line: 78 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: _handleConfigExampleChanged() file: web/src/components/playground.js start line: 366 end line: 373 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 65 unit: set payload() file: web/src/components/panels/payload-panel.js start line: 69 end line: 76 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: set config() file: web/src/components/panels/config-panel.js start line: 54 end line: 61 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: write() file: web/src/wasm_exec.js start line: 27 end line: 34 size: 8 LOC McCabe index: 4 number of parameters: 6 id: 68 unit: func() file: internal/log_observer.go start line: 48 end line: 54 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: func() file: internal/log_observer.go start line: 56 end line: 62 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: func() file: internal/log_observer.go start line: 99 end line: 105 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: func lookupVersion() file: ci-tools/main.go start line: 125 end line: 131 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 72 unit: func lookupWasmVersionsJSONPath() file: ci-tools/main.go start line: 133 end line: 139 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 73 unit: set state() file: web/src/components/playground.js start line: 80 end line: 87 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: firstUpdated() file: web/src/components/playground.js start line: 89 end line: 95 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: _computeEvaluatorsDocsURL() file: web/src/components/playground.js start line: 161 end line: 167 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: _selectedViewChanged() file: web/src/components/panels/result-panel.js start line: 148 end line: 156 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 77 unit: func Executors() file: internal/executor.go start line: 55 end line: 60 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: func() file: internal/log_observer.go start line: 41 end line: 46 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: func() file: internal/log_observer.go start line: 92 end line: 97 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: func getEvaluatorsWrapper() file: wasm/main.go start line: 53 end line: 58 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: willUpdate() file: web/src/components/playground.js start line: 97 end line: 102 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 82 unit: _setSelectedPayloadExample() file: web/src/components/playground.js start line: 154 end line: 159 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 83 unit: constructor() file: web/src/components/panels/config-panel.js start line: 39 end line: 44 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: updated() file: web/src/components/panels/config-panel.js start line: 67 end line: 73 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 85 unit: func() file: internal/log_observer.go start line: 64 end line: 68 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: func init() file: wasm/internal/ottlplayground.go start line: 35 end line: 39 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 87 unit: func handlePanic() file: wasm/main.go start line: 32 end line: 36 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 88 unit: func main() file: wasm/main.go start line: 60 end line: 64 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: constructor() file: web/src/components/controls/copy-link-button.js start line: 30 end line: 34 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: constructor() file: web/src/components/playground.js start line: 52 end line: 56 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: constructor() file: web/src/components/panels/payload-panel.js start line: 38 end line: 42 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 92 unit: showResult() file: web/src/components/panels/result-panel.js start line: 57 end line: 61 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: showErrorMessage() file: web/src/components/panels/result-panel.js start line: 63 end line: 67 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: func NewTransformProcessorExecutor() file: internal/transformprocessorexecutor.go start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 95 unit: func NewFilterProcessorExecutor() file: internal/filterprocessorexecutor.go start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 96 unit: func registerStatementsExecutor() file: wasm/internal/ottlplayground.go start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: constructor() file: web/src/components/user-consent-banner/index.js start line: 27 end line: 30 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: acknowledgeNotice() file: web/src/components/user-consent-banner/index.js start line: 161 end line: 164 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 99 unit: constructor() file: web/src/components/panels/result-panel.js start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 100 unit: func() file: internal/log_observer.go start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: func() file: internal/log_observer.go start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: func() file: internal/log_observer.go start line: 118 end line: 120 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: func() file: internal/processorexecutor.go start line: 223 end line: 225 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: func NewErrorResult() file: wasm/internal/ottlplayground.go start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 105 unit: func addVersionFlag() file: ci-tools/main.go start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 106 unit: static get styles() file: web/src/components/playground.js start line: 67 end line: 69 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 107 unit: _resolveWebAssemblyArtifact() file: web/src/components/playground.js start line: 279 end line: 281 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: get payload() file: web/src/components/panels/payload-panel.js start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 109 unit: set selectedExample() file: web/src/components/panels/payload-panel.js start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: firstUpdated() file: web/src/components/panels/payload-panel.js start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 111 unit: static get styles() file: web/src/components/panels/result-panel.js start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 112 unit: _showWrapLinesOption() file: web/src/components/panels/result-panel.js start line: 144 end line: 146 size: 3 LOC McCabe index: 3 number of parameters: 0 id: 113 unit: _resultPanel() file: web/src/components/panels/result-panel.js start line: 183 end line: 185 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: _showUnchangedInput() file: web/src/components/panels/result-panel.js start line: 187 end line: 189 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 115 unit: _wrapLinesInput() file: web/src/components/panels/result-panel.js start line: 191 end line: 193 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 116 unit: static get styles() file: web/src/components/panels/config-panel.js start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 117 unit: get config() file: web/src/components/panels/config-panel.js start line: 50 end line: 52 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 118 unit: firstUpdated() file: web/src/components/panels/config-panel.js start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 119 unit: resolve() file: web/src/wasm_exec.js start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1