Code
- me.getPassword
- me.getTemplate
- me.getPasteKey
- me.init
- privatebin.js ➔ supportTabs
- privatebin.js ➔ viewEditor
- $(document).ready
- me.loadTranslations
- Helper.constructor
- me.run
- I18n.constructor
- me.getPasteData
- privatebin.js ➔ pasteLinkClick
- privatebin.js ➔ initTemplates
- PasteViewer.constructor
- me.removeAttachmentData
- me.sendPaste
- me.loadTranslations
- me.translate
- privatebin.js ➔ rawText
- me.hasAttachmentData
- me.hideFileSelector
- AttachmentViewer.constructor
- me.addComment
- me.getSymmetricKey
- me.run
- privatebin.js ➔ handleNotification
- me.prepareNewDiscussion
- me.setUnencryptedData
- me.getAttachmentLink
- me.getPasteData
- me.show
- PasteDecrypter.constructor
- me.removeAttachment
- me.sendPaste
- me.showBadBotMessage
- me.hide
- privatebin.js ➔ viewPreview
- me.setUrl
- privatebin.js ➔ addDragDropHandler
- privatebin.js ➔ ... ➔ $(document).paste
- privatebin.js ➔ sendToShortener
- privatebin.js ➔ addClipboardEventHandler
- me.isEntropyReady
- me.focusInput
- privatebin.js ➔ decryptPaste
- PasteEncrypter.constructor
- me.showLoading
- me.showStatus
- me.setCustomHandler
- me.getCookie
- me.urls2links
- privatebin.js ➔ showCreatedPaste
- me.run
- me.hideStatusMessages
- me.refreshPaste
- Model.constructor
- me.sprintf
- me.mockHistoryChange
- jQuery.PrivateBin.constructor
- privatebin.js ➔ clickRetryButton
- privatebin.js ➔ decompress
- me.hideMessages
- me.getAttachment
- me.removePaste
- UiHelper.constructor
- me.getReplyCommentId
- me.hideLoading
- me.setAttachment
- Prompt.constructor
- me.getPasteData
- me.hideAttachment
- me.selectText
- me.sendPaste
- Alert.constructor
- me.showPaste
- me.setUnencryptedBulkData
- privatebin.js ➔ ... ➔ Controller.refreshPaste
- me.createPasteNotification
- me.scrollTo
- me.getAttachmentPreview
- privatebin.js ➔ submitPasswordModal
- me.refreshPaste
- privatebin.js ➔ parsePaste
- me.getText
- me.reset
- me.finishDiscussion
- privatebin.js ➔ showUploadedComment
- me.resetInput
- DiscussionViewer.constructor
- me.highlightComment
- me.getBurnAfterReading
- me.getFormatDefault
- me.handleNotification
- privatebin.js ➔ success
- me.requestPassword
- me.parseUploadError
- privatebin.js ➔ changeBurnAfterReading
- me.loadTranslations
- me.clearDragAndDrop
- me.setCryptParameters
- me.sendComment
- privatebin.js ➔ historyChange
- me.hideRawButton
- me.showRemainingTime
- privatebin.js ➔ compress
- privatebin.js ➔ setLanguage
- me.isPrettyPrinted
- Uploader.constructor
- me.hasDeleteToken
- privatebin.js ➔ checkRequirements
- me.init
- me.cipher
- me.setText
- me.scrollTo
- me.hideAttachmentPreview
- me.baseUri
- me.sprintf
- me.setRetryCallback
- me.sendPaste
- me.addEntropySeedListener
- me.setAttachment
- me.showError
- me.showAttachment
- me.getFormat
- me.getPasteId
- me.sendComment
- me.getExpiration
- CryptTool.constructor
- me.reloadHome
- me.hideViewButtons
- PasteStatus.constructor
- me.addComment
- me.hideCreateButtons
- privatebin.js ➔ fail
- me.getAttachmentData
- Editor.constructor
- privatebin.js ➔ readFileData
- privatebin.js ➔ ... ➔ $fileInput.change
- me.collapseBar
- privatebin.js ➔ decryptAttachment
- me.getPluralForm
- me.getFile
- me.sendComment
- me.clonePaste
- me.getOpenDiscussion
- me.getExpirationDefault
- me.hideRetryButton
- me.run
- me._
- me.highlightComment
- me.highlightComment
- privatebin.js ➔ ... ➔ drop
- me.translate
- TopNav.constructor
- me.refreshPaste
- me.getCustomAttachment
- me.showCustomAttachment
- me.getFileList
- privatebin.js ➔ showPaste
- me.hasAttachment
- privatebin.js ➔ encryptAttachments
- Controller.constructor
- privatebin.js ➔ ... ➔ ignoreDragDrop
- privatebin.js ➔ checkCryptParameters
- me.showViewButtons
- me.setData
- me.moveAttachmentTo
- privatebin.js ➔ changeOpenDiscussion
- me.handleAttachmentPreview
- me.secondsToHuman
- me.removePaste
- me.setFailure
- privatebin.js ➔ clickNewPaste
- privatebin.js ➔ removeAttachment
- privatebin.js ➔ displayQrCode
- privatebin.js ➔ decryptComments
- me.showCreateButtons
- privatebin.js ➔ ... ➔ fileReader.onload
- privatebin.js ➔ updateExpiration
- me.setFormat
- privatebin.js ➔ decryptOrPromptPassword
- me.showRemaining
- me.prepare
- me.isBadBot
- me.newPaste
- me.isVisible
- me.decipher
- me.refreshPaste
- me.hideCloneButton
- me.hideAllButtons
- me.showNewPasteButton
- me.showRetryButton
- me.setSuccess
- me.getReplyMessage
- me.isPreview
- privatebin.js ➔ updateFormat
- privatebin.js ➔ openReply
- me.getReplyNickname
This check looks for functions where a
return
statement is found in some execution paths, but not in all.Consider this little piece of code
The function
isBig
will only return a specific value when its parameter is bigger than 5000. In any other case, it will implicitly returnundefined
.This behaviour may not be what you had intended. In any case, you can add a
return undefined
to the other execution path to make the return value explicit.