id: 1 unit: handleGetContextItemContent() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 259 end line: 288 size: 28 LOC McCabe index: 8 number of parameters: 2 id: 2 unit: async initialize() file: src/components/chat/components/duo_chat_message/copy_code_element.js start line: 11 end line: 47 size: 28 LOC McCabe index: 4 number of parameters: 0 id: 3 unit: handleGetContextItemContent() file: src/components/chat/duo_chat.stories.js start line: 259 end line: 288 size: 28 LOC McCabe index: 8 number of parameters: 2 id: 4 unit: data() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 105 end line: 128 size: 24 LOC McCabe index: 1 number of parameters: 0 id: 5 unit: data() file: src/components/chat/duo_chat.stories.js start line: 105 end line: 128 size: 24 LOC McCabe index: 1 number of parameters: 0 id: 6 unit: actions() file: plopfile.js start line: 78 end line: 96 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 7 unit: onSendChatPrompt() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 158 end line: 172 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 8 unit: onSendChatPrompt() file: src/components/chat/duo_chat.stories.js start line: 158 end line: 172 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 9 unit: handleGetContent() file: src/components/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.stories.js start line: 78 end line: 91 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 10 unit: actions() file: plopfile.js start line: 108 end line: 122 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 11 unit: for await() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 201 end line: 213 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 12 unit: data() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 408 end line: 420 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 13 unit: for await() file: src/components/chat/duo_chat.stories.js start line: 201 end line: 213 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 14 unit: data() file: src/components/chat/duo_chat.stories.js start line: 408 end line: 420 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 15 unit: export function sprintf() file: src/utils/i18n.js start line: 44 end line: 62 size: 13 LOC McCabe index: 3 number of parameters: 3 id: 16 unit: export function getOrdinalSuffix() file: src/utils/date.js start line: 3 end line: 15 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 17 unit: export function contextItemValidator() file: src/components/chat/components/duo_chat_context/utils.js start line: 17 end line: 27 size: 11 LOC McCabe index: 7 number of parameters: 1 id: 18 unit: data() file: src/components/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.stories.js start line: 33 end line: 43 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 19 unit: export function formatLocalizedDate() file: src/utils/date.js start line: 49 end line: 61 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 20 unit: handleContextItemsSearch() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 226 end line: 235 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 21 unit: getContextItemsFilteredResults() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 236 end line: 245 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 22 unit: onSelectThread() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 465 end line: 474 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 23 unit: handleContextItemsSearch() file: src/components/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.stories.js start line: 45 end line: 54 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 24 unit: getFilteredResults() file: src/components/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.stories.js start line: 55 end line: 64 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 25 unit: export function renderDuoChatMarkdownPreview() file: src/components/chat/markdown_renderer.js start line: 119 end line: 131 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 26 unit: handleContextItemsSearch() file: src/components/chat/duo_chat.stories.js start line: 226 end line: 235 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 27 unit: getContextItemsFilteredResults() file: src/components/chat/duo_chat.stories.js start line: 236 end line: 245 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 28 unit: onSelectThread() file: src/components/chat/duo_chat.stories.js start line: 474 end line: 483 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 29 unit: logEvent() file: src/components/user_feedback/user_feedback.stories.js start line: 57 end line: 65 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 30 unit: onBackToChat() file: src/components/chat/duo_chat.stories.js start line: 465 end line: 473 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 31 unit: updateDimensions() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 139 end line: 148 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 32 unit: updateDimensions() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 475 end line: 484 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 33 unit: data() file: src/components/user_feedback/user_feedback.stories.js start line: 48 end line: 55 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: updateDimensions() file: src/components/chat/duo_chat.stories.js start line: 139 end line: 148 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 35 unit: updateDimensions() file: src/components/chat/duo_chat.stories.js start line: 484 end line: 493 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 36 unit: generateBundle() file: rollup.config.js start line: 120 end line: 127 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 37 unit: updateExistingMessage() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 219 end line: 225 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 38 unit: handleContextItemRemove() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 252 end line: 258 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 39 unit: function disabledReasonsValidator() file: src/components/chat/components/duo_chat_context/utils.js start line: 9 end line: 15 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 40 unit: handleContextItemRemove() file: src/components/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.stories.js start line: 71 end line: 77 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: async initialize() file: src/components/chat/components/duo_chat_message/insert_code_snippet_element.js start line: 19 end line: 27 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 42 unit: function isRelativeUrlWithoutEmbeddedUrls() file: src/components/chat/markdown_renderer.js start line: 47 end line: 70 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 43 unit: updateExistingMessage() file: src/components/chat/duo_chat.stories.js start line: 219 end line: 225 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 44 unit: handleContextItemRemove() file: src/components/chat/duo_chat.stories.js start line: 252 end line: 258 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: prompts: makePrompts() file: plopfile.js start line: 71 end line: 76 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 46 unit: prompts: makePrompts() file: plopfile.js start line: 101 end line: 106 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 47 unit: handleContextItemSelect() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 246 end line: 251 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: handleContextItemSelect() file: src/components/chat/components/duo_chat_context/duo_chat_context_item_menu/duo_chat_context_item_menu.stories.js start line: 65 end line: 70 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: connectedCallback() file: src/components/chat/components/duo_chat_message/insert_code_snippet_element.js start line: 47 end line: 52 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 50 unit: handleContextItemSelect() file: src/components/chat/duo_chat.stories.js start line: 246 end line: 251 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: onChatCancel() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 177 end line: 181 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 52 unit: async onResponseRequested() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 193 end line: 197 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 53 unit: onNewChat() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 455 end line: 459 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: onBackToList() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 460 end line: 464 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 55 unit: data() file: src/components/user_feedback/user_feedback.stories.js start line: 18 end line: 22 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 56 unit: disconnectedCallback() file: src/components/chat/components/duo_chat_message/insert_code_snippet_element.js start line: 54 end line: 58 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 57 unit: onChatCancel() file: src/components/chat/duo_chat.stories.js start line: 177 end line: 181 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 58 unit: async onResponseRequested() file: src/components/chat/duo_chat.stories.js start line: 193 end line: 197 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: onNewChat() file: src/components/chat/duo_chat.stories.js start line: 456 end line: 460 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 60 unit: mounted() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 130 end line: 133 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: onChatHidden() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 173 end line: 176 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: showChat() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 185 end line: 188 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: addNewMessage() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 215 end line: 218 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: mounted() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 446 end line: 449 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 65 unit: constructor() file: src/components/chat/components/duo_chat_message/copy_code_element.js start line: 6 end line: 9 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: constructor() file: src/components/chat/components/duo_chat_message/insert_code_snippet_element.js start line: 11 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 67 unit: mounted() file: src/components/chat/duo_chat.stories.js start line: 130 end line: 133 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: onChatHidden() file: src/components/chat/duo_chat.stories.js start line: 173 end line: 176 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: showChat() file: src/components/chat/duo_chat.stories.js start line: 185 end line: 188 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 70 unit: addNewMessage() file: src/components/chat/duo_chat.stories.js start line: 215 end line: 218 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: mounted() file: src/components/chat/duo_chat.stories.js start line: 447 end line: 450 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 72 unit: onBackToList() file: src/components/chat/duo_chat.stories.js start line: 461 end line: 464 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: onCopyCodeSnippet() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 72 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: beforeDestroy() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 134 end line: 137 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: setDimensions() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 149 end line: 151 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: onChatResize() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 152 end line: 154 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: onWindowResize() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 155 end line: 157 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: onChatSlash() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 182 end line: 184 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: onInsertCodeSnippet() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 189 end line: 192 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: async mockResponseFromAi() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 198 end line: 214 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: copyChatMessage() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 289 end line: 292 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 82 unit: beforeDestroy() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 450 end line: 453 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 83 unit: setDimensions() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 485 end line: 487 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: onChatResize() file: src/components/agentic_chat/agentic_duo_chat.stories.js start line: 488 end line: 490 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: logEvent() file: src/components/user_feedback/user_feedback.stories.js start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: export function getMockCategory() file: src/components/chat/components/duo_chat_context/mock_context_data.js start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 87 unit: export function categoryValidator() file: src/components/chat/components/duo_chat_context/utils.js start line: 1 end line: 3 size: 3 LOC McCabe index: 4 number of parameters: 1 id: 88 unit: export function categoriesValidator() file: src/components/chat/components/duo_chat_context/utils.js start line: 5 end line: 7 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 89 unit: export function contextItemsValidator() file: src/components/chat/components/duo_chat_context/utils.js start line: 29 end line: 31 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 90 unit: export function getContextItemSource() file: src/components/chat/components/duo_chat_context/utils.js start line: 33 end line: 35 size: 3 LOC McCabe index: 3 number of parameters: 1 id: 91 unit: export function wrapIndex() file: src/components/chat/components/duo_chat_context/utils.js start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 92 unit: onCopyCodeSnippet() file: src/components/chat/duo_chat.stories.js start line: 72 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: beforeDestroy() file: src/components/chat/duo_chat.stories.js start line: 134 end line: 137 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 94 unit: setDimensions() file: src/components/chat/duo_chat.stories.js start line: 149 end line: 151 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 95 unit: onChatResize() file: src/components/chat/duo_chat.stories.js start line: 152 end line: 154 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: onWindowResize() file: src/components/chat/duo_chat.stories.js start line: 155 end line: 157 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 97 unit: onChatSlash() file: src/components/chat/duo_chat.stories.js start line: 182 end line: 184 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: onInsertCodeSnippet() file: src/components/chat/duo_chat.stories.js start line: 189 end line: 192 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: async mockResponseFromAi() file: src/components/chat/duo_chat.stories.js start line: 198 end line: 214 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 100 unit: copyChatMessage() file: src/components/chat/duo_chat.stories.js start line: 289 end line: 292 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 101 unit: beforeDestroy() file: src/components/chat/duo_chat.stories.js start line: 451 end line: 454 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 102 unit: setDimensions() file: src/components/chat/duo_chat.stories.js start line: 494 end line: 496 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 103 unit: onChatResize() file: src/components/chat/duo_chat.stories.js start line: 497 end line: 499 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: Hover me() file: src/components/chat/components/duo_chat_context/duo_chat_context_item_popover/duo_chat_context_item_popover.stories.js start line: 25 end line: 25 size: 1 LOC McCabe index: 2 number of parameters: 1