id: 1 unit: export default function ChatComposer() file: src/components/Chat/ChatComposer/ChatComposer.js start line: 162 end line: 302 size: 77 LOC McCabe index: 9 number of parameters: 8 id: 2 unit: export default function TimePicker() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/TimePicker.js start line: 168 end line: 269 size: 58 LOC McCabe index: 7 number of parameters: 2 id: 3 unit: function build() file: scripts/build.js start line: 125 end line: 183 size: 54 LOC McCabe index: 10 number of parameters: 1 id: 4 unit: renderHeader() file: src/components/Chat/ChatTranscriptor/ChatMessages/ChatMessage.js start line: 112 end line: 159 size: 48 LOC McCabe index: 5 number of parameters: 0 id: 5 unit: render() file: src/components/Chat/Chat.js start line: 127 end line: 167 size: 39 LOC McCabe index: 4 number of parameters: 0 id: 6 unit: render() file: src/components/Chat/ChatTranscriptor/ChatMessages/ChatMessage.js start line: 161 end line: 199 size: 34 LOC McCabe index: 8 number of parameters: 0 id: 7 unit: _handleTypingEvent() file: src/components/Chat/ChatSession.js start line: 480 end line: 510 size: 31 LOC McCabe index: 4 number of parameters: 1 id: 8 unit: export function initiateChat() file: src/components/Chat/ChatInitiator.js start line: 31 end line: 65 size: 30 LOC McCabe index: 4 number of parameters: 1 id: 9 unit: sendAttachment() file: src/components/Chat/ChatSession.js start line: 246 end line: 275 size: 30 LOC McCabe index: 2 number of parameters: 1 id: 10 unit: addOutgoingMessage() file: src/components/Chat/ChatSession.js start line: 201 end line: 234 size: 29 LOC McCabe index: 1 number of parameters: 1 id: 11 unit: _addItemsToTranscript() file: src/components/Chat/ChatSession.js start line: 421 end line: 458 size: 29 LOC McCabe index: 8 number of parameters: 1 id: 12 unit: render() file: src/components/Chat/ChatTranscriptor/ChatTranscriptor.js start line: 146 end line: 174 size: 27 LOC McCabe index: 7 number of parameters: 0 id: 13 unit: export default function Panel() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/Panel.js start line: 49 end line: 84 size: 26 LOC McCabe index: 3 number of parameters: 2 id: 14 unit: render() file: src/components/Chat/ChatContainer.js start line: 116 end line: 141 size: 24 LOC McCabe index: 4 number of parameters: 0 id: 15 unit: _handleIncomingData() file: src/components/Chat/ChatSession.js start line: 374 end line: 402 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 16 unit: function getClientEnvironment() file: configuration/env.js start line: 63 end line: 91 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 17 unit: function createItemFromIncoming() file: src/components/Chat/datamodel/Utils.js start line: 30 end line: 50 size: 21 LOC McCabe index: 2 number of parameters: 2 id: 18 unit: process() file: configuration/jest/fileTransform.js start line: 9 end line: 29 size: 19 LOC McCabe index: 2 number of parameters: 2 id: 19 unit: function onInput() file: src/components/Chat/ChatComposer/ChatComposer.js start line: 178 end line: 198 size: 19 LOC McCabe index: 8 number of parameters: 1 id: 20 unit: async submitChatInitiation() file: src/components/Chat/ChatContainer.js start line: 84 end line: 103 size: 18 LOC McCabe index: 7 number of parameters: 3 id: 21 unit: module.exports = function() file: configuration/webpackDevServer.config.js start line: 14 end line: 90 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 22 unit: render() file: src/components/core/Button/Button.js start line: 145 end line: 162 size: 17 LOC McCabe index: 5 number of parameters: 0 id: 23 unit: renderContent() file: src/components/Chat/ChatTranscriptor/ChatMessages/ChatMessage.js start line: 201 end line: 217 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 24 unit: function TimeslotButton() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/TimePicker.js start line: 131 end line: 148 size: 17 LOC McCabe index: 1 number of parameters: 5 id: 25 unit: _loadTranscript() file: src/components/Chat/ChatSession.js start line: 356 end line: 372 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: render() file: src/components/core/Text/Text.js start line: 74 end line: 90 size: 16 LOC McCabe index: 8 number of parameters: 0 id: 27 unit: function createOutgoingTranscriptItem() file: src/components/Chat/datamodel/Utils.js start line: 68 end line: 83 size: 16 LOC McCabe index: 1 number of parameters: 3 id: 28 unit: function ListPickerElement() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/ListPicker.js start line: 53 end line: 69 size: 16 LOC McCabe index: 3 number of parameters: 4 id: 29 unit: _addEventListeners() file: src/components/Chat/ChatSession.js start line: 330 end line: 344 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 30 unit: off() file: src/components/Chat/eventbus.js start line: 23 end line: 37 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 31 unit: function createTranscriptItemFromSuccessResponse() file: src/components/Chat/datamodel/Utils.js start line: 52 end line: 66 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 32 unit: render() file: src/components/Chat/ChatTranscriptor/ChatMessages/ChatMessage.js start line: 261 end line: 273 size: 13 LOC McCabe index: 2 number of parameters: 0 id: 33 unit: function Chevron() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/TimePicker.js start line: 155 end line: 166 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: function getTimeslotsGroupedByDate() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/TimePicker.js start line: 276 end line: 288 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 35 unit: constructor() file: src/components/Chat/Chat.js start line: 66 end line: 78 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 36 unit: loadPreviousTranscript() file: src/components/Chat/ChatSession.js start line: 281 end line: 292 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 37 unit: (function (connect)() file: src/index.js start line: 12 end line: 28 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 38 unit: const SVGComponent = function() file: src/components/core/Icon/Icon.js start line: 11 end line: 21 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 39 unit: function _generateLocalId() file: src/components/Chat/datamodel/Utils.js start line: 93 end line: 103 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 40 unit: function createTypingParticipant() file: src/components/Chat/datamodel/Utils.js start line: 111 end line: 121 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 41 unit: constructor() file: src/components/Chat/ChatContainer.js start line: 44 end line: 55 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: renderTransportError() file: src/components/Chat/ChatTranscriptor/ChatMessages/ChatMessage.js start line: 219 end line: 229 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 43 unit: renderRetryButton() file: src/components/Chat/ChatTranscriptor/ChatMessages/ChatMessage.js start line: 231 end line: 242 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 44 unit: openChatSession() file: src/components/Chat/ChatSession.js start line: 173 end line: 183 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: function ensureSlash() file: configuration/paths.js start line: 14 end line: 23 size: 10 LOC McCabe index: 5 number of parameters: 2 id: 46 unit: export default function request() file: src/utils/fetchRequest.js start line: 21 end line: 30 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 47 unit: constructor() file: src/components/Chat/datamodel/Model.js start line: 111 end line: 120 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: function isRecognizedEvent() file: src/components/Chat/datamodel/Utils.js start line: 13 end line: 21 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 49 unit: function sendMessage() file: src/components/Chat/ChatComposer/ChatComposer.js start line: 203 end line: 212 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 50 unit: function handleScroll() file: src/components/Chat/ChatTranscriptor/ChatTranscriptScroller.js start line: 112 end line: 121 size: 9 LOC McCabe index: 4 number of parameters: 0 id: 51 unit: function renderTemplate() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessage.js start line: 69 end line: 77 size: 9 LOC McCabe index: 4 number of parameters: 0 id: 52 unit: addOutgoingAttachment() file: src/components/Chat/ChatSession.js start line: 236 end line: 244 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 53 unit: _failMessage() file: src/components/Chat/ChatSession.js start line: 404 end line: 415 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 54 unit: function App() file: src/App.js start line: 43 end line: 51 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 55 unit: before() file: configuration/webpackDevServer.config.js start line: 71 end line: 88 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 56 unit: function parseJSON() file: src/utils/fetchRequest.js start line: 39 end line: 46 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: export function InteractiveMessage() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessage.js start line: 61 end line: 84 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 58 unit: function Header() file: src/components/Chat/Chat.js start line: 52 end line: 61 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 59 unit: constructor() file: src/components/Chat/ChatSession.js start line: 129 end line: 136 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 60 unit: _loadLatestTranscript() file: src/components/Chat/ChatSession.js start line: 347 end line: 354 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: on() file: src/components/Chat/eventbus.js start line: 14 end line: 21 size: 8 LOC McCabe index: 4 number of parameters: 2 id: 62 unit: function isInGitRepository() file: scripts/test.js start line: 26 end line: 33 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 63 unit: function isInMercurialRepository() file: scripts/test.js start line: 35 end line: 42 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 64 unit: render() file: src/Main.js start line: 14 end line: 20 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 65 unit: render() file: src/components/core/Loader/Loader.js start line: 8 end line: 14 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: function createFailedItem() file: src/components/Chat/datamodel/Utils.js start line: 85 end line: 91 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 67 unit: constructor() file: src/components/Chat/datamodel/Model.js start line: 101 end line: 107 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 68 unit: function SendMessageButton() file: src/components/Chat/ChatComposer/SendMessageButton.js start line: 23 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 69 unit: renderContent() file: src/components/Chat/ChatTranscriptor/ChatMessages/ChatMessage.js start line: 289 end line: 295 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 70 unit: function safeParse() file: src/components/Chat/ChatInitiator.js start line: 6 end line: 12 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 71 unit: constructor() file: src/components/Chat/ChatSession.js start line: 24 end line: 33 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 72 unit: _replaceItemInTranscript() file: src/components/Chat/ChatSession.js start line: 460 end line: 466 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 73 unit: trigger() file: src/components/Chat/eventbus.js start line: 43 end line: 50 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 74 unit: export default function usePrevious() file: src/hooks/usePrevious.js start line: 16 end line: 22 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: ignored: ignoredFiles() file: configuration/webpackDevServer.config.js start line: 58 end line: 64 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: function getServedPath() file: configuration/paths.js start line: 34 end line: 39 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 77 unit: function getContent() file: src/components/Chat/datamodel/Utils.js start line: 23 end line: 28 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: openChatSession() file: src/components/Chat/ChatContainer.js start line: 105 end line: 110 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 79 unit: componentDidUpdate() file: src/components/Chat/Chat.js start line: 94 end line: 99 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 80 unit: init() file: src/components/Chat/Chat.js start line: 105 end line: 110 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 81 unit: sendMessage() file: src/components/Chat/ChatSession.js start line: 83 end line: 90 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: async endChat() file: src/components/Chat/ChatSession.js start line: 185 end line: 190 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 83 unit: off() file: src/components/Chat/ChatSession.js start line: 302 end line: 307 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 84 unit: function createNodeMock() file: configuration/jest/setup.js start line: 11 end line: 15 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: function _timestampNow() file: src/components/Chat/datamodel/Utils.js start line: 105 end line: 109 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 86 unit: function sendTextMessage() file: src/components/Chat/ChatComposer/ChatComposer.js start line: 223 end line: 227 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 87 unit: function isValidScrollTop() file: src/components/Chat/ChatTranscriptor/ChatTranscriptScroller.js start line: 64 end line: 68 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 88 unit: timestampToDisplayable() file: src/components/Chat/ChatTranscriptor/ChatMessages/ChatMessage.js start line: 106 end line: 110 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: render() file: src/components/Chat/ChatTranscriptor/ChatMessages/ChatMessage.js start line: 246 end line: 250 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: function changeDate() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/TimePicker.js start line: 192 end line: 196 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: cleanUp() file: src/components/Chat/Chat.js start line: 112 end line: 116 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: sendTypingEvent() file: src/components/Chat/ChatSession.js start line: 77 end line: 81 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 93 unit: onChatDisconnected() file: src/components/Chat/ChatSession.js start line: 139 end line: 143 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: onChatClose() file: src/components/Chat/ChatSession.js start line: 145 end line: 149 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: onIncoming() file: src/components/Chat/ChatSession.js start line: 151 end line: 155 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: onOutgoing() file: src/components/Chat/ChatSession.js start line: 157 end line: 161 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: on() file: src/components/Chat/ChatSession.js start line: 296 end line: 300 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 98 unit: _triggerEvent() file: src/components/Chat/ChatSession.js start line: 309 end line: 313 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 99 unit: _updateTypingParticipantsUsingIncoming() file: src/components/Chat/ChatSession.js start line: 512 end line: 516 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 100 unit: constructor() file: src/components/Header/Header.js start line: 21 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: initiateChat() file: src/components/Chat/ChatInterface.js start line: 20 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 102 unit: function onFileInput() file: src/components/Chat/ChatComposer/ChatComposer.js start line: 229 end line: 232 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: function clearFileInput() file: src/components/Chat/ChatComposer/ChatComposer.js start line: 234 end line: 237 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 104 unit: function onAddMessage() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessage.js start line: 64 end line: 67 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 105 unit: function renderTimeslot() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/TimePicker.js start line: 218 end line: 221 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: endChat() file: src/components/Chat/Chat.js start line: 118 end line: 121 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 107 unit: sendTypingEvent() file: src/components/Chat/ChatSession.js start line: 196 end line: 199 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 108 unit: _updateTranscript() file: src/components/Chat/ChatSession.js start line: 315 end line: 318 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: _updateTypingParticipants() file: src/components/Chat/ChatSession.js start line: 320 end line: 323 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: _updateContactStatus() file: src/components/Chat/ChatSession.js start line: 325 end line: 328 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 111 unit: _handleEndedEvent() file: src/components/Chat/ChatSession.js start line: 473 end line: 476 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 112 unit: process() file: configuration/jest/cssTransform.js start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 113 unit: getCacheKey() file: configuration/jest/cssTransform.js start line: 10 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: function isAttachmentContentType() file: src/components/Chat/datamodel/Utils.js start line: 123 end line: 125 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 115 unit: componentWillUnmount() file: src/components/Chat/ChatContainer.js start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 116 unit: initiateChatSession() file: src/components/Chat/ChatContainer.js start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 117 unit: function hasSameContent() file: src/components/Chat/ChatComposer/ChatComposer.js start line: 174 end line: 176 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: function sendAttachment() file: src/components/Chat/ChatComposer/ChatComposer.js start line: 239 end line: 241 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 119 unit: function getLocale() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/TimePicker.js start line: 127 end line: 129 size: 3 LOC McCabe index: 4 number of parameters: 0 id: 120 unit: function showEarlierDate() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/TimePicker.js start line: 184 end line: 186 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 121 unit: function showLaterDate() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/TimePicker.js start line: 188 end line: 190 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 122 unit: function showEarlierTimeslots() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/TimePicker.js start line: 198 end line: 200 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 123 unit: function showLaterTimeslots() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/TimePicker.js start line: 202 end line: 204 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 124 unit: function onTimeslotSelect() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/TimePicker.js start line: 206 end line: 208 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 125 unit: function resetSelection() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/TimePicker.js start line: 210 end line: 212 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: function confirmSelection() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/TimePicker.js start line: 214 end line: 216 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 127 unit: function onImageLoad() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/Panel.js start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 128 unit: function onItemClick() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/Panel.js start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 129 unit: function onImageLoad() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/ListPicker.js start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 130 unit: function onElementImageLoad() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/ListPicker.js start line: 87 end line: 89 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: function onItemClick() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessages/ListPicker.js start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 132 unit: componentDidMount() file: src/components/Chat/Chat.js start line: 90 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: componentWillUnmount() file: src/components/Chat/Chat.js start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 134 unit: closeChat() file: src/components/Chat/Chat.js start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 135 unit: connect() file: src/components/Chat/ChatSession.js start line: 35 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 136 unit: disconnect() file: src/components/Chat/ChatSession.js start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 137 unit: onTyping() file: src/components/Chat/ChatSession.js start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 138 unit: onEnded() file: src/components/Chat/ChatSession.js start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 139 unit: onMessage() file: src/components/Chat/ChatSession.js start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 140 unit: onConnectionEstablished() file: src/components/Chat/ChatSession.js start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 141 unit: onConnectionBroken() file: src/components/Chat/ChatSession.js start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 142 unit: getContactId() file: src/components/Chat/ChatSession.js start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 143 unit: getParticipantId() file: src/components/Chat/ChatSession.js start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 144 unit: getTranscript() file: src/components/Chat/ChatSession.js start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 145 unit: sendAttachment() file: src/components/Chat/ChatSession.js start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 146 unit: downloadAttachment() file: src/components/Chat/ChatSession.js start line: 96 end line: 98 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: incomingItemDecorator() file: src/components/Chat/ChatSession.js start line: 164 end line: 166 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 148 unit: outgoingItemDecorator() file: src/components/Chat/ChatSession.js start line: 168 end line: 170 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 149 unit: closeChat() file: src/components/Chat/ChatSession.js start line: 192 end line: 194 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 150 unit: downloadAttachment() file: src/components/Chat/ChatSession.js start line: 277 end line: 279 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 151 unit: _isRoundTripSystemEvent() file: src/components/Chat/ChatSession.js start line: 417 end line: 419 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 152 unit: _isRoundtripMessage() file: src/components/Chat/ChatSession.js start line: 468 end line: 470 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 153 unit: _removeTypingParticipant() file: src/components/Chat/ChatSession.js start line: 518 end line: 523 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 154 unit: constructor() file: src/components/Chat/eventbus.js start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 155 unit: cleanup() file: src/components/Chat/eventbus.js start line: 39 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 156 unit: function createMarkup() file: src/components/Chat/ChatActionBar/ChatActionBar.js start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 157 unit: function ReactiveImage() file: src/components/Chat/ChatTranscriptor/ChatMessages/InteractiveMessage.js start line: 91 end line: 92 size: 2 LOC McCabe index: 1 number of parameters: 3