id: 1 unit: render() file: src/components/QueryEditor.tsx start line: 668 end line: 944 size: 274 LOC McCabe index: 26 number of parameters: 0 id: 2 unit: export function CustomAsyncSelect() file: src/components/view/SegmentSelect/CustomAsyncSelect.tsx start line: 86 end line: 137 size: 51 LOC McCabe index: 11 number of parameters: 1 id: 3 unit: render() file: src/components/view/Filter/Filter.tsx start line: 284 end line: 332 size: 49 LOC McCabe index: 5 number of parameters: 0 id: 4 unit: type: extractType() file: src/datasource.ts start line: 336 end line: 385 size: 48 LOC McCabe index: 5 number of parameters: 1 id: 5 unit: render() file: src/components/view/Function/Function.tsx start line: 193 end line: 238 size: 46 LOC McCabe index: 4 number of parameters: 0 id: 6 unit: render() file: src/components/ConfigEditor.tsx start line: 68 end line: 107 size: 40 LOC McCabe index: 1 number of parameters: 0 id: 7 unit: render() file: src/components/view/LabelWithAlias/LabelWithAlias.tsx start line: 93 end line: 132 size: 39 LOC McCabe index: 5 number of parameters: 0 id: 8 unit: private static versionCheck() file: src/datasource.ts start line: 205 end line: 230 size: 26 LOC McCabe index: 4 number of parameters: 2 id: 9 unit: export default defineConfig() file: playwright.config.ts start line: 16 end line: 52 size: 24 LOC McCabe index: 4 number of parameters: 20 id: 10 unit: render() file: src/components/view/SegmentFrame/SegmentFrame.tsx start line: 30 end line: 51 size: 22 LOC McCabe index: 5 number of parameters: 0 id: 11 unit: render() file: src/components/view/TimeGrouping/TimeGrouping.tsx start line: 55 end line: 75 size: 21 LOC McCabe index: 2 number of parameters: 0 id: 12 unit: static getDerivedStateFromProps() file: src/components/view/Filter/Filter.tsx start line: 96 end line: 117 size: 21 LOC McCabe index: 7 number of parameters: 2 id: 13 unit: async testDatasource() file: src/datasource.ts start line: 184 end line: 203 size: 20 LOC McCabe index: 3 number of parameters: 0 id: 14 unit: async metricFindQuery() file: src/datasource.ts start line: 232 end line: 251 size: 20 LOC McCabe index: 5 number of parameters: 2 id: 15 unit: private fetch() file: src/datasource.ts start line: 511 end line: 530 size: 19 LOC McCabe index: 2 number of parameters: 5 id: 16 unit: componentDidMount() file: src/components/QueryEditor.tsx start line: 84 end line: 103 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 17 unit: loadSchema() file: src/components/QueryEditor.tsx start line: 161 end line: 178 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 18 unit: stream: getReplacedValue() file: src/datasource.ts start line: 136 end line: 151 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 19 unit: static getDerivedStateFromProps() file: src/components/QueryEditor.tsx start line: 105 end line: 120 size: 14 LOC McCabe index: 6 number of parameters: 2 id: 20 unit: export function FieldValidation() file: src/components/view/FieldValidation/FieldValidation.tsx start line: 50 end line: 63 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 21 unit: export function SegmentSelect() file: src/components/view/SegmentSelect/SegmentSelect.tsx start line: 15 end line: 29 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 22 unit: export function CustomSelect() file: src/components/view/SegmentSelect/CustomAsyncSelect.tsx start line: 146 end line: 158 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 23 unit: private createIntervalChangeAlert() file: src/datasource.ts start line: 458 end line: 469 size: 12 LOC McCabe index: 6 number of parameters: 2 id: 24 unit: private sendGrafanaRequest() file: src/datasource.ts start line: 475 end line: 486 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 25 unit: private fetchGrafanaBackend() file: src/datasource.ts start line: 498 end line: 509 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 26 unit: selectedItem: toOption() file: src/components/view/Filter/Filter.tsx start line: 164 end line: 175 size: 11 LOC McCabe index: 7 number of parameters: 1 id: 27 unit: filterType: getServerFilterType() file: src/utils/query.ts start line: 180 end line: 190 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 28 unit: functions: getFunctions() file: src/datasource.ts start line: 142 end line: 151 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 29 unit: private emitChangeVariables() file: src/datasource.ts start line: 447 end line: 456 size: 10 LOC McCabe index: 4 number of parameters: 0 id: 30 unit: operators: getOperators() file: src/components/view/Filter/Filter.tsx start line: 110 end line: 120 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 31 unit: constructor() file: src/datasource.ts start line: 51 end line: 64 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 32 unit: rawQuery: getReplacedValue() file: src/datasource.ts start line: 153 end line: 163 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 33 unit: private sendRequest() file: src/datasource.ts start line: 488 end line: 496 size: 9 LOC McCabe index: 1 number of parameters: 5 id: 34 unit: filters: getFilters() file: src/datasource.ts start line: 144 end line: 151 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 35 unit: query: getReplacedValue() file: src/datasource.ts start line: 301 end line: 309 size: 8 LOC McCabe index: 4 number of parameters: 2 id: 36 unit: query: getReplacedValue() file: src/datasource.ts start line: 310 end line: 317 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 37 unit: constructor() file: src/components/ConfigEditor.tsx start line: 9 end line: 14 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 38 unit: static getDerivedStateFromProps() file: src/components/view/TimeGrouping/TimeGrouping.tsx start line: 28 end line: 33 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: constructor() file: src/components/view/LabelWithAlias/LabelWithAlias.tsx start line: 45 end line: 50 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: handleClickOutside() file: src/components/view/LabelWithAlias/LabelWithAlias.tsx start line: 64 end line: 68 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 41 unit: getGroupByViewOptions() file: src/datasource.ts start line: 253 end line: 255 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 42 unit: private createAlert() file: src/datasource.ts start line: 471 end line: 473 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 43 unit: private getUrl() file: src/datasource.ts start line: 532 end line: 534 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: private getGrafanaUrl() file: src/datasource.ts start line: 536 end line: 538 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: static getDerivedStateFromProps() file: src/components/view/Function/Function.tsx start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: static getDerivedStateFromProps() file: src/components/view/Function/FunctionHeader.tsx start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: static getDerivedStateFromProps() file: src/components/view/LabelWithAlias/LabelWithAlias.tsx start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: componentDidMount() file: src/components/view/LabelWithAlias/LabelWithAlias.tsx start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 49 unit: componentWillUnmount() file: src/components/view/LabelWithAlias/LabelWithAlias.tsx start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 0