id: 1 unit: registerSocketHandlers() file: src/components/Widget/index.js start line: 441 end line: 586 size: 115 LOC McCabe index: 25 number of parameters: 1 id: 2 unit: export default function() file: src/socket-sockjs.js start line: 9 end line: 116 size: 88 LOC McCabe index: 15 number of parameters: 4 id: 3 unit: export default function() file: src/store/reducers/messagesReducer.js start line: 17 end line: 86 size: 66 LOC McCabe index: 17 number of parameters: 1 id: 4 unit: socket.updateAuthHeaders = function() file: src/socket-socketio.js start line: 98 end line: 172 size: 66 LOC McCabe index: 22 number of parameters: 1 id: 5 unit: verifyConditions() file: src/pro-src/rules.js start line: 409 end line: 477 size: 60 LOC McCabe index: 22 number of parameters: 4 id: 6 unit: verifyUrlSequence() file: src/pro-src/rules.js start line: 299 end line: 355 size: 57 LOC McCabe index: 14 number of parameters: 1 id: 7 unit: function makeLogger() file: src/utils/logger.js start line: 15 end line: 92 size: 57 LOC McCabe index: 30 number of parameters: 0 id: 8 unit: createSocket() file: src/index.js start line: 117 end line: 193 size: 56 LOC McCabe index: 9 number of parameters: 0 id: 9 unit: renderButtons() file: src/components/Widget/components/Conversation/components/Messages/components/Buttons/index.js start line: 43 end line: 91 size: 49 LOC McCabe index: 6 number of parameters: 3 id: 10 unit: initEventHandler() file: src/pro-src/rules.js start line: 145 end line: 218 size: 46 LOC McCabe index: 10 number of parameters: 2 id: 11 unit: applyCustomStyle() file: src/components/Widget/index.js start line: 387 end line: 431 size: 41 LOC McCabe index: 15 number of parameters: 0 id: 12 unit: dispatchMessage() file: src/components/Widget/index.js start line: 733 end line: 773 size: 40 LOC McCabe index: 9 number of parameters: 1 id: 13 unit: export default function() file: src/store/reducers/metadataReducer.js start line: 6 end line: 55 size: 39 LOC McCabe index: 11 number of parameters: 1 id: 14 unit: trySendInitPayload() file: src/components/Widget/index.js start line: 617 end line: 660 size: 38 LOC McCabe index: 11 number of parameters: 0 id: 15 unit: initHandler() file: src/pro-src/rules.js start line: 106 end line: 143 size: 35 LOC McCabe index: 9 number of parameters: 0 id: 16 unit: propagateMetadata() file: src/components/Widget/index.js start line: 242 end line: 276 size: 35 LOC McCabe index: 8 number of parameters: 1 id: 17 unit: render() file: src/components/Widget/components/Conversation/components/Messages/components/docViewer/index.js start line: 47 end line: 82 size: 35 LOC McCabe index: 3 number of parameters: 0 id: 18 unit: sendMessage() file: src/components/Widget/index.js start line: 144 end line: 180 size: 34 LOC McCabe index: 7 number of parameters: 4 id: 19 unit: handleBotUtterance() file: src/components/Widget/index.js start line: 278 end line: 332 size: 33 LOC McCabe index: 7 number of parameters: 1 id: 20 unit: render() file: index.js start line: 65 end line: 96 size: 32 LOC McCabe index: 7 number of parameters: 0 id: 21 unit: trySendTooltipPayload() file: src/components/Widget/index.js start line: 662 end line: 699 size: 32 LOC McCabe index: 8 number of parameters: 0 id: 22 unit: render() file: src/components/Widget/index.js start line: 869 end line: 900 size: 32 LOC McCabe index: 1 number of parameters: 0 id: 23 unit: constructor() file: src/pro-src/rules.js start line: 14 end line: 66 size: 31 LOC McCabe index: 3 number of parameters: 3 id: 24 unit: addViz() file: src/pro-src/rules.js start line: 221 end line: 250 size: 30 LOC McCabe index: 8 number of parameters: 2 id: 25 unit: render() file: src/components/Widget/components/Conversation/components/Messages/components/ImgReply/index.js start line: 7 end line: 37 size: 27 LOC McCabe index: 8 number of parameters: 0 id: 26 unit: verifyUrl() file: src/pro-src/rules.js start line: 360 end line: 388 size: 26 LOC McCabe index: 9 number of parameters: 1 id: 27 unit: toggleConversation() file: src/components/Widget/index.js start line: 701 end line: 727 size: 26 LOC McCabe index: 4 number of parameters: 0 id: 28 unit: componentDidMount() file: src/components/Widget/index.js start line: 63 end line: 91 size: 24 LOC McCabe index: 6 number of parameters: 0 id: 29 unit: newMessageTimeout() file: src/components/Widget/index.js start line: 212 end line: 240 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 30 unit: addCustomsEventListeners() file: src/components/Widget/index.js start line: 334 end line: 361 size: 24 LOC McCabe index: 5 number of parameters: 1 id: 31 unit: export function getLocalSession() file: src/store/reducers/helper.js start line: 79 end line: 107 size: 23 LOC McCabe index: 5 number of parameters: 2 id: 32 unit: clearCustomStyle() file: src/components/Widget/index.js start line: 363 end line: 385 size: 23 LOC McCabe index: 6 number of parameters: 0 id: 33 unit: function Arrow() file: assets/arrow.js start line: 7 end line: 30 size: 23 LOC McCabe index: 2 number of parameters: 0 id: 34 unit: storeHistory() file: src/pro-src/rules.js start line: 531 end line: 554 size: 22 LOC McCabe index: 9 number of parameters: 1 id: 35 unit: componentDidUpdate() file: src/components/Widget/components/Conversation/components/Messages/index.js start line: 86 end line: 115 size: 22 LOC McCabe index: 7 number of parameters: 3 id: 36 unit: constructor() file: index.js start line: 9 end line: 28 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 37 unit: handleSessionConfirm() file: index.js start line: 43 end line: 63 size: 20 LOC McCabe index: 8 number of parameters: 1 id: 38 unit: sendMessage() file: src/pro-src/rules.js start line: 510 end line: 529 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 39 unit: initializeWidget() file: src/components/Widget/index.js start line: 588 end line: 611 size: 20 LOC McCabe index: 4 number of parameters: 1 id: 40 unit: function Send() file: assets/send_button.js start line: 5 end line: 25 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: render() file: src/components/Widget/components/Conversation/components/Messages/components/Buttons/index.js start line: 94 end line: 112 size: 19 LOC McCabe index: 4 number of parameters: 0 id: 42 unit: handleMessageReceived() file: src/components/Widget/index.js start line: 182 end line: 201 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 43 unit: export function onRemove() file: src/pro-src/utils.js start line: 1 end line: 16 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 44 unit: export function storeLocalSession() file: src/store/reducers/helper.js start line: 109 end line: 128 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 45 unit: export function onRemove() file: src/utils/dom.js start line: 1 end line: 16 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 46 unit: handleMessageSubmit() file: src/components/Widget/index.js start line: 775 end line: 791 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 47 unit: storeRuleHash() file: src/pro-src/rules.js start line: 82 end line: 102 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 48 unit: verifyQueryStringAndAddEntities() file: src/pro-src/rules.js start line: 481 end line: 495 size: 15 LOC McCabe index: 4 number of parameters: 3 id: 49 unit: export function createButtons() file: src/store/reducers/helper.js start line: 53 end line: 66 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 50 unit: constructor() file: src/components/Widget/index.js start line: 48 end line: 61 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: constructor() file: src/components/Widget/components/Conversation/components/Messages/components/Buttons/index.js start line: 14 end line: 30 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 52 unit: render() file: src/components/Widget/components/Conversation/components/Messages/components/Snippet/index.js start line: 7 end line: 20 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 53 unit: verifyTimeLimit() file: src/pro-src/rules.js start line: 285 end line: 297 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 54 unit: convertQueryStringToJson() file: src/pro-src/rules.js start line: 497 end line: 508 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: export function createNewMessage() file: src/store/reducers/helper.js start line: 6 end line: 17 size: 12 LOC McCabe index: 1 number of parameters: 4 id: 56 unit: emit() file: src/index.js start line: 95 end line: 109 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 57 unit: getSessionIdWithFallback() file: src/components/Widget/index.js start line: 125 end line: 142 size: 12 LOC McCabe index: 8 number of parameters: 0 id: 58 unit: render() file: src/components/Widget/components/Conversation/components/Messages/components/VidReply/index.js start line: 7 end line: 18 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: setRef() file: index.js start line: 30 end line: 41 size: 11 LOC McCabe index: 6 number of parameters: 1 id: 60 unit: timeout: setTimeout() file: src/pro-src/rules.js start line: 198 end line: 215 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: export function createVideoSnippet() file: src/store/reducers/helper.js start line: 29 end line: 39 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 62 unit: export function createImageSnippet() file: src/store/reducers/helper.js start line: 41 end line: 51 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 63 unit: constructor() file: src/components/Widget/components/Conversation/components/Messages/components/docViewer/index.js start line: 8 end line: 18 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: placeQuestionMark() file: src/pro-src/rules.js start line: 262 end line: 271 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 65 unit: verifyMobile() file: src/pro-src/rules.js start line: 273 end line: 282 size: 10 LOC McCabe index: 6 number of parameters: 1 id: 66 unit: static cleanURL() file: src/pro-src/rules.js start line: 390 end line: 399 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: quick_replies: fromJS() file: src/store/reducers/helper.js start line: 59 end line: 69 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: export function createComponentMessage() file: src/store/reducers/helper.js start line: 68 end line: 77 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 69 unit: export async function hashToBase64Url() file: src/utils/auth-utils.js start line: 80 end line: 91 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: export function isCarousel() file: src/components/Widget/msgProcessor.js start line: 1 end line: 10 size: 10 LOC McCabe index: 8 number of parameters: 1 id: 71 unit: placeDot() file: src/pro-src/rules.js start line: 252 end line: 260 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 72 unit: export function createCarousel() file: src/store/reducers/helper.js start line: 19 end line: 27 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 73 unit: buttons: fromJS() file: src/store/reducers/helper.js start line: 60 end line: 69 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: export function send() file: src/store/actions/dispatcher.js start line: 108 end line: 116 size: 9 LOC McCabe index: 4 number of parameters: 3 id: 75 unit: export function safeQuerySelectorAll() file: src/utils/dom.js start line: 19 end line: 27 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 76 unit: export function generateCodeVerifier() file: src/utils/auth-utils.js start line: 65 end line: 73 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: export function createComponentMessage() file: src/utils/messages.js start line: 4 end line: 12 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 78 unit: componentWillUnmount() file: src/components/Widget/index.js start line: 106 end line: 115 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 79 unit: handleClick() file: src/components/Widget/components/Conversation/components/Messages/components/Buttons/index.js start line: 32 end line: 41 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: static removeEventListeners() file: src/pro-src/rules.js start line: 68 end line: 75 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: export function addUserMessage() file: src/store/actions/index.js start line: 76 end line: 83 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 82 unit: export function renderCustomComponent() file: src/store/actions/index.js start line: 143 end line: 150 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 83 unit: export default function() file: src/socket.js start line: 5 end line: 13 size: 8 LOC McCabe index: 3 number of parameters: 6 id: 84 unit: componentDidUpdate() file: src/components/Widget/index.js start line: 93 end line: 104 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 85 unit: popLastMessage() file: src/components/Widget/index.js start line: 203 end line: 210 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 86 unit: constructor() file: src/components/Widget/components/Conversation/components/Messages/index.js start line: 45 end line: 52 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: function handleSubmit() file: src/components/Widget/components/Conversation/components/Sender/index.js start line: 15 end line: 22 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: function onEnterPress() file: src/components/Widget/components/Conversation/components/Sender/index.js start line: 25 end line: 34 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 89 unit: function() file: test-setup.js start line: 8 end line: 14 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: fetchHistory() file: src/pro-src/rules.js start line: 556 end line: 562 size: 7 LOC McCabe index: 5 number of parameters: 0 id: 91 unit: export function setButtons() file: src/store/actions/index.js start line: 127 end line: 133 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 92 unit: export function insertUserMessage() file: src/store/actions/index.js start line: 135 end line: 141 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: on() file: src/index.js start line: 87 end line: 93 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 94 unit: export function startBotProcessingTimeout() file: src/utils/botProcessingTimeout.js start line: 8 end line: 17 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: checkVersionBeforePull() file: src/components/Widget/index.js start line: 433 end line: 439 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 96 unit: componentDidMount() file: src/components/Widget/components/Conversation/components/Messages/index.js start line: 54 end line: 62 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 97 unit: useEffect() file: src/pro-src/rules-wrapper.js start line: 27 end line: 32 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 98 unit: function pushState() file: src/pro-src/rules.js start line: 28 end line: 33 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 99 unit: function replaceState() file: src/pro-src/rules.js start line: 36 end line: 41 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 100 unit: static compareUrls() file: src/pro-src/rules.js start line: 401 end line: 406 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 101 unit: elements: fromJS() file: src/store/reducers/helper.js start line: 24 end line: 30 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 102 unit: export function toggleInputDisabled() file: src/store/actions/index.js start line: 69 end line: 74 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: export function emitUserMessage() file: src/store/actions/index.js start line: 85 end line: 90 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: export function addResponseMessage() file: src/store/actions/index.js start line: 92 end line: 97 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: export function addCarousel() file: src/store/actions/index.js start line: 99 end line: 104 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: export function addVideoSnippet() file: src/store/actions/index.js start line: 106 end line: 111 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 107 unit: export function addImageSnippet() file: src/store/actions/index.js start line: 113 end line: 118 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 108 unit: export function addButtons() file: src/store/actions/index.js start line: 120 end line: 125 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: export function triggerMessageDelayed() file: src/store/actions/index.js start line: 176 end line: 181 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: export function showTooltip() file: src/store/actions/index.js start line: 183 end line: 188 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: export function triggerTooltipSent() file: src/store/actions/index.js start line: 191 end line: 196 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 112 unit: export function setLinkTarget() file: src/store/actions/index.js start line: 204 end line: 209 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 113 unit: export function setUserInput() file: src/store/actions/index.js start line: 211 end line: 216 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: export function setPageChangeCallbacks() file: src/store/actions/index.js start line: 218 end line: 223 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 115 unit: export function setDomHighlight() file: src/store/actions/index.js start line: 226 end line: 231 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: export function hintText() file: src/store/actions/index.js start line: 233 end line: 238 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 117 unit: export function changeOldUrl() file: src/store/actions/index.js start line: 241 end line: 246 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: export function evalUrl() file: src/store/actions/index.js start line: 248 end line: 253 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 119 unit: export function setCustomCss() file: src/store/actions/index.js start line: 255 end line: 260 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 120 unit: export function setBotProcessing() file: src/store/actions/index.js start line: 268 end line: 273 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: componentDidMount() file: src/utils/portal.js start line: 12 end line: 17 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 122 unit: getSessionId() file: src/components/Widget/index.js start line: 117 end line: 123 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 123 unit: componentWillUnmount() file: src/components/Widget/components/Conversation/components/Messages/index.js start line: 64 end line: 70 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 124 unit: export default function() file: src/store/reducers/behaviorReducer.js start line: 6 end line: 10 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 125 unit: domHighlight: Map() file: src/store/reducers/metadataReducer.js start line: 10 end line: 15 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: export function initialize() file: src/store/actions/index.js start line: 3 end line: 7 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 127 unit: export function connectServer() file: src/store/actions/index.js start line: 9 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 128 unit: export function disconnectServer() file: src/store/actions/index.js start line: 15 end line: 19 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 129 unit: export function getOpenState() file: src/store/actions/index.js start line: 21 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 130 unit: export function getVisibleState() file: src/store/actions/index.js start line: 27 end line: 31 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: export function showChat() file: src/store/actions/index.js start line: 33 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: export function hideChat() file: src/store/actions/index.js start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: export function toggleChat() file: src/store/actions/index.js start line: 45 end line: 49 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 134 unit: export function openChat() file: src/store/actions/index.js start line: 51 end line: 55 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 135 unit: export function closeChat() file: src/store/actions/index.js start line: 57 end line: 61 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 136 unit: export function toggleFullScreen() file: src/store/actions/index.js start line: 63 end line: 67 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 137 unit: export function dropMessages() file: src/store/actions/index.js start line: 152 end line: 156 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: export function clearMessages() file: src/store/actions/index.js start line: 158 end line: 162 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 139 unit: export function pullSession() file: src/store/actions/index.js start line: 164 end line: 168 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 140 unit: export function newUnreadMessage() file: src/store/actions/index.js start line: 170 end line: 174 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 141 unit: export function clearMetadata() file: src/store/actions/index.js start line: 198 end line: 202 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 142 unit: export function setFirstChatStarted() file: src/store/actions/index.js start line: 262 end line: 266 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 143 unit: close() file: src/index.js start line: 111 end line: 115 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 144 unit: export function isVideo() file: src/components/Widget/msgProcessor.js start line: 12 end line: 16 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 145 unit: export function isImage() file: src/components/Widget/msgProcessor.js start line: 18 end line: 22 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 146 unit: export function isButtons() file: src/components/Widget/msgProcessor.js start line: 28 end line: 32 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 147 unit: updateRules() file: src/pro-src/rules.js start line: 77 end line: 80 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 148 unit: pageChangeCallbacks: Map() file: src/store/reducers/behaviorReducer.js start line: 24 end line: 28 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 149 unit: constructor() file: src/utils/portal.js start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 150 unit: export function clearBotProcessingTimeout() file: src/utils/botProcessingTimeout.js start line: 20 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 151 unit: getSnapshotBeforeUpdate() file: src/components/Widget/components/Conversation/components/Messages/index.js start line: 80 end line: 84 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 152 unit: iframeLoaded() file: src/components/Widget/components/Conversation/components/Messages/components/docViewer/index.js start line: 24 end line: 27 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 153 unit: updateIframeSrc() file: src/components/Widget/components/Conversation/components/Messages/components/docViewer/index.js start line: 33 end line: 36 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 154 unit: handleOpenModal() file: src/components/Widget/components/Conversation/components/Messages/components/docViewer/index.js start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 155 unit: function() file: test-setup.js start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 156 unit: tooltipSent: Map() file: src/store/reducers/metadataReducer.js start line: 16 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 157 unit: export function isOpen() file: src/store/actions/dispatcher.js start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 158 unit: export function isVisible() file: src/store/actions/dispatcher.js start line: 8 end line: 10 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 159 unit: export function initialize() file: src/store/actions/dispatcher.js start line: 12 end line: 14 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 160 unit: export function connect() file: src/store/actions/dispatcher.js start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 161 unit: export function disconnect() file: src/store/actions/dispatcher.js start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 162 unit: export function addUserMessage() file: src/store/actions/dispatcher.js start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: export function emitUserMessage() file: src/store/actions/dispatcher.js start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 164 unit: export function addResponseMessage() file: src/store/actions/dispatcher.js start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 165 unit: export function addCarousel() file: src/store/actions/dispatcher.js start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 166 unit: export function addVideoSnippet() file: src/store/actions/dispatcher.js start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 167 unit: export function addImageSnippet() file: src/store/actions/dispatcher.js start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 168 unit: export function addButtons() file: src/store/actions/dispatcher.js start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 169 unit: export function setButtons() file: src/store/actions/dispatcher.js start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 170 unit: export function insertUserMessage() file: src/store/actions/dispatcher.js start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 171 unit: export function renderCustomComponent() file: src/store/actions/dispatcher.js start line: 60 end line: 62 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 172 unit: export function openChat() file: src/store/actions/dispatcher.js start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 173 unit: export function closeChat() file: src/store/actions/dispatcher.js start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: export function toggleChat() file: src/store/actions/dispatcher.js start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 175 unit: export function showChat() file: src/store/actions/dispatcher.js start line: 76 end line: 78 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 176 unit: export function hideChat() file: src/store/actions/dispatcher.js start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 177 unit: export function toggleFullScreen() file: src/store/actions/dispatcher.js start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 178 unit: export function toggleInputDisabled() file: src/store/actions/dispatcher.js start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 179 unit: export function dropMessages() file: src/store/actions/dispatcher.js start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 180 unit: export function clearMessages() file: src/store/actions/dispatcher.js start line: 96 end line: 98 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 181 unit: export function pullSession() file: src/store/actions/dispatcher.js start line: 100 end line: 102 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 182 unit: export function newUnreadMessage() file: src/store/actions/dispatcher.js start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 183 unit: updateProtocolOptions() file: src/index.js start line: 79 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 184 unit: isInitialized() file: src/index.js start line: 83 end line: 85 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 185 unit: toggleFullScreen() file: src/components/Widget/index.js start line: 729 end line: 731 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 186 unit: export function isText() file: src/components/Widget/msgProcessor.js start line: 24 end line: 26 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 187 unit: getIframeLink() file: src/components/Widget/components/Conversation/components/Messages/components/docViewer/index.js start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 188 unit: bindActions() file: src/components/Widget/components/Conversation/components/Messages/components/docViewer/index.js start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 189 unit: handleCloseModal() file: src/components/Widget/components/Conversation/components/Messages/components/docViewer/index.js start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 190 unit: function handleChange() file: src/components/Widget/components/Conversation/components/Sender/index.js start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 191 unit: docViewer ?() file: src/components/Widget/components/Conversation/components/Messages/components/Message/index.js start line: 52 end line: 53 size: 2 LOC McCabe index: 2 number of parameters: 0