id: 1 unit: async function syncS3() file: ec2/gov-cloud-import.js start line: 539 end line: 612 size: 69 LOC McCabe index: 4 number of parameters: 0 id: 2 unit: function runInst() file: lambda/ec2Run/index.js start line: 189 end line: 240 size: 51 LOC McCabe index: 3 number of parameters: 0 id: 3 unit: async function refreshInstallStatusWest() file: browser/scripts/gov-cloud-import-browser.js start line: 718 end line: 769 size: 44 LOC McCabe index: 8 number of parameters: 0 id: 4 unit: async function refreshInstallStatusEast() file: browser/scripts/gov-cloud-import-browser.js start line: 771 end line: 822 size: 44 LOC McCabe index: 8 number of parameters: 0 id: 5 unit: function findLetter() file: ec2/gov-cloud-import.js start line: 119 end line: 164 size: 40 LOC McCabe index: 6 number of parameters: 1 id: 6 unit: function registerImage() file: lambda/importImageStatus/index.js start line: 147 end line: 182 size: 36 LOC McCabe index: 3 number of parameters: 1 id: 7 unit: function terminateInst() file: browser/scripts/gov-cloud-import-browser.js start line: 19 end line: 51 size: 33 LOC McCabe index: 4 number of parameters: 1 id: 8 unit: function copyVolume() file: ec2/gov-cloud-import.js start line: 467 end line: 506 size: 33 LOC McCabe index: 3 number of parameters: 1 id: 9 unit: function govCloudFormationStatus() file: lambda/appStatus/index.js start line: 50 end line: 81 size: 32 LOC McCabe index: 4 number of parameters: 1 id: 10 unit: function importWindows() file: lambda/importImage/index.js start line: 46 end line: 77 size: 32 LOC McCabe index: 2 number of parameters: 1 id: 11 unit: function snsPublish() file: lambda/importImageStatus/index.js start line: 108 end line: 144 size: 32 LOC McCabe index: 5 number of parameters: 1 id: 12 unit: function importStatusWindows() file: lambda/importImageStatus/index.js start line: 48 end line: 76 size: 29 LOC McCabe index: 3 number of parameters: 1 id: 13 unit: function initSNSSubscribe() file: browser/scripts/gov-cloud-import-browser.js start line: 345 end line: 375 size: 28 LOC McCabe index: 2 number of parameters: 2 id: 14 unit: function comCloudFormationStatus() file: lambda/appStatus/index.js start line: 84 end line: 111 size: 28 LOC McCabe index: 4 number of parameters: 0 id: 15 unit: function createKeyPair() file: lambda/ec2Run/index.js start line: 82 end line: 109 size: 28 LOC McCabe index: 3 number of parameters: 0 id: 16 unit: function makeVolume() file: lambda/makeVolume/index.js start line: 65 end line: 93 size: 28 LOC McCabe index: 2 number of parameters: 2 id: 17 unit: function importLinux() file: lambda/importImage/index.js start line: 80 end line: 107 size: 28 LOC McCabe index: 2 number of parameters: 1 id: 18 unit: function importStatusLinux() file: lambda/importImageStatus/index.js start line: 78 end line: 105 size: 27 LOC McCabe index: 3 number of parameters: 1 id: 19 unit: function watchComCloudFormation() file: browser/scripts/gov-cloud-import-browser.js start line: 188 end line: 212 size: 25 LOC McCabe index: 5 number of parameters: 3 id: 20 unit: function watchGovCloudFormation() file: browser/scripts/gov-cloud-import-browser.js start line: 215 end line: 239 size: 25 LOC McCabe index: 5 number of parameters: 3 id: 21 unit: function initStepFunction() file: browser/scripts/gov-cloud-import-browser.js start line: 265 end line: 290 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 22 unit: function setRegionAndKeys() file: browser/scripts/gov-cloud-import-browser.js start line: 459 end line: 486 size: 24 LOC McCabe index: 5 number of parameters: 0 id: 23 unit: function findEC2PrepScript() file: lambda/ec2Run/index.js start line: 34 end line: 60 size: 24 LOC McCabe index: 2 number of parameters: 0 id: 24 unit: function findSubnet() file: lambda/makeVolume/index.js start line: 14 end line: 37 size: 24 LOC McCabe index: 2 number of parameters: 0 id: 25 unit: function describeSnapshot() file: lambda/moveStatus/index.js start line: 33 end line: 57 size: 24 LOC McCabe index: 3 number of parameters: 1 id: 26 unit: function changeInstanceTag() file: ec2/gov-cloud-import.js start line: 90 end line: 113 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 27 unit: function initS3StepFunction() file: browser/scripts/gov-cloud-import-browser.js start line: 293 end line: 317 size: 23 LOC McCabe index: 2 number of parameters: 2 id: 28 unit: function getSnapshotId() file: lambda/makeVolume/index.js start line: 40 end line: 62 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 29 unit: function getList() file: lambda/listGovBuckets/index.js start line: 47 end line: 69 size: 23 LOC McCabe index: 3 number of parameters: 1 id: 30 unit: function gets3Objects() file: browser/scripts/gov-cloud-import-browser.js start line: 139 end line: 161 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 31 unit: function describeInst() file: lambda/ec2Run/index.js start line: 148 end line: 169 size: 22 LOC McCabe index: 2 number of parameters: 0 id: 32 unit: function findTask() file: ec2/gov-cloud-import.js start line: 337 end line: 359 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 33 unit: function findS3Task() file: ec2/gov-cloud-import.js start line: 442 end line: 464 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 34 unit: function deleteAllS3Objects() file: browser/scripts/gov-cloud-import-browser.js start line: 164 end line: 185 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 35 unit: function initAppStatus() file: browser/scripts/gov-cloud-import-browser.js start line: 320 end line: 342 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 36 unit: function constructMsg() file: lambda/snsPublish/index.js start line: 65 end line: 85 size: 21 LOC McCabe index: 10 number of parameters: 1 id: 37 unit: function removeImage() file: lambda/removeS3Image/index.js start line: 47 end line: 67 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 38 unit: function findStateMchineArn() file: lambda/initStepFunction/index.js start line: 14 end line: 34 size: 21 LOC McCabe index: 4 number of parameters: 0 id: 39 unit: function findStateMchineArn() file: lambda/initS3Sync/index.js start line: 15 end line: 35 size: 21 LOC McCabe index: 4 number of parameters: 0 id: 40 unit: function initImportImage() file: browser/importImage.js start line: 1 end line: 22 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: function deleteParameters() file: browser/scripts/gov-cloud-import-browser.js start line: 83 end line: 102 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: $() file: browser/scripts/gov-cloud-import-browser.js start line: 585 end line: 608 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 43 unit: async function validateKeyPrivs() file: browser/scripts/gov-cloud-import-browser.js start line: 824 end line: 847 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 44 unit: function initS3StepFunction() file: browser/importS3.js start line: 1 end line: 21 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: function findLambdaFunction() file: browser/scripts/gov-cloud-import-browser.js start line: 242 end line: 262 size: 19 LOC McCabe index: 4 number of parameters: 2 id: 46 unit: function validateLmabdaInvoke() file: browser/scripts/gov-cloud-import-browser.js start line: 506 end line: 524 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 47 unit: function findKeyPair() file: lambda/ec2Run/index.js start line: 62 end line: 80 size: 19 LOC McCabe index: 2 number of parameters: 0 id: 48 unit: function getList() file: lambda/listComBuckets/index.js start line: 12 end line: 30 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 49 unit: function getS3Bucket() file: browser/scripts/gov-cloud-import-browser.js start line: 118 end line: 136 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 50 unit: function subscribe() file: lambda/snsSubscribe/index.js start line: 30 end line: 47 size: 18 LOC McCabe index: 2 number of parameters: 3 id: 51 unit: function publish() file: lambda/snsPublish/index.js start line: 46 end line: 63 size: 18 LOC McCabe index: 2 number of parameters: 3 id: 52 unit: function execStateMachine() file: lambda/initStepFunction/index.js start line: 36 end line: 56 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 53 unit: function execStateMachine() file: lambda/initS3Sync/index.js start line: 37 end line: 57 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 54 unit: function describeImage() file: lambda/moveStatus/index.js start line: 13 end line: 30 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: function attachVolume() file: ec2/gov-cloud-import.js start line: 167 end line: 184 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 56 unit: function initUninstall() file: browser/scripts/gov-cloud-import-browser.js start line: 378 end line: 396 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 57 unit: function getRegions() file: browser/scripts/gov-cloud-import-browser.js start line: 398 end line: 415 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 58 unit: function getBuckets() file: browser/scripts/gov-cloud-import-browser.js start line: 418 end line: 435 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 59 unit: async function tearDownCom() file: browser/scripts/gov-cloud-import-browser.js start line: 874 end line: 889 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 60 unit: function constructTopicArn() file: lambda/snsSubscribe/index.js start line: 13 end line: 29 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 61 unit: function getParameter() file: lambda/removeS3Image/index.js start line: 29 end line: 44 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: function getParameter() file: lambda/appStatus/index.js start line: 32 end line: 47 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 63 unit: function findRoleArn() file: lambda/ec2Run/index.js start line: 111 end line: 127 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 64 unit: function findSecurityGroup() file: lambda/ec2Run/index.js start line: 129 end line: 145 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 65 unit: function getParameter() file: lambda/importImage/index.js start line: 28 end line: 43 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 66 unit: function getParameter() file: lambda/listGovBuckets/index.js start line: 29 end line: 44 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: function getParameter() file: lambda/importImageStatus/index.js start line: 31 end line: 46 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 68 unit: function detachVolume() file: ec2/gov-cloud-import.js start line: 187 end line: 202 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 69 unit: function heartbeatFunc() file: ec2/gov-cloud-import.js start line: 236 end line: 253 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 70 unit: function getParameter() file: ec2/gov-cloud-import.js start line: 273 end line: 289 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: function sendTaskFailure() file: ec2/gov-cloud-import.js start line: 361 end line: 376 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 72 unit: function sendTaskSuccess() file: ec2/gov-cloud-import.js start line: 378 end line: 393 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 73 unit: async function subscribeTopic() file: browser/scripts/gov-cloud-import-browser.js start line: 856 end line: 871 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 74 unit: async function tearDownGov() file: browser/scripts/gov-cloud-import-browser.js start line: 892 end line: 915 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: function constructTopicArn() file: lambda/snsPublish/index.js start line: 29 end line: 44 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: function createActivityArn() file: ec2/gov-cloud-import.js start line: 318 end line: 334 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 77 unit: function createS3ActivityArn() file: ec2/gov-cloud-import.js start line: 423 end line: 439 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 78 unit: function deleteSnapshot() file: lambda/cleanUp/index.js start line: 16 end line: 29 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 79 unit: function startInst() file: lambda/ec2Run/index.js start line: 172 end line: 186 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: function removeCommercial() file: browser/scripts/gov-cloud-import-browser.js start line: 54 end line: 66 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 81 unit: function removeGovCloud() file: browser/scripts/gov-cloud-import-browser.js start line: 69 end line: 81 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 82 unit: function deleteKeyPair() file: browser/scripts/gov-cloud-import-browser.js start line: 104 end line: 116 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 83 unit: function setSelect() file: browser/scripts/gov-cloud-import-browser.js start line: 438 end line: 457 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 84 unit: function getGovCloudRegion() file: lambda/listGovBuckets/index.js start line: 14 end line: 26 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 85 unit: function terminateInstance() file: ec2/gov-cloud-import.js start line: 291 end line: 303 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 86 unit: async function copyImage() file: ec2/gov-cloud-import.js start line: 509 end line: 537 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 87 unit: async function initS3SyncWorkflow() file: browser/scripts/gov-cloud-import-browser.js start line: 635 end line: 653 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 88 unit: async function setGovCloudBucketsForSync() file: browser/scripts/gov-cloud-import-browser.js start line: 655 end line: 670 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: async function setComBucketsForSync() file: browser/scripts/gov-cloud-import-browser.js start line: 672 end line: 687 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: function getGovCloudRegion() file: lambda/removeS3Image/index.js start line: 15 end line: 26 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 91 unit: function deleteVolume() file: ec2/gov-cloud-import.js start line: 205 end line: 217 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 92 unit: function mountBucket() file: ec2/gov-cloud-import.js start line: 396 end line: 407 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 93 unit: async function initWorkflow() file: browser/scripts/gov-cloud-import-browser.js start line: 616 end line: 633 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 94 unit: function getGovCloudRegion() file: lambda/snsPublish/index.js start line: 17 end line: 27 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 95 unit: function getGovCloudRegion() file: lambda/appStatus/index.js start line: 19 end line: 29 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 96 unit: function getGovCloudRegion() file: lambda/importImage/index.js start line: 15 end line: 25 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 97 unit: function getGovCloudRegion() file: lambda/importImageStatus/index.js start line: 18 end line: 28 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 98 unit: function getStatus() file: lambda/importImageStatus/index.js start line: 184 end line: 194 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 99 unit: function umountBucket() file: ec2/gov-cloud-import.js start line: 410 end line: 420 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 100 unit: async function setRegionList() file: browser/scripts/gov-cloud-import-browser.js start line: 689 end line: 701 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 101 unit: await timeout() file: ec2/gov-cloud-import.js start line: 518 end line: 530 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 102 unit: function validateEc2Describe() file: browser/scripts/gov-cloud-import-browser.js start line: 487 end line: 495 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 103 unit: function validateLmabdaList() file: browser/scripts/gov-cloud-import-browser.js start line: 497 end line: 505 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 104 unit: function validateImageFormat() file: browser/scripts/gov-cloud-import-browser.js start line: 527 end line: 536 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 105 unit: function validateSNSFormat() file: browser/scripts/gov-cloud-import-browser.js start line: 539 end line: 548 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 106 unit: function validateKey() file: browser/scripts/gov-cloud-import-browser.js start line: 551 end line: 560 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 107 unit: function formatBytes() file: ec2/gov-cloud-import.js start line: 72 end line: 79 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 108 unit: setInterval() file: ec2/gov-cloud-import.js start line: 306 end line: 315 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 109 unit: function isEmpty() file: browser/scripts/gov-cloud-import-browser.js start line: 10 end line: 16 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 110 unit: function showImageParams() file: browser/scripts/gov-cloud-import-browser.js start line: 563 end line: 569 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 111 unit: function isEmpty() file: lambda/ec2Run/index.js start line: 25 end line: 31 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 112 unit: function findGovRegion() file: ec2/gov-cloud-import.js start line: 35 end line: 41 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 113 unit: function isEmpty() file: ec2/gov-cloud-import.js start line: 63 end line: 69 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 114 unit: function removeHeartbeat() file: ec2/gov-cloud-import.js start line: 227 end line: 233 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 115 unit: async function uninstallWest() file: browser/scripts/gov-cloud-import-browser.js start line: 849 end line: 854 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 116 unit: function httpGet() file: ec2/gov-cloud-import.js start line: 18 end line: 23 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: function writeToLog() file: ec2/gov-cloud-import.js start line: 82 end line: 87 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 118 unit: setInterval() file: ec2/gov-cloud-import.js start line: 264 end line: 270 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 119 unit: function showS3Params() file: browser/scripts/gov-cloud-import-browser.js start line: 572 end line: 576 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 120 unit: function setS3LogURL() file: browser/scripts/gov-cloud-import-browser.js start line: 610 end line: 614 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: function sendHeartbeat() file: ec2/gov-cloud-import.js start line: 256 end line: 261 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 122 unit: function refreshInstallStatus() file: browser/scripts/gov-cloud-import-browser.js start line: 579 end line: 582 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 123 unit: function setTime() file: ec2/gov-cloud-import.js start line: 57 end line: 60 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 124 unit: function removeVolume() file: ec2/gov-cloud-import.js start line: 220 end line: 224 size: 4 LOC McCabe index: 1 number of parameters: 1