id: 1 unit: async function recommendRegion() file: index.js start line: 265 end line: 335 size: 62 LOC McCabe index: 14 number of parameters: 0 id: 2 unit: function rankRegions() file: region-optimizer.js start line: 76 end line: 144 size: 61 LOC McCabe index: 12 number of parameters: 2 id: 3 unit: function extractProductAvailability() file: parsers/locations/about-locations-parser.js start line: 36 end line: 66 size: 25 LOC McCabe index: 7 number of parameters: 1 id: 4 unit: async function fetchData() file: index.js start line: 76 end line: 101 size: 21 LOC McCabe index: 2 number of parameters: 0 id: 5 unit: function normalizeAttributes() file: region-optimizer.js start line: 45 end line: 62 size: 18 LOC McCabe index: 6 number of parameters: 2 id: 6 unit: function bindListeners() file: index.js start line: 128 end line: 149 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 7 unit: function extractLocations() file: parsers/locations/about-locations-parser.js start line: 17 end line: 34 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 8 unit: function printResultInList() file: index.js start line: 227 end line: 246 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 9 unit: function extractDataForContinent() file: parsers/locations/about-locations-parser.js start line: 68 end line: 85 size: 16 LOC McCabe index: 5 number of parameters: 2 id: 10 unit: function parseCarbonCSV() file: index.js start line: 108 end line: 126 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 11 unit: function regionToLeaves() file: index.js start line: 151 end line: 165 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 12 unit: function grayOutWhenZero() file: index.js start line: 249 end line: 263 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 13 unit: function distance() file: region-optimizer.js start line: 23 end line: 37 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 14 unit: function updateMissingDataWarning() file: index.js start line: 183 end line: 193 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 15 unit: function updateMissingDataList() file: index.js start line: 195 end line: 206 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 16 unit: function printResults() file: index.js start line: 208 end line: 220 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 17 unit: function download() file: parsers/locations/about-locations-parser.js start line: 112 end line: 123 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 18 unit: function defaultSelectedProduct() file: index.js start line: 52 end line: 60 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 19 unit: function parseAboutLocations() file: parsers/locations/about-locations-parser.js start line: 99 end line: 110 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 20 unit: function updateList() file: index.js start line: 171 end line: 181 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 21 unit: async function initialize() file: index.js start line: 337 end line: 344 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 22 unit: async function initializeCountrySelect() file: index.js start line: 27 end line: 45 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 23 unit: await fetch() file: index.js start line: 65 end line: 73 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 24 unit: function getLocationsJSONFile() file: parsers/locations/about-locations-parser.js start line: 125 end line: 132 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 25 unit: await fetch() file: index.js start line: 30 end line: 37 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: function keepOnlyAllowedRegionsFromResults() file: region-optimizer.js start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 27 unit: async function initializeProductSelect() file: index.js start line: 62 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 28 unit: function regionToDollars() file: index.js start line: 167 end line: 169 size: 3 LOC McCabe index: 1 number of parameters: 1