id: 1 unit: export function ScrollGrid() file: src/components/ScrollGrid/index.tsx start line: 12 end line: 75 size: 42 LOC McCabe index: 4 number of parameters: 3 id: 2 unit: function getComponent() file: src/components/ComponentsProvider/index.tsx start line: 34 end line: 82 size: 41 LOC McCabe index: 6 number of parameters: 2 id: 3 unit: export function useTitleTyping() file: src/hooks/useTitleTyping.ts start line: 9 end line: 57 size: 36 LOC McCabe index: 2 number of parameters: 0 id: 4 unit: function useMount() file: src/hooks/useMount.ts start line: 10 end line: 46 size: 32 LOC McCabe index: 4 number of parameters: 3 id: 5 unit: export default function useMessages() file: src/hooks/useMessages.ts start line: 31 end line: 65 size: 29 LOC McCabe index: 2 number of parameters: 1 id: 6 unit: export default function useQuickReplies() file: src/hooks/useQuickReplies.ts start line: 6 end line: 41 size: 29 LOC McCabe index: 2 number of parameters: 1 id: 7 unit: export default function riseInput() file: src/components/Composer/riseInput.ts start line: 24 end line: 55 size: 25 LOC McCabe index: 6 number of parameters: 2 id: 8 unit: export function importScript() file: src/utils/importScript.ts start line: 7 end line: 35 size: 25 LOC McCabe index: 4 number of parameters: 2 id: 9 unit: export default function useClickOutside() file: src/hooks/useClickOutside.ts start line: 3 end line: 29 size: 22 LOC McCabe index: 4 number of parameters: 1 id: 10 unit: export function useTypewriter() file: src/hooks/useTypewriter.ts start line: 10 end line: 34 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 11 unit: export default function parseDataTransfer() file: src/utils/parseDataTransfer.ts start line: 1 end line: 22 size: 19 LOC McCabe index: 6 number of parameters: 2 id: 12 unit: messageRender ? messageRender() file: src/components/TypingBubble/index.tsx start line: 20 end line: 42 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 13 unit: function getSize() file: src/components/Price/index.tsx start line: 25 end line: 48 size: 18 LOC McCabe index: 12 number of parameters: 1 id: 14 unit: export function formatTime() file: src/utils/formatTime.ts start line: 1 end line: 23 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 15 unit: function handleClick() file: src/components/Video/index.tsx start line: 38 end line: 52 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 16 unit: function formatDate() file: src/components/Time/parser.ts start line: 48 end line: 62 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 17 unit: function updateIndicator() file: src/components/ScrollGrid/index.tsx start line: 23 end line: 37 size: 13 LOC McCabe index: 3 number of parameters: 0 id: 18 unit: export function updateViewportTop() file: src/components/Composer/viewportTop.ts start line: 11 end line: 26 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 19 unit: const loop = function() file: src/utils/getFps.ts start line: 12 end line: 26 size: 13 LOC McCabe index: 5 number of parameters: 0 id: 20 unit: export default function throttle() file: src/utils/throttle.ts start line: 1 end line: 16 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 21 unit: function handleTouchStart() file: src/components/Recorder/index.tsx start line: 63 end line: 75 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 22 unit: function handleTitleClick() file: src/components/Tree/TreeNode.tsx start line: 19 end line: 30 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 23 unit: export function Typing() file: src/components/Typing/Typing.tsx start line: 8 end line: 19 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 24 unit: function testScrollType() file: src/components/Composer/riseInput.ts start line: 3 end line: 22 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 25 unit: function renderIcon() file: src/components/Toast/Toast.tsx start line: 12 end line: 23 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 26 unit: export default function smoothScroll() file: src/utils/smoothScroll.ts start line: 17 end line: 41 size: 12 LOC McCabe index: 3 number of parameters: 4 id: 27 unit: export default function useForwardRef() file: src/hooks/useForwardRef.ts start line: 3 end line: 18 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 28 unit: function handleTouchEnd() file: src/components/Recorder/index.tsx start line: 84 end line: 96 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 29 unit: function clear() file: src/components/MessageStatus/index.tsx start line: 31 end line: 41 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 30 unit: function handleScroll() file: src/components/InfiniteScroll/index.tsx start line: 18 end line: 31 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 31 unit: function renderDot() file: src/components/Stepper/Step.tsx start line: 20 end line: 30 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 32 unit: export default() file: src/utils/getFps.ts start line: 1 end line: 29 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: function resizeThrottler() file: src/hooks/useWindowResize.ts start line: 12 end line: 22 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 34 unit: export default function useWindowResize() file: src/hooks/useWindowResize.ts start line: 3 end line: 29 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: function handleInputFocus() file: src/components/Chat/index.tsx start line: 184 end line: 191 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 36 unit: function toggleFocusing() file: src/components/Composer/index.tsx start line: 127 end line: 137 size: 8 LOC McCabe index: 4 number of parameters: 0 id: 37 unit: export function mountComponent() file: src/utils/mountComponent.ts start line: 4 end line: 22 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 38 unit: onUnmount() file: src/utils/mountComponent.ts start line: 9 end line: 16 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 39 unit: function handleRetry() file: src/components/MessageStatus/index.tsx start line: 81 end line: 87 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 40 unit: function touchStart() file: src/components/MessageContainer/index.tsx start line: 153 end line: 159 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: constructor() file: src/components/ErrorBoundary/index.tsx start line: 24 end line: 30 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: componentDidCatch() file: src/components/ErrorBoundary/index.tsx start line: 32 end line: 38 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 43 unit: function getEl() file: src/components/Portal/index.ts start line: 11 end line: 18 size: 7 LOC McCabe index: 5 number of parameters: 1 id: 44 unit: export function getRandomString() file: src/utils/index.ts start line: 13 end line: 20 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 45 unit: function handleTouchMove() file: src/components/Recorder/index.tsx start line: 77 end line: 82 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 46 unit: function handleClick() file: src/components/RateActions/index.tsx start line: 24 end line: 29 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 47 unit: function handleIndexChange() file: src/components/Tabs/Tabs.tsx start line: 69 end line: 74 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 48 unit: function touchMove() file: src/components/MessageContainer/index.tsx start line: 161 end line: 166 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 49 unit: function handleClick() file: src/components/ClickOutside/index.tsx start line: 16 end line: 22 size: 6 LOC McCabe index: 4 number of parameters: 1 id: 50 unit: function animate() file: src/utils/smoothScroll.ts start line: 30 end line: 38 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 51 unit: stop() file: src/components/Recorder/index.tsx start line: 53 end line: 57 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 52 unit: function clearModal() file: src/components/Modal/Base.tsx start line: 33 end line: 37 size: 5 LOC McCabe index: 3 number of parameters: 0 id: 53 unit: function resizeHandler() file: src/components/Composer/index.tsx start line: 139 end line: 144 size: 5 LOC McCabe index: 3 number of parameters: 0 id: 54 unit: function handleClick() file: src/components/Button/index.tsx start line: 41 end line: 45 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 55 unit: export function useLatest() file: src/hooks/useLatest.ts start line: 3 end line: 8 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: label: trans() file: src/components/SendConfirm/SendConfirm.tsx start line: 35 end line: 38 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: function handleChange() file: src/components/Checkbox/CheckboxGroup.tsx start line: 18 end line: 21 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 58 unit: function isNearBottom() file: src/components/MessageContainer/index.tsx start line: 29 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 59 unit: function reset() file: src/components/MessageContainer/index.tsx start line: 148 end line: 151 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 60 unit: function handlePrev() file: src/components/ScrollView/ScrollView.tsx start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 61 unit: function handleNext() file: src/components/ScrollView/ScrollView.tsx start line: 46 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 62 unit: export function setViewportTop() file: src/components/Composer/viewportTop.ts start line: 6 end line: 9 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: function handleResize() file: src/components/Carousel/index.tsx start line: 369 end line: 372 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: export function getIOSMajorVersion() file: src/utils/ua.ts start line: 9 end line: 12 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 65 unit: export default function useNextId() file: src/hooks/useNextId.ts start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: function runCallback() file: src/hooks/useWindowResize.ts start line: 7 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 67 unit: function handlePlay() file: src/components/Video/index.tsx start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: function handlePause() file: src/components/Video/index.tsx start line: 58 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: function handleUpClick() file: src/components/RateActions/index.tsx start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 70 unit: function handleDownClick() file: src/components/RateActions/index.tsx start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: function getCount() file: src/components/Input/index.tsx start line: 6 end line: 8 size: 3 LOC McCabe index: 2 number of parameters: 2 id: 72 unit: function handleClick() file: src/components/QuickReplies/QuickReply.tsx start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: function handleClick() file: src/components/Tabs/Tabs.tsx start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: export function useComponents() file: src/components/ComponentsProvider/useComponents.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: function addComponent() file: src/components/ComponentsProvider/index.tsx start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 76 unit: function hasComponent() file: src/components/ComponentsProvider/index.tsx start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: function handleMq() file: src/components/Composer/index.tsx start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: function composeClass() file: src/components/Button/index.tsx start line: 18 end line: 20 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 79 unit: export function reflow() file: src/utils/index.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: export default function getRandomInt() file: src/utils/getRandomInt.ts start line: 1 end line: 3 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 81 unit: export default() file: src/utils/toggleClass.ts start line: 2 end line: 4 size: 3 LOC McCabe index: 2 number of parameters: 3 id: 82 unit: get() file: src/utils/canUse.ts start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 83 unit: export function addTest() file: src/utils/canUse.ts start line: 22 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 84 unit: export default function canUse() file: src/utils/canUse.ts start line: 27 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 85 unit: export default function getToBottom() file: src/utils/getToBottom.ts start line: 1 end line: 3 size: 3 LOC McCabe index: 1 number of parameters: 1