id: 1 unit: constructor() file: cdk/lib/elastic-search-monitor.ts start line: 19 end line: 182 size: 118 LOC McCabe index: 4 number of parameters: 3 id: 2 unit: def detectMasters() file: src/main/scala/com/gu/elasticsearchmonitor/MasterDetector.scala start line: 15 end line: 63 size: 44 LOC McCabe index: 7 number of parameters: 2 id: 3 unit: def fetchAndParse() file: src/main/scala/com/gu/elasticsearchmonitor/ClusterHealth.scala start line: 19 end line: 68 size: 42 LOC McCabe index: 8 number of parameters: 4 id: 4 unit: def buildMetricData() file: src/main/scala/com/gu/elasticsearchmonitor/CloudwatchMetrics.scala start line: 31 end line: 66 size: 34 LOC McCabe index: 6 number of parameters: 3 id: 5 unit: def process() file: src/main/scala/com/gu/elasticsearchmonitor/Lambda.scala start line: 68 end line: 96 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 6 unit: def fetchAndParse() file: src/main/scala/com/gu/elasticsearchmonitor/NodeStats.scala start line: 16 end line: 39 size: 20 LOC McCabe index: 5 number of parameters: 4 id: 7 unit: def metricDatum() file: src/main/scala/com/gu/elasticsearchmonitor/CloudwatchMetrics.scala start line: 13 end line: 29 size: 16 LOC McCabe index: 2 number of parameters: 5 id: 8 unit: def sendMetrics() file: src/main/scala/com/gu/elasticsearchmonitor/CloudwatchMetrics.scala start line: 76 end line: 89 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 9 unit: metric: metric() file: cdk/lib/elastic-search-monitor.ts start line: 161 end line: 175 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 10 unit: def apply() file: src/main/scala/com/gu/elasticsearchmonitor/Lambda.scala start line: 25 end line: 34 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 11 unit: def parse() file: src/main/scala/com/gu/elasticsearchmonitor/NodeStats.scala start line: 50 end line: 57 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 12 unit: def buildMasterMetricData() file: src/main/scala/com/gu/elasticsearchmonitor/CloudwatchMetrics.scala start line: 68 end line: 74 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 13 unit: def handler() file: src/main/scala/com/gu/elasticsearchmonitor/Lambda.scala start line: 39 end line: 44 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 14 unit: def main() file: src/main/scala/com/gu/elasticsearchmonitor/Lambda.scala start line: 100 end line: 106 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 15 unit: metric: metric() file: cdk/lib/elastic-search-monitor.ts start line: 127 end line: 131 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: metric: metric() file: cdk/lib/elastic-search-monitor.ts start line: 135 end line: 139 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 17 unit: metric: metric() file: cdk/lib/elastic-search-monitor.ts start line: 143 end line: 148 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 18 unit: metric: metric() file: cdk/lib/elastic-search-monitor.ts start line: 152 end line: 157 size: 4 LOC McCabe index: 1 number of parameters: 1