id: 1 unit: function DocSearch() file: website/src/theme/SearchBar/index.js start line: 41 end line: 197 size: 128 LOC McCabe index: 4 number of parameters: 2 id: 2 unit: function DocSearch() file: blog/src/theme/SearchBar/index.js start line: 41 end line: 197 size: 128 LOC McCabe index: 4 number of parameters: 2 id: 3 unit: function DocSearch() file: doc/src/theme/SearchBar/index.js start line: 41 end line: 197 size: 128 LOC McCabe index: 4 number of parameters: 2 id: 4 unit: files: scanFolder() file: scripts/link-checker.js start line: 27 end line: 137 size: 76 LOC McCabe index: 8 number of parameters: 1 id: 5 unit: function init() file: website/src/components/HeroCanvas.tsx start line: 131 end line: 217 size: 66 LOC McCabe index: 2 number of parameters: 2 id: 6 unit: function scanLinkInMDFile() file: scripts/link-checker.js start line: 112 end line: 187 size: 60 LOC McCabe index: 15 number of parameters: 2 id: 7 unit: function extractDocsVersionTasks() file: scripts/sync-docs.js start line: 334 end line: 385 size: 27 LOC McCabe index: 4 number of parameters: 2 id: 8 unit: en: require() file: website/docusaurus.config.js start line: 18 end line: 44 size: 26 LOC McCabe index: 1 number of parameters: 1 id: 9 unit: task: async() file: scripts/sync-docs.js start line: 35 end line: 61 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 10 unit: function normalizeSidebar() file: scripts/sync-docs.js start line: 255 end line: 279 size: 24 LOC McCabe index: 4 number of parameters: 2 id: 11 unit: tag: docVersionSearchTag() file: website/src/theme/DocPage/index.tsx start line: 109 end line: 133 size: 23 LOC McCabe index: 4 number of parameters: 2 id: 12 unit: task: async() file: scripts/sync-docs.js start line: 358 end line: 382 size: 23 LOC McCabe index: 4 number of parameters: 0 id: 13 unit: tag: docVersionSearchTag() file: doc/src/theme/DocPage/index.tsx start line: 142 end line: 164 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 14 unit: function linkValidate() file: scripts/link-checker.js start line: 189 end line: 208 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 15 unit: docs: require() file: website/docusaurus.config.js start line: 23 end line: 41 size: 18 LOC McCabe index: 1 number of parameters: 1 id: 16 unit: function useReadingTimePlural() file: blog/src/theme/BlogPostItem/index.tsx start line: 26 end line: 43 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 17 unit: async function replaceMDElements() file: scripts/sync-docs.js start line: 164 end line: 206 size: 18 LOC McCabe index: 1 number of parameters: 3 id: 18 unit: from: RegExp() file: scripts/sync-docs.js start line: 184 end line: 201 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 19 unit: downloads: require() file: website/docusaurus.config.js start line: 24 end line: 41 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 20 unit: function getItems() file: doc/src/theme/NavbarItem/DocsVersionDropdownNavbarItem.tsx start line: 61 end line: 78 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 21 unit: team: require() file: website/docusaurus.config.js start line: 25 end line: 41 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 22 unit: function onCanvasIntersection() file: website/src/components/HeroCanvas.tsx start line: 112 end line: 127 size: 16 LOC McCabe index: 6 number of parameters: 1 id: 23 unit: async function copyFolder() file: scripts/sync-docs.js start line: 227 end line: 244 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 24 unit: async function handleConfig2Sidebar() file: scripts/sync-docs.js start line: 281 end line: 300 size: 16 LOC McCabe index: 3 number of parameters: 4 id: 25 unit: function generateAPIDocs() file: scripts/sync-docs.js start line: 308 end line: 332 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 26 unit: plugins: require() file: website/docusaurus.config.js start line: 26 end line: 41 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 27 unit: function useBlogPostsPlural() file: blog/src/theme/BlogTagsPostsPage/index.tsx start line: 20 end line: 34 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 28 unit: task: async() file: scripts/sync-docs.js start line: 73 end line: 87 size: 15 LOC McCabe index: 5 number of parameters: 0 id: 29 unit: function onWindowResize() file: website/src/components/HeroCanvas.tsx start line: 219 end line: 234 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 30 unit: function scanFolder() file: scripts/link-checker.js start line: 96 end line: 110 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 31 unit: task: async() file: scripts/sync-docs.js start line: 113 end line: 126 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 32 unit: function onIntersection() file: website/src/components/sections/Benefits.tsx start line: 244 end line: 254 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: function animate() file: website/src/components/HeroCanvas.tsx start line: 236 end line: 249 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 34 unit: function useShowAnnouncementBar() file: website/src/theme/DocSidebar/index.tsx start line: 30 end line: 39 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 35 unit: light: useBaseUrl() file: blog/src/theme/Logo/index.tsx start line: 31 end line: 40 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 36 unit: light: useBaseUrl() file: doc/src/theme/Logo/index.tsx start line: 31 end line: 40 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 37 unit: function useShowAnnouncementBar() file: doc/src/theme/DocSidebar/index.tsx start line: 31 end line: 40 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 38 unit: dark: useBaseUrl() file: blog/src/theme/Logo/index.tsx start line: 32 end line: 40 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 39 unit: task: async() file: scripts/link-checker.js start line: 54 end line: 63 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 40 unit: dark: useBaseUrl() file: doc/src/theme/Logo/index.tsx start line: 32 end line: 40 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 41 unit: (function()() file: config/ssrTemplate.js start line: 36 end line: 43 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 42 unit: function ResultsFooter() file: website/src/theme/SearchBar/index.js start line: 31 end line: 39 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 43 unit: label: getLocaleLabel() file: website/src/theme/NavbarItem/LocaleDropdownNavbarItem/index.tsx start line: 77 end line: 84 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 44 unit: function ResultsFooter() file: blog/src/theme/SearchBar/index.js start line: 31 end line: 39 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 45 unit: label: getLocaleLabel() file: blog/src/theme/NavbarItem/LocaleDropdownNavbarItem/index.tsx start line: 76 end line: 83 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 46 unit: function ResultsFooter() file: doc/src/theme/SearchBar/index.js start line: 31 end line: 39 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 47 unit: label: getLocaleLabel() file: doc/src/theme/NavbarItem/LocaleDropdownNavbarItem/index.tsx start line: 77 end line: 84 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 48 unit: zh: require() file: website/docusaurus.config.js start line: 19 end line: 44 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: function Hit() file: website/src/theme/SearchBar/index.js start line: 23 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 50 unit: function Hit() file: blog/src/theme/SearchBar/index.js start line: 23 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 51 unit: srcSet: stringifySrcset() file: blog/src/theme/BlogPostPage/index.tsx start line: 58 end line: 64 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 52 unit: async function copyDocs() file: scripts/sync-docs.js start line: 246 end line: 253 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 53 unit: task: async() file: scripts/sync-docs.js start line: 321 end line: 329 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 54 unit: editUrl() file: doc/docusaurus.config.js start line: 181 end line: 187 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: function Hit() file: doc/src/theme/SearchBar/index.js start line: 23 end line: 29 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 56 unit: window.onload = function() file: config/ssrTemplate.js start line: 59 end line: 64 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 57 unit: async function isFileExisted() file: scripts/sync-docs.js start line: 208 end line: 213 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: async function isDirExisted() file: scripts/sync-docs.js start line: 215 end line: 220 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 59 unit: editUrl() file: doc/docusaurus.config.js start line: 87 end line: 92 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: editUrl() file: doc/docusaurus.config.js start line: 109 end line: 114 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: editUrl() file: doc/docusaurus.config.js start line: 128 end line: 133 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: editUrl() file: doc/docusaurus.config.js start line: 145 end line: 150 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: editUrl() file: doc/docusaurus.config.js start line: 162 end line: 167 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: editUrl() file: doc/docusaurus.config.js start line: 201 end line: 206 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 65 unit: editUrl() file: doc/docusaurus.config.js start line: 220 end line: 225 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: function getComponentType() file: doc/src/theme/NavbarItem/index.tsx start line: 44 end line: 51 size: 6 LOC McCabe index: 4 number of parameters: 2 id: 67 unit: showcases: require() file: website/docusaurus.config.js start line: 16 end line: 20 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: theme: require() file: website/docusaurus.config.js start line: 118 end line: 122 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 69 unit: theme: require() file: blog/zh/docusaurus.config.js start line: 89 end line: 93 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 70 unit: theme: require() file: blog/en/docusaurus.config.js start line: 87 end line: 91 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: task: async() file: scripts/sync-docs.js start line: 24 end line: 28 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 72 unit: theme: require() file: doc/docusaurus.config.js start line: 248 end line: 252 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 73 unit: items: require() file: website/docusaurus.config.js start line: 107 end line: 110 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: darkTheme: require() file: website/docusaurus.config.js start line: 119 end line: 122 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 75 unit: function SearchBar() file: website/src/theme/SearchBar/index.js start line: 199 end line: 202 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 76 unit: items: require() file: blog/zh/docusaurus.config.js start line: 78 end line: 81 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 77 unit: darkTheme: require() file: blog/zh/docusaurus.config.js start line: 90 end line: 93 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 78 unit: items: require() file: blog/en/docusaurus.config.js start line: 76 end line: 79 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 79 unit: darkTheme: require() file: blog/en/docusaurus.config.js start line: 88 end line: 91 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 80 unit: function SearchBar() file: blog/src/theme/SearchBar/index.js start line: 199 end line: 202 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: async function removeFolder() file: scripts/sync-docs.js start line: 222 end line: 225 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 82 unit: items: require() file: doc/docusaurus.config.js start line: 237 end line: 240 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 83 unit: darkTheme: require() file: doc/docusaurus.config.js start line: 249 end line: 252 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: function SearchBar() file: doc/src/theme/SearchBar/index.js start line: 199 end line: 202 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: editUrl() file: website/docusaurus.config.js start line: 64 end line: 66 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 86 unit: function getRandom() file: website/src/components/HeroCanvas.tsx start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 87 unit: navigate() file: website/src/theme/SearchBar/index.js start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 88 unit: function getLocaleLabel() file: website/src/theme/NavbarItem/LocaleDropdownNavbarItem/index.tsx start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: function updateSize() file: website/src/hooks/useWindowSize.ts start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: navigate() file: blog/src/theme/SearchBar/index.js start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 91 unit: function getLocaleLabel() file: blog/src/theme/NavbarItem/LocaleDropdownNavbarItem/index.tsx start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: navigate() file: doc/src/theme/SearchBar/index.js start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: function getLocaleLabel() file: doc/src/theme/NavbarItem/LocaleDropdownNavbarItem/index.tsx start line: 66 end line: 68 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: function log() file: scripts/sync-docs.js start line: 160 end line: 162 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 95 unit: url: withBaseUrl() file: website/src/theme/SearchBar/index.js start line: 119 end line: 119 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: url: withBaseUrl() file: blog/src/theme/SearchBar/index.js start line: 119 end line: 119 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: await copyDocs() file: scripts/sync-docs.js start line: 323 end line: 323 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 98 unit: url: withBaseUrl() file: doc/src/theme/SearchBar/index.js start line: 119 end line: 119 size: 1 LOC McCabe index: 1 number of parameters: 1