id: 1 unit: function() file: public/javascripts/app/controllers/SnapshotListInteractionCtrl.js start line: 8 end line: 92 size: 59 LOC McCabe index: 11 number of parameters: 1 id: 2 unit: function() file: public/javascripts/app/controllers/SnapshotListCtrl.js start line: 13 end line: 87 size: 48 LOC McCabe index: 4 number of parameters: 5 id: 3 unit: function() file: public/javascripts/app/services/RestoreService.js start line: 11 end line: 53 size: 37 LOC McCabe index: 4 number of parameters: 4 id: 4 unit: function loadSourceAndDestinations() file: public/javascripts/app/controllers/RestoreFormCtrl.js start line: 42 end line: 83 size: 36 LOC McCabe index: 5 number of parameters: 0 id: 5 unit: function() file: public/javascripts/app/controllers/SnapshotContentCtrl.js start line: 15 end line: 117 size: 30 LOC McCabe index: 4 number of parameters: 7 id: 6 unit: def exportAsGitRepo() file: app/controllers/Export.scala start line: 45 end line: 79 size: 28 LOC McCabe index: 3 number of parameters: 1 id: 7 unit: function() file: public/javascripts/app/services/UserService.js start line: 10 end line: 37 size: 27 LOC McCabe index: 4 number of parameters: 2 id: 8 unit: function() file: public/javascripts/app/controllers/ModalController.js start line: 11 end line: 54 size: 26 LOC McCabe index: 3 number of parameters: 3 id: 9 unit: function() file: public/javascripts/app/collections/SnapshotIdModels.js start line: 12 end line: 52 size: 25 LOC McCabe index: 4 number of parameters: 3 id: 10 unit: def versionList() file: app/controllers/Versions.scala start line: 38 end line: 62 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 11 unit: getPublishedState() file: public/javascripts/app/models/SnapshotIdModel.js start line: 97 end line: 122 size: 21 LOC McCabe index: 7 number of parameters: 0 id: 12 unit: def userFromPandaUser() file: app/controllers/Restore.scala start line: 34 end line: 55 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 13 unit: private def zipFolder() file: app/controllers/Export.scala start line: 94 end line: 121 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 14 unit: function htmlFromElements() file: public/javascripts/app/models/SnapshotModel.js start line: 58 end line: 79 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 15 unit: function() file: public/javascripts/app/collections/SnapshotModels.js start line: 13 end line: 40 size: 20 LOC McCabe index: 2 number of parameters: 3 id: 16 unit: def apply() file: app/models/FlexibleStack.scala start line: 17 end line: 40 size: 20 LOC McCabe index: 3 number of parameters: 2 id: 17 unit: def restoreDestinations() file: app/controllers/Restore.scala start line: 57 end line: 77 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 18 unit: constructor() file: public/javascripts/app/models/SnapshotIdModel.js start line: 12 end line: 29 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 19 unit: def apply() file: app/controllers/Export.scala start line: 140 end line: 159 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 20 unit: function() file: public/javascripts/app/main.js start line: 29 end line: 46 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 21 unit: def changeDetails() file: app/logic/FlexibleApi.scala start line: 15 end line: 28 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 22 unit: def restoreToExisting() file: app/logic/FlexibleApi.scala start line: 30 end line: 43 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 23 unit: def restoreToNew() file: app/logic/FlexibleApi.scala start line: 45 end line: 58 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 24 unit: function() file: public/javascripts/app/controllers/RestoreFormCtrl.js start line: 14 end line: 97 size: 13 LOC McCabe index: 4 number of parameters: 6 id: 25 unit: def getRawSnapshotInfo() file: app/logic/SnapshotApi.scala start line: 24 end line: 38 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 26 unit: export default() file: public/javascripts/app/utils/safe-apply.js start line: 3 end line: 15 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 27 unit: export default() file: public/javascripts/app/lib/utils/safe-apply.js start line: 3 end line: 15 size: 12 LOC McCabe index: 5 number of parameters: 2 id: 28 unit: def Right[A]() file: app/models/Attempt.scala start line: 98 end line: 128 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 29 unit: function setActive() file: public/javascripts/app/controllers/SnapshotListCtrl.js start line: 73 end line: 85 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 30 unit: def show() file: app/controllers/Versions.scala start line: 26 end line: 36 size: 11 LOC McCabe index: 3 number of parameters: 3 id: 31 unit: private def getObjectContentRaw() file: app/logic/SnapshotApi.scala start line: 41 end line: 51 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 32 unit: private def getObjectContentJson() file: app/logic/SnapshotApi.scala start line: 53 end line: 63 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 33 unit: override def validateUser() file: app/auth/PanDomainAuthActions.scala start line: 17 end line: 30 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 34 unit: function() file: public/javascripts/app/services/DateFormatService.js start line: 6 end line: 15 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 35 unit: constructor() file: public/javascripts/app/models/SnapshotModel.js start line: 28 end line: 37 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 36 unit: function() file: public/javascripts/app/controllers/ErrorCtrl.js start line: 9 end line: 19 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 37 unit: this.restore = function() file: public/javascripts/app/controllers/RestoreFormCtrl.js start line: 28 end line: 38 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: function displayContent() file: public/javascripts/app/controllers/SnapshotContentCtrl.js start line: 66 end line: 76 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 39 unit: this.copyJSON = function() file: public/javascripts/app/controllers/SnapshotContentCtrl.js start line: 104 end line: 116 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 40 unit: link: function() file: public/javascripts/app/lib/btn/index.js start line: 22 end line: 31 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 41 unit: private def getSnapshot() file: app/controllers/Export.scala start line: 81 end line: 92 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 42 unit: override def visitString() file: app/controllers/Export.scala start line: 171 end line: 181 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 43 unit: toJSON() file: public/javascripts/app/models/SnapshotModel.js start line: 88 end line: 97 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 44 unit: getUserEmail() file: public/javascripts/app/models/SnapshotIdModel.js start line: 128 end line: 136 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 45 unit: function resetModalForm() file: public/javascripts/app/controllers/RestoreFormCtrl.js start line: 87 end line: 95 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 46 unit: def sequence[A]() file: app/models/Attempt.scala start line: 54 end line: 62 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 47 unit: def load() file: app/AppLoader.scala start line: 8 end line: 19 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 48 unit: commentsEnabled() file: public/javascripts/app/models/SnapshotIdModel.js start line: 86 end line: 95 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 49 unit: function loadContent() file: public/javascripts/app/controllers/SnapshotContentCtrl.js start line: 55 end line: 63 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 50 unit: function() file: public/javascripts/app/lib/accordion/AccordionCtrl.js start line: 8 end line: 17 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 51 unit: def map[B]() file: app/models/Attempt.scala start line: 10 end line: 18 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 52 unit: def preflight() file: app/controllers/Application.scala start line: 49 end line: 57 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: def apply() file: app/helpers/CORSable.scala start line: 10 end line: 19 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 54 unit: private def listSnapshots() file: app/logic/SnapshotApi.scala start line: 65 end line: 73 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: def restore() file: app/logic/FlexibleApi.scala start line: 60 end line: 70 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 56 unit: function() file: public/javascripts/app/services/SnapshotCollectionService.js start line: 7 end line: 13 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: function() file: public/javascripts/app/services/AnalyticsService.js start line: 25 end line: 35 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: constructor() file: public/javascripts/app/collections/BaseCollection.js start line: 4 end line: 11 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: function() file: public/javascripts/app/controllers/SearchFormCtrl.js start line: 8 end line: 14 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 60 unit: this.toggleJSON = function() file: public/javascripts/app/controllers/SnapshotContentCtrl.js start line: 92 end line: 98 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 61 unit: def foreach() file: app/models/Attempt.scala start line: 31 end line: 44 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 62 unit: def successfulAttempts[A]() file: app/models/Attempt.scala start line: 87 end line: 93 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: def domainFromStage() file: app/config/AppConfig.scala start line: 67 end line: 73 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 64 unit: def availableVersionsCount() file: app/controllers/Versions.scala start line: 64 end line: 70 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: function displayJSON() file: public/javascripts/app/controllers/SnapshotContentCtrl.js start line: 78 end line: 83 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: function displayHTML() file: public/javascripts/app/controllers/SnapshotContentCtrl.js start line: 85 end line: 90 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 67 unit: function DropdownCtrl() file: public/javascripts/app/lib/dropdown/DropdownCtrl.js start line: 7 end line: 15 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: def recoverWith() file: app/models/Attempt.scala start line: 20 end line: 25 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 69 unit: def apply[A]() file: app/models/Attempt.scala start line: 130 end line: 135 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: def logTo() file: app/models/Attempt.scala start line: 140 end line: 145 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 71 unit: getHTMLContent() file: public/javascripts/app/models/SnapshotModel.js start line: 55 end line: 81 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 72 unit: function setState() file: public/javascripts/app/controllers/SnapshotListInteractionCtrl.js start line: 16 end line: 20 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 73 unit: link: function() file: public/javascripts/app/lib/box/index.js start line: 8 end line: 16 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 74 unit: def fromEither[A]() file: app/models/Attempt.scala start line: 72 end line: 80 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 75 unit: private def startLogging() file: app/AppLoader.scala start line: 21 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: private def format() file: app/controllers/Export.scala start line: 161 end line: 167 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: def listForId() file: app/logic/SnapshotApi.scala start line: 16 end line: 22 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 78 unit: constructor() file: public/javascripts/app/models/BaseModel.js start line: 4 end line: 9 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 79 unit: getCreatedDateHtml() file: public/javascripts/app/models/SnapshotIdModel.js start line: 31 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: isBecauseOfLaunch() file: public/javascripts/app/models/SnapshotIdModel.js start line: 76 end line: 79 size: 4 LOC McCabe index: 3 number of parameters: 0 id: 81 unit: isLegallySensitive() file: public/javascripts/app/models/SnapshotIdModel.js start line: 81 end line: 84 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 82 unit: constructor() file: public/javascripts/app/collections/SnapshotIdModels.js start line: 15 end line: 18 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: def withApiStatus() file: app/models/Destination.scala start line: 17 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 84 unit: private def write() file: app/controllers/Export.scala start line: 123 end line: 126 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 85 unit: def apply() file: app/helpers/HSTSFilter.scala start line: 9 end line: 12 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: createdDate: moment() file: public/javascripts/app/models/SnapshotModel.js start line: 33 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: getCreatedDate() file: public/javascripts/app/models/SnapshotModel.js start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 88 unit: getHeadline() file: public/javascripts/app/models/SnapshotModel.js start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: getStandfirst() file: public/javascripts/app/models/SnapshotModel.js start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: getTrailText() file: public/javascripts/app/models/SnapshotModel.js start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: get() file: public/javascripts/app/models/SnapshotModel.js start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: getJSON() file: public/javascripts/app/models/SnapshotModel.js start line: 99 end line: 101 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 93 unit: get() file: public/javascripts/app/models/BaseModel.js start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: set() file: public/javascripts/app/models/BaseModel.js start line: 15 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 95 unit: getSystemId() file: public/javascripts/app/models/SnapshotIdModel.js start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 96 unit: getSystem() file: public/javascripts/app/models/SnapshotIdModel.js start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 97 unit: isSecondary() file: public/javascripts/app/models/SnapshotIdModel.js start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: getComposerUrl() file: public/javascripts/app/models/SnapshotIdModel.js start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 99 unit: getComposerPrefix() file: public/javascripts/app/models/SnapshotIdModel.js start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 100 unit: getContentId() file: public/javascripts/app/models/SnapshotIdModel.js start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 101 unit: getTimestamp() file: public/javascripts/app/models/SnapshotIdModel.js start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 102 unit: getHeadline() file: public/javascripts/app/models/SnapshotIdModel.js start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 103 unit: getRevisionId() file: public/javascripts/app/models/SnapshotIdModel.js start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 104 unit: getSnapshotReason() file: public/javascripts/app/models/SnapshotIdModel.js start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 105 unit: getRelativeDate() file: public/javascripts/app/models/SnapshotIdModel.js start line: 124 end line: 126 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: get() file: public/javascripts/app/models/SnapshotIdModel.js start line: 138 end line: 140 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: getModels() file: public/javascripts/app/collections/BaseCollection.js start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 108 unit: getModelAt() file: public/javascripts/app/collections/BaseCollection.js start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: find() file: public/javascripts/app/collections/BaseCollection.js start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: indexOf() file: public/javascripts/app/collections/BaseCollection.js start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: length() file: public/javascripts/app/collections/BaseCollection.js start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 112 unit: comparator() file: public/javascripts/app/collections/SnapshotIdModels.js start line: 20 end line: 22 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 113 unit: this.restoreContent = function() file: public/javascripts/app/controllers/SnapshotContentCtrl.js start line: 100 end line: 102 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: link: function() file: public/javascripts/app/lib/dropdown/index.js start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 115 unit: template: function() file: public/javascripts/app/lib/btn/index.js start line: 15 end line: 17 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 116 unit: def fold[B]() file: app/models/Attempt.scala start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 117 unit: def sequenceFutures[A]() file: app/models/Attempt.scala start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: def apply() file: app/models/Attempt.scala start line: 151 end line: 153 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: def apply() file: app/models/Attempt.scala start line: 154 end line: 156 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: def authError() file: app/controllers/Login.scala start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: def versionIndex() file: app/controllers/Application.scala start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: private def filename() file: app/controllers/Export.scala start line: 128 end line: 130 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 123 unit: override def showUnauthedMessage() file: app/auth/PanDomainAuthActions.scala start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: createdDate: moment() file: public/javascripts/app/models/SnapshotIdModel.js start line: 24 end line: 89 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: comparator() file: public/javascripts/app/collections/BaseCollection.js start line: 13 end line: 15 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: function() file: public/javascripts/app/models/SnapshotModel.js start line: 25 end line: 108 size: 1 LOC McCabe index: 1 number of parameters: 0 id: 127 unit: function() file: public/javascripts/app/models/SnapshotIdModel.js start line: 10 end line: 147 size: 1 LOC McCabe index: 1 number of parameters: 1