id: 1 unit: private static createDataPoints() file: src/columnChart/baseColumnChart.ts start line: 627 end line: 1127 size: 406 LOC McCabe index: 89 number of parameters: 17 id: 2 unit: private renderChart() file: src/visual.ts start line: 2233 end line: 2541 size: 260 LOC McCabe index: 43 number of parameters: 10 id: 3 unit: private render() file: src/visual.ts start line: 1885 end line: 2155 size: 210 LOC McCabe index: 51 number of parameters: 1 id: 4 unit: private renderLegend() file: src/visual.ts start line: 1565 end line: 1761 size: 168 LOC McCabe index: 34 number of parameters: 0 id: 5 unit: public getLegend() file: src/converterStrategy/baseConverterStrategy.ts start line: 84 end line: 304 size: 126 LOC McCabe index: 36 number of parameters: 5 id: 6 unit: public static converter() file: src/columnChart/baseColumnChart.ts start line: 345 end line: 487 size: 122 LOC McCabe index: 11 number of parameters: 9 id: 7 unit: private getCategoryAxisValues() file: src/visual.ts start line: 1335 end line: 1436 size: 87 LOC McCabe index: 30 number of parameters: 1 id: 8 unit: private renderAxesLabels() file: src/visual.ts start line: 568 end line: 665 size: 86 LOC McCabe index: 14 number of parameters: 2 id: 9 unit: public calculateAxesProperties() file: src/columnChart/baseColumnChart.ts start line: 1530 end line: 1638 size: 85 LOC McCabe index: 17 number of parameters: 1 id: 10 unit: private createAxis() file: src/visualStrategy/baseVisualStrategy.ts start line: 279 end line: 372 size: 82 LOC McCabe index: 10 number of parameters: 1 id: 11 unit: export function transformDomain() file: src/utils.ts start line: 219 end line: 315 size: 75 LOC McCabe index: 23 number of parameters: 3 id: 12 unit: export function createTooltipData() file: src/tooltip.ts start line: 137 end line: 229 size: 74 LOC McCabe index: 14 number of parameters: 4 id: 13 unit: private enumerateDataPoints() file: src/columnChart/baseColumnChart.ts start line: 1446 end line: 1528 size: 71 LOC McCabe index: 14 number of parameters: 1 id: 14 unit: export function createTooltipInfo() file: src/tooltip.ts start line: 54 end line: 135 size: 69 LOC McCabe index: 18 number of parameters: 9 id: 15 unit: private getValueAxisValues() file: src/visual.ts start line: 1438 end line: 1517 size: 68 LOC McCabe index: 24 number of parameters: 1 id: 16 unit: private addUnitTypeToAxisLabel() file: src/visual.ts start line: 1774 end line: 1845 size: 64 LOC McCabe index: 16 number of parameters: 1 id: 17 unit: export function calculateAxes() file: src/axis/utils.ts start line: 75 end line: 143 size: 59 LOC McCabe index: 12 number of parameters: 7 id: 18 unit: private static createFormatter() file: src/visualStrategy/baseVisualStrategy.ts start line: 170 end line: 231 size: 55 LOC McCabe index: 7 number of parameters: 9 id: 19 unit: private static drawDefaultShapes() file: src/visualStrategy/baseVisualStrategy.ts start line: 545 end line: 622 size: 55 LOC McCabe index: 3 number of parameters: 5 id: 20 unit: public init() file: src/visual.ts start line: 454 end line: 526 size: 54 LOC McCabe index: 1 number of parameters: 1 id: 21 unit: private translateAxes() file: src/visual.ts start line: 690 end line: 753 size: 47 LOC McCabe index: 8 number of parameters: 1 id: 22 unit: private getCategoryAxis() file: src/visualStrategy/baseVisualStrategy.ts start line: 374 end line: 430 size: 47 LOC McCabe index: 5 number of parameters: 7 id: 23 unit: public setData() file: src/columnChart/baseColumnChart.ts start line: 1225 end line: 1272 size: 45 LOC McCabe index: 6 number of parameters: 1 id: 24 unit: private enumerateLegend() file: src/visual.ts start line: 1252 end line: 1302 size: 44 LOC McCabe index: 5 number of parameters: 2 id: 25 unit: private static createAlternateStructure() file: src/columnChart/baseColumnChart.ts start line: 489 end line: 539 size: 43 LOC McCabe index: 10 number of parameters: 2 id: 26 unit: private createInteractiveMekkoLegendDataPoints() file: src/columnChart/baseColumnChart.ts start line: 1685 end line: 1733 size: 41 LOC McCabe index: 10 number of parameters: 1 id: 27 unit: public render() file: src/columnChart/baseColumnChart.ts start line: 1739 end line: 1784 size: 39 LOC McCabe index: 3 number of parameters: 1 id: 28 unit: export function getValueAxisProperties() file: src/dataViewUtils.ts start line: 72 end line: 116 size: 39 LOC McCabe index: 5 number of parameters: 2 id: 29 unit: public update() file: src/visual.ts start line: 847 end line: 893 size: 39 LOC McCabe index: 12 number of parameters: 1 id: 30 unit: public static getLayout() file: src/visual.ts start line: 911 end line: 959 size: 39 LOC McCabe index: 7 number of parameters: 2 id: 31 unit: public static getCategoryThickness() file: src/visual.ts start line: 970 end line: 1015 size: 38 LOC McCabe index: 9 number of parameters: 6 id: 32 unit: private populateObjectProperties() file: src/visual.ts start line: 787 end line: 831 size: 37 LOC McCabe index: 9 number of parameters: 1 id: 33 unit: public drawColumns() file: src/visualStrategy/baseVisualStrategy.ts start line: 499 end line: 543 size: 36 LOC McCabe index: 3 number of parameters: 1 id: 34 unit: public setYScale() file: src/visualStrategy/baseVisualStrategy.ts start line: 458 end line: 497 size: 35 LOC McCabe index: 2 number of parameters: 4 id: 35 unit: public enumerateObjectInstances() file: src/columnChart/baseColumnChart.ts start line: 1296 end line: 1330 size: 34 LOC McCabe index: 8 number of parameters: 2 id: 36 unit: private enumerateBorder() file: src/visual.ts start line: 1177 end line: 1216 size: 33 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: private static formatAxisTickValues() file: src/visualStrategy/baseVisualStrategy.ts start line: 236 end line: 273 size: 33 LOC McCabe index: 5 number of parameters: 7 id: 38 unit: export function calcValueDomain() file: src/utils.ts start line: 80 end line: 115 size: 32 LOC McCabe index: 3 number of parameters: 2 id: 39 unit: export function createAxesLabels() file: src/axis/utils.ts start line: 145 end line: 182 size: 31 LOC McCabe index: 8 number of parameters: 4 id: 40 unit: export function getCategoryAxisProperties() file: src/dataViewUtils.ts start line: 35 end line: 70 size: 30 LOC McCabe index: 5 number of parameters: 2 id: 41 unit: private static wordBreak() file: src/visual.ts start line: 2198 end line: 2231 size: 29 LOC McCabe index: 3 number of parameters: 5 id: 42 unit: private getCategoryLayout() file: src/columnChart/baseColumnChart.ts start line: 286 end line: 315 size: 28 LOC McCabe index: 3 number of parameters: 2 id: 43 unit: public static parseBorderSettings() file: src/visual.ts start line: 1142 end line: 1175 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 44 unit: public enumerateObjectInstances() file: src/visual.ts start line: 1218 end line: 1250 size: 28 LOC McCabe index: 10 number of parameters: 1 id: 45 unit: private createAndInitLayers() file: src/visual.ts start line: 1528 end line: 1563 size: 28 LOC McCabe index: 5 number of parameters: 1 id: 46 unit: private getLabelLayout() file: src/visual.ts start line: 2543 end line: 2569 size: 27 LOC McCabe index: 4 number of parameters: 1 id: 47 unit: private enumerateDataLabels() file: src/columnChart/baseColumnChart.ts start line: 1383 end line: 1414 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 48 unit: public lookupXValue() file: src/dataWrapper.ts start line: 51 end line: 85 size: 26 LOC McCabe index: 9 number of parameters: 2 id: 49 unit: private calculateXAxisAdditionalHeight() file: src/visual.ts start line: 528 end line: 556 size: 24 LOC McCabe index: 7 number of parameters: 1 id: 50 unit: public static parseLegendSortSettings() file: src/visual.ts start line: 1113 end line: 1140 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: public init() file: src/columnChart/baseColumnChart.ts start line: 254 end line: 284 size: 23 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: private static getStackedMultiplierForAllDataSet() file: src/columnChart/baseColumnChart.ts start line: 592 end line: 619 size: 23 LOC McCabe index: 5 number of parameters: 3 id: 53 unit: private shouldShowLegendCard() file: src/visual.ts start line: 1304 end line: 1333 size: 23 LOC McCabe index: 10 number of parameters: 0 id: 54 unit: private static getStackedMultiplier() file: src/columnChart/baseColumnChart.ts start line: 563 end line: 590 size: 22 LOC McCabe index: 4 number of parameters: 4 id: 55 unit: private static reorderPositions() file: src/columnChart/baseColumnChart.ts start line: 541 end line: 561 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 56 unit: public getPreferredPlotArea() file: src/columnChart/baseColumnChart.ts start line: 1640 end line: 1664 size: 21 LOC McCabe index: 4 number of parameters: 3 id: 57 unit: export function setChosenColumnOpacity() file: src/utils.ts start line: 162 end line: 186 size: 21 LOC McCabe index: 3 number of parameters: 4 id: 58 unit: private shouldRenderAxis() file: src/visual.ts start line: 1859 end line: 1883 size: 21 LOC McCabe index: 12 number of parameters: 2 id: 59 unit: public setXScale() file: src/visualStrategy/baseVisualStrategy.ts start line: 432 end line: 456 size: 21 LOC McCabe index: 3 number of parameters: 4 id: 60 unit: private static getStackedLabelColor() file: src/columnChart/baseColumnChart.ts start line: 1147 end line: 1172 size: 20 LOC McCabe index: 11 number of parameters: 5 id: 61 unit: public bindEvents() file: src/behavior/visualBehavior.ts start line: 49 end line: 74 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 62 unit: private enumerateCategoryColors() file: src/columnChart/baseColumnChart.ts start line: 1332 end line: 1351 size: 19 LOC McCabe index: 5 number of parameters: 3 id: 63 unit: export function drawSeries() file: src/utils.ts start line: 117 end line: 139 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 64 unit: public static parseDataPointSettings() file: src/visual.ts start line: 1068 end line: 1089 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: public static parseSeriesSortSettings() file: src/visual.ts start line: 1090 end line: 1111 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: private getLabelSettingsOptions() file: src/columnChart/baseColumnChart.ts start line: 1416 end line: 1434 size: 18 LOC McCabe index: 3 number of parameters: 4 id: 67 unit: private adjustMargins() file: src/visual.ts start line: 667 end line: 688 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 68 unit: public static sliceSeries() file: src/columnChart/baseColumnChart.ts start line: 1174 end line: 1193 size: 16 LOC McCabe index: 5 number of parameters: 3 id: 69 unit: maxValueOfCategory: max() file: src/converterStrategy/baseConverterStrategy.ts start line: 103 end line: 125 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: public static parseLabelSettings() file: src/visual.ts start line: 1036 end line: 1055 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 71 unit: public static getBorderWidth() file: src/columnChart/baseColumnChart.ts start line: 317 end line: 335 size: 15 LOC McCabe index: 6 number of parameters: 1 id: 72 unit: maxItemOfCategory: sum() file: src/converterStrategy/baseConverterStrategy.ts start line: 104 end line: 125 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: private static getMinInterval() file: src/visual.ts start line: 1017 end line: 1034 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 74 unit: private static getDataPointColor() file: src/columnChart/baseColumnChart.ts start line: 1129 end line: 1145 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 75 unit: private selectColumn() file: src/columnChart/baseColumnChart.ts start line: 1666 end line: 1683 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 76 unit: minValueOfCategory: min() file: src/converterStrategy/baseConverterStrategy.ts start line: 105 end line: 125 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: const dataSelector:() file: src/visualStrategy/baseVisualStrategy.ts start line: 552 end line: 567 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 78 unit: export function getFormattedLegendLabel() file: src/formattingUtils.ts start line: 38 end line: 53 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 79 unit: export function shouldShowYAxisLabel() file: src/axis/utils.ts start line: 58 end line: 70 size: 12 LOC McCabe index: 7 number of parameters: 3 id: 80 unit: public bindEvents() file: src/behavior/customVisualBehavior.ts start line: 44 end line: 57 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 81 unit: public calculateLegend() file: src/columnChart/baseColumnChart.ts start line: 1274 end line: 1288 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 82 unit: export function getLayerData() file: src/dataViewUtils.ts start line: 128 end line: 142 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 83 unit: export function getClosestColumnIndex() file: src/utils.ts start line: 188 end line: 202 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 84 unit: public checkDataset() file: src/visual.ts start line: 833 end line: 845 size: 12 LOC McCabe index: 7 number of parameters: 0 id: 85 unit: export function applyUserMinMax() file: src/utils.ts start line: 204 end line: 217 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 86 unit: public static getPreferredCategorySpan() file: src/visual.ts start line: 758 end line: 771 size: 11 LOC McCabe index: 2 number of parameters: 3 id: 87 unit: public getColumnsWidth() file: src/columnChart/baseColumnChart.ts start line: 1195 end line: 1207 size: 10 LOC McCabe index: 5 number of parameters: 0 id: 88 unit: private enumerateSortLegend() file: src/columnChart/baseColumnChart.ts start line: 1361 end line: 1371 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: public getSupportedCategoryAxisType() file: src/columnChart/baseColumnChart.ts start line: 1798 end line: 1809 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 90 unit: export function createBaseColumnChartLayer() file: src/columnChart/baseColumnChart.ts start line: 1822 end line: 1833 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 91 unit: export function getFillOpacity() file: src/utils.ts start line: 149 end line: 160 size: 10 LOC McCabe index: 5 number of parameters: 4 id: 92 unit: public static getIsScalar() file: src/visual.ts start line: 773 end line: 785 size: 10 LOC McCabe index: 4 number of parameters: 3 id: 93 unit: private hideAxisLabels() file: src/visual.ts start line: 2157 end line: 2168 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 94 unit: public renderSelection() file: src/behavior/visualBehavior.ts start line: 76 end line: 84 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 95 unit: private enumerateSortSeries() file: src/columnChart/baseColumnChart.ts start line: 1373 end line: 1381 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: valueSum: sum() file: src/converterStrategy/baseConverterStrategy.ts start line: 273 end line: 282 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 97 unit: public static parseXAxisLabelsSettings() file: src/visual.ts start line: 1057 end line: 1066 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: private hideLegends() file: src/visual.ts start line: 1763 end line: 1772 size: 9 LOC McCabe index: 4 number of parameters: 0 id: 99 unit: private shouldRenderSecondaryAxis() file: src/visual.ts start line: 1847 end line: 1857 size: 9 LOC McCabe index: 6 number of parameters: 1 id: 100 unit: public setupVisualProps() file: src/visualStrategy/baseVisualStrategy.ts start line: 155 end line: 164 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: export function isScalar() file: src/dataViewUtils.ts start line: 118 end line: 126 size: 8 LOC McCabe index: 4 number of parameters: 2 id: 102 unit: export function getFormatStringFromColumn() file: src/tooltip.ts start line: 237 end line: 246 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 103 unit: public onClearSelection() file: src/visual.ts start line: 1519 end line: 1526 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 104 unit: private static getChartViewport() file: src/visual.ts start line: 2188 end line: 2196 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 105 unit: public selectColumn() file: src/visualStrategy/baseVisualStrategy.ts start line: 624 end line: 632 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 106 unit: private enumerateXAxisLabels() file: src/columnChart/baseColumnChart.ts start line: 1353 end line: 1359 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: public setFilteredData() file: src/columnChart/baseColumnChart.ts start line: 1811 end line: 1819 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 108 unit: export function applyInteractivity() file: src/utils.ts start line: 141 end line: 147 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 109 unit: private static getUnitType() file: src/visual.ts start line: 2170 end line: 2182 size: 7 LOC McCabe index: 4 number of parameters: 2 id: 110 unit: public static getBorderColor() file: src/columnChart/baseColumnChart.ts start line: 337 end line: 343 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 111 unit: public hasHighlightValues() file: src/converterStrategy/baseConverterStrategy.ts start line: 314 end line: 320 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 112 unit: private static getTextProperties() file: src/visual.ts start line: 289 end line: 294 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: public static getTranslation() file: src/visual.ts start line: 558 end line: 566 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: private setVisibility() file: src/visual.ts start line: 903 end line: 909 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 115 unit: public renderSelection() file: src/behavior/customVisualBehavior.ts start line: 59 end line: 63 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: constructor() file: src/columnChart/baseColumnChart.ts start line: 248 end line: 252 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: private static getPosition() file: src/columnChart/baseColumnChart.ts start line: 621 end line: 625 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 118 unit: public hasLegend() file: src/columnChart/baseColumnChart.ts start line: 1290 end line: 1294 size: 5 LOC McCabe index: 4 number of parameters: 0 id: 119 unit: private checkDataToFeatures() file: src/columnChart/baseColumnChart.ts start line: 1440 end line: 1444 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 120 unit: public onClearSelection() file: src/columnChart/baseColumnChart.ts start line: 1786 end line: 1790 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 121 unit: public getVisualCategoryAxisIsScalar() file: src/columnChart/baseColumnChart.ts start line: 1792 end line: 1796 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 122 unit: private static getDatumForLastInputEvent() file: src/behavior/visualBehavior.ts start line: 86 end line: 89 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 123 unit: constructor() file: src/converterStrategy/baseConverterStrategy.ts start line: 75 end line: 78 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 124 unit: public constructor() file: src/dataWrapper.ts start line: 46 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 125 unit: export function getFormattedValue() file: src/tooltip.ts start line: 231 end line: 235 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 126 unit: private clearViewport() file: src/visual.ts start line: 898 end line: 901 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 127 unit: constructor() file: src/behavior/customVisualBehavior.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 128 unit: public getBorderWidth() file: src/columnChart/baseColumnChart.ts start line: 1209 end line: 1211 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 129 unit: public getSeriesSortSettings() file: src/columnChart/baseColumnChart.ts start line: 1213 end line: 1215 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 130 unit: public getLegendSortSettings() file: src/columnChart/baseColumnChart.ts start line: 1217 end line: 1219 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: public getXAxisLabelsSettings() file: src/columnChart/baseColumnChart.ts start line: 1221 end line: 1223 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: public getData() file: src/columnChart/baseColumnChart.ts start line: 1436 end line: 1438 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: public overrideXScale() file: src/columnChart/baseColumnChart.ts start line: 1735 end line: 1737 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 134 unit: private static hasRole() file: src/converterStrategy/baseConverterStrategy.ts start line: 80 end line: 82 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 135 unit: public getValueBySeriesAndCategory() file: src/converterStrategy/baseConverterStrategy.ts start line: 306 end line: 308 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 136 unit: public getMeasureNameByIndex() file: src/converterStrategy/baseConverterStrategy.ts start line: 310 end line: 312 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: public getHighlightBySeriesAndCategory() file: src/converterStrategy/baseConverterStrategy.ts start line: 322 end line: 324 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 138 unit: export function getSize() file: src/utils.ts start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 139 unit: constructor() file: src/visual.ts start line: 450 end line: 452 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 140 unit: axisPropertiesLookup() file: src/visual.ts start line: 2176 end line: 2179 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 141 unit: private getMaxMarginFactor() file: src/visual.ts start line: 2184 end line: 2186 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 142 unit: public setData() file: src/visualStrategy/baseVisualStrategy.ts start line: 166 end line: 168 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 143 unit: public getClosestColumnIndex() file: src/visualStrategy/baseVisualStrategy.ts start line: 634 end line: 636 size: 3 LOC McCabe index: 1 number of parameters: 1