id: 1 unit: function Article() file: public/src/js/models/collections/article.js start line: 93 end line: 212 size: 90 LOC McCabe index: 19 number of parameters: 2 id: 2 unit: function validateItem() file: public/src/js/modules/content-api.js start line: 54 end line: 151 size: 73 LOC McCabe index: 18 number of parameters: 1 id: 3 unit: constructor() file: public/src/js/widgets/columns/story-package.js start line: 11 end line: 98 size: 72 LOC McCabe index: 10 number of parameters: 2 id: 4 unit: function() file: public/src/js/models/collections/article.js start line: 30 end line: 489 size: 61 LOC McCabe index: 1 number of parameters: 26 id: 5 unit: function persist() file: public/src/js/utils/drag-dispatcher.js start line: 206 end line: 272 size: 56 LOC McCabe index: 23 number of parameters: 8 id: 6 unit: constructor() file: public/src/js/models/article/editor.js start line: 17 end line: 71 size: 51 LOC McCabe index: 12 number of parameters: 4 id: 7 unit: constructor() file: public/src/js/models/collections/latest-articles.js start line: 22 end line: 96 size: 50 LOC McCabe index: 7 number of parameters: 1 id: 8 unit: function fetchLatest() file: public/src/js/modules/content-api.js start line: 249 end line: 297 size: 45 LOC McCabe index: 12 number of parameters: 1 id: 9 unit: constructor() file: public/src/js/models/collections/collection.js start line: 18 end line: 78 size: 44 LOC McCabe index: 4 number of parameters: 1 id: 10 unit: def createUpdatePayload() file: app/story_packages/updates/KinesisEventSender.scala start line: 34 end line: 74 size: 41 LOC McCabe index: 8 number of parameters: 1 id: 11 unit: load() file: public/src/js/widgets/columns/story-package.js start line: 100 end line: 141 size: 40 LOC McCabe index: 6 number of parameters: 1 id: 12 unit: constructor() file: public/src/js/widgets/autocomplete.js start line: 13 end line: 56 size: 40 LOC McCabe index: 10 number of parameters: 1 id: 13 unit: function getItem() file: public/src/js/utils/draggable-element.js start line: 39 end line: 80 size: 37 LOC McCabe index: 8 number of parameters: 2 id: 14 unit: function decorateBatch() file: public/src/js/modules/content-api.js start line: 166 end line: 210 size: 37 LOC McCabe index: 4 number of parameters: 1 id: 15 unit: def collectionEdits() file: app/controllers/FaciaToolController.scala start line: 29 end line: 66 size: 36 LOC McCabe index: 7 number of parameters: 0 id: 16 unit: function handleInternalClass() file: public/src/js/utils/drag-dispatcher.js start line: 54 end line: 99 size: 36 LOC McCabe index: 8 number of parameters: 4 id: 17 unit: export default function() file: public/src/js/modules/auto-complete.js start line: 7 end line: 45 size: 36 LOC McCabe index: 6 number of parameters: 3 id: 18 unit: function replaceArticleWith() file: public/src/js/utils/drag-dispatcher.js start line: 101 end line: 145 size: 34 LOC McCabe index: 5 number of parameters: 4 id: 19 unit: function differential() file: public/src/js/utils/sparklines.js start line: 158 end line: 194 size: 32 LOC McCabe index: 9 number of parameters: 1 id: 20 unit: private def createMarkers() file: app/story_packages/updates/AuditingUpdates.scala start line: 20 end line: 50 size: 30 LOC McCabe index: 5 number of parameters: 4 id: 21 unit: constructor() file: public/src/js/models/base-model.js start line: 16 end line: 50 size: 30 LOC McCabe index: 4 number of parameters: 4 id: 22 unit: Article.prototype.addCapiData = function() file: public/src/js/models/collections/article.js start line: 264 end line: 300 size: 30 LOC McCabe index: 5 number of parameters: 1 id: 23 unit: export default function() file: public/src/js/utils/open-graph.js start line: 5 end line: 39 size: 30 LOC McCabe index: 8 number of parameters: 1 id: 24 unit: export default function() file: public/src/js/utils/parse-query-params.js start line: 15 end line: 51 size: 30 LOC McCabe index: 12 number of parameters: 2 id: 25 unit: def applicationMetrics: List[FrontendMetric] = List() file: app/story_packages/metrics/metrics.scala start line: 175 end line: 204 size: 29 LOC McCabe index: 1 number of parameters: 13 id: 26 unit: private def processJob() file: app/story_packages/updates/Reindex.scala start line: 78 end line: 108 size: 29 LOC McCabe index: 6 number of parameters: 2 id: 27 unit: populate() file: public/src/js/models/collections/collection.js start line: 188 end line: 224 size: 29 LOC McCabe index: 10 number of parameters: 1 id: 28 unit: savePackage() file: public/src/js/widgets/columns/packages.js start line: 67 end line: 95 size: 29 LOC McCabe index: 3 number of parameters: 0 id: 29 unit: function validateImageEvent() file: public/src/js/utils/validate-image-src.js start line: 141 end line: 171 size: 28 LOC McCabe index: 6 number of parameters: 2 id: 30 unit: function getMediaItem() file: public/src/js/utils/draggable-element.js start line: 6 end line: 37 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 31 unit: function showSparklinesInArticle() file: public/src/js/utils/sparklines.js start line: 45 end line: 77 size: 28 LOC McCabe index: 10 number of parameters: 2 id: 32 unit: Article.prototype.open = function() file: public/src/js/models/collections/article.js start line: 399 end line: 428 size: 27 LOC McCabe index: 7 number of parameters: 2 id: 33 unit: export default function() file: public/src/js/utils/serialize-article-meta.js start line: 5 end line: 43 size: 27 LOC McCabe index: 14 number of parameters: 1 id: 34 unit: private def withS3Result[T]() file: app/story_packages/services/S3.scala start line: 20 end line: 47 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 35 unit: function stripImplementationDetails() file: public/src/js/utils/validate-image-src.js start line: 30 end line: 56 size: 26 LOC McCabe index: 5 number of parameters: 2 id: 36 unit: function validate() file: public/src/js/utils/drag-dispatcher.js start line: 176 end line: 204 size: 26 LOC McCabe index: 11 number of parameters: 3 id: 37 unit: savePackageEdits() file: public/src/js/widgets/columns/packages.js start line: 120 end line: 147 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 38 unit: export default function() file: public/src/js/utils/human-time.js start line: 3 end line: 33 size: 25 LOC McCabe index: 7 number of parameters: 2 id: 39 unit: function get() file: public/src/js/utils/layout-from-url.js start line: 4 end line: 31 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 40 unit: function updateCollections() file: public/src/js/modules/authed-ajax.js start line: 54 end line: 89 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 41 unit: def capiSearch() file: app/controllers/StoryPackagesController.scala start line: 66 end line: 92 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 42 unit: search() file: public/src/js/widgets/columns/packages.js start line: 33 end line: 57 size: 24 LOC McCabe index: 4 number of parameters: 0 id: 43 unit: def putMetricsWithStage() file: app/story_packages/metrics/CloudWatch.scala start line: 47 end line: 71 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 44 unit: private def updateList() file: app/story_packages/model/frontsapi.scala start line: 82 end line: 109 size: 23 LOC McCabe index: 3 number of parameters: 3 id: 45 unit: private def sendToKinesisStream() file: app/story_packages/updates/Reindex.scala start line: 110 end line: 131 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 46 unit: def getSwitches() file: app/story_packages/switchboard/S3client.scala start line: 23 end line: 45 size: 22 LOC McCabe index: 7 number of parameters: 0 id: 47 unit: constructor() file: public/src/js/models/layout.js start line: 20 end line: 45 size: 22 LOC McCabe index: 1 number of parameters: 3 id: 48 unit: function loadSparklinesForPackage() file: public/src/js/utils/sparklines.js start line: 196 end line: 219 size: 22 LOC McCabe index: 3 number of parameters: 1 id: 49 unit: function fetchContent() file: public/src/js/modules/content-api.js start line: 26 end line: 52 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 50 unit: module.exports = function() file: Gruntfile.js start line: 3 end line: 46 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: def scanAllPackages() file: app/story_packages/services/Database.scala start line: 59 end line: 83 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 52 unit: module.exports = function() file: grunt-configs/karma.js start line: 1 end line: 21 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: load() file: public/src/js/models/collections/collection.js start line: 130 end line: 158 size: 21 LOC McCabe index: 6 number of parameters: 1 id: 54 unit: Article.prototype.metaDisplayer = function() file: public/src/js/models/collections/article.js start line: 239 end line: 262 size: 21 LOC McCabe index: 8 number of parameters: 3 id: 55 unit: displayRemoveModal() file: public/src/js/widgets/columns/packages.js start line: 97 end line: 118 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 56 unit: type() file: public/src/js/widgets/autocomplete.js start line: 82 end line: 102 size: 21 LOC McCabe index: 7 number of parameters: 0 id: 57 unit: nextPage() file: public/src/js/widgets/autocomplete.js start line: 104 end line: 125 size: 21 LOC McCabe index: 6 number of parameters: 0 id: 58 unit: def createCollectionJson() file: app/story_packages/model/frontsapi.scala start line: 111 end line: 130 size: 20 LOC McCabe index: 1 number of parameters: 2 id: 59 unit: def editPackage() file: app/controllers/StoryPackagesController.scala start line: 112 end line: 131 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 60 unit: module.exports = function() file: grunt-configs/shell.js start line: 1 end line: 20 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: dropInEditor() file: public/src/js/models/article/editor.js start line: 119 end line: 140 size: 20 LOC McCabe index: 6 number of parameters: 1 id: 62 unit: constructor() file: public/src/js/models/story-packages/story-package.js start line: 8 end line: 35 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 63 unit: function filterGripdCrops() file: public/src/js/utils/validate-image-src.js start line: 76 end line: 96 size: 20 LOC McCabe index: 11 number of parameters: 6 id: 64 unit: function getSuitableAsset() file: public/src/js/utils/validate-image-src.js start line: 98 end line: 119 size: 20 LOC McCabe index: 4 number of parameters: 3 id: 65 unit: fetchPackages() file: public/src/js/widgets/fetch-latest-packages.js start line: 15 end line: 34 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: constructor() file: public/src/js/widgets/clipboard.js start line: 16 end line: 39 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 67 unit: title: getTagOrSectionTitle() file: public/src/js/modules/content-api.js start line: 46 end line: 71 size: 20 LOC McCabe index: 5 number of parameters: 1 id: 68 unit: drop: function() file: public/src/js/modules/droppable.js start line: 37 end line: 61 size: 20 LOC McCabe index: 3 number of parameters: 2 id: 69 unit: def upgradeItem() file: app/story_packages/util/ContentUpgrade.scala start line: 46 end line: 66 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 70 unit: module.exports = function() file: grunt-configs/replace.js start line: 1 end line: 19 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: function waitFor() file: public/src/js/models/base-model.js start line: 84 end line: 102 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 72 unit: Article.prototype.decorateFromOpenGraph = function() file: public/src/js/models/collections/article.js start line: 376 end line: 397 size: 19 LOC McCabe index: 2 number of parameters: 0 id: 73 unit: function combine() file: public/src/js/utils/array.js start line: 3 end line: 23 size: 19 LOC McCabe index: 3 number of parameters: 5 id: 74 unit: bounced = function() file: public/src/js/utils/debounce.js start line: 6 end line: 24 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 75 unit: function fetchMetaForPath() file: public/src/js/modules/content-api.js start line: 223 end line: 242 size: 19 LOC McCabe index: 8 number of parameters: 1 id: 76 unit: def touchPackage() file: app/story_packages/services/Database.scala start line: 101 end line: 121 size: 18 LOC McCabe index: 2 number of parameters: 3 id: 77 unit: def markCompleteJob() file: app/story_packages/services/DynamoReindexJobs.scala start line: 78 end line: 97 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 78 unit: override def load() file: app/Loader.scala start line: 7 end line: 27 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: normalizeDropTarget() file: public/src/js/models/group.js start line: 68 end line: 89 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 80 unit: function validateActualImage() file: public/src/js/utils/validate-image-src.js start line: 121 end line: 139 size: 18 LOC McCabe index: 9 number of parameters: 1 id: 81 unit: constructor() file: public/src/js/widgets/columns/latest.js start line: 7 end line: 28 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 82 unit: private def pruneMetaDataIfEmpty() file: app/story_packages/model/frontsapi.scala start line: 147 end line: 167 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 83 unit: def markFailedJob() file: app/story_packages/services/DynamoReindexJobs.scala start line: 99 end line: 117 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: private def getPreviewHeaders() file: app/controllers/FaciaContentApiProxy.scala start line: 39 end line: 60 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 85 unit: assignImageToSpreadElement() file: public/src/js/models/article/editor.js start line: 165 end line: 182 size: 17 LOC McCabe index: 4 number of parameters: 3 id: 86 unit: function reportUnexpectedToken() file: public/src/js/utils/lenient-json-parse.js start line: 18 end line: 35 size: 17 LOC McCabe index: 3 number of parameters: 3 id: 87 unit: def scheduleJob() file: app/story_packages/updates/Reindex.scala start line: 61 end line: 76 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: def createStoryPackage() file: app/story_packages/services/Database.scala start line: 32 end line: 48 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 89 unit: def ophan() file: app/controllers/FaciaContentApiProxy.scala start line: 103 end line: 121 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 90 unit: def capiLatest() file: app/controllers/StoryPackagesController.scala start line: 46 end line: 64 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 91 unit: module.exports = function() file: grunt-configs/eslint.js start line: 2 end line: 17 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 92 unit: validateImage() file: public/src/js/models/article/editor.js start line: 146 end line: 163 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 93 unit: function validateImageSrc() file: public/src/js/utils/validate-image-src.js start line: 12 end line: 28 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 94 unit: getItem() file: public/src/js/utils/local-storage.js start line: 6 end line: 24 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 95 unit: confirm() file: public/src/js/modules/modal-dialog.js start line: 12 end line: 27 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: function generateErrorCallback() file: public/src/js/modules/authed-ajax.js start line: 15 end line: 35 size: 16 LOC McCabe index: 6 number of parameters: 3 id: 97 unit: private def getString() file: app/conf/Configuration.scala start line: 36 end line: 54 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: function handleMedia() file: public/src/js/utils/drag-dispatcher.js start line: 36 end line: 52 size: 15 LOC McCabe index: 5 number of parameters: 4 id: 99 unit: constructor() file: public/src/js/widgets/columns/packages.js start line: 15 end line: 31 size: 15 LOC McCabe index: 1 number of parameters: 2 id: 100 unit: editPackage() file: public/src/js/widgets/columns/packages.js start line: 161 end line: 178 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 101 unit: newItemValidator() file: public/src/js/widgets/columns/story-package.js start line: 174 end line: 190 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 102 unit: set() file: public/src/js/modules/copied-article.js start line: 10 end line: 26 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 103 unit: function request() file: public/src/js/modules/authed-ajax.js start line: 37 end line: 52 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 104 unit: def sendUpdate() file: app/story_packages/updates/KinesisEventSender.scala start line: 124 end line: 139 size: 14 LOC McCabe index: 2 number of parameters: 3 id: 105 unit: override def toItem() file: app/story_packages/services/Database.scala start line: 143 end line: 157 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: private def put() file: app/story_packages/services/S3.scala start line: 69 end line: 84 size: 14 LOC McCabe index: 3 number of parameters: 4 id: 107 unit: def capiLive() file: app/controllers/FaciaContentApiProxy.scala start line: 62 end line: 79 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: module.exports = function() file: grunt-configs/cacheBust.js start line: 1 end line: 14 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 109 unit: dispose() file: public/src/js/models/base-class.js start line: 23 end line: 36 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 110 unit: replaceArticle() file: public/src/js/models/collections/collection.js start line: 170 end line: 186 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 111 unit: function tryReadingIframeLocation() file: public/src/js/utils/panda-session.js start line: 48 end line: 67 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 112 unit: function call() file: public/src/js/utils/logger.js start line: 5 end line: 19 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 113 unit: function createSparklikes() file: public/src/js/utils/sparklines.js start line: 19 end line: 36 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 114 unit: function reduceRequest() file: public/src/js/utils/sparklines.js start line: 126 end line: 141 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 115 unit: export default function() file: public/src/js/utils/sanitize-api-query.js start line: 4 end line: 20 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 116 unit: getItemsFromStorage() file: public/src/js/widgets/clipboard.js start line: 73 end line: 86 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 117 unit: constructor() file: public/src/js/modules/droppable.js start line: 98 end line: 142 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 118 unit: private def pruneBlock() file: app/story_packages/model/frontsapi.scala start line: 132 end line: 145 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 119 unit: private def cacheHeaders() file: app/story_packages/model/Cached.scala start line: 23 end line: 42 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 120 unit: def upgradeResponse() file: app/story_packages/util/ContentUpgrade.scala start line: 31 end line: 44 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 121 unit: override def fromItem() file: app/story_packages/services/Database.scala start line: 159 end line: 171 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 122 unit: def jobInProgress() file: app/story_packages/services/DynamoReindexJobs.scala start line: 35 end line: 49 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: def getLastStartedJob() file: app/story_packages/services/DynamoReindexJobs.scala start line: 119 end line: 134 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: def create() file: app/controllers/StoryPackagesController.scala start line: 32 end line: 44 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 125 unit: toggle() file: public/src/js/models/article/editor.js start line: 103 end line: 117 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 126 unit: $() file: public/src/js/models/common-handlers.js start line: 60 end line: 73 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 127 unit: constructor() file: public/src/js/models/group.js start line: 8 end line: 22 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 128 unit: setPending() file: public/src/js/models/collections/collection.js start line: 80 end line: 92 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 129 unit: function off() file: public/src/js/utils/global-listeners.js start line: 25 end line: 37 size: 13 LOC McCabe index: 6 number of parameters: 3 id: 130 unit: function normalizeTarget() file: public/src/js/utils/drag-dispatcher.js start line: 147 end line: 160 size: 13 LOC McCabe index: 5 number of parameters: 3 id: 131 unit: function oneAtATime() file: public/src/js/utils/panda-session.js start line: 101 end line: 115 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 132 unit: function addArticleToStorage() file: public/src/js/utils/visited-article-storage.js start line: 22 end line: 36 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 133 unit: get() file: public/src/js/modules/copied-article.js start line: 32 end line: 46 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 134 unit: function put() file: public/src/js/modules/cache.js start line: 10 end line: 29 size: 13 LOC McCabe index: 4 number of parameters: 3 id: 135 unit: function get() file: public/src/js/modules/cache.js start line: 31 end line: 48 size: 13 LOC McCabe index: 7 number of parameters: 2 id: 136 unit: def updateCollectionList() file: app/story_packages/model/frontsapi.scala start line: 58 end line: 69 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 137 unit: def removePackage() file: app/story_packages/services/Database.scala start line: 85 end line: 99 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 138 unit: def createJob() file: app/story_packages/services/DynamoReindexJobs.scala start line: 51 end line: 63 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 139 unit: export function thumbnail() file: public/src/js/models/article/images.js start line: 1 end line: 13 size: 12 LOC McCabe index: 8 number of parameters: 0 id: 140 unit: assignToObjectElement() file: public/src/js/models/article/editor.js start line: 184 end line: 195 size: 12 LOC McCabe index: 4 number of parameters: 3 id: 141 unit: function extractImageElements() file: public/src/js/models/article/editor.js start line: 198 end line: 210 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 142 unit: initializeFromLocation() file: public/src/js/models/layout.js start line: 55 end line: 67 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 143 unit: applyToCurrentState() file: public/src/js/models/layout.js start line: 76 end line: 87 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 144 unit: createGroups() file: public/src/js/models/collections/collection.js start line: 98 end line: 109 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 145 unit: drop() file: public/src/js/models/collections/collection.js start line: 116 end line: 128 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 146 unit: populateHistory() file: public/src/js/models/collections/collection.js start line: 226 end line: 238 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 147 unit: Article.prototype.convertToSnap = function() file: public/src/js/models/collections/article.js start line: 335 end line: 348 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 148 unit: constructor() file: public/src/js/models/collections/persistence.js start line: 5 end line: 17 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 149 unit: function updateCollection() file: public/src/js/models/collections/persistence.js start line: 20 end line: 32 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 150 unit: export default function grid() file: public/src/js/utils/grid.js start line: 4 end line: 15 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 151 unit: function alternateAction() file: public/src/js/utils/drag-dispatcher.js start line: 18 end line: 30 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 152 unit: function remover() file: public/src/js/utils/drag-dispatcher.js start line: 274 end line: 286 size: 12 LOC McCabe index: 5 number of parameters: 3 id: 153 unit: function waitForLocation() file: public/src/js/utils/panda-session.js start line: 32 end line: 46 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 154 unit: onGlobalPaste() file: public/src/js/widgets/clipboard.js start line: 58 end line: 71 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 155 unit: def putReindexDelete() file: app/story_packages/updates/KinesisEventSender.scala start line: 76 end line: 86 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 156 unit: def putReindexUpdate() file: app/story_packages/updates/KinesisEventSender.scala start line: 88 end line: 98 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 157 unit: def putCapiDelete() file: app/story_packages/updates/KinesisEventSender.scala start line: 100 end line: 110 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 158 unit: def putCapiUpdate() file: app/story_packages/updates/KinesisEventSender.scala start line: 112 end line: 122 size: 11 LOC McCabe index: 2 number of parameters: 4 id: 159 unit: def putStreamCreate() file: app/story_packages/updates/UpdatesStream.scala start line: 24 end line: 34 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 160 unit: def markProgressUpdate() file: app/story_packages/services/DynamoReindexJobs.scala start line: 65 end line: 76 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 161 unit: setAsTarget() file: public/src/js/models/group.js start line: 45 end line: 55 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 162 unit: Article.prototype.convertToLatestSnap = function() file: public/src/js/models/collections/article.js start line: 360 end line: 374 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: startPoller() file: public/src/js/models/collections/latest-articles.js start line: 167 end line: 178 size: 11 LOC McCabe index: 3 number of parameters: 0 id: 164 unit: export default function() file: public/src/js/utils/serialize-query-params.js start line: 3 end line: 13 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 165 unit: function newItemsConstructor() file: public/src/js/utils/drag-dispatcher.js start line: 162 end line: 174 size: 11 LOC McCabe index: 4 number of parameters: 2 id: 166 unit: init: function() file: public/src/js/utils/sparklines.js start line: 80 end line: 91 size: 11 LOC McCabe index: 2 number of parameters: 5 id: 167 unit: function getHistogram() file: public/src/js/utils/sparklines.js start line: 143 end line: 156 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 168 unit: constructor() file: public/src/js/widgets/collection.js start line: 5 end line: 19 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 169 unit: function loadApp() file: public/src/js/main.js start line: 43 end line: 53 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: function fetchContentByIds() file: public/src/js/modules/content-api.js start line: 153 end line: 164 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 171 unit: def putStreamUpdate() file: app/story_packages/updates/UpdatesStream.scala start line: 7 end line: 17 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 172 unit: private def archiveBlock() file: app/story_packages/model/frontsapi.scala start line: 46 end line: 56 size: 10 LOC McCabe index: 3 number of parameters: 4 id: 173 unit: def updateCollectionFilter() file: app/story_packages/model/frontsapi.scala start line: 71 end line: 80 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 174 unit: override def invalidUserMessage() file: app/story_packages/auth/PanDomainAuthActions.scala start line: 34 end line: 43 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 175 unit: unsetAsTarget() file: public/src/js/models/group.js start line: 57 end line: 66 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 176 unit: update: function() file: public/src/js/models/layout.js start line: 172 end line: 189 size: 10 LOC McCabe index: 2 number of parameters: 5 id: 177 unit: Article.prototype.get = function() file: public/src/js/models/collections/article.js start line: 313 end line: 322 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 178 unit: function on() file: public/src/js/utils/global-listeners.js start line: 13 end line: 23 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 179 unit: function reEstablishSessionImpl() file: public/src/js/utils/panda-session.js start line: 9 end line: 19 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 180 unit: function allWebUrls() file: public/src/js/utils/sparklines.js start line: 107 end line: 116 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 181 unit: function startPolling() file: public/src/js/utils/sparklines.js start line: 221 end line: 230 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 182 unit: constructor() file: public/src/js/widgets/display-alerts.js start line: 6 end line: 18 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 183 unit: function registerRaven() file: public/src/js/main.js start line: 27 end line: 41 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 184 unit: def getAndResetDataPoints: List[DataPoint] = List() file: app/story_packages/metrics/FrontendMetrics.scala start line: 54 end line: 65 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 185 unit: def deleteFromLive() file: app/story_packages/model/frontsapi.scala start line: 28 end line: 40 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 186 unit: override def apply() file: app/story_packages/model/Cached.scala start line: 52 end line: 61 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 187 unit: def getStatus() file: app/story_packages/switchboard/SwitchManager.scala start line: 14 end line: 22 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 188 unit: def http() file: app/controllers/FaciaContentApiProxy.scala start line: 81 end line: 90 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 189 unit: def json() file: app/controllers/FaciaContentApiProxy.scala start line: 92 end line: 101 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 190 unit: def deletePackage() file: app/controllers/StoryPackagesController.scala start line: 102 end line: 110 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 191 unit: loadTemplate: function() file: public/src/js/models/widgets.js start line: 7 end line: 16 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 192 unit: update() file: public/src/js/models/base-model.js start line: 65 end line: 74 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 193 unit: omitItem() file: public/src/js/models/group.js start line: 35 end line: 43 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 194 unit: init: function() file: public/src/js/models/layout.js start line: 160 end line: 171 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 195 unit: Article.prototype.close = function() file: public/src/js/models/collections/article.js start line: 430 end line: 438 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 196 unit: Article.prototype.dispose = function() file: public/src/js/models/collections/article.js start line: 458 end line: 466 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 197 unit: isDraft: showingDrafts() file: public/src/js/models/collections/latest-articles.js start line: 62 end line: 72 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 198 unit: function isArticleVisited() file: public/src/js/utils/visited-article-storage.js start line: 11 end line: 20 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 199 unit: function serialize() file: public/src/js/utils/layout-from-url.js start line: 33 end line: 41 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 200 unit: function getTargetItem() file: public/src/js/modules/droppable.js start line: 151 end line: 159 size: 9 LOC McCabe index: 5 number of parameters: 2 id: 201 unit: override def validateUser() file: app/story_packages/auth/PanDomainAuthActions.scala start line: 18 end line: 25 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 202 unit: def get() file: app/story_packages/util/Box.scala start line: 11 end line: 21 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 203 unit: def getPackage() file: app/story_packages/services/Database.scala start line: 50 end line: 57 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 204 unit: def apply[T]() file: app/story_packages/services/Database.scala start line: 125 end line: 132 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 205 unit: private def readFromPath() file: app/story_packages/services/AssetsManager.scala start line: 25 end line: 32 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 206 unit: loadViewModel: function() file: public/src/js/models/widgets.js start line: 17 end line: 31 size: 8 LOC McCabe index: 3 number of parameters: 3 id: 207 unit: pasteItem() file: public/src/js/models/group.js start line: 24 end line: 33 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 208 unit: Article.prototype.paste = function() file: public/src/js/models/collections/article.js start line: 228 end line: 237 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 209 unit: setArticleToVisited() file: public/src/js/models/collections/latest-articles.js start line: 142 end line: 149 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 210 unit: function createNewArticle() file: public/src/js/models/collections/latest-articles.js start line: 226 end line: 236 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 211 unit: export default function() file: public/src/js/utils/alert.js start line: 3 end line: 10 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 212 unit: export default function() file: public/src/js/utils/populate-observables.js start line: 3 end line: 10 size: 8 LOC McCabe index: 5 number of parameters: 2 id: 213 unit: img.onload = function() file: public/src/js/utils/validate-image-src.js start line: 64 end line: 71 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 214 unit: export default function() file: public/src/js/utils/sanitize-html.js start line: 4 end line: 11 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 215 unit: function isEnabled() file: public/src/js/utils/sparklines.js start line: 97 end line: 105 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 216 unit: function subscribe() file: public/src/js/utils/sparklines.js start line: 239 end line: 246 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 217 unit: function performSearch() file: public/src/js/widgets/columns/packages.js start line: 185 end line: 192 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 218 unit: function displayResults() file: public/src/js/widgets/columns/packages.js start line: 194 end line: 201 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 219 unit: onFrontChange() file: public/src/js/widgets/columns/story-package.js start line: 159 end line: 168 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 220 unit: constructor() file: public/src/js/modules/router.js start line: 7 end line: 16 size: 8 LOC McCabe index: 3 number of parameters: 3 id: 221 unit: load() file: public/src/js/modules/router.js start line: 30 end line: 39 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 222 unit: navigate() file: public/src/js/modules/router.js start line: 41 end line: 49 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 223 unit: function decorateItems() file: public/src/js/modules/content-api.js start line: 212 end line: 221 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 224 unit: function handleFetchLatestResponse() file: public/src/js/modules/content-api.js start line: 299 end line: 307 size: 8 LOC McCabe index: 3 number of parameters: 3 id: 225 unit: url: collectionEndPoint() file: public/src/js/modules/authed-ajax.js start line: 77 end line: 84 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 226 unit: drop: function() file: public/src/js/modules/droppable.js start line: 64 end line: 71 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 227 unit: init: function() file: public/src/js/modules/droppable.js start line: 132 end line: 140 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 228 unit: private def report() file: app/story_packages/metrics/metrics.scala start line: 206 end line: 212 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 229 unit: def putAudit() file: app/story_packages/updates/AuditingUpdates.scala start line: 12 end line: 18 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 230 unit: private def asReindexProgress() file: app/story_packages/services/DynamoReindexJobs.scala start line: 23 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 231 unit: def at() file: app/controllers/PublicAssets.scala start line: 16 end line: 22 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 232 unit: def getPackage() file: app/controllers/StoryPackagesController.scala start line: 94 end line: 100 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 233 unit: isVisible() file: public/src/js/models/article/editor.js start line: 93 end line: 101 size: 7 LOC McCabe index: 7 number of parameters: 0 id: 234 unit: removeColumn() file: public/src/js/models/layout.js start line: 119 end line: 125 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 235 unit: eachArticle() file: public/src/js/models/collections/collection.js start line: 240 end line: 246 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 236 unit: decorate() file: public/src/js/models/collections/collection.js start line: 258 end line: 266 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 237 unit: Article.prototype.convertToLinkSnap = function() file: public/src/js/models/collections/article.js start line: 350 end line: 358 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 238 unit: Article.prototype.closeWithoutSaving = function() file: public/src/js/models/collections/article.js start line: 446 end line: 452 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 239 unit: registerChild() file: public/src/js/models/collections/latest-articles.js start line: 155 end line: 161 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 240 unit: export default function() file: public/src/js/utils/report-errors.js start line: 4 end line: 10 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 241 unit: export default function() file: public/src/js/utils/article-path.js start line: 5 end line: 13 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 242 unit: export default function() file: public/src/js/utils/full-trim.js start line: 1 end line: 7 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 243 unit: export default function() file: public/src/js/utils/url-abs-path.js start line: 3 end line: 13 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 244 unit: function waitForIframe() file: public/src/js/utils/panda-session.js start line: 24 end line: 30 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 245 unit: function createIframe() file: public/src/js/utils/panda-session.js start line: 72 end line: 80 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 246 unit: export default function() file: public/src/js/utils/url-host.js start line: 1 end line: 7 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 247 unit: function unsubscribe() file: public/src/js/utils/sparklines.js start line: 248 end line: 254 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 248 unit: export default function() file: public/src/js/utils/lenient-json-parse.js start line: 1 end line: 8 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 249 unit: function tryParsingString() file: public/src/js/utils/lenient-json-parse.js start line: 10 end line: 16 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 250 unit: constructor() file: public/src/js/widgets/fetch-latest-packages.js start line: 7 end line: 13 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 251 unit: refreshCollections() file: public/src/js/widgets/columns/story-package.js start line: 143 end line: 149 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 252 unit: refreshRelativeTimes() file: public/src/js/widgets/columns/story-package.js start line: 151 end line: 157 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 253 unit: state() file: public/src/js/widgets/autocomplete.js start line: 64 end line: 70 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 254 unit: function terminate() file: public/src/js/main.js start line: 13 end line: 19 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 255 unit: function getTagOrSectionTitle() file: public/src/js/modules/content-api.js start line: 18 end line: 24 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 256 unit: function collectionEndPoint() file: public/src/js/modules/authed-ajax.js start line: 7 end line: 13 size: 7 LOC McCabe index: 3 number of parameters: 2 id: 257 unit: dragstart: function() file: public/src/js/modules/droppable.js start line: 12 end line: 19 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 258 unit: dragover: function() file: public/src/js/modules/droppable.js start line: 20 end line: 28 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 259 unit: function getLoader() file: public/src/js/modules/route-handlers.js start line: 6 end line: 12 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 260 unit: def getDataPoints: List[DataPoint] = dataPoints.get() file: app/story_packages/metrics/FrontendMetrics.scala start line: 69 end line: 75 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 261 unit: override def onError() file: app/story_packages/metrics/CloudWatch.scala start line: 33 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 262 unit: override def invokeBlock[A]() file: app/story_packages/permissions/APIKeyAuthAction.scala start line: 13 end line: 18 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 263 unit: def compare() file: app/story_packages/model/StoryPackage.scala start line: 24 end line: 29 size: 6 LOC McCabe index: 5 number of parameters: 2 id: 264 unit: def compare() file: app/story_packages/model/StoryPackage.scala start line: 34 end line: 39 size: 6 LOC McCabe index: 5 number of parameters: 2 id: 265 unit: def getWithLastModified() file: app/story_packages/services/S3.scala start line: 54 end line: 59 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 266 unit: def priorities() file: app/controllers/ViewsController.scala start line: 13 end line: 18 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 267 unit: def collectionEditor() file: app/controllers/ViewsController.scala start line: 20 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 268 unit: normalizeDropTarget() file: public/src/js/models/drop-target.js start line: 9 end line: 14 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 269 unit: callback() file: public/src/js/models/widgets.js start line: 24 end line: 29 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 270 unit: init: function() file: public/src/js/models/widgets.js start line: 128 end line: 133 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 271 unit: init: function() file: public/src/js/models/common-handlers.js start line: 7 end line: 13 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 272 unit: dispose() file: public/src/js/models/base-model.js start line: 76 end line: 81 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 273 unit: newConfigInstance() file: public/src/js/models/layout.js start line: 69 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 274 unit: save() file: public/src/js/models/layout.js start line: 93 end line: 98 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 275 unit: onColumnChange() file: public/src/js/models/layout.js start line: 105 end line: 110 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 276 unit: addColumn() file: public/src/js/models/layout.js start line: 112 end line: 117 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 277 unit: setType() file: public/src/js/models/layout.js start line: 127 end line: 132 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 278 unit: dispose() file: public/src/js/models/layout.js start line: 151 end line: 156 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 279 unit: complete: function() file: public/src/js/models/layout.js start line: 182 end line: 187 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 280 unit: Article.prototype.normalizeDropTarget = function() file: public/src/js/models/collections/article.js start line: 324 end line: 329 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 281 unit: constructor() file: public/src/js/models/extension.js start line: 4 end line: 9 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 282 unit: function fetchImage() file: public/src/js/utils/validate-image-src.js start line: 58 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 283 unit: function getData() file: public/src/js/utils/validate-image-src.js start line: 173 end line: 178 size: 6 LOC McCabe index: 4 number of parameters: 2 id: 284 unit: export default function() file: public/src/js/utils/debounce.js start line: 1 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 285 unit: export default function() file: public/src/js/utils/url-query.js start line: 1 end line: 7 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 286 unit: meta: cleanClone() file: public/src/js/utils/drag-dispatcher.js start line: 171 end line: 177 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 287 unit: function getWebUrl() file: public/src/js/utils/sparklines.js start line: 38 end line: 43 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 288 unit: function serializeParams() file: public/src/js/utils/sparklines.js start line: 118 end line: 124 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 289 unit: function stopPolling() file: public/src/js/utils/sparklines.js start line: 232 end line: 237 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 290 unit: json: tryParsingString() file: public/src/js/utils/lenient-json-parse.js start line: 5 end line: 11 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 291 unit: function removePackage() file: public/src/js/widgets/columns/packages.js start line: 203 end line: 208 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 292 unit: constructor() file: public/src/js/widgets/column-widget.js start line: 4 end line: 9 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 293 unit: constructor() file: public/src/js/widgets/base-widget.js start line: 7 end line: 12 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 294 unit: onCopiedChange() file: public/src/js/widgets/clipboard.js start line: 47 end line: 52 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 295 unit: saveInStorage() file: public/src/js/widgets/clipboard.js start line: 88 end line: 93 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 296 unit: dispose() file: public/src/js/widgets/clipboard.js start line: 107 end line: 112 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 297 unit: populateFromLocation() file: public/src/js/modules/router.js start line: 18 end line: 23 size: 6 LOC McCabe index: 4 number of parameters: 0 id: 298 unit: function cleanFetchResponse() file: public/src/js/modules/content-api.js start line: 309 end line: 315 size: 6 LOC McCabe index: 4 number of parameters: 2 id: 299 unit: dragleave: function() file: public/src/js/modules/droppable.js start line: 29 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 300 unit: dragover: function() file: public/src/js/modules/droppable.js start line: 72 end line: 77 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 301 unit: dragleave: function() file: public/src/js/modules/droppable.js start line: 78 end line: 83 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 302 unit: def getAndResetDataPoints: List[DataPoint] = List() file: app/story_packages/metrics/FrontendMetrics.scala start line: 45 end line: 50 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 303 unit: override def onSuccess() file: app/story_packages/metrics/CloudWatch.scala start line: 39 end line: 44 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 304 unit: def getCollectionJson() file: app/story_packages/tools/FaciaApiIO.scala start line: 22 end line: 27 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 305 unit: def archive() file: app/story_packages/tools/FaciaApiIO.scala start line: 29 end line: 33 size: 5 LOC McCabe index: 3 number of parameters: 4 id: 306 unit: def apply() file: app/conf/Configuration.scala start line: 183 end line: 187 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 307 unit: def apply() file: app/conf/Configuration.scala start line: 189 end line: 194 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 308 unit: def apply[S]() file: app/conf/Configuration.scala start line: 196 end line: 200 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 309 unit: def getCollection() file: app/controllers/FaciaToolController.scala start line: 23 end line: 27 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 310 unit: module.exports = function() file: grunt-configs/clean.js start line: 1 end line: 5 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 311 unit: function isNarrow() file: public/src/js/models/layout/column.js start line: 6 end line: 11 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 312 unit: static create() file: public/src/js/models/article/editor.js start line: 11 end line: 15 size: 5 LOC McCabe index: 2 number of parameters: 4 id: 313 unit: function assign() file: public/src/js/models/article/editor.js start line: 212 end line: 216 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 314 unit: constructor() file: public/src/js/models/base-class.js start line: 7 end line: 11 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 315 unit: listenOn() file: public/src/js/models/base-class.js start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 316 unit: init: function() file: public/src/js/models/common-handlers.js start line: 49 end line: 53 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 317 unit: function columnDataOf() file: public/src/js/models/layout.js start line: 13 end line: 17 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 318 unit: serializable() file: public/src/js/models/layout.js start line: 134 end line: 138 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 319 unit: recomputeAllWidths() file: public/src/js/models/layout.js start line: 145 end line: 149 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 320 unit: hasOpenArticles() file: public/src/js/models/collections/collection.js start line: 160 end line: 164 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 321 unit: contains() file: public/src/js/models/collections/collection.js start line: 248 end line: 252 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 322 unit: Article.prototype.setVisitedToTrue = function() file: public/src/js/models/collections/article.js start line: 222 end line: 226 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 323 unit: Article.prototype.updateEditorsDisplay = function() file: public/src/js/models/collections/article.js start line: 302 end line: 306 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 324 unit: Article.prototype.closeAndSave = function() file: public/src/js/models/collections/article.js start line: 440 end line: 444 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 325 unit: function isPremium() file: public/src/js/models/collections/article.js start line: 482 end line: 486 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 326 unit: search() file: public/src/js/models/collections/latest-articles.js start line: 180 end line: 185 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 327 unit: reset() file: public/src/js/models/collections/latest-articles.js start line: 197 end line: 201 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 328 unit: dispose() file: public/src/js/models/collections/latest-articles.js start line: 213 end line: 217 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 329 unit: function compareArticles() file: public/src/js/models/collections/latest-articles.js start line: 220 end line: 224 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 330 unit: Scope.prototype.dispose = function() file: public/src/js/utils/mediator.js start line: 15 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 331 unit: function handle() file: public/src/js/utils/global-listeners.js start line: 6 end line: 11 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 332 unit: export default function() file: public/src/js/utils/clone-with-key.js start line: 3 end line: 7 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 333 unit: itemMeta: serializeArticleMeta() file: public/src/js/utils/drag-dispatcher.js start line: 128 end line: 133 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 334 unit: function delay() file: public/src/js/utils/panda-session.js start line: 94 end line: 98 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 335 unit: export default function() file: public/src/js/utils/remove-by-id.js start line: 3 end line: 7 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 336 unit: poll = function() file: public/src/js/utils/oauth-session.js start line: 10 end line: 14 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 337 unit: export default function() file: public/src/js/utils/internal-page-code.js start line: 3 end line: 7 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 338 unit: export default function() file: public/src/js/utils/as-observable-props.js start line: 4 end line: 8 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 339 unit: setItem() file: public/src/js/utils/local-storage.js start line: 26 end line: 30 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 340 unit: constructor() file: public/src/js/widgets/copy-paste-articles.js start line: 6 end line: 11 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 341 unit: dispose() file: public/src/js/widgets/fetch-latest-packages.js start line: 40 end line: 44 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 342 unit: closePackageEdit() file: public/src/js/widgets/columns/packages.js start line: 149 end line: 153 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 343 unit: openEditor() file: public/src/js/widgets/columns/packages.js start line: 155 end line: 159 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 344 unit: dispose() file: public/src/js/widgets/columns/story-package.js start line: 192 end line: 196 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 345 unit: select() file: public/src/js/widgets/autocomplete.js start line: 58 end line: 62 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 346 unit: clear() file: public/src/js/widgets/autocomplete.js start line: 76 end line: 80 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 347 unit: copy() file: public/src/js/widgets/clipboard.js start line: 101 end line: 105 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 348 unit: function checkEnabled() file: public/src/js/main.js start line: 21 end line: 25 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 349 unit: constructor() file: public/src/js/modules/modal-dialog.js start line: 5 end line: 10 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 350 unit: function getListener() file: public/src/js/modules/droppable.js start line: 101 end line: 105 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 351 unit: function getEditorListener() file: public/src/js/modules/droppable.js start line: 107 end line: 111 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 352 unit: init: function() file: public/src/js/modules/droppable.js start line: 120 end line: 124 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 353 unit: dispose() file: public/src/js/modules/droppable.js start line: 144 end line: 148 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 354 unit: configPath: require() file: Gruntfile.js start line: 14 end line: 19 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 355 unit: def putDataPoints() file: app/story_packages/metrics/FrontendMetrics.scala start line: 40 end line: 44 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 356 unit: def onError() file: app/story_packages/metrics/CloudWatch.scala start line: 22 end line: 25 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 357 unit: def onSuccess() file: app/story_packages/metrics/CloudWatch.scala start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 358 unit: def putStreamDelete() file: app/story_packages/updates/UpdatesStream.scala start line: 19 end line: 22 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 359 unit: def apply() file: app/story_packages/updates/Reindex.scala start line: 31 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 360 unit: def refreshSwitches() file: app/story_packages/switchboard/Switchboard.scala start line: 23 end line: 26 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 361 unit: override def showUnauthedMessage() file: app/story_packages/auth/PanDomainAuthActions.scala start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 362 unit: def fromString() file: app/story_packages/util/SanitizeInput.scala start line: 10 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 363 unit: def putCollectionJson() file: app/story_packages/tools/FaciaApiIO.scala start line: 16 end line: 20 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 364 unit: def convertToListOfStoryPackages() file: app/story_packages/services/Database.scala start line: 182 end line: 185 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 365 unit: private def serialize[T: DynamoCodec]() file: app/story_packages/services/Database.scala start line: 187 end line: 192 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 366 unit: def pathForPackages: String = pathFor() file: app/story_packages/services/AssetsManager.scala start line: 34 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 367 unit: def putCollectionJson() file: app/story_packages/services/S3.scala start line: 93 end line: 96 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 368 unit: def archive() file: app/story_packages/services/S3.scala start line: 98 end line: 101 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 369 unit: constructor() file: public/src/js/models/drop-target.js start line: 4 end line: 7 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 370 unit: init: function() file: public/src/js/models/common-handlers.js start line: 17 end line: 20 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 371 unit: update: function() file: public/src/js/models/common-handlers.js start line: 21 end line: 24 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 372 unit: init: function() file: public/src/js/models/common-handlers.js start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 373 unit: update: function() file: public/src/js/models/common-handlers.js start line: 32 end line: 35 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 374 unit: chooseLayout() file: public/src/js/models/base-model.js start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 375 unit: cancel() file: public/src/js/models/layout.js start line: 100 end line: 103 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 376 unit: onConfigVisibilityChange() file: public/src/js/models/layout.js start line: 140 end line: 143 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 377 unit: reset() file: public/src/js/models/collections/collection.js start line: 111 end line: 114 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 378 unit: refresh() file: public/src/js/models/collections/collection.js start line: 268 end line: 272 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 379 unit: dispose() file: public/src/js/models/collections/collection.js start line: 282 end line: 285 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 380 unit: Article.prototype.setRelativeTimes = function() file: public/src/js/models/collections/article.js start line: 308 end line: 311 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 381 unit: function getContributorImage() file: public/src/js/models/collections/article.js start line: 476 end line: 480 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 382 unit: flush() file: public/src/js/models/collections/latest-articles.js start line: 187 end line: 190 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 383 unit: refresh() file: public/src/js/models/collections/latest-articles.js start line: 192 end line: 195 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 384 unit: pageNext() file: public/src/js/models/collections/latest-articles.js start line: 203 end line: 206 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 385 unit: pagePrev() file: public/src/js/models/collections/latest-articles.js start line: 208 end line: 211 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 386 unit: function reuseOldArticle() file: public/src/js/models/collections/latest-articles.js start line: 238 end line: 241 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 387 unit: Scope.prototype.on = function() file: public/src/js/utils/mediator.js start line: 10 end line: 13 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 388 unit: export default function() file: public/src/js/utils/oauth-session.js start line: 8 end line: 17 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 389 unit: export function reauth() file: public/src/js/utils/oauth-session.js start line: 19 end line: 22 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 390 unit: export default function deepGet() file: public/src/js/utils/deep-get.js start line: 3 end line: 6 size: 4 LOC McCabe index: 5 number of parameters: 2 id: 391 unit: export default function() file: public/src/js/utils/is-guardian-url.js start line: 4 end line: 7 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 392 unit: showDrafts() file: public/src/js/widgets/columns/latest.js start line: 30 end line: 33 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 393 unit: showLive() file: public/src/js/widgets/columns/latest.js start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 394 unit: dispose() file: public/src/js/widgets/columns/latest.js start line: 40 end line: 43 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 395 unit: constructor() file: public/src/js/widgets/sparklines-trails.js start line: 6 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 396 unit: clearAlerts() file: public/src/js/widgets/display-alerts.js start line: 20 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 397 unit: dispose() file: public/src/js/widgets/base-widget.js start line: 14 end line: 17 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 398 unit: getCopiedArticle() file: public/src/js/widgets/clipboard.js start line: 41 end line: 45 size: 4 LOC McCabe index: 3 number of parameters: 0 id: 399 unit: window.console.error = function() file: public/src/js/main.js start line: 36 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 400 unit: onpopstate() file: public/src/js/modules/router.js start line: 25 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 401 unit: title: getTagOrSectionTitle() file: public/src/js/modules/content-api.js start line: 37 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 402 unit: function dateYyyymmdd() file: public/src/js/modules/content-api.js start line: 244 end line: 247 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 403 unit: flush() file: public/src/js/modules/copied-article.js start line: 5 end line: 8 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 404 unit: function redirect() file: public/src/js/modules/authed-ajax.js start line: 17 end line: 20 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 405 unit: dragstart: function() file: public/src/js/modules/droppable.js start line: 84 end line: 87 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 406 unit: def reset() file: app/story_packages/metrics/FrontendMetrics.scala start line: 33 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 407 unit: def onError() file: app/story_packages/updates/KinesisEventSender.scala start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 408 unit: def onSuccess() file: app/story_packages/updates/KinesisEventSender.scala start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 409 unit: def getJobProgress() file: app/story_packages/updates/Reindex.scala start line: 133 end line: 135 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 410 unit: private def serializeUpdateMessage() file: app/story_packages/updates/AuditingUpdates.scala start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 411 unit: def insertIntoLive() file: app/story_packages/model/frontsapi.scala start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 412 unit: def archiveDeleteBlock() file: app/story_packages/model/frontsapi.scala start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 413 unit: def apply() file: app/story_packages/model/Cached.scala start line: 19 end line: 21 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 414 unit: def apply() file: app/story_packages/model/Cached.scala start line: 46 end line: 49 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 415 unit: def updateSwitches() file: app/story_packages/switchboard/SwitchManager.scala start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 416 unit: def rewriteBody() file: app/story_packages/util/ContentUpgrade.scala start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 417 unit: def getCollectionJson() file: app/story_packages/tools/FaciaApiIO.scala start line: 12 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 418 unit: def withOptString() file: app/story_packages/services/Database.scala start line: 137 end line: 139 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 419 unit: def convertToStoryPackage() file: app/story_packages/services/Database.scala start line: 174 end line: 176 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 420 unit: def convertToItem() file: app/story_packages/services/Database.scala start line: 178 end line: 180 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 421 unit: override def reads() file: app/story_packages/services/AssetsManager.scala start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 422 unit: def hasJobInProgress() file: app/story_packages/services/DynamoReindexJobs.scala start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 423 unit: def get() file: app/story_packages/services/S3.scala start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 424 unit: def getLastModified() file: app/story_packages/services/S3.scala start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 425 unit: def putPrivate() file: app/story_packages/services/S3.scala start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 426 unit: def isImage() file: app/conf/Filters.scala start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 427 unit: def storyPackage() file: app/controllers/VanityRedirects.scala start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 428 unit: def addTrail() file: app/controllers/VanityRedirects.scala start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 429 unit: def authError() file: app/controllers/PandaAuthController.scala start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 430 unit: def user() file: app/controllers/PandaAuthController.scala start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 431 unit: private def isHidden() file: app/controllers/StoryPackagesController.scala start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 432 unit: private def overrideIsDev() file: app/controllers/ViewsController.scala start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 433 unit: value() file: public/src/js/models/article/editor.js start line: 73 end line: 75 size: 3 LOC McCabe index: 3 number of parameters: 0 id: 434 unit: clear() file: public/src/js/models/article/editor.js start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 435 unit: open() file: public/src/js/models/article/editor.js start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 436 unit: notifiyUIOpen() file: public/src/js/models/article/editor.js start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 437 unit: onUIOpen() file: public/src/js/models/article/editor.js start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 438 unit: writeText() file: public/src/js/models/article/editor.js start line: 142 end line: 144 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 439 unit: subscribeOn() file: public/src/js/models/base-class.js start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 440 unit: function mod() file: public/src/js/models/common-handlers.js start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 441 unit: setTimeout() file: public/src/js/models/common-handlers.js start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 442 unit: init: function() file: public/src/js/models/common-handlers.js start line: 57 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 5 id: 443 unit: saveLayout() file: public/src/js/models/base-model.js start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 444 unit: cancelLayout() file: public/src/js/models/base-model.js start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 445 unit: init() file: public/src/js/models/layout.js start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 446 unit: locationChange() file: public/src/js/models/layout.js start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 447 unit: toggleConfigVisible() file: public/src/js/models/layout.js start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 448 unit: marginLeft: value ? 0 : $() file: public/src/js/models/layout.js start line: 164 end line: 166 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 449 unit: this.registerElement = function() file: public/src/js/models/collections/collection.js start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 450 unit: isPending() file: public/src/js/models/collections/collection.js start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 451 unit: isHistoryEnabled() file: public/src/js/models/collections/collection.js start line: 166 end line: 168 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 452 unit: closeAllArticles() file: public/src/js/models/collections/collection.js start line: 254 end line: 256 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 453 unit: refreshRelativeTimes() file: public/src/js/models/collections/collection.js start line: 274 end line: 276 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 454 unit: getTimeAgo() file: public/src/js/models/collections/collection.js start line: 278 end line: 280 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 455 unit: Article.prototype.copy = function() file: public/src/js/models/collections/article.js start line: 214 end line: 216 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 456 unit: Article.prototype.copyToClipboard = function() file: public/src/js/models/collections/article.js start line: 218 end line: 220 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 457 unit: Article.prototype.save = function() file: public/src/js/models/collections/article.js start line: 331 end line: 333 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 458 unit: Article.prototype.omitItem = function() file: public/src/js/models/collections/article.js start line: 454 end line: 456 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 459 unit: function getMainMediaType() file: public/src/js/models/collections/article.js start line: 468 end line: 470 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 460 unit: function getPrimaryTag() file: public/src/js/models/collections/article.js start line: 472 end line: 474 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 461 unit: isTermAnItem() file: public/src/js/models/collections/latest-articles.js start line: 151 end line: 153 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 462 unit: clearTerm() file: public/src/js/models/collections/latest-articles.js start line: 163 end line: 165 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 463 unit: function Scope() file: public/src/js/utils/mediator.js start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 464 unit: bus.scope = function() file: public/src/js/utils/mediator.js start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 465 unit: export default function() file: public/src/js/utils/find-first-by-id.js start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 466 unit: export default function() file: public/src/js/utils/is-preview-url.js start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 467 unit: img.onerror = function() file: public/src/js/utils/validate-image-src.js start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 468 unit: bounced.dispose = function() file: public/src/js/utils/debounce.js start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 469 unit: export default function() file: public/src/js/utils/clean-clone.js start line: 1 end line: 3 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 470 unit: export default function() file: public/src/js/utils/drag-dispatcher.js start line: 14 end line: 16 size: 3 LOC McCabe index: 2 number of parameters: 4 id: 471 unit: function defaultAction() file: public/src/js/utils/drag-dispatcher.js start line: 32 end line: 34 size: 3 LOC McCabe index: 2 number of parameters: 3 id: 472 unit: function generateId() file: public/src/js/utils/snap.js start line: 3 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 473 unit: function validateId() file: public/src/js/utils/snap.js start line: 6 end line: 8 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 474 unit: function loadIframe() file: public/src/js/utils/panda-session.js start line: 82 end line: 84 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 475 unit: function unloadIframe() file: public/src/js/utils/panda-session.js start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 476 unit: function locationRedirect() file: public/src/js/utils/oauth-session.js start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 477 unit: function createStorage() file: public/src/js/utils/visited-article-storage.js start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 478 unit: function maybeNumberToString() file: public/src/js/utils/serialize-article-meta.js start line: 45 end line: 47 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 479 unit: function goodEnoughSeries() file: public/src/js/utils/sparklines.js start line: 15 end line: 17 size: 3 LOC McCabe index: 3 number of parameters: 2 id: 480 unit: text: numeral() file: public/src/js/utils/sparklines.js start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 481 unit: update: function() file: public/src/js/utils/sparklines.js start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 5 id: 482 unit: constructor() file: public/src/js/utils/local-storage.js start line: 2 end line: 4 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 483 unit: function bind() file: public/src/js/utils/local-storage.js start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 484 unit: constructor() file: public/src/js/widgets/message.js start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 485 unit: pollPackages() file: public/src/js/widgets/fetch-latest-packages.js start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 486 unit: createPackage() file: public/src/js/widgets/columns/packages.js start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 487 unit: displayPackage() file: public/src/js/widgets/columns/packages.js start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 488 unit: displaySearchResults() file: public/src/js/widgets/columns/packages.js start line: 180 end line: 182 size: 3 LOC McCabe index: 4 number of parameters: 0 id: 489 unit: getCollectionList() file: public/src/js/widgets/columns/story-package.js start line: 170 end line: 172 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 490 unit: managePackage() file: public/src/js/widgets/columns/story-package.js start line: 198 end line: 200 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 491 unit: constructor() file: public/src/js/widgets/columns/fronts-standalone-clipboard.js start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 492 unit: getPath() file: public/src/js/widgets/autocomplete.js start line: 72 end line: 74 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 493 unit: flushCopiedArticles() file: public/src/js/widgets/clipboard.js start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 494 unit: pollArticlesChange() file: public/src/js/widgets/clipboard.js start line: 95 end line: 99 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 495 unit: export function setModel() file: public/src/js/modules/vars.js start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 496 unit: function populate() file: public/src/js/modules/content-api.js start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 497 unit: peek() file: public/src/js/modules/copied-article.js start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 498 unit: static get listeners() file: public/src/js/modules/droppable.js start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 499 unit: static get imageEditor() file: public/src/js/modules/droppable.js start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 500 unit: init: function() file: public/src/js/modules/droppable.js start line: 127 end line: 129 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 501 unit: function preventDefaultAction() file: public/src/js/modules/droppable.js start line: 161 end line: 163 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 502 unit: def untrail() file: app/controllers/VanityRedirects.scala start line: 21 end line: 22 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 503 unit: private def serializeSuccess() file: app/controllers/StoryPackagesController.scala start line: 25 end line: 26 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 504 unit: function resize() file: public/src/js/models/common-handlers.js start line: 42 end line: 46 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 505 unit: marginLeft: value ? 0 : $() file: public/src/js/models/layout.js start line: 179 end line: 180 size: 2 LOC McCabe index: 2 number of parameters: 1 id: 506 unit: def mapTry = future.map() file: app/story_packages/util/Futures.scala start line: 9 end line: 9 size: 1 LOC McCabe index: 2 number of parameters: 1