id: 1 unit: export function useStepsContext() file: src/hooks/useStepsContext/useStepsContext.ts start line: 30 end line: 202 size: 108 LOC McCabe index: 10 number of parameters: 0 id: 2 unit: export function SeparatorActions() file: src/components/StepSeparator/SeparatorActions.tsx start line: 59 end line: 154 size: 96 LOC McCabe index: 12 number of parameters: 6 id: 3 unit: function ActionComponent() file: src/components/ActionElement/ActionElement.tsx start line: 90 end line: 185 size: 94 LOC McCabe index: 8 number of parameters: 7 id: 4 unit: export default function App() file: src/App.tsx start line: 64 end line: 156 size: 88 LOC McCabe index: 4 number of parameters: 0 id: 5 unit: export function buildMenu() file: electron/menu.ts start line: 30 end line: 99 size: 60 LOC McCabe index: 3 number of parameters: 1 id: 6 unit: export function useRecordingContext() file: src/hooks/useRecordingContext.ts start line: 39 end line: 93 size: 49 LOC McCabe index: 7 number of parameters: 4 id: 7 unit: export function StepSeparator() file: src/components/StepSeparator/index.tsx start line: 38 end line: 80 size: 42 LOC McCabe index: 2 number of parameters: 2 id: 8 unit: async function setPermissions() file: scripts/download-chromium.js start line: 105 end line: 150 size: 41 LOC McCabe index: 11 number of parameters: 1 id: 9 unit: export function ResultErrorBody() file: src/components/TestResult/ResultErrorBody.tsx start line: 44 end line: 83 size: 40 LOC McCabe index: 2 number of parameters: 7 id: 10 unit: export function AssertionInfo() file: src/components/Assertion/AssertionInfo.tsx start line: 53 end line: 91 size: 39 LOC McCabe index: 1 number of parameters: 0 id: 11 unit: export function TestResult() file: src/components/TestResult/TestResult.tsx start line: 37 end line: 99 size: 38 LOC McCabe index: 9 number of parameters: 0 id: 12 unit: export function useDrop() file: src/hooks/useDrop.ts start line: 56 end line: 96 size: 37 LOC McCabe index: 4 number of parameters: 2 id: 13 unit: export function useSyntheticsTest() file: src/hooks/useSyntheticsTest.ts start line: 33 end line: 108 size: 37 LOC McCabe index: 4 number of parameters: 1 id: 14 unit: export async function recordJourney() file: electron/api/recordJourney.ts start line: 33 end line: 72 size: 33 LOC McCabe index: 2 number of parameters: 3 id: 15 unit: export function generateMergedIR() file: src/helpers/generator.ts start line: 63 end line: 114 size: 33 LOC McCabe index: 7 number of parameters: 2 id: 16 unit: export function actionTitle() file: src/common/shared.ts start line: 123 end line: 153 size: 31 LOC McCabe index: 17 number of parameters: 1 id: 17 unit: async function generateDependencyInfo() file: dev-tools/dep-info.js start line: 55 end line: 91 size: 31 LOC McCabe index: 5 number of parameters: 1 id: 18 unit: export function ActionControlButton() file: src/components/ActionElement/ControlButton.tsx start line: 38 end line: 69 size: 30 LOC McCabe index: 4 number of parameters: 7 id: 19 unit: export function StartOverWarningModal() file: src/components/StartOverWarningModal.tsx start line: 48 end line: 76 size: 29 LOC McCabe index: 1 number of parameters: 3 id: 20 unit: export function Assertion() file: src/components/Assertion/Assertion.tsx start line: 65 end line: 95 size: 29 LOC McCabe index: 3 number of parameters: 6 id: 21 unit: async function createWindow() file: electron/electron.ts start line: 46 end line: 73 size: 27 LOC McCabe index: 6 number of parameters: 0 id: 22 unit: export function ExportScriptFlyout() file: src/components/ExportScriptFlyout/Flyout.tsx start line: 45 end line: 76 size: 27 LOC McCabe index: 3 number of parameters: 2 id: 23 unit: async function() file: src/hooks/useSyntheticsTest.ts start line: 58 end line: 87 size: 27 LOC McCabe index: 3 number of parameters: 0 id: 24 unit: export default async function handler() file: demo-app/pages/api/cart/checkout.js start line: 14 end line: 40 size: 24 LOC McCabe index: 2 number of parameters: 2 id: 25 unit: export function Body() file: src/components/ExportScriptFlyout/Body.tsx start line: 35 end line: 57 size: 23 LOC McCabe index: 1 number of parameters: 3 id: 26 unit: export function useGlobalToasts() file: src/hooks/useGlobalToasts.ts start line: 29 end line: 54 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 27 unit: async launchBrowser() file: electron/browserManager.ts start line: 50 end line: 72 size: 21 LOC McCabe index: 3 number of parameters: 0 id: 28 unit: onDropStep: onDropStep() file: src/hooks/useStepsContext/useStepsContext.ts start line: 166 end line: 187 size: 21 LOC McCabe index: 4 number of parameters: 2 id: 29 unit: export function useStepResultStatus() file: src/hooks/useTestResult.ts start line: 38 end line: 62 size: 21 LOC McCabe index: 6 number of parameters: 2 id: 30 unit: async function showNotice() file: electron/menu.ts start line: 101 end line: 120 size: 20 LOC McCabe index: 3 number of parameters: 0 id: 31 unit: async function generateNotice() file: dev-tools/dep-info.js start line: 112 end line: 135 size: 20 LOC McCabe index: 5 number of parameters: 0 id: 32 unit: function createDeleteButton() file: src/components/ActionElement/SettingsPopover.tsx start line: 42 end line: 60 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 33 unit: async function download() file: scripts/download-chromium.js start line: 46 end line: 73 size: 18 LOC McCabe index: 4 number of parameters: 4 id: 34 unit: export function ActionStatusIndicator() file: src/components/ActionStatusIndicator.tsx start line: 41 end line: 59 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 35 unit: export default function setupListeners() file: electron/execution.ts start line: 52 end line: 71 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 36 unit: export async function onExportScript() file: electron/api/exportScript.ts start line: 27 end line: 44 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 37 unit: function createUpdatedAction() file: src/components/ActionDetail/ActionDetail.tsx start line: 40 end line: 55 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 38 unit: export default async function handler() file: demo-app/pages/api/cart/index.js start line: 3 end line: 17 size: 15 LOC McCabe index: 2 number of parameters: 2 id: 39 unit: function changePermission() file: scripts/after-pack.js start line: 35 end line: 49 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 40 unit: export function HeadingText() file: src/components/ActionElement/HeadingText.tsx start line: 40 end line: 54 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 41 unit: function updateAction() file: src/components/Assertion/Assertion.tsx start line: 49 end line: 63 size: 15 LOC McCabe index: 2 number of parameters: 4 id: 42 unit: export function onSetMode() file: electron/api/setMode.ts start line: 27 end line: 41 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 43 unit: export function generateIR() file: src/helpers/generator.ts start line: 35 end line: 50 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 44 unit: export async function getCodeForFailedResult() file: src/common/shared.ts start line: 103 end line: 121 size: 14 LOC McCabe index: 5 number of parameters: 3 id: 45 unit: function getColorForStatus() file: src/components/ActionStatusIndicator.tsx start line: 61 end line: 73 size: 13 LOC McCabe index: 5 number of parameters: 2 id: 46 unit: export async function getCodeFromActions() file: src/common/shared.ts start line: 73 end line: 85 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 47 unit: export function FormControl() file: src/components/ActionDetail/FormControl.tsx start line: 37 end line: 48 size: 12 LOC McCabe index: 2 number of parameters: 6 id: 48 unit: export function resultReducer() file: src/helpers/resultReducer.ts start line: 34 end line: 44 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 49 unit: async function getChromiumInfo() file: dev-tools/dep-info.js start line: 100 end line: 110 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 50 unit: async closeBrowser() file: electron/browserManager.ts start line: 74 end line: 83 size: 10 LOC McCabe index: 4 number of parameters: 0 id: 51 unit: async function openPage() file: electron/api/recordJourney.ts start line: 74 end line: 83 size: 10 LOC McCabe index: 6 number of parameters: 2 id: 52 unit: function translatePlatform() file: scripts/download-chromium.js start line: 80 end line: 89 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 53 unit: await downloadBrowserWithProgressBar() file: scripts/download-chromium.js start line: 62 end line: 70 size: 9 LOC McCabe index: 2 number of parameters: 6 id: 54 unit: async function fetchCodeForFailure() file: src/components/TestResult/TestResult.tsx start line: 49 end line: 59 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 55 unit: export function TruncatedTitle() file: src/components/TestResult/TruncatedTitle.tsx start line: 35 end line: 43 size: 9 LOC McCabe index: 3 number of parameters: 3 id: 56 unit: export function canDrag() file: src/hooks/useDragAndDrop.ts start line: 29 end line: 48 size: 9 LOC McCabe index: 5 number of parameters: 2 id: 57 unit: export function createExternalLinkHandler() file: src/common/shared.ts start line: 87 end line: 95 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 58 unit: function getFileContent() file: dev-tools/dep-info.js start line: 44 end line: 53 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 59 unit: async function onRecordJourney() file: electron/execution.ts start line: 73 end line: 80 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 60 unit: async function createMainWindow() file: electron/electron.ts start line: 86 end line: 93 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 61 unit: function safeReadDirSync() file: dev-tools/dep-info.js start line: 34 end line: 42 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 62 unit: export async function onOpenExternalLink() file: electron/api/openExternalLink.ts start line: 27 end line: 33 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 63 unit: export function get() file: demo-app/utils/storage.js start line: 3 end line: 9 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 64 unit: export function set() file: demo-app/utils/storage.js start line: 11 end line: 17 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 65 unit: export async function getServerSideProps() file: demo-app/pages/product/[productId].js start line: 12 end line: 18 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 66 unit: function evaluateSize() file: src/components/ControlButton.tsx start line: 49 end line: 55 size: 7 LOC McCabe index: 5 number of parameters: 0 id: 67 unit: stop() file: electron/syntheticsManager.ts start line: 45 end line: 50 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 68 unit: async function onRunJourney() file: electron/execution.ts start line: 82 end line: 87 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 69 unit: export function del() file: demo-app/utils/storage.js start line: 19 end line: 24 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: export function Footer() file: src/components/ExportScriptFlyout/Footer.tsx start line: 36 end line: 41 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 71 unit: function getPackageInfo() file: dev-tools/dep-info.js start line: 93 end line: 98 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 72 unit: run() file: electron/syntheticsManager.ts start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 73 unit: onBrowserClosed() file: electron/browserManager.ts start line: 44 end line: 48 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 74 unit: click: async() file: electron/menu.ts start line: 64 end line: 68 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 75 unit: async function initMainWindow() file: electron/electron.ts start line: 75 end line: 79 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 76 unit: export default async function handler() file: demo-app/pages/api/product/[productId].js start line: 3 end line: 7 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 77 unit: module.exports.getChromeVersion = function() file: scripts/install-pw.js start line: 40 end line: 44 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: runTest: async() file: electron/preload.ts start line: 55 end line: 58 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 79 unit: function createMenu() file: electron/electron.ts start line: 81 end line: 84 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: export default async function handler() file: demo-app/pages/api/product/index.js start line: 3 end line: 6 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 81 unit: function findExecutablePath() file: scripts/download-chromium.js start line: 75 end line: 78 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 82 unit: function headerCopy() file: src/components/StartOverWarningModal.tsx start line: 43 end line: 46 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 83 unit: export function useDragAndDrop() file: src/hooks/useDragAndDrop.ts start line: 54 end line: 58 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 84 unit: export function useDragAndDropContext() file: src/hooks/useDragAndDropContext.ts start line: 28 end line: 32 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: isRunning() file: electron/syntheticsManager.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 86 unit: stopRecording: async() file: electron/preload.ts start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 87 unit: pauseRecording: async() file: electron/preload.ts start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 88 unit: resumeRecording: async() file: electron/preload.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 89 unit: isRunning() file: electron/browserManager.ts start line: 36 end line: 38 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: getContext() file: electron/browserManager.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: click: async() file: electron/menu.ts start line: 72 end line: 74 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 92 unit: export async function onGenerateCode() file: electron/api/generateCode.ts start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 93 unit: for await() file: electron/api/runJourney.ts start line: 160 end line: 162 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 94 unit: for await() file: electron/api/runJourney.ts start line: 163 end line: 165 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 95 unit: module.exports.getExecutablePath = function() file: scripts/install-pw.js start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: function removeColorCodes() file: src/components/TestResult/ResultErrorBody.tsx start line: 30 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 97 unit: function createStepSeparatorDragDropData() file: src/components/StepSeparator/SeparatorActions.tsx start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 98 unit: function isOpenOrCloseAction() file: src/helpers/generator.ts start line: 54 end line: 56 size: 3 LOC McCabe index: 3 number of parameters: 2 id: 99 unit: async function notImplementedAsync() file: src/contexts/RecordingContext.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 100 unit: function notImplemented() file: src/contexts/RecordingContext.ts start line: 35 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 101 unit: function notImplemented() file: src/contexts/StepsContext.ts start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 102 unit: function notInitialized() file: src/contexts/ToastContext.ts start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 103 unit: function notImplemented() file: src/contexts/DragAndDropContext.ts start line: 33 end line: 35 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 104 unit: function notImplemented() file: src/contexts/TestContext.ts start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 105 unit: async function notImplementedAsync() file: src/contexts/TestContext.ts start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 0