id: 1 unit: renderChart() file: src/app/components/area-chart/area-chart.component.ts start line: 107 end line: 175 size: 65 LOC McCabe index: 3 number of parameters: 1 id: 2 unit: ngOnInit() file: src/app/components/apps-view/apps-view.component.ts start line: 72 end line: 141 size: 63 LOC McCabe index: 3 number of parameters: 0 id: 3 unit: ngOnInit() file: src/app/components/nodes-view/nodes-view.component.ts start line: 58 end line: 123 size: 59 LOC McCabe index: 3 number of parameters: 0 id: 4 unit: ngOnInit() file: src/app/components/dashboard/dashboard.component.ts start line: 59 end line: 121 size: 55 LOC McCabe index: 10 number of parameters: 0 id: 5 unit: renderChart() file: src/app/components/donut-chart/donut-chart.component.ts start line: 84 end line: 132 size: 45 LOC McCabe index: 3 number of parameters: 1 id: 6 unit: module.exports = function() file: karma.conf.ci.js start line: 24 end line: 61 size: 38 LOC McCabe index: 1 number of parameters: 1 id: 7 unit: generateBreadcrumb() file: src/app/app.component.ts start line: 51 end line: 87 size: 36 LOC McCabe index: 7 number of parameters: 0 id: 8 unit: ngOnInit() file: src/app/components/queues-view/queues-view.component.ts start line: 75 end line: 103 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 9 unit: func main() file: pkg/cmd/web/main.go start line: 35 end line: 56 size: 21 LOC McCabe index: 2 number of parameters: 0 id: 10 unit: fetchQueuesForPartition() file: src/app/components/apps-view/apps-view.component.ts start line: 143 end line: 163 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 11 unit: func NewWebServer() file: pkg/webserver/web_server.go start line: 35 end line: 53 size: 19 LOC McCabe index: 2 number of parameters: 3 id: 12 unit: private generateQueuesTree() file: src/app/services/scheduler/scheduler.service.ts start line: 259 end line: 282 size: 18 LOC McCabe index: 6 number of parameters: 2 id: 13 unit: private fillQueuePropertiesAndTemplate() file: src/app/services/scheduler/scheduler.service.ts start line: 296 end line: 315 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 14 unit: fetchSchedulerQueuesForPartition() file: src/app/components/queues-view/queues-view.component.ts start line: 105 end line: 123 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 15 unit: ngOnInit() file: src/app/components/status-view/status-view.component.ts start line: 40 end line: 57 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 16 unit: fetchApplicationsUsingQueryParams() file: src/app/components/apps-view/apps-view.component.ts start line: 193 end line: 210 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 17 unit: onPartitionSelectionChanged() file: src/app/components/apps-view/apps-view.component.ts start line: 274 end line: 288 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 18 unit: updateAppStatusData() file: src/app/components/dashboard/dashboard.component.ts start line: 123 end line: 136 size: 14 LOC McCabe index: 12 number of parameters: 1 id: 19 unit: fetchNodeListForPartition() file: src/app/components/nodes-view/nodes-view.component.ts start line: 125 end line: 139 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 20 unit: toggleRowSelection() file: src/app/components/nodes-view/nodes-view.component.ts start line: 149 end line: 162 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 21 unit: fetchAppListForPartitionAndQueue() file: src/app/components/apps-view/apps-view.component.ts start line: 177 end line: 191 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 22 unit: toggleRowSelection() file: src/app/components/apps-view/apps-view.component.ts start line: 220 end line: 233 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 23 unit: onQueueSelectionChanged() file: src/app/components/apps-view/apps-view.component.ts start line: 290 end line: 303 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 24 unit: private formatResource() file: src/app/services/scheduler/scheduler.service.ts start line: 317 end line: 333 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 25 unit: private formatPercent() file: src/app/services/scheduler/scheduler.service.ts start line: 335 end line: 351 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 26 unit: sortQueueListByName() file: src/app/components/queues-view/queues-view.component.ts start line: 138 end line: 150 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 27 unit: toggleQueueChildrenView() file: src/app/components/queues-view/queues-view.component.ts start line: 125 end line: 136 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 28 unit: onQueueItemSelected() file: src/app/components/queues-view/queues-view.component.ts start line: 194 end line: 204 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 29 unit: gotoApplicationsForPartitionAndQueue() file: src/app/components/queues-view/queues-view.component.ts start line: 217 end line: 228 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 30 unit: getQueueCapacityColor() file: src/app/components/queue-rack/queue-rack.component.ts start line: 67 end line: 77 size: 11 LOC McCabe index: 6 number of parameters: 1 id: 31 unit: onSearchAppData() file: src/app/components/apps-view/apps-view.component.ts start line: 261 end line: 272 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 32 unit: private fillQueueResources() file: src/app/services/scheduler/scheduler.service.ts start line: 284 end line: 294 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 33 unit: static formatMemory() file: src/app/utils/common.util.ts start line: 33 end line: 42 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 34 unit: unselectChildrenQueues() file: src/app/components/queues-view/queues-view.component.ts start line: 168 end line: 177 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 35 unit: onPartitionSelectionChanged() file: src/app/components/queues-view/queues-view.component.ts start line: 206 end line: 215 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: toggleQueueChildren() file: src/app/components/queue-rack/queue-rack.component.ts start line: 41 end line: 50 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 37 unit: ngOnChanges() file: src/app/components/area-chart/area-chart.component.ts start line: 96 end line: 105 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 38 unit: ngOnChanges() file: src/app/components/donut-chart/donut-chart.component.ts start line: 73 end line: 82 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 39 unit: private absUsagePercent() file: src/app/services/scheduler/scheduler.service.ts start line: 353 end line: 365 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 40 unit: func() file: pkg/webserver/web_server.go start line: 55 end line: 63 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: handleApiError() file: src/app/interceptors/api-error/api-error.interceptor.ts start line: 40 end line: 49 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: collapseQueueList() file: src/app/components/queue-rack/queue-rack.component.ts start line: 52 end line: 60 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 43 unit: func() file: pkg/webserver/web_server.go start line: 65 end line: 72 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 44 unit: static formatCount() file: src/app/utils/common.util.ts start line: 48 end line: 57 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: ngOnInit() file: src/app/app.component.ts start line: 41 end line: 49 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 46 unit: collapseChildrenQueues() file: src/app/components/queues-view/queues-view.component.ts start line: 159 end line: 166 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 47 unit: constructor() file: src/app/services/envconfig/envconfig.service.ts start line: 41 end line: 48 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: static createUniqId() file: src/app/utils/common.util.ts start line: 23 end line: 31 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: get formattedFinishedTime() file: src/app/models/app-info.model.ts start line: 44 end line: 51 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 50 unit: retryLastActiveUrlAgain() file: src/app/components/error-view/error-view.component.ts start line: 39 end line: 45 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 51 unit: closeQueueDrawer() file: src/app/components/queues-view/queues-view.component.ts start line: 179 end line: 185 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 52 unit: ngOnInit() file: src/app/components/area-chart/area-chart.component.ts start line: 76 end line: 83 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 53 unit: unselectAllRowsButOne() file: src/app/components/nodes-view/nodes-view.component.ts start line: 141 end line: 147 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 54 unit: clearRowSelection() file: src/app/components/nodes-view/nodes-view.component.ts start line: 164 end line: 170 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 55 unit: onPaginatorChanged() file: src/app/components/nodes-view/nodes-view.component.ts start line: 172 end line: 178 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 56 unit: unselectAllRowsButOne() file: src/app/components/apps-view/apps-view.component.ts start line: 212 end line: 218 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 57 unit: removeRowSelection() file: src/app/components/apps-view/apps-view.component.ts start line: 235 end line: 241 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 58 unit: ngOnInit() file: src/app/components/donut-chart/donut-chart.component.ts start line: 53 end line: 60 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: func envOrDefault() file: pkg/cmd/web/main.go start line: 58 end line: 63 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 60 unit: toggleNavigation() file: src/app/app.component.ts start line: 93 end line: 98 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: closeQueueRacks() file: src/app/components/queues-view/queues-view.component.ts start line: 152 end line: 157 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: closeMatDrawer() file: src/app/components/queues-view/queues-view.component.ts start line: 187 end line: 192 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: getSchedulerWebAddress() file: src/app/services/envconfig/envconfig.service.ts start line: 59 end line: 65 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 64 unit: publish() file: src/app/services/event-bus/event-bus.service.ts start line: 48 end line: 54 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 65 unit: constructor() file: src/app/models/donut-data.model.ts start line: 24 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 66 unit: updateContainerStatusData() file: src/app/components/dashboard/dashboard.component.ts start line: 138 end line: 142 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: ngAfterViewInit() file: src/app/components/area-chart/area-chart.component.ts start line: 90 end line: 94 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 68 unit: onPartitionSelectionChanged() file: src/app/components/nodes-view/nodes-view.component.ts start line: 188 end line: 192 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: onClearSearch() file: src/app/components/apps-view/apps-view.component.ts start line: 255 end line: 259 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 70 unit: ngAfterViewInit() file: src/app/components/donut-chart/donut-chart.component.ts start line: 67 end line: 71 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 71 unit: static formatPercent() file: src/app/utils/common.util.ts start line: 63 end line: 66 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: get formattedSubmissionTime() file: src/app/models/app-info.model.ts start line: 39 end line: 42 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: constructor() file: src/app/models/history-info.model.ts start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 74 unit: constructor() file: src/app/models/dropdown-item.model.ts start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 75 unit: constructor() file: src/app/models/area-data.model.ts start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 76 unit: constructor() file: src/app/models/partition-info.model.ts start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 77 unit: openYuniKornHelp() file: src/app/app.component.ts start line: 100 end line: 103 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: ngOnInit() file: src/app/components/error-view/error-view.component.ts start line: 34 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: onQueueSelected() file: src/app/components/queue-rack/queue-rack.component.ts start line: 62 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: ngOnDestroy() file: src/app/components/area-chart/area-chart.component.ts start line: 85 end line: 88 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: ngOnDestroy() file: src/app/components/donut-chart/donut-chart.component.ts start line: 62 end line: 65 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 82 unit: static isEmpty() file: src/app/utils/common.util.ts start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: static resourceColumnFormatter() file: src/app/utils/common.util.ts start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: setAllocations() file: src/app/models/app-info.model.ts start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: setAllocations() file: src/app/models/node-info.model.ts start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: getResourceName() file: src/app/app.component.ts start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 87 unit: getProgressBarValue() file: src/app/components/queue-rack/queue-rack.component.ts start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: isNodeDataSourceEmpty() file: src/app/components/nodes-view/nodes-view.component.ts start line: 180 end line: 182 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 89 unit: isAllocDataSourceEmpty() file: src/app/components/nodes-view/nodes-view.component.ts start line: 184 end line: 186 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 90 unit: onPaginatorChanged() file: src/app/components/apps-view/apps-view.component.ts start line: 243 end line: 245 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: isAppDataSourceEmpty() file: src/app/components/apps-view/apps-view.component.ts start line: 247 end line: 249 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 92 unit: isAllocDataSourceEmpty() file: src/app/components/apps-view/apps-view.component.ts start line: 251 end line: 253 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 93 unit: export function envConfigFactory() file: src/app/services/envconfig/envconfig.service.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1