id: 1 unit: def process() file: app/model/commands/UpdateAtomCommand.scala start line: 32 end line: 108 size: 59 LOC McCabe index: 7 number of parameters: 0 id: 2 unit: def process() file: app/model/commands/CreateWorkflowAtomCommand.scala start line: 24 end line: 87 size: 56 LOC McCabe index: 5 number of parameters: 0 id: 3 unit: def process() file: app/model/commands/PublishAtomCommand.scala start line: 34 end line: 96 size: 54 LOC McCabe index: 14 number of parameters: 0 id: 4 unit: def asThrift() file: common/src/main/scala/com/gu/media/model/MediaAtom.scala start line: 81 end line: 127 size: 46 LOC McCabe index: 1 number of parameters: 2 id: 5 unit: _upsertProject() file: pluto-message-ingestion/pluto-message-processor.js start line: 50 end line: 99 size: 45 LOC McCabe index: 2 number of parameters: 1 id: 6 unit: renderField() file: public/video-ui/src/components/FormFields/RichTextField.tsx start line: 93 end line: 138 size: 45 LOC McCabe index: 8 number of parameters: 0 id: 7 unit: def contentBundlingMap: Map[String, String] = Map() file: common/src/main/scala/com/gu/media/youtube/package.scala start line: 16 end line: 62 size: 44 LOC McCabe index: 2 number of parameters: 34 id: 8 unit: static _getTrackInWorkflowPayload() file: public/video-ui/src/services/WorkflowApi.js start line: 90 end line: 140 size: 44 LOC McCabe index: 5 number of parameters: 6 id: 9 unit: export default function usage() file: public/video-ui/src/reducers/usageReducer.js start line: 3 end line: 50 size: 41 LOC McCabe index: 6 number of parameters: 2 id: 10 unit: def process() file: app/model/commands/CreateAtomCommand.scala start line: 27 end line: 74 size: 40 LOC McCabe index: 5 number of parameters: 0 id: 11 unit: private def getYouTubeChannel() file: app/model/commands/AddAssetCommand.scala start line: 66 end line: 115 size: 40 LOC McCabe index: 11 number of parameters: 3 id: 12 unit: def index() file: app/controllers/VideoUIApp.scala start line: 25 end line: 69 size: 38 LOC McCabe index: 5 number of parameters: 1 id: 13 unit: def updateMetadata() file: common/src/main/scala/com/gu/media/youtube/YouTubeVideos.scala start line: 51 end line: 96 size: 38 LOC McCabe index: 7 number of parameters: 2 id: 14 unit: def fromThrift() file: common/src/main/scala/com/gu/media/model/MediaAtom.scala start line: 238 end line: 277 size: 38 LOC McCabe index: 1 number of parameters: 1 id: 15 unit: export default function video() file: public/video-ui/src/reducers/videoReducer.js start line: 3 end line: 48 size: 36 LOC McCabe index: 13 number of parameters: 2 id: 16 unit: def parseMediaAtom() file: common/src/main/scala/com/gu/media/util/ThriftUtil.scala start line: 67 end line: 99 size: 33 LOC McCabe index: 9 number of parameters: 2 id: 17 unit: export function getComposerData() file: public/video-ui/src/util/getComposerData.js start line: 14 end line: 47 size: 32 LOC McCabe index: 11 number of parameters: 1 id: 18 unit: private def createOrUpdateYoutubeClaim() file: app/model/commands/PublishAtomCommand.scala start line: 198 end line: 229 size: 31 LOC McCabe index: 7 number of parameters: 3 id: 19 unit: def startUpload() file: common/src/main/scala/com/gu/media/youtube/YouTubeUploader.scala start line: 20 end line: 55 size: 31 LOC McCabe index: 2 number of parameters: 4 id: 20 unit: export default function workflow() file: public/video-ui/src/reducers/workflowReducer.js start line: 1 end line: 30 size: 30 LOC McCabe index: 11 number of parameters: 5 id: 21 unit: def appName: String = getMandatoryString() file: common/src/main/scala/com/gu/media/youtube/YouTubeAccess.scala start line: 16 end line: 57 size: 29 LOC McCabe index: 1 number of parameters: 1 id: 22 unit: export default function removeStringTagDuplicates() file: public/video-ui/src/util/removeStringTagDuplicates.js start line: 1 end line: 40 size: 29 LOC McCabe index: 5 number of parameters: 2 id: 23 unit: def process() file: app/model/commands/DeleteAssetCommand.scala start line: 22 end line: 53 size: 27 LOC McCabe index: 5 number of parameters: 0 id: 24 unit: export function createVideoPage() file: public/video-ui/src/actions/VideoActions/videoPageCreate.js start line: 28 end line: 60 size: 27 LOC McCabe index: 2 number of parameters: 3 id: 25 unit: override def getAtoms() file: app/data/AtomListStore.scala start line: 79 end line: 111 size: 26 LOC McCabe index: 8 number of parameters: 3 id: 26 unit: def build() file: app/util/UploadBuilder.scala start line: 12 end line: 42 size: 26 LOC McCabe index: 1 number of parameters: 5 id: 27 unit: def createOrUpdateClaim() file: common/src/main/scala/com/gu/media/youtube/YouTubePartnerApi.scala start line: 208 end line: 234 size: 26 LOC McCabe index: 6 number of parameters: 3 id: 28 unit: def setStatus() file: common/src/main/scala/com/gu/media/youtube/YouTubeVideos.scala start line: 98 end line: 127 size: 26 LOC McCabe index: 7 number of parameters: 2 id: 29 unit: updateCanonicalPages() file: public/video-ui/src/services/VideosApi.ts start line: 267 end line: 296 size: 26 LOC McCabe index: 2 number of parameters: 3 id: 30 unit: private def uploadPart() file: uploader/src/main/scala/com/gu/media/upload/MultipartCopyChunkInS3.scala start line: 30 end line: 59 size: 25 LOC McCabe index: 2 number of parameters: 2 id: 31 unit: export default defineConfig() file: vite.config.js start line: 4 end line: 29 size: 25 LOC McCabe index: 1 number of parameters: 2 id: 32 unit: def resendAtomMessage() file: app/controllers/PlutoController.scala start line: 78 end line: 103 size: 25 LOC McCabe index: 5 number of parameters: 1 id: 33 unit: private def createAsset() file: common/src/main/scala/com/gu/media/youtube/YouTubePartnerApi.scala start line: 15 end line: 42 size: 25 LOC McCabe index: 3 number of parameters: 3 id: 34 unit: private def getPartnerClaim() file: common/src/main/scala/com/gu/media/youtube/YouTubePartnerApi.scala start line: 153 end line: 179 size: 25 LOC McCabe index: 5 number of parameters: 2 id: 35 unit: export function saveVideo() file: public/video-ui/src/actions/VideoActions/saveVideo.js start line: 44 end line: 68 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: def process() file: app/model/commands/ActiveAssetCommand.scala start line: 23 end line: 52 size: 24 LOC McCabe index: 5 number of parameters: 0 id: 37 unit: override def getAtoms() file: app/data/AtomListStore.scala start line: 18 end line: 48 size: 24 LOC McCabe index: 5 number of parameters: 3 id: 38 unit: private def setOwnership() file: common/src/main/scala/com/gu/media/youtube/YouTubePartnerApi.scala start line: 44 end line: 71 size: 24 LOC McCabe index: 3 number of parameters: 3 id: 39 unit: private def updateClaim() file: common/src/main/scala/com/gu/media/youtube/YouTubePartnerApi.scala start line: 123 end line: 151 size: 24 LOC McCabe index: 3 number of parameters: 5 id: 40 unit: export default combineReducers() file: public/video-ui/src/reducers/rootReducer.js start line: 25 end line: 48 size: 24 LOC McCabe index: 1 number of parameters: 22 id: 41 unit: override def handle() file: uploader/src/main/scala/com/gu/media/upload/CompleteMultipartCopy.scala start line: 13 end line: 42 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 42 unit: private def claimVideo() file: common/src/main/scala/com/gu/media/youtube/YouTubePartnerApi.scala start line: 73 end line: 99 size: 23 LOC McCabe index: 3 number of parameters: 4 id: 43 unit: export function tagsFromStringList() file: public/video-ui/src/util/tagParsers.js start line: 4 end line: 29 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 44 unit: def defaultMediaHtml() file: common/src/main/scala/com/gu/media/util/MediaAtomImplicits.scala start line: 22 end line: 44 size: 22 LOC McCabe index: 5 number of parameters: 1 id: 45 unit: _request() file: pluto-message-ingestion/hmac-request.js start line: 22 end line: 47 size: 22 LOC McCabe index: 2 number of parameters: 3 id: 46 unit: export function getVideo() file: public/video-ui/src/actions/VideoActions/getVideo.js start line: 31 end line: 53 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 47 unit: static getSections() file: public/video-ui/src/services/WorkflowApi.js start line: 28 end line: 51 size: 22 LOC McCabe index: 3 number of parameters: 0 id: 48 unit: def uploadPacFile() file: app/controllers/Api.scala start line: 182 end line: 204 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: private def updateTheVideoAdvertisingOptions() file: common/src/main/scala/com/gu/media/youtube/YouTubePartnerApi.scala start line: 181 end line: 206 size: 21 LOC McCabe index: 3 number of parameters: 3 id: 50 unit: def uploadPart() file: common/src/main/scala/com/gu/media/youtube/YouTubeUploader.scala start line: 57 end line: 83 size: 21 LOC McCabe index: 6 number of parameters: 3 id: 51 unit: private def youTubeUpload() file: common/src/main/scala/com/gu/media/model/ClientAsset.scala start line: 70 end line: 93 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 52 unit: final override def region = AwsAccess.regionFrom() file: common/src/main/scala/com/gu/media/lambda/LambdaBase.scala start line: 12 end line: 38 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 53 unit: export function getStatus() file: public/video-ui/src/actions/WorkflowActions/getStatus.js start line: 36 end line: 57 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 54 unit: function uploadPart() file: public/video-ui/src/services/UploadsApi.js start line: 69 end line: 93 size: 21 LOC McCabe index: 1 number of parameters: 4 id: 55 unit: override def handleRequest() file: expirer/src/main/scala/com/gu/media/expirer/ExpirerLambda.scala start line: 27 end line: 47 size: 20 LOC McCabe index: 3 number of parameters: 2 id: 56 unit: private def userCanMakeVideoPublic() file: app/model/commands/PublishAtomCommand.scala start line: 114 end line: 138 size: 20 LOC McCabe index: 2 number of parameters: 2 id: 57 unit: private def updateYouTube() file: app/model/commands/PublishAtomCommand.scala start line: 161 end line: 185 size: 20 LOC McCabe index: 9 number of parameters: 3 id: 58 unit: private def overlayImages() file: app/util/ThumbnailGenerator.scala start line: 33 end line: 63 size: 20 LOC McCabe index: 3 number of parameters: 3 id: 59 unit: def apply() file: common/src/main/scala/com/gu/media/youtube/YouTubeProcessingStatus.scala start line: 14 end line: 39 size: 20 LOC McCabe index: 7 number of parameters: 1 id: 60 unit: export function getVideoBlock() file: public/video-ui/src/util/getVideoBlock.ts start line: 16 end line: 35 size: 20 LOC McCabe index: 1 number of parameters: 3 id: 61 unit: export default function uploads() file: public/video-ui/src/reducers/uploadsReducer.js start line: 3 end line: 27 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 62 unit: function getUsages() file: public/video-ui/src/services/VideosApi.ts start line: 84 end line: 109 size: 20 LOC McCabe index: 1 number of parameters: 3 id: 63 unit: private def getVideosFromExpiredAtoms() file: expirer/src/main/scala/com/gu/media/expirer/ExpirerLambda.scala start line: 50 end line: 71 size: 19 LOC McCabe index: 2 number of parameters: 5 id: 64 unit: private def publishAtomToLive() file: app/model/commands/PublishAtomCommand.scala start line: 140 end line: 159 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 65 unit: private def getMessages() file: app/util/PlutoMessageConsumer.scala start line: 40 end line: 64 size: 19 LOC McCabe index: 5 number of parameters: 2 id: 66 unit: def parse[T]() file: app/controllers/JsonRequestParsing.scala start line: 9 end line: 30 size: 19 LOC McCabe index: 8 number of parameters: 1 id: 67 unit: def complexCapiQuery() file: common/src/main/scala/com/gu/media/CapiAccess.scala start line: 57 end line: 80 size: 19 LOC McCabe index: 5 number of parameters: 4 id: 68 unit: function getData() file: scripts/hmac/make-hmac-request.js start line: 57 end line: 88 size: 19 LOC McCabe index: 6 number of parameters: 0 id: 69 unit: private def getScheduledAtoms() file: scheduler/src/main/scala/com.gu.media.scheduler/SchedulerLambda.scala start line: 41 end line: 63 size: 19 LOC McCabe index: 2 number of parameters: 5 id: 70 unit: open() file: pluto-message-ingestion/kinesis-message-processor.js start line: 21 end line: 41 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: export default function s3Upload() file: public/video-ui/src/reducers/s3UploadReducer.js start line: 6 end line: 28 size: 19 LOC McCabe index: 5 number of parameters: 2 id: 72 unit: override def handle() file: uploader/src/main/scala/com/gu/media/upload/GetTranscodingProgress.scala start line: 12 end line: 32 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 73 unit: def unapply() file: app/model/commands/CommandException.scala start line: 50 end line: 72 size: 18 LOC McCabe index: 7 number of parameters: 1 id: 74 unit: def deleteAsset() file: app/controllers/Api.scala start line: 139 end line: 159 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 75 unit: private def parseProcessingStatus() file: common/src/main/scala/com/gu/media/youtube/YouTubeProcessingStatus.scala start line: 48 end line: 68 size: 18 LOC McCabe index: 4 number of parameters: 2 id: 76 unit: def NONE: AdSettings = AdSettings() file: common/src/main/scala/com/gu/media/model/AdSettings.scala start line: 6 end line: 27 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 77 unit: def sendToPluto() file: common/src/main/scala/com/gu/media/upload/PlutoUploadActions.scala start line: 13 end line: 36 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 78 unit: static read() file: pluto-message-ingestion/file-config.js start line: 9 end line: 28 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 79 unit: export function createListToggleCommand() file: public/video-ui/src/components/FormFields/richtext/utils/listsHelpers.ts start line: 25 end line: 43 size: 18 LOC McCabe index: 5 number of parameters: 2 id: 80 unit: export function cleanVideoData() file: public/video-ui/src/util/cleanVideoData.js start line: 1 end line: 21 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 81 unit: export default function errors() file: public/video-ui/src/reducers/checkedFormFieldsReducer.js start line: 1 end line: 19 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 82 unit: private def fromJson() file: app/data/AtomListStore.scala start line: 50 end line: 75 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 83 unit: def updateThumbnail() file: common/src/main/scala/com/gu/media/youtube/YouTubeVideos.scala start line: 129 end line: 149 size: 17 LOC McCabe index: 5 number of parameters: 2 id: 84 unit: private def parseResult() file: common/src/main/scala/com/gu/media/youtube/YouTubeUploader.scala start line: 105 end line: 125 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 85 unit: function getLegacyDetailedTitle() file: public/video-ui/src/util/getTagDisplayNames.js start line: 4 end line: 24 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 86 unit: export function parseComposerDataFromImage() file: public/video-ui/src/util/parseGridMetadata.js start line: 39 end line: 76 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 87 unit: static trackInWorkflow() file: public/video-ui/src/services/WorkflowApi.js start line: 142 end line: 159 size: 17 LOC McCabe index: 1 number of parameters: 6 id: 88 unit: override def process() file: app/model/commands/PacFileUploadCommand.scala start line: 25 end line: 45 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 89 unit: private def getRunning() file: app/controllers/UploadController.scala start line: 104 end line: 122 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 90 unit: static _isValidMessage() file: pluto-message-ingestion/pluto-message-processor.js start line: 25 end line: 43 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: createComposerPage() file: public/video-ui/src/services/VideosApi.ts start line: 298 end line: 315 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: static createTarget() file: public/video-ui/src/services/TargetingApi.js start line: 12 end line: 29 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 93 unit: private def updateYoutubeMetadata() file: app/model/commands/PublishAtomCommand.scala start line: 231 end line: 247 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 94 unit: def process() file: app/model/commands/AddAssetCommand.scala start line: 25 end line: 44 size: 15 LOC McCabe index: 5 number of parameters: 0 id: 95 unit: def addMetadata() file: app/util/UploadDecorator.scala start line: 13 end line: 29 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 96 unit: private def generateKeyPolicy() file: app/util/CredentialsGenerator.scala start line: 32 end line: 49 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: private def uploadChunk() file: common/src/main/scala/com/gu/media/youtube/YouTubeUploader.scala start line: 85 end line: 103 size: 15 LOC McCabe index: 1 number of parameters: 5 id: 98 unit: def parseRequest() file: common/src/main/scala/com/gu/media/util/ThriftUtil.scala start line: 101 end line: 116 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 99 unit: export function getYouTubeTagCharCount() file: public/video-ui/src/util/getYouTubeTagCharCount.js start line: 1 end line: 19 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 100 unit: export default function usage() file: public/video-ui/src/reducers/composerPageReducer.js start line: 1 end line: 15 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 101 unit: export function getUsages() file: public/video-ui/src/actions/VideoActions/videoUsages.js start line: 29 end line: 45 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 102 unit: export function startVideoUpload() file: public/video-ui/src/actions/UploadActions/s3Upload.js start line: 36 end line: 52 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 103 unit: static getTagsByType() file: public/video-ui/src/services/capi.ts start line: 73 end line: 87 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 104 unit: export function createUpload() file: public/video-ui/src/services/UploadsApi.js start line: 26 end line: 40 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 105 unit: function getS3() file: public/video-ui/src/services/UploadsApi.js start line: 52 end line: 67 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 106 unit: function uploadPartRecursive() file: public/video-ui/src/services/UploadsApi.js start line: 97 end line: 112 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 107 unit: fetchComposerId() file: public/video-ui/src/services/VideosApi.ts start line: 341 end line: 355 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 108 unit: private def sendToTranscoder() file: uploader/src/main/scala/com/gu/media/upload/SendToTranscoder.scala start line: 30 end line: 48 size: 14 LOC McCabe index: 1 number of parameters: 3 id: 109 unit: private def addAsset() file: app/model/commands/AddAssetCommand.scala start line: 46 end line: 64 size: 14 LOC McCabe index: 1 number of parameters: 4 id: 110 unit: private def noPermissionMessage() file: app/controllers/PanDomainAuthActions.scala start line: 15 end line: 32 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 111 unit: def build() file: common/src/main/scala/com/gu/media/model/ChangeRecord.scala start line: 20 end line: 37 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 112 unit: override def handleRequest() file: scheduler/src/main/scala/com.gu.media.scheduler/SchedulerLambda.scala start line: 24 end line: 38 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 113 unit: export default function pluto() file: public/video-ui/src/reducers/plutoReducer.js start line: 1 end line: 14 size: 14 LOC McCabe index: 5 number of parameters: 3 id: 114 unit: export default function video() file: public/video-ui/src/reducers/publishedVideoReducer.js start line: 3 end line: 18 size: 14 LOC McCabe index: 5 number of parameters: 2 id: 115 unit: export function uploadPacFile() file: public/video-ui/src/services/UploadsApi.js start line: 118 end line: 132 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 116 unit: static getStatuses() file: public/video-ui/src/services/WorkflowApi.js start line: 53 end line: 67 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 117 unit: private def buildYouTubeException() file: app/model/commands/CommandException.scala start line: 86 end line: 101 size: 13 LOC McCabe index: 1 number of parameters: 4 id: 118 unit: private def addYouTubeStatus() file: app/controllers/UploadController.scala start line: 84 end line: 97 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 119 unit: private def createVideoClaim() file: common/src/main/scala/com/gu/media/youtube/YouTubePartnerApi.scala start line: 109 end line: 121 size: 13 LOC McCabe index: 5 number of parameters: 3 id: 120 unit: def build() file: common/src/main/scala/com/gu/media/youtube/package.scala start line: 132 end line: 145 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 121 unit: def prettyToString() file: common/src/main/scala/com/gu/media/youtube/package.scala start line: 217 end line: 229 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 122 unit: def videoFromAssets() file: common/src/main/scala/com/gu/media/model/ClientAsset.scala start line: 40 end line: 55 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 123 unit: private def getAtomUrl() file: common/src/main/scala/com/gu/media/ses/Mailer.scala start line: 23 end line: 37 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: private def getActiveAsset() file: common/src/main/scala/com/gu/media/util/MediaAtomImplicits.scala start line: 46 end line: 60 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 125 unit: static isYoutube() file: public/video-ui/src/util/video.js start line: 18 end line: 37 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 126 unit: static hasYoutubeWriteAccess() file: public/video-ui/src/util/video.js start line: 49 end line: 62 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 127 unit: static isEligibleForAds() file: public/video-ui/src/util/video.js start line: 88 end line: 103 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 128 unit: export function configureStore() file: public/video-ui/src/util/configureStore.js start line: 9 end line: 22 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 129 unit: export function errorDetails() file: public/video-ui/src/util/errorDetails.ts start line: 1 end line: 15 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 130 unit: export function updateWorkflowData() file: public/video-ui/src/actions/WorkflowActions/updateWorkflowData.js start line: 27 end line: 39 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 131 unit: static updateNote() file: public/video-ui/src/services/WorkflowApi.js start line: 189 end line: 203 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 132 unit: static updatePriority() file: public/video-ui/src/services/WorkflowApi.js start line: 205 end line: 219 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 133 unit: function splitUsages() file: public/video-ui/src/services/VideosApi.ts start line: 111 end line: 123 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 134 unit: override def handle() file: uploader/src/main/scala/com/gu/media/upload/AddAssetToAtom.scala start line: 26 end line: 41 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 135 unit: private def getAsset() file: uploader/src/main/scala/com/gu/media/upload/AddAssetToAtom.scala start line: 57 end line: 70 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 136 unit: override def handle() file: uploader/src/main/scala/com/gu/media/upload/SendToTranscoder.scala start line: 14 end line: 28 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 137 unit: private def handleYouTubeMessages() file: app/model/commands/PublishAtomCommand.scala start line: 284 end line: 296 size: 12 LOC McCabe index: 3 number of parameters: 5 id: 138 unit: private def makeYouTubeVideosPrivate() file: app/model/commands/DeleteCommand.scala start line: 33 end line: 48 size: 12 LOC McCabe index: 7 number of parameters: 1 id: 139 unit: private def generateCredentials() file: app/util/CredentialsGenerator.scala start line: 16 end line: 30 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 140 unit: def getById() file: app/util/StepFunctions.scala start line: 13 end line: 26 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 141 unit: def getMediaAtom() file: app/controllers/Api.scala start line: 53 end line: 64 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 142 unit: def clean() file: common/src/main/scala/com/gu/media/youtube/YoutubeDescription.scala start line: 6 end line: 30 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 143 unit: def getProcessingStatus() file: common/src/main/scala/com/gu/media/youtube/YouTubeVideos.scala start line: 25 end line: 37 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 144 unit: def fromUpload() file: common/src/main/scala/com/gu/media/model/ClientAsset.scala start line: 26 end line: 38 size: 12 LOC McCabe index: 2 number of parameters: 4 id: 145 unit: private def selfHostedUpload() file: common/src/main/scala/com/gu/media/model/ClientAsset.scala start line: 57 end line: 68 size: 12 LOC McCabe index: 1 number of parameters: 3 id: 146 unit: def readTag() file: common/src/main/scala/com/gu/media/aws/AwsAccess.scala start line: 8 end line: 28 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 147 unit: private def write() file: common/src/main/scala/com/gu/media/util/InputStreamRequestBody.scala start line: 30 end line: 46 size: 12 LOC McCabe index: 5 number of parameters: 3 id: 148 unit: def getAll() file: common/src/main/scala/com/gu/media/Permissions.scala start line: 34 end line: 49 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 149 unit: function getConfig() file: scripts/purge-uploads-table.js start line: 16 end line: 27 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 150 unit: function scanTable() file: scripts/purge-uploads-table.js start line: 29 end line: 41 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 151 unit: function getConfig() file: scripts/hmac/make-hmac-request.js start line: 44 end line: 55 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 152 unit: export function isInNode() file: public/video-ui/src/components/FormFields/richtext/utils/listsHelpers.ts start line: 12 end line: 23 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 153 unit: export default function getTagDisplayNames() file: public/video-ui/src/util/getTagDisplayNames.js start line: 26 end line: 38 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 154 unit: function getComposerAsset() file: public/video-ui/src/util/parseGridMetadata.js start line: 42 end line: 53 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 155 unit: export function hasUnpublishedChanges() file: public/video-ui/src/util/hasUnpublishedChanges.ts start line: 6 end line: 19 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 156 unit: export function getProjects() file: public/video-ui/src/actions/PlutoActions/getProjects.js start line: 27 end line: 38 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 157 unit: export function getCommissions() file: public/video-ui/src/actions/PlutoActions/getCommissions.js start line: 27 end line: 38 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 158 unit: export function deleteAsset() file: public/video-ui/src/actions/VideoActions/deleteAsset.js start line: 29 end line: 44 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 159 unit: export function createAsset() file: public/video-ui/src/actions/VideoActions/createAsset.js start line: 34 end line: 47 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 160 unit: export function getPublishedVideo() file: public/video-ui/src/actions/VideoActions/getPublishedVideo.js start line: 28 end line: 39 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 161 unit: export function getCategories() file: public/video-ui/src/actions/YoutubeActions/getCategories.js start line: 29 end line: 40 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 162 unit: static updateProdOffice() file: public/video-ui/src/services/WorkflowApi.js start line: 161 end line: 173 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 163 unit: static updateStatus() file: public/video-ui/src/services/WorkflowApi.js start line: 175 end line: 187 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 164 unit: private def updateInactiveAssets() file: app/model/commands/PublishAtomCommand.scala start line: 268 end line: 282 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 165 unit: final override def region = AwsAccess.regionFrom() file: app/util/AWS.scala start line: 46 end line: 58 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 166 unit: def getExecutionFailed() file: app/util/StepFunctions.scala start line: 44 end line: 55 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 167 unit: private def fillInStartTimestamp() file: app/util/StepFunctions.scala start line: 92 end line: 102 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 168 unit: def jsonError() file: app/controllers/AtomController.scala start line: 37 end line: 51 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 169 unit: def getPublishedMediaAtom() file: app/controllers/Api.scala start line: 66 end line: 77 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 170 unit: def getCommission() file: app/controllers/PlutoController.scala start line: 36 end line: 46 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 171 unit: def getProject() file: app/controllers/PlutoController.scala start line: 53 end line: 63 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 172 unit: def build() file: common/src/main/scala/com/gu/media/model/PlutoIntegrationData.scala start line: 74 end line: 84 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 173 unit: def assumeAccountRole() file: common/src/main/scala/com/gu/media/aws/CredentialsForBothSdkVersions.scala start line: 15 end line: 25 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 174 unit: private def getUrl() file: common/src/main/scala/com/gu/media/CapiAccess.scala start line: 34 end line: 45 size: 11 LOC McCabe index: 3 number of parameters: 4 id: 175 unit: constructor() file: pluto-message-ingestion/kinesis-message-processor.js start line: 8 end line: 19 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 176 unit: export function deleteVideo() file: public/video-ui/src/actions/VideoActions/deleteVideo.js start line: 13 end line: 23 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 177 unit: export function deleteTarget() file: public/video-ui/src/actions/TargetingActions/deleteTarget.js start line: 36 end line: 46 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 178 unit: export function getUploads() file: public/video-ui/src/actions/UploadActions/getUploads.js start line: 21 end line: 31 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 179 unit: override def handle() file: uploader/src/main/scala/com/gu/media/upload/MultipartCopyChunkInS3.scala start line: 10 end line: 19 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 180 unit: override def handle() file: uploader/src/main/scala/com/gu/media/upload/UploadChunkToYouTube.scala start line: 18 end line: 30 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 181 unit: override def process() file: app/model/commands/DeleteCommand.scala start line: 19 end line: 31 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 182 unit: def createDiffString() file: app/model/commands/UpdateAtomCommand.scala start line: 140 end line: 150 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 183 unit: def apply() file: app/util/CORSable.scala start line: 11 end line: 20 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 184 unit: private def updateJobsStatus() file: app/util/Transcoder.scala start line: 15 end line: 28 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 185 unit: def capiProxy() file: app/controllers/Support.scala start line: 11 end line: 21 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 186 unit: def addAsset() file: app/controllers/Api.scala start line: 127 end line: 137 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 187 unit: private def humanizeRejectionReason() file: common/src/main/scala/com/gu/media/youtube/YouTubeProcessingStatus.scala start line: 76 end line: 85 size: 10 LOC McCabe index: 9 number of parameters: 1 id: 188 unit: def build() file: common/src/main/scala/com/gu/media/model/PlutoIntegrationData.scala start line: 101 end line: 110 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 189 unit: private def chunksOfExactly() file: common/src/main/scala/com/gu/media/upload/model/Upload.scala start line: 27 end line: 39 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 190 unit: def parseMetadata() file: common/src/main/scala/com/gu/media/util/ThriftUtil.scala start line: 56 end line: 65 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 191 unit: private def getAssets() file: common/src/main/scala/com/gu/media/util/MediaAtomHelpers.scala start line: 44 end line: 56 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 192 unit: override def contentLength() file: common/src/main/scala/com/gu/media/util/InputStreamRequestBody.scala start line: 16 end line: 27 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 193 unit: def build() file: common/src/main/scala/com/gu/media/pluto/PlutoProject.scala start line: 45 end line: 54 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 194 unit: def previewCapiIAMUrl = getMandatoryString() file: common/src/main/scala/com/gu/media/CapiAccess.scala start line: 17 end line: 27 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 195 unit: process() file: pluto-message-ingestion/pluto-message-processor.js start line: 11 end line: 23 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 196 unit: export function getComposerId() file: public/video-ui/src/util/getComposerData.js start line: 49 end line: 58 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 197 unit: export default function plutoVideos() file: public/video-ui/src/reducers/plutoVideosReducer.js start line: 1 end line: 10 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 198 unit: export default function error() file: public/video-ui/src/reducers/errorReducer.js start line: 1 end line: 12 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 199 unit: export function getVideos() file: public/video-ui/src/actions/VideoActions/getVideos.js start line: 31 end line: 40 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 200 unit: static getPriorities() file: public/video-ui/src/services/WorkflowApi.js start line: 69 end line: 79 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 201 unit: deleteAsset() file: public/video-ui/src/services/VideosApi.ts start line: 256 end line: 265 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 202 unit: static updateTarget() file: public/video-ui/src/services/TargetingApi.js start line: 31 end line: 41 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 203 unit: override def handle() file: uploader/src/main/scala/com/gu/media/upload/GetChunkFromS3.scala start line: 8 end line: 18 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 204 unit: private def getUploadUri() file: uploader/src/main/scala/com/gu/media/upload/UploadChunkToYouTube.scala start line: 32 end line: 42 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 205 unit: private def hasNewAssets() file: app/model/commands/PublishAtomCommand.scala start line: 187 end line: 196 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 206 unit: def unapply() file: app/model/commands/AddAssetCommand.scala start line: 128 end line: 138 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 207 unit: private def getAsset() file: app/util/UploadBuilder.scala start line: 44 end line: 54 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 208 unit: def getCommercialVideoInfo() file: app/util/YouTube.scala start line: 23 end line: 32 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: def getBrandedThumbnail() file: app/util/ThumbnailGenerator.scala start line: 65 end line: 74 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 210 unit: def getThumbnail() file: app/util/ThumbnailGenerator.scala start line: 76 end line: 85 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 211 unit: private def processMessages() file: app/util/PlutoMessageConsumer.scala start line: 27 end line: 38 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 212 unit: def credentials() file: app/controllers/UploadController.scala start line: 62 end line: 71 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 213 unit: def createWorkflowMediaAtom = CORSable() file: app/controllers/Api.scala start line: 108 end line: 116 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 214 unit: def deleteAtom() file: app/controllers/Api.scala start line: 172 end line: 180 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 215 unit: private def presenceConfig() file: app/controllers/VideoUIApp.scala start line: 77 end line: 85 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 216 unit: def getUploadsWithAtomId() file: common/src/main/scala/com/gu/media/PlutoDataStore.scala start line: 12 end line: 22 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 217 unit: override def initializeYouTubePartnerRequest() file: common/src/main/scala/com/gu/media/youtube/YouTubeAccess.scala start line: 69 end line: 77 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 218 unit: def getDuration() file: common/src/main/scala/com/gu/media/youtube/YouTubeVideos.scala start line: 39 end line: 49 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 219 unit: def isGuardianVideo() file: common/src/main/scala/com/gu/media/youtube/YouTubeVideos.scala start line: 151 end line: 160 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 220 unit: def isManagedVideo() file: common/src/main/scala/com/gu/media/youtube/YouTubeVideos.scala start line: 162 end line: 171 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 221 unit: private def getStatusText() file: common/src/main/scala/com/gu/media/model/ClientAsset.scala start line: 108 end line: 119 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 222 unit: def sendPlutoIdMissingEmail() file: common/src/main/scala/com/gu/media/ses/Mailer.scala start line: 11 end line: 21 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 223 unit: private def createAppender() file: common/src/main/scala/com/gu/media/logging/LambdaElkLoggingFormat.scala start line: 23 end line: 34 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 224 unit: def calculateChunks() file: common/src/main/scala/com/gu/media/upload/model/Upload.scala start line: 16 end line: 25 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 225 unit: def parseAssets() file: common/src/main/scala/com/gu/media/util/ThriftUtil.scala start line: 46 end line: 54 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 226 unit: def list() file: common/src/main/scala/com/gu/media/pluto/PlutoCommissionDataStore.scala start line: 21 end line: 29 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 227 unit: def getByCommissionId() file: common/src/main/scala/com/gu/media/pluto/PlutoProjectDataStore.scala start line: 29 end line: 37 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 228 unit: function tryParse() file: scripts/hmac/make-hmac-request.js start line: 59 end line: 67 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 229 unit: private def replace() file: project/StateMachine.scala start line: 32 end line: 40 size: 9 LOC McCabe index: 4 number of parameters: 3 id: 230 unit: function mapStateToProps() file: public/video-ui/src/pages/Search/index.tsx start line: 187 end line: 195 size: 9 LOC McCabe index: 1 number of parameters: 5 id: 231 unit: function fieldValueMissing() file: public/video-ui/src/util/validateField.js start line: 16 end line: 26 size: 9 LOC McCabe index: 4 number of parameters: 0 id: 232 unit: function parseMimeType() file: public/video-ui/src/util/parseGridMetadata.js start line: 4 end line: 14 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 233 unit: export function parseImageFromGridCrop() file: public/video-ui/src/util/parseGridMetadata.js start line: 29 end line: 37 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 234 unit: export function findSmallestAsset() file: public/video-ui/src/util/imageHelpers.ts start line: 12 end line: 20 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 235 unit: export default function getProductionOffice() file: public/video-ui/src/util/getProductionOffice.ts start line: 25 end line: 34 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 236 unit: function errorReceivingVideo() file: public/video-ui/src/actions/VideoActions/getVideo.js start line: 21 end line: 29 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 237 unit: function requestVideos() file: public/video-ui/src/actions/VideoActions/getVideos.js start line: 3 end line: 11 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 238 unit: function errorReceivingCategories() file: public/video-ui/src/actions/YoutubeActions/getCategories.js start line: 19 end line: 27 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 239 unit: export function startPacFileUpload() file: public/video-ui/src/actions/UploadActions/s3Upload.js start line: 54 end line: 62 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 240 unit: static getByPath() file: public/video-ui/src/services/capi.ts start line: 56 end line: 65 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 241 unit: function getCredentials() file: public/video-ui/src/services/UploadsApi.js start line: 42 end line: 50 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 242 unit: videoFields: cleanVideoData() file: public/video-ui/src/services/VideosApi.ts start line: 312 end line: 323 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 243 unit: function updateMainBlock() file: public/video-ui/src/services/VideosApi.ts start line: 322 end line: 330 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 244 unit: function doEmbargoIndefinitely() file: public/video-ui/src/services/VideosApi.ts start line: 360 end line: 368 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 245 unit: static deleteTarget() file: public/video-ui/src/services/TargetingApi.js start line: 43 end line: 52 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 246 unit: private def getOutputs() file: uploader/src/main/scala/com/gu/media/upload/SendToTranscoder.scala start line: 50 end line: 58 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 247 unit: private def getPublishedAtom() file: app/model/commands/PublishAtomCommand.scala start line: 98 end line: 105 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 248 unit: private def setYoutubeThumbnail() file: app/model/commands/PublishAtomCommand.scala start line: 249 end line: 258 size: 8 LOC McCabe index: 4 number of parameters: 3 id: 249 unit: override def publishAtomEvent() file: app/util/NotifyingAtomPublisher.scala start line: 15 end line: 23 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 250 unit: def list() file: app/controllers/UploadController.scala start line: 32 end line: 41 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 251 unit: private def start() file: app/controllers/UploadController.scala start line: 74 end line: 82 size: 8 LOC McCabe index: 3 number of parameters: 4 id: 252 unit: def thriftResultAction[A]() file: app/controllers/AtomController.scala start line: 28 end line: 35 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 253 unit: def resetDurationFromActive() file: app/controllers/Api.scala start line: 79 end line: 87 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 254 unit: private def atomUrl() file: app/controllers/Api.scala start line: 161 end line: 170 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 255 unit: def get() file: common/src/main/scala/com/gu/media/PlutoDataStore.scala start line: 24 end line: 32 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 256 unit: def build() file: common/src/main/scala/com/gu/media/youtube/package.scala start line: 83 end line: 90 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 257 unit: def withSaneTitle() file: common/src/main/scala/com/gu/media/youtube/package.scala start line: 185 end line: 193 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 258 unit: private def getContentBundlingTags() file: common/src/main/scala/com/gu/media/youtube/package.scala start line: 205 end line: 213 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 259 unit: def getVideo() file: common/src/main/scala/com/gu/media/youtube/YouTubeVideos.scala start line: 15 end line: 23 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 260 unit: def build() file: common/src/main/scala/com/gu/media/model/PlutoIntegrationData.scala start line: 30 end line: 39 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 261 unit: def apply() file: common/src/main/scala/com/gu/media/model/ClientAsset.scala start line: 99 end line: 106 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 262 unit: def handle() file: common/src/main/scala/com/gu/media/lambda/LambdaWithParams.scala start line: 10 end line: 19 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 263 unit: def getSingleParam() file: common/src/main/scala/com/gu/media/util/ThriftUtil.scala start line: 17 end line: 25 size: 8 LOC McCabe index: 4 number of parameters: 3 id: 264 unit: private def baseRequest() file: common/src/main/scala/com/gu/media/util/HMACClient.scala start line: 19 end line: 27 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 265 unit: def updateAtom() file: common/src/main/scala/com/gu/media/util/MediaAtomHelpers.scala start line: 8 end line: 16 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 266 unit: run: linkItemCommand() file: public/video-ui/src/components/FormFields/richtext/menu.ts start line: 38 end line: 46 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 267 unit: run: unlinkItemCommand() file: public/video-ui/src/components/FormFields/richtext/menu.ts start line: 49 end line: 57 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 268 unit: master: parseAsset() file: public/video-ui/src/util/parseGridMetadata.js start line: 33 end line: 42 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 269 unit: static getYoutubeChannel() file: public/video-ui/src/util/video.js start line: 39 end line: 47 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 270 unit: static isRecentlyModified() file: public/video-ui/src/util/video.js start line: 105 end line: 112 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 271 unit: function padNumber() file: public/video-ui/src/util/durationHelpers.js start line: 1 end line: 8 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 272 unit: export default function warnings() file: public/video-ui/src/reducers/formFieldsWarningReducer.js start line: 1 end line: 9 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 273 unit: export default function searchTerm() file: public/video-ui/src/reducers/searchTermReducer.js start line: 1 end line: 8 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 274 unit: export default function video() file: public/video-ui/src/reducers/editStateReducer.js start line: 1 end line: 8 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 275 unit: export default function shouldUseCreatedDateForSort() file: public/video-ui/src/reducers/shouldUseCreatedDateForSortReducer.js start line: 4 end line: 11 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 276 unit: export default function config() file: public/video-ui/src/reducers/configReducer.js start line: 1 end line: 9 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 277 unit: export default function path() file: public/video-ui/src/reducers/pathReducer.js start line: 1 end line: 8 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 278 unit: function errorReceivingProjects() file: public/video-ui/src/actions/PlutoActions/getProjects.js start line: 18 end line: 25 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 279 unit: function errorReceivingCommissions() file: public/video-ui/src/actions/PlutoActions/getCommissions.js start line: 18 end line: 25 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 280 unit: function errorAssetDelete() file: public/video-ui/src/actions/VideoActions/deleteAsset.js start line: 20 end line: 27 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 281 unit: function errorAssetCreate() file: public/video-ui/src/actions/VideoActions/createAsset.js start line: 25 end line: 32 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 282 unit: function errorReceivingVideoPageCreate() file: public/video-ui/src/actions/VideoActions/videoPageCreate.js start line: 19 end line: 26 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 283 unit: function receiveVideos() file: public/video-ui/src/actions/VideoActions/getVideos.js start line: 13 end line: 20 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 284 unit: function errorReceivingVideos() file: public/video-ui/src/actions/VideoActions/getVideos.js start line: 22 end line: 29 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 285 unit: function receiveRevertAsset() file: public/video-ui/src/actions/VideoActions/revertAsset.js start line: 12 end line: 19 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 286 unit: function errorRevertAsset() file: public/video-ui/src/actions/VideoActions/revertAsset.js start line: 21 end line: 28 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 287 unit: export function revertAsset() file: public/video-ui/src/actions/VideoActions/revertAsset.js start line: 30 end line: 37 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 288 unit: function errorReceivingPublishedVideo() file: public/video-ui/src/actions/VideoActions/getPublishedVideo.js start line: 19 end line: 26 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 289 unit: function errorVideoSave() file: public/video-ui/src/actions/VideoActions/saveVideo.js start line: 35 end line: 42 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 290 unit: function errorVideoDelete() file: public/video-ui/src/actions/VideoActions/deleteVideo.js start line: 4 end line: 11 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 291 unit: export function publishVideo() file: public/video-ui/src/actions/VideoActions/publishVideo.js start line: 27 end line: 34 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 292 unit: function errorReceivingVideoUsages() file: public/video-ui/src/actions/VideoActions/videoUsages.js start line: 20 end line: 27 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 293 unit: function receiveVideoCreate() file: public/video-ui/src/actions/VideoActions/createVideo.js start line: 11 end line: 18 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 294 unit: function errorVideoCreate() file: public/video-ui/src/actions/VideoActions/createVideo.js start line: 20 end line: 27 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 295 unit: export function createVideo() file: public/video-ui/src/actions/VideoActions/createVideo.js start line: 29 end line: 36 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 296 unit: function errorReceivingAddProject() file: public/video-ui/src/actions/PlutoIdActions/addProject.js start line: 18 end line: 25 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 297 unit: export function addProject() file: public/video-ui/src/actions/PlutoIdActions/addProject.js start line: 27 end line: 35 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 298 unit: function errorGetTarget() file: public/video-ui/src/actions/TargetingActions/getTargets.js start line: 18 end line: 25 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 299 unit: export function getTargets() file: public/video-ui/src/actions/TargetingActions/getTargets.js start line: 27 end line: 34 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 300 unit: function errorUpdateTarget() file: public/video-ui/src/actions/TargetingActions/updateTarget.js start line: 19 end line: 26 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 301 unit: function errorCreateTarget() file: public/video-ui/src/actions/TargetingActions/createTarget.js start line: 18 end line: 25 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 302 unit: export function createTarget() file: public/video-ui/src/actions/TargetingActions/createTarget.js start line: 27 end line: 34 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 303 unit: function showDeleteTargetError() file: public/video-ui/src/actions/TargetingActions/deleteTarget.js start line: 27 end line: 34 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 304 unit: function errorReceivingCatetories() file: public/video-ui/src/actions/YoutubeActions/getChannels.js start line: 18 end line: 25 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 305 unit: export function getChannels() file: public/video-ui/src/actions/YoutubeActions/getChannels.js start line: 27 end line: 34 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 306 unit: function errorTrackInWorkflow() file: public/video-ui/src/actions/WorkflowActions/trackInWorkflow.js start line: 18 end line: 25 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 307 unit: export function trackInWorkflow() file: public/video-ui/src/actions/WorkflowActions/trackInWorkflow.js start line: 27 end line: 34 size: 8 LOC McCabe index: 1 number of parameters: 6 id: 308 unit: function errorReceivingStatus() file: public/video-ui/src/actions/WorkflowActions/getStatus.js start line: 27 end line: 34 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 309 unit: function errorUpdatingData() file: public/video-ui/src/actions/WorkflowActions/updateWorkflowData.js start line: 18 end line: 25 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 310 unit: function errorGettingUploads() file: public/video-ui/src/actions/UploadActions/getUploads.js start line: 12 end line: 19 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 311 unit: function uploadError() file: public/video-ui/src/actions/UploadActions/s3Upload.js start line: 27 end line: 34 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 312 unit: static getAtomInWorkflow() file: public/video-ui/src/services/WorkflowApi.js start line: 81 end line: 88 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 313 unit: data: cleanVideoData() file: public/video-ui/src/services/VideosApi.ts start line: 202 end line: 210 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 314 unit: addVideoToComposerPage() file: public/video-ui/src/services/VideosApi.ts start line: 317 end line: 339 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 315 unit: static getTargets() file: public/video-ui/src/services/TargetingApi.js start line: 54 end line: 62 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 316 unit: private def getExpiredVideos() file: expirer/src/main/scala/com/gu/media/expirer/ExpirerLambda.scala start line: 73 end line: 80 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 317 unit: private def complete() file: uploader/src/main/scala/com/gu/media/upload/GetChunkFromS3.scala start line: 20 end line: 26 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 318 unit: def process() file: app/model/commands/Command.scala start line: 9 end line: 16 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 319 unit: private def updateYoutubeThumbnail() file: app/model/commands/PublishAtomCommand.scala start line: 260 end line: 266 size: 7 LOC McCabe index: 4 number of parameters: 2 id: 320 unit: private def processPlutoData() file: app/model/commands/UpdateAtomCommand.scala start line: 110 end line: 116 size: 7 LOC McCabe index: 5 number of parameters: 2 id: 321 unit: def apply() file: app/util/YouTube.scala start line: 37 end line: 43 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 322 unit: def getTaskEntered() file: app/util/StepFunctions.scala start line: 35 end line: 42 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 323 unit: def start() file: app/util/StepFunctions.scala start line: 57 end line: 64 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 324 unit: def getEventsInReverseOrder() file: app/util/StepFunctions.scala start line: 66 end line: 73 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 325 unit: private def getExecutions() file: app/util/StepFunctions.scala start line: 75 end line: 83 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 326 unit: def listChannels() file: app/controllers/Youtube.scala start line: 21 end line: 31 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 327 unit: def commercialVideoInfo() file: app/controllers/Youtube.scala start line: 33 end line: 39 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 328 unit: def publishMediaAtom() file: app/controllers/Api.scala start line: 89 end line: 97 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 329 unit: def updateMediaAtom() file: app/controllers/Api.scala start line: 118 end line: 125 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 330 unit: override def showUnauthedMessage() file: app/controllers/PanDomainAuthActions.scala start line: 34 end line: 42 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 331 unit: def getYoutubeDescription() file: common/src/main/scala/com/gu/media/youtube/MediaAtomYoutubeDescriptionHandler.scala start line: 15 end line: 23 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 332 unit: private def getNewPolicy() file: common/src/main/scala/com/gu/media/youtube/YouTubePartnerApi.scala start line: 101 end line: 107 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 333 unit: private def getPrivacyStates() file: common/src/main/scala/com/gu/media/youtube/package.scala start line: 75 end line: 81 size: 7 LOC McCabe index: 3 number of parameters: 3 id: 334 unit: def build() file: common/src/main/scala/com/gu/media/youtube/package.scala start line: 154 end line: 160 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 335 unit: private def findMistakesInDev() file: common/src/main/scala/com/gu/media/youtube/YouTubeVideos.scala start line: 173 end line: 183 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 336 unit: def unapply() file: common/src/main/scala/com/gu/media/youtube/YoutubeUrl.scala start line: 6 end line: 13 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 337 unit: def getActiveAsset() file: common/src/main/scala/com/gu/media/model/MediaAtom.scala start line: 225 end line: 232 size: 7 LOC McCabe index: 4 number of parameters: 0 id: 338 unit: def fromAssets() file: common/src/main/scala/com/gu/media/model/ClientAsset.scala start line: 16 end line: 24 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 339 unit: def layout() file: common/src/main/scala/com/gu/media/logging/Logging.scala start line: 12 end line: 19 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 340 unit: def logRequest() file: common/src/main/scala/com/gu/media/logging/YoutubeRequestLogger.scala start line: 48 end line: 55 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 341 unit: private def getPipelineArn() file: common/src/main/scala/com/gu/media/aws/UploadAccess.scala start line: 36 end line: 44 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 342 unit: def dev() file: common/src/main/scala/com/gu/media/aws/AwsCredentials.scala start line: 12 end line: 23 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 343 unit: def testKinesisAccess() file: common/src/main/scala/com/gu/media/aws/KinesisAccess.scala start line: 42 end line: 48 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 344 unit: def getData() file: common/src/main/scala/com/gu/media/util/MediaAtomImplicits.scala start line: 11 end line: 18 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 345 unit: def getCurrentAssetVersion() file: common/src/main/scala/com/gu/media/util/MediaAtomHelpers.scala start line: 18 end line: 24 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 346 unit: def getCurrentAssetVersion() file: common/src/main/scala/com/gu/media/util/MediaAtomHelpers.scala start line: 26 end line: 32 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 347 unit: def numericIdsOnlyFilter() file: common/src/main/scala/com/gu/media/pluto/PlutoProject.scala start line: 14 end line: 22 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 348 unit: def upsert() file: common/src/main/scala/com/gu/media/pluto/PlutoProjectDataStore.scala start line: 39 end line: 46 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 349 unit: close() file: pluto-message-ingestion/kinesis-message-processor.js start line: 43 end line: 49 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 350 unit: _getToken() file: pluto-message-ingestion/hmac-request.js start line: 12 end line: 20 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 351 unit: nodes: addListNodes() file: public/video-ui/src/components/FormFields/richtext/createSchema.ts start line: 25 end line: 32 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 352 unit: mimeType: parseMimeType() file: public/video-ui/src/util/parseGridMetadata.js start line: 19 end line: 25 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 353 unit: export function tagsToStringList() file: public/video-ui/src/util/tagParsers.js start line: 31 end line: 37 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 354 unit: function receiveProjects() file: public/video-ui/src/actions/PlutoActions/getProjects.js start line: 10 end line: 16 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 355 unit: function receiveCommissions() file: public/video-ui/src/actions/PlutoActions/getCommissions.js start line: 10 end line: 16 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 356 unit: function requestAssetDelete() file: public/video-ui/src/actions/VideoActions/deleteAsset.js start line: 4 end line: 10 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 357 unit: function receiveAssetDelete() file: public/video-ui/src/actions/VideoActions/deleteAsset.js start line: 12 end line: 18 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 358 unit: function requestAssetCreate() file: public/video-ui/src/actions/VideoActions/createAsset.js start line: 9 end line: 15 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 359 unit: function receiveAssetCreate() file: public/video-ui/src/actions/VideoActions/createAsset.js start line: 17 end line: 23 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 360 unit: export function populateEmptyAsset() file: public/video-ui/src/actions/VideoActions/createAsset.js start line: 49 end line: 55 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 361 unit: function receiveVideoPageCreate() file: public/video-ui/src/actions/VideoActions/videoPageCreate.js start line: 11 end line: 17 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 362 unit: function requestVideo() file: public/video-ui/src/actions/VideoActions/getVideo.js start line: 5 end line: 11 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 363 unit: function receiveVideo() file: public/video-ui/src/actions/VideoActions/getVideo.js start line: 13 end line: 19 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 364 unit: function requestRevertAsset() file: public/video-ui/src/actions/VideoActions/revertAsset.js start line: 4 end line: 10 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 365 unit: function requestPublishedVideo() file: public/video-ui/src/actions/VideoActions/getPublishedVideo.js start line: 3 end line: 9 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 366 unit: function receivePublishedVideo() file: public/video-ui/src/actions/VideoActions/getPublishedVideo.js start line: 11 end line: 17 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 367 unit: function requestVideoSave() file: public/video-ui/src/actions/VideoActions/saveVideo.js start line: 3 end line: 9 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 368 unit: function receiveVideoPageUpdate() file: public/video-ui/src/actions/VideoActions/saveVideo.js start line: 11 end line: 17 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 369 unit: function receiveVideoSave() file: public/video-ui/src/actions/VideoActions/saveVideo.js start line: 19 end line: 25 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 370 unit: function receiveVideoUsages() file: public/video-ui/src/actions/VideoActions/saveVideo.js start line: 27 end line: 33 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 371 unit: export function updateVideoEditState() file: public/video-ui/src/actions/VideoActions/updateVideoEditState.js start line: 1 end line: 7 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 372 unit: export function updateVideo() file: public/video-ui/src/actions/VideoActions/updateVideo.js start line: 2 end line: 8 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 373 unit: function requestVideoPublish() file: public/video-ui/src/actions/VideoActions/publishVideo.js start line: 3 end line: 9 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 374 unit: function receiveVideoPublish() file: public/video-ui/src/actions/VideoActions/publishVideo.js start line: 11 end line: 17 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 375 unit: function errorVideoPublish() file: public/video-ui/src/actions/VideoActions/publishVideo.js start line: 19 end line: 25 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 376 unit: function receiveVideoUsages() file: public/video-ui/src/actions/VideoActions/videoUsages.js start line: 12 end line: 18 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 377 unit: function receiveAddProject() file: public/video-ui/src/actions/PlutoIdActions/addProject.js start line: 10 end line: 16 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 378 unit: function receiveGetTarget() file: public/video-ui/src/actions/TargetingActions/getTargets.js start line: 10 end line: 16 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 379 unit: function requestUpdateTarget() file: public/video-ui/src/actions/TargetingActions/updateTarget.js start line: 4 end line: 10 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 380 unit: function receiveCreateTarget() file: public/video-ui/src/actions/TargetingActions/createTarget.js start line: 10 end line: 16 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 381 unit: function requestDeleteTarget() file: public/video-ui/src/actions/TargetingActions/deleteTarget.js start line: 3 end line: 9 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 382 unit: function receiveDeleteTarget() file: public/video-ui/src/actions/TargetingActions/deleteTarget.js start line: 11 end line: 17 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 383 unit: function errorDeleteTarget() file: public/video-ui/src/actions/TargetingActions/deleteTarget.js start line: 19 end line: 25 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 384 unit: function receiveChannels() file: public/video-ui/src/actions/YoutubeActions/getChannels.js start line: 10 end line: 16 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 385 unit: function receiveCategories() file: public/video-ui/src/actions/YoutubeActions/getCategories.js start line: 11 end line: 17 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 386 unit: function receiveTrackInWorkflow() file: public/video-ui/src/actions/WorkflowActions/trackInWorkflow.js start line: 10 end line: 16 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 387 unit: function receiveStatus() file: public/video-ui/src/actions/WorkflowActions/getStatus.js start line: 11 end line: 17 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 388 unit: function receiveStatus404() file: public/video-ui/src/actions/WorkflowActions/getStatus.js start line: 19 end line: 25 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 389 unit: export function localUpdateWorkflowData() file: public/video-ui/src/actions/WorkflowActions/localUpdateWorkflowData.js start line: 2 end line: 8 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 390 unit: function receiveDataUpdate() file: public/video-ui/src/actions/WorkflowActions/updateWorkflowData.js start line: 10 end line: 16 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 391 unit: export function updateShouldUseCreatedDateForSort() file: public/video-ui/src/actions/SearchActions/updateShouldUseCreatedDateForSort.js start line: 1 end line: 7 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 392 unit: export function updateSearchTerm() file: public/video-ui/src/actions/SearchActions/updateSearchTerm.js start line: 1 end line: 7 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 393 unit: function runningUploads() file: public/video-ui/src/actions/UploadActions/getUploads.js start line: 4 end line: 10 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 394 unit: function uploadStarted() file: public/video-ui/src/actions/UploadActions/s3Upload.js start line: 4 end line: 10 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 395 unit: function uploadProgress() file: public/video-ui/src/actions/UploadActions/s3Upload.js start line: 12 end line: 18 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 396 unit: export function updateFormWarnings() file: public/video-ui/src/actions/FormErrorActions/updateFormWarnings.js start line: 1 end line: 7 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 397 unit: export function updateFormErrors() file: public/video-ui/src/actions/FormErrorActions/updateFormErrors.js start line: 1 end line: 7 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 398 unit: preventPublication() file: public/video-ui/src/services/VideosApi.ts start line: 357 end line: 374 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 399 unit: private def start() file: uploader/src/main/scala/com/gu/media/upload/MultipartCopyChunkInS3.scala start line: 21 end line: 28 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 400 unit: private def getAtom() file: uploader/src/main/scala/com/gu/media/upload/AddAssetToAtom.scala start line: 43 end line: 48 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 401 unit: private def retry() file: uploader/src/main/scala/com/gu/media/upload/GetChunkFromS3.scala start line: 28 end line: 33 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 402 unit: private def chunk() file: app/util/UploadBuilder.scala start line: 62 end line: 68 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 403 unit: def isInTrainingMode() file: app/util/TrainingMode.scala start line: 9 end line: 14 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 404 unit: override def invokeBlock[A]() file: app/controllers/AtomController.scala start line: 54 end line: 59 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 405 unit: def allowCORSAccess() file: app/controllers/Api.scala start line: 41 end line: 46 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 406 unit: def upsertProject() file: app/controllers/PlutoController.scala start line: 71 end line: 76 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 407 unit: def build() file: common/src/main/scala/com/gu/media/youtube/package.scala start line: 109 end line: 114 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 408 unit: def build() file: common/src/main/scala/com/gu/media/youtube/package.scala start line: 169 end line: 174 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 409 unit: private def isLiveStream() file: common/src/main/scala/com/gu/media/youtube/YouTubeProcessingStatus.scala start line: 41 end line: 46 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 410 unit: def getErrorToClient() file: common/src/main/scala/com/gu/media/model/VideoUpdateError.scala start line: 4 end line: 9 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 411 unit: private def createUploadSTSClient() file: common/src/main/scala/com/gu/media/aws/UploadAccess.scala start line: 28 end line: 34 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 412 unit: def sendOnKinesis[T: Writes]() file: common/src/main/scala/com/gu/media/aws/KinesisAccess.scala start line: 33 end line: 40 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 413 unit: private def sendKinesisMessage() file: common/src/main/scala/com/gu/media/upload/PlutoUploadActions.scala start line: 38 end line: 43 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 414 unit: def parseId() file: common/src/main/scala/com/gu/media/util/ThriftUtil.scala start line: 27 end line: 32 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 415 unit: def put() file: common/src/main/scala/com/gu/media/util/HMACClient.scala start line: 46 end line: 52 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 416 unit: def reads() file: common/src/main/scala/com/gu/media/util/JsonDate.scala start line: 14 end line: 19 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 417 unit: def build() file: common/src/main/scala/com/gu/media/pluto/PlutoProject.scala start line: 25 end line: 30 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 418 unit: function fieldValueTooLong() file: public/video-ui/src/util/validateField.js start line: 45 end line: 51 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 419 unit: export function findSmallestAssetAboveWidth() file: public/video-ui/src/util/imageHelpers.ts start line: 22 end line: 31 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 420 unit: static getActiveAsset() file: public/video-ui/src/util/video.js start line: 11 end line: 16 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 421 unit: static getAvailableChannels() file: public/video-ui/src/util/video.js start line: 64 end line: 69 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 422 unit: export function isVideoPublished() file: public/video-ui/src/util/isVideoPublished.ts start line: 3 end line: 9 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 423 unit: export function hasVideoExpired() file: public/video-ui/src/util/isVideoPublished.ts start line: 11 end line: 17 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 424 unit: function requestProjects() file: public/video-ui/src/actions/PlutoActions/getProjects.js start line: 3 end line: 8 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 425 unit: function requestCommissions() file: public/video-ui/src/actions/PlutoActions/getCommissions.js start line: 3 end line: 8 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 426 unit: function requestVideoPageCreate() file: public/video-ui/src/actions/VideoActions/videoPageCreate.js start line: 4 end line: 9 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 427 unit: function requestVideoUsages() file: public/video-ui/src/actions/VideoActions/videoUsages.js start line: 5 end line: 10 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 428 unit: function requestVideoCreate() file: public/video-ui/src/actions/VideoActions/createVideo.js start line: 4 end line: 9 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 429 unit: export function populateEmptyVideo() file: public/video-ui/src/actions/VideoActions/createVideo.js start line: 38 end line: 43 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 430 unit: function requestAddProject() file: public/video-ui/src/actions/PlutoIdActions/addProject.js start line: 3 end line: 8 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 431 unit: function requestGetTargets() file: public/video-ui/src/actions/TargetingActions/getTargets.js start line: 3 end line: 8 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 432 unit: function receiveUpdateTarget() file: public/video-ui/src/actions/TargetingActions/updateTarget.js start line: 12 end line: 17 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 433 unit: export function updateTarget() file: public/video-ui/src/actions/TargetingActions/updateTarget.js start line: 36 end line: 41 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 434 unit: function requestCreateTarget() file: public/video-ui/src/actions/TargetingActions/createTarget.js start line: 3 end line: 8 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 435 unit: function requestChannels() file: public/video-ui/src/actions/YoutubeActions/getChannels.js start line: 3 end line: 8 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 436 unit: function requestCategories() file: public/video-ui/src/actions/YoutubeActions/getCategories.js start line: 4 end line: 9 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 437 unit: function requestTrackInWorkflow() file: public/video-ui/src/actions/WorkflowActions/trackInWorkflow.js start line: 3 end line: 8 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 438 unit: function requestStatus() file: public/video-ui/src/actions/WorkflowActions/getStatus.js start line: 4 end line: 9 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 439 unit: function requestDataUpdate() file: public/video-ui/src/actions/WorkflowActions/updateWorkflowData.js start line: 3 end line: 8 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 440 unit: function uploadComplete() file: public/video-ui/src/actions/UploadActions/s3Upload.js start line: 20 end line: 25 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 441 unit: static search() file: public/video-ui/src/services/capi.ts start line: 48 end line: 54 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 442 unit: static _getResponseAsJson() file: public/video-ui/src/services/WorkflowApi.js start line: 16 end line: 21 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 443 unit: private def saveAtom() file: uploader/src/main/scala/com/gu/media/upload/AddAssetToAtom.scala start line: 50 end line: 55 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 444 unit: private def getJob() file: uploader/src/main/scala/com/gu/media/upload/GetTranscodingProgress.scala start line: 34 end line: 39 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 445 unit: private def getResultingPrivacyStatus() file: app/model/commands/PublishAtomCommand.scala start line: 107 end line: 112 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 446 unit: private def noAlerts() file: app/model/commands/CommandException.scala start line: 103 end line: 108 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 447 unit: private def getNextAssetVersionNumber() file: app/model/commands/AddAssetCommand.scala start line: 117 end line: 121 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 448 unit: def getDateIfNotPublished() file: app/model/commands/UpdateAtomCommand.scala start line: 26 end line: 30 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 449 unit: private def notifyPluto() file: app/model/commands/UpdateAtomCommand.scala start line: 118 end line: 122 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 450 unit: def getPreviewAtom() file: app/data/DataStores.scala start line: 68 end line: 72 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 451 unit: def getPublishedAtom() file: app/data/DataStores.scala start line: 74 end line: 78 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 452 unit: def deletePreviewAtom() file: app/data/DataStores.scala start line: 80 end line: 84 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 453 unit: def deletePublishedAtom() file: app/data/DataStores.scala start line: 86 end line: 90 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 454 unit: private def getRuntimeMetadata() file: app/util/UploadBuilder.scala start line: 56 end line: 60 size: 5 LOC McCabe index: 5 number of parameters: 2 id: 455 unit: def apply[T]() file: app/util/Memoize.scala start line: 10 end line: 15 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 456 unit: private def getGridImageAsset() file: app/util/ThumbnailGenerator.scala start line: 21 end line: 25 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 457 unit: private def imageAssetToBufferedImage() file: app/util/ThumbnailGenerator.scala start line: 27 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 458 unit: def getJobs() file: app/util/StepFunctions.scala start line: 28 end line: 33 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 459 unit: private def lessThan10MinutesOld() file: app/util/StepFunctions.scala start line: 85 end line: 90 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 460 unit: def getById() file: app/controllers/YoutubeTagController.scala start line: 12 end line: 20 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 461 unit: def training() file: app/controllers/VideoUIApp.scala start line: 71 end line: 75 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 462 unit: def deleteCommission() file: app/controllers/PlutoController.scala start line: 65 end line: 69 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 463 unit: def getAdvertisingOptions() file: common/src/main/scala/com/gu/media/youtube/YouTubePartnerApi.scala start line: 236 end line: 240 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 464 unit: def build() file: common/src/main/scala/com/gu/media/youtube/package.scala start line: 102 end line: 107 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 465 unit: private def humanizeFailureReason() file: common/src/main/scala/com/gu/media/youtube/YouTubeProcessingStatus.scala start line: 70 end line: 74 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 466 unit: def app() file: common/src/main/scala/com/gu/media/aws/AwsCredentials.scala start line: 25 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 467 unit: private def devUpload() file: common/src/main/scala/com/gu/media/aws/AwsCredentials.scala start line: 38 end line: 45 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 468 unit: private def assumeCrossAccountRole() file: common/src/main/scala/com/gu/media/aws/AwsCredentials.scala start line: 47 end line: 52 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 469 unit: def apply() file: common/src/main/scala/com/gu/media/upload/UploadKeys.scala start line: 23 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 470 unit: def parseAsset() file: common/src/main/scala/com/gu/media/util/ThriftUtil.scala start line: 34 end line: 38 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 471 unit: def unapply() file: common/src/main/scala/com/gu/media/util/ThriftUtil.scala start line: 122 end line: 126 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 472 unit: def get() file: common/src/main/scala/com/gu/media/util/HMACClient.scala start line: 34 end line: 39 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 473 unit: def upsert() file: common/src/main/scala/com/gu/media/pluto/PlutoCommissionDataStore.scala start line: 31 end line: 35 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 474 unit: def hasAnyAtomMakerPermission() file: common/src/main/scala/com/gu/media/Permissions.scala start line: 51 end line: 55 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 475 unit: def getMandatoryString() file: common/src/main/scala/com/gu/media/Settings.scala start line: 13 end line: 17 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 476 unit: constructor() file: public/video-ui/src/constants/FieldNotification.ts start line: 6 end line: 10 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 477 unit: static forForm() file: public/video-ui/src/constants/privacyStates.js start line: 6 end line: 10 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 478 unit: function parseAsset() file: public/video-ui/src/util/parseGridMetadata.js start line: 16 end line: 27 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 479 unit: function getComposerMasterAsset() file: public/video-ui/src/util/parseGridMetadata.js start line: 55 end line: 59 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 480 unit: static getScheduledLaunch() file: public/video-ui/src/util/video.js start line: 118 end line: 122 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 481 unit: static getEmbargo() file: public/video-ui/src/util/video.js start line: 124 end line: 128 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 482 unit: export default function saveState() file: public/video-ui/src/reducers/saveStateReducer.js start line: 3 end line: 7 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 483 unit: status: defaultWorkflowStatusData() file: public/video-ui/src/actions/WorkflowActions/getStatus.js start line: 23 end line: 28 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 484 unit: export function getYoutubeCategories() file: public/video-ui/src/services/YoutubeApi.js start line: 3 end line: 7 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 485 unit: export function getYoutubeChannels() file: public/video-ui/src/services/YoutubeApi.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 486 unit: export function getProcessingStatus() file: public/video-ui/src/services/YoutubeApi.js start line: 15 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 487 unit: static getUrl() file: public/video-ui/src/services/capi.ts start line: 34 end line: 38 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 488 unit: static getLivePage() file: public/video-ui/src/services/capi.ts start line: 67 end line: 71 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 489 unit: export function getUploads() file: public/video-ui/src/services/UploadsApi.js start line: 20 end line: 24 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 490 unit: export function uploadParts() file: public/video-ui/src/services/UploadsApi.js start line: 95 end line: 116 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 491 unit: export function getPlutoCommissions() file: public/video-ui/src/services/PlutoApi.js start line: 3 end line: 7 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 492 unit: export function getPlutoProjects() file: public/video-ui/src/services/PlutoApi.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 493 unit: export function getPlutoItemById() file: public/video-ui/src/services/PlutoApi.js start line: 15 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 494 unit: data: cleanVideoData() file: public/video-ui/src/services/VideosApi.ts start line: 159 end line: 164 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 495 unit: private def getDescription() file: uploader/src/main/scala/com/gu/media/upload/GetTranscodingProgress.scala start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 496 unit: override def handle() file: uploader/src/main/scala/com/gu/media/upload/AddUploadDataToCache.scala start line: 12 end line: 15 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 497 unit: override def handle() file: uploader/src/main/scala/com/gu/media/upload/SendToPluto.scala start line: 16 end line: 19 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 498 unit: private def getDomain() file: app/model/commands/CommandException.scala start line: 74 end line: 77 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 499 unit: private def fromAtom() file: app/data/AtomListStore.scala start line: 113 end line: 117 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 500 unit: def apply() file: app/data/AtomListStore.scala start line: 122 end line: 125 size: 4 LOC McCabe index: 3 number of parameters: 3 id: 501 unit: override def onProdServerError() file: app/util/RequestLogging.scala start line: 18 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 502 unit: override def onClientError() file: app/util/RequestLogging.scala start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 503 unit: def forKey() file: app/util/CredentialsGenerator.scala start line: 10 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 504 unit: def start() file: app/util/PlutoMessageConsumer.scala start line: 20 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 505 unit: private def buildReindexer() file: app/di.scala start line: 141 end line: 146 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 506 unit: private def getPart() file: app/controllers/UploadController.scala start line: 99 end line: 102 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 507 unit: def getMediaAtoms() file: app/controllers/Api.scala start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 508 unit: def getCommissions() file: app/controllers/PlutoController.scala start line: 31 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 509 unit: def getProjectsByCommissionId() file: app/controllers/PlutoController.scala start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 510 unit: def channelsWithData() file: common/src/main/scala/com/gu/media/youtube/YouTubeAccess.scala start line: 109 end line: 112 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 511 unit: def accessToken() file: common/src/main/scala/com/gu/media/youtube/YouTubeAccess.scala start line: 114 end line: 117 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 512 unit: def withContentBundleTags() file: common/src/main/scala/com/gu/media/youtube/package.scala start line: 195 end line: 198 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 513 unit: def withoutContentBundleTags() file: common/src/main/scala/com/gu/media/youtube/package.scala start line: 200 end line: 203 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 514 unit: private def humanizeProcessingFailureReason() file: common/src/main/scala/com/gu/media/youtube/YouTubeProcessingStatus.scala start line: 87 end line: 90 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 515 unit: def fromThrift() file: common/src/main/scala/com/gu/media/model/Image.scala start line: 15 end line: 19 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 516 unit: def fromThrift() file: common/src/main/scala/com/gu/media/model/Image.scala start line: 26 end line: 30 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 517 unit: def lambda() file: common/src/main/scala/com/gu/media/aws/AwsCredentials.scala start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 518 unit: private def makeRequest() file: common/src/main/scala/com/gu/media/util/HMACClient.scala start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 519 unit: def put() file: common/src/main/scala/com/gu/media/util/HMACClient.scala start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 520 unit: def addAsset() file: common/src/main/scala/com/gu/media/util/MediaAtomHelpers.scala start line: 38 end line: 42 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 521 unit: def getById() file: common/src/main/scala/com/gu/media/pluto/PlutoCommissionDataStore.scala start line: 16 end line: 19 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 522 unit: def delete() file: common/src/main/scala/com/gu/media/pluto/PlutoCommissionDataStore.scala start line: 37 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 523 unit: def getById() file: common/src/main/scala/com/gu/media/pluto/PlutoProjectDataStore.scala start line: 24 end line: 27 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 524 unit: def deleteByCommissionId() file: common/src/main/scala/com/gu/media/pluto/PlutoProjectDataStore.scala start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 525 unit: private def getAllowedResponseCodes() file: common/src/main/scala/com/gu/media/CapiAccess.scala start line: 47 end line: 50 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 526 unit: def capiQuery() file: common/src/main/scala/com/gu/media/CapiAccess.scala start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 527 unit: constructor() file: pluto-message-ingestion/pluto-message-processor.js start line: 6 end line: 9 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 528 unit: _deleteProject() file: pluto-message-ingestion/pluto-message-processor.js start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 529 unit: constructor() file: pluto-message-ingestion/hmac-request.js start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 530 unit: function mapDispatchToProps() file: public/video-ui/src/pages/Search/index.tsx start line: 198 end line: 202 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 531 unit: static getAvailablePrivacyStates() file: public/video-ui/src/util/video.js start line: 71 end line: 74 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 532 unit: static getScheduledLaunchAsDate() file: public/video-ui/src/util/video.js start line: 130 end line: 133 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 533 unit: static getEmbargoAsDate() file: public/video-ui/src/util/video.js start line: 135 end line: 138 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 534 unit: private def assetAlreadyExists() file: app/model/commands/AddAssetCommand.scala start line: 123 end line: 125 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 535 unit: def getAtoms() file: app/data/AtomListStore.scala start line: 14 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 536 unit: def fromEvent() file: app/util/NotifyingAtomPublisher.scala start line: 39 end line: 41 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 537 unit: def listCategories() file: app/controllers/Youtube.scala start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 538 unit: def put() file: common/src/main/scala/com/gu/media/PlutoDataStore.scala start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 539 unit: def delete() file: common/src/main/scala/com/gu/media/PlutoDataStore.scala start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 540 unit: def logMessage() file: common/src/main/scala/com/gu/media/model/AuditMessage.scala start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 541 unit: def asThrift = ThriftAsset.apply() file: common/src/main/scala/com/gu/media/model/Asset.scala start line: 13 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 5 id: 542 unit: def isOnCommercialChannel() file: common/src/main/scala/com/gu/media/model/MediaAtom.scala start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 543 unit: def asThrift: ThriftPlutoData = ThriftPlutoData() file: common/src/main/scala/com/gu/media/model/PlutoData.scala start line: 13 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 544 unit: def build() file: common/src/main/scala/com/gu/media/model/PlutoIntegrationData.scala start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 545 unit: def asThrift = ThriftPlatform.valueOf() file: common/src/main/scala/com/gu/media/model/Platform.scala start line: 8 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 546 unit: def asThrift = ThriftImageAssetDimensions() file: common/src/main/scala/com/gu/media/model/Image.scala start line: 9 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 547 unit: def asThrift = ThriftImageAsset() file: common/src/main/scala/com/gu/media/model/Image.scala start line: 20 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 548 unit: def asThrift = ThriftImage() file: common/src/main/scala/com/gu/media/model/Image.scala start line: 31 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 549 unit: def asThrift = ThriftChangeRecord() file: common/src/main/scala/com/gu/media/model/ChangeRecord.scala start line: 13 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 550 unit: def now() file: common/src/main/scala/com/gu/media/model/ChangeRecord.scala start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 551 unit: def asThrift = ThriftPrivacyStatus.valueOf() file: common/src/main/scala/com/gu/media/model/PrivacyStatus.scala start line: 8 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 552 unit: def asThrift = ThriftCategory.valueOf() file: common/src/main/scala/com/gu/media/model/Category.scala start line: 9 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 553 unit: def asThrift = ThriftUser() file: common/src/main/scala/com/gu/media/model/User.scala start line: 9 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 554 unit: def asThrift = ThriftContentChangeDetails() file: common/src/main/scala/com/gu/media/model/ContentChangeDetails.scala start line: 17 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 555 unit: def asThrift = ThriftAssetType.valueOf() file: common/src/main/scala/com/gu/media/model/AssetType.scala start line: 9 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 556 unit: private def disableExistingAppender() file: common/src/main/scala/com/gu/media/logging/LambdaElkLoggingFormat.scala start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 557 unit: def buildUri() file: common/src/main/scala/com/gu/media/aws/HMACSettings.scala start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 558 unit: private def startOfLastChunk() file: common/src/main/scala/com/gu/media/upload/model/Upload.scala start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 559 unit: def indeterminate() file: common/src/main/scala/com/gu/media/upload/model/UploadStatus.scala start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 560 unit: def writes() file: common/src/main/scala/com/gu/media/util/JsonDate.scala start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 561 unit: def toSeconds() file: common/src/main/scala/com/gu/media/util/JsonDate.scala start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 562 unit: def getNextAssetVersion() file: common/src/main/scala/com/gu/media/util/MediaAtomHelpers.scala start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 563 unit: process() file: pluto-message-ingestion/kinesis-message-processor.js start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 564 unit: static get stack() file: pluto-message-ingestion/environment-config.js start line: 2 end line: 4 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 565 unit: static get stage() file: pluto-message-ingestion/environment-config.js start line: 6 end line: 8 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 566 unit: static get app() file: pluto-message-ingestion/environment-config.js start line: 10 end line: 12 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 567 unit: static get isDev() file: pluto-message-ingestion/environment-config.js start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 568 unit: static get bucket() file: pluto-message-ingestion/environment-config.js start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 569 unit: static get region() file: pluto-message-ingestion/environment-config.js start line: 22 end line: 24 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 570 unit: static get profile() file: pluto-message-ingestion/environment-config.js start line: 26 end line: 28 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 571 unit: post() file: pluto-message-ingestion/hmac-request.js start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 572 unit: put() file: pluto-message-ingestion/hmac-request.js start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 573 unit: delete() file: pluto-message-ingestion/hmac-request.js start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 574 unit: componentDidMount() file: public/video-ui/src/components/FormFields/RichTextField.tsx start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 575 unit: plugins: createBasePlugins() file: public/video-ui/src/components/FormFields/richtext/setup.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 576 unit: static get selectedScheduleDate() file: public/video-ui/src/constants/datesProperties.ts start line: 2 end line: 4 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 577 unit: static get selectedEmbargoDate() file: public/video-ui/src/constants/datesProperties.ts start line: 5 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 578 unit: static get delete() file: public/video-ui/src/constants/UserActions.ts start line: 2 end line: 4 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 579 unit: static get other() file: public/video-ui/src/constants/UserActions.ts start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 580 unit: static get contributor() file: public/video-ui/src/constants/TagTypes.ts start line: 2 end line: 4 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 581 unit: static get tracking() file: public/video-ui/src/constants/TagTypes.ts start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 582 unit: static get keyword() file: public/video-ui/src/constants/TagTypes.ts start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 583 unit: static get series() file: public/video-ui/src/constants/TagTypes.ts start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 584 unit: static get youtube() file: public/video-ui/src/constants/TagTypes.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 585 unit: static get tone() file: public/video-ui/src/constants/TagTypes.ts start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 586 unit: static get commercial() file: public/video-ui/src/constants/TagTypes.ts start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 587 unit: static get usages() file: public/video-ui/src/constants/ErrorMessages.ts start line: 2 end line: 4 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 588 unit: static get maxCharacters() file: public/video-ui/src/constants/youTubeKeywords.ts start line: 2 end line: 4 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 589 unit: static get defaultStates() file: public/video-ui/src/constants/privacyStates.js start line: 2 end line: 4 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 590 unit: static get warning() file: public/video-ui/src/constants/requiredForComposer.ts start line: 2 end line: 4 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 591 unit: static get error() file: public/video-ui/src/constants/requiredForComposer.ts start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 592 unit: static get fields() file: public/video-ui/src/constants/requiredForComposer.ts start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 593 unit: static hasAssets() file: public/video-ui/src/util/video.js start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 594 unit: static isCommercialType() file: public/video-ui/src/util/video.js start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 595 unit: static isLiveStream() file: public/video-ui/src/util/video.js start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 596 unit: static isHosted() file: public/video-ui/src/util/video.js start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 597 unit: static canUploadToYouTube() file: public/video-ui/src/util/video.js start line: 114 end line: 116 size: 3 LOC McCabe index: 3 number of parameters: 3 id: 598 unit: static isPublished() file: public/video-ui/src/util/video.js start line: 140 end line: 142 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 599 unit: static hasExpired() file: public/video-ui/src/util/video.js start line: 144 end line: 146 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 600 unit: export default function removeTagDuplicates() file: public/video-ui/src/util/removeTagDuplicates.js start line: 1 end line: 3 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 601 unit: export function setStore() file: public/video-ui/src/util/storeAccessor.js start line: 3 end line: 5 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 602 unit: export function getStore() file: public/video-ui/src/util/storeAccessor.js start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 603 unit: static log() file: public/video-ui/src/logger.js start line: 4 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 604 unit: static error() file: public/video-ui/src/logger.js start line: 9 end line: 11 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 605 unit: static get published() file: public/video-ui/src/services/capi.ts start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 606 unit: static get preview() file: public/video-ui/src/services/capi.ts start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 607 unit: static get proxyUrl() file: public/video-ui/src/services/capi.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 608 unit: static get liveProxyUrl() file: public/video-ui/src/services/capi.ts start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 609 unit: static get workflowUrl() file: public/video-ui/src/services/WorkflowApi.js start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 610 unit: static workflowItemLink() file: public/video-ui/src/services/WorkflowApi.js start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 611 unit: static _cleanUpWorkflowData() file: public/video-ui/src/services/WorkflowApi.js start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 612 unit: export function getPlutoProjectLink() file: public/video-ui/src/services/PlutoApi.js start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 613 unit: function getComposerUrl() file: public/video-ui/src/services/VideosApi.ts start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 614 unit: static get targetingUrl() file: public/video-ui/src/services/TargetingApi.js start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 615 unit: private def getUpload() file: app/util/UploadDecorator.scala start line: 31 end line: 32 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 616 unit: def regionFrom() file: common/src/main/scala/com/gu/media/aws/AwsAccess.scala start line: 29 end line: 30 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 617 unit: export default function targeting() file: public/video-ui/src/reducers/targetingReducer.js start line: 3 end line: 4 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 618 unit: export default function videos() file: public/video-ui/src/reducers/videosReducer.js start line: 3 end line: 4 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 619 unit: export default function youtube() file: public/video-ui/src/reducers/youtubeReducer.js start line: 1 end line: 2 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 620 unit: def getString() file: common/src/main/scala/com/gu/media/Settings.scala start line: 9 end line: 9 size: 1 LOC McCabe index: 2 number of parameters: 1 id: 621 unit: def getStringSet() file: common/src/main/scala/com/gu/media/Settings.scala start line: 10 end line: 10 size: 1 LOC McCabe index: 2 number of parameters: 1 id: 622 unit: def getBoolean() file: common/src/main/scala/com/gu/media/Settings.scala start line: 11 end line: 11 size: 1 LOC McCabe index: 2 number of parameters: 1 id: 623 unit: videoActions: bindActionCreators() file: public/video-ui/src/pages/Search/index.tsx start line: 200 end line: 200 size: 1 LOC McCabe index: 1 number of parameters: 2