id: 1 unit: export default function JobDetail() file: app/routes/jobs.$jobId.tsx start line: 162 end line: 1371 size: 1070 LOC McCabe index: 135 number of parameters: 0 id: 2 unit: export async function action() file: app/routes/api.jobs.create-with-key.tsx start line: 8 end line: 211 size: 165 LOC McCabe index: 20 number of parameters: 1 id: 3 unit: export function LogStream() file: app/components/LogStream.tsx start line: 117 end line: 299 size: 161 LOC McCabe index: 30 number of parameters: 2 id: 4 unit: private async submitJobToApi() file: app/lib/server/processors/ApiJobExecutor.ts start line: 137 end line: 275 size: 109 LOC McCabe index: 16 number of parameters: 3 id: 5 unit: private async runJobInContainer() file: app/lib/server/processors/DockerJobExecutor.ts start line: 144 end line: 280 size: 104 LOC McCabe index: 11 number of parameters: 3 id: 6 unit: export async function action() file: app/routes/api.jobs.tsx start line: 91 end line: 218 size: 97 LOC McCabe index: 11 number of parameters: 1 id: 7 unit: async createBranchAndPush() file: app/lib/server/processors/ApiJobExecutor.ts start line: 463 end line: 603 size: 92 LOC McCabe index: 7 number of parameters: 1 id: 8 unit: export async function action() file: app/routes/api.config.docker.tsx start line: 34 end line: 137 size: 90 LOC McCabe index: 12 number of parameters: 1 id: 9 unit: async createBranchAndPush() file: app/lib/server/processors/DockerJobExecutor.ts start line: 374 end line: 524 size: 83 LOC McCabe index: 5 number of parameters: 1 id: 10 unit: export async function loader() file: app/routes/api.jobs.$jobId.diff.tsx start line: 9 end line: 101 size: 82 LOC McCabe index: 9 number of parameters: 2 id: 11 unit: protected parseDiff() file: app/lib/server/processors/JobExecutor.ts start line: 18 end line: 118 size: 81 LOC McCabe index: 33 number of parameters: 2 id: 12 unit: private async getJobOutput() file: app/lib/server/processors/ApiJobExecutor.ts start line: 369 end line: 461 size: 77 LOC McCabe index: 13 number of parameters: 2 id: 13 unit: export async function loader() file: app/routes/api.jobs.$jobId.environment.tsx start line: 9 end line: 95 size: 77 LOC McCabe index: 10 number of parameters: 2 id: 14 unit: start() file: app/routes/api.jobs.$jobId.logs.tsx start line: 25 end line: 120 size: 76 LOC McCabe index: 7 number of parameters: 1 id: 15 unit: private extractDiffFromOutput() file: app/lib/server/processors/DockerJobExecutor.ts start line: 59 end line: 142 size: 69 LOC McCabe index: 9 number of parameters: 2 id: 16 unit: private extractDiffFromOutput() file: app/lib/server/processors/ApiJobExecutor.ts start line: 52 end line: 135 size: 69 LOC McCabe index: 9 number of parameters: 2 id: 17 unit: private async applyFileChanges() file: app/lib/server/processors/ApiJobExecutor.ts start line: 626 end line: 702 size: 69 LOC McCabe index: 15 number of parameters: 2 id: 18 unit: private async applyFileChanges() file: app/lib/server/processors/DockerJobExecutor.ts start line: 547 end line: 626 size: 65 LOC McCabe index: 14 number of parameters: 2 id: 19 unit: private extractContentFromDiff() file: app/lib/server/processors/ApiJobExecutor.ts start line: 755 end line: 825 size: 63 LOC McCabe index: 20 number of parameters: 1 id: 20 unit: private async pollJobCompletion() file: app/lib/server/processors/ApiJobExecutor.ts start line: 277 end line: 349 size: 60 LOC McCabe index: 11 number of parameters: 2 id: 21 unit: async function handleAuthenticate() file: app/routes/api.auth.tsx start line: 46 end line: 157 size: 60 LOC McCabe index: 7 number of parameters: 2 id: 22 unit: export async function loader() file: app/routes/api.jobs.tsx start line: 19 end line: 88 size: 59 LOC McCabe index: 9 number of parameters: 1 id: 23 unit: private extractContentFromDiff() file: app/lib/server/processors/DockerJobExecutor.ts start line: 681 end line: 751 size: 57 LOC McCabe index: 20 number of parameters: 1 id: 24 unit: static async searchUserRepositories() file: app/lib/githubAPIService.ts start line: 73 end line: 133 size: 56 LOC McCabe index: 5 number of parameters: 3 id: 25 unit: export function extractCredentialsFromCookie() file: app/lib/server/auth.ts start line: 21 end line: 97 size: 51 LOC McCabe index: 9 number of parameters: 1 id: 26 unit: export function ThemeToggle() file: app/components/ThemeToggle.tsx start line: 3 end line: 59 size: 51 LOC McCabe index: 6 number of parameters: 0 id: 27 unit: private applySimplePatch() file: app/lib/server/processors/DockerJobExecutor.ts start line: 753 end line: 817 size: 49 LOC McCabe index: 13 number of parameters: 2 id: 28 unit: async listJobs() file: app/lib/server/jobStore.ts start line: 9 end line: 67 size: 48 LOC McCabe index: 5 number of parameters: 6 id: 29 unit: private async applyDiffToFile() file: app/lib/server/processors/ApiJobExecutor.ts start line: 704 end line: 753 size: 48 LOC McCabe index: 7 number of parameters: 3 id: 30 unit: static async createEphemeralToken() file: app/lib/server/githubTokenService.ts start line: 10 end line: 70 size: 46 LOC McCabe index: 5 number of parameters: 3 id: 31 unit: private async applyDiffToFile() file: app/lib/server/processors/DockerJobExecutor.ts start line: 628 end line: 679 size: 46 LOC McCabe index: 7 number of parameters: 3 id: 32 unit: static async enhanceJobWithIssueDetails() file: app/lib/issueEnhancer.ts start line: 21 end line: 79 size: 44 LOC McCabe index: 7 number of parameters: 3 id: 33 unit: async processJob() file: app/lib/server/jobProcessor.ts start line: 28 end line: 84 size: 43 LOC McCabe index: 8 number of parameters: 3 id: 34 unit: static async getRepositoryInfo() file: app/lib/server/githubTokenService.ts start line: 121 end line: 166 size: 42 LOC McCabe index: 4 number of parameters: 2 id: 35 unit: static async createIssue() file: app/lib/githubService.ts start line: 379 end line: 426 size: 39 LOC McCabe index: 7 number of parameters: 4 id: 36 unit: private async getContainerLogs() file: app/lib/server/processors/DockerJobExecutor.ts start line: 282 end line: 330 size: 39 LOC McCabe index: 5 number of parameters: 2 id: 37 unit: static async authenticate() file: app/lib/authService.ts start line: 78 end line: 120 size: 38 LOC McCabe index: 5 number of parameters: 1 id: 38 unit: static async validateRepositoryAccess() file: app/lib/server/githubTokenService.ts start line: 75 end line: 116 size: 38 LOC McCabe index: 6 number of parameters: 2 id: 39 unit: static async getIssue() file: app/lib/githubService.ts start line: 197 end line: 244 size: 37 LOC McCabe index: 7 number of parameters: 2 id: 40 unit: function createErrorResponse() file: app/routes/api.auth.github.callback.tsx start line: 286 end line: 322 size: 37 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: export async function action() file: app/routes/api.config.execution-mode.tsx start line: 39 end line: 80 size: 37 LOC McCabe index: 6 number of parameters: 1 id: 42 unit: static async getAuthStatus() file: app/lib/authService.ts start line: 38 end line: 75 size: 35 LOC McCabe index: 8 number of parameters: 0 id: 43 unit: static async getRepositoryBranches() file: app/lib/githubAPIService.ts start line: 138 end line: 173 size: 34 LOC McCabe index: 3 number of parameters: 3 id: 44 unit: static showSaveIndicator() file: app/lib/autoSaveService.ts start line: 39 end line: 80 size: 33 LOC McCabe index: 5 number of parameters: 2 id: 45 unit: export async function loader() file: app/routes/api.jobs.$jobId.status.tsx start line: 9 end line: 49 size: 33 LOC McCabe index: 8 number of parameters: 2 id: 46 unit: export default defineConfig() file: vite.config.ts start line: 11 end line: 48 size: 32 LOC McCabe index: 1 number of parameters: 9 id: 47 unit: async execute() file: app/lib/server/processors/DockerJobExecutor.ts start line: 16 end line: 57 size: 32 LOC McCabe index: 5 number of parameters: 3 id: 48 unit: export async function loader() file: app/routes/health.tsx start line: 6 end line: 41 size: 32 LOC McCabe index: 7 number of parameters: 1 id: 49 unit: async function handleVerify() file: app/routes/api.auth.tsx start line: 180 end line: 216 size: 31 LOC McCabe index: 3 number of parameters: 1 id: 50 unit: static async updateRepoConfig() file: app/lib/configService.ts start line: 72 end line: 101 size: 28 LOC McCabe index: 4 number of parameters: 1 id: 51 unit: private static formatIssueForDescription() file: app/lib/issueEnhancer.ts start line: 128 end line: 162 size: 28 LOC McCabe index: 7 number of parameters: 1 id: 52 unit: export async function action() file: app/routes/api.config.repository.tsx start line: 39 end line: 70 size: 28 LOC McCabe index: 3 number of parameters: 1 id: 53 unit: static async addComment() file: app/lib/githubService.ts start line: 477 end line: 506 size: 27 LOC McCabe index: 4 number of parameters: 3 id: 54 unit: static async getJobStats() file: app/lib/jobService.remix.ts start line: 294 end line: 324 size: 27 LOC McCabe index: 3 number of parameters: 0 id: 55 unit: private static buildEnhancedDescription() file: app/lib/issueEnhancer.ts start line: 84 end line: 123 size: 27 LOC McCabe index: 4 number of parameters: 3 id: 56 unit: private static extractActionFromDescription() file: app/lib/issueEnhancer.ts start line: 225 end line: 255 size: 27 LOC McCabe index: 2 number of parameters: 1 id: 57 unit: private cleanDockerStreamChunk() file: app/lib/server/processors/DockerJobExecutor.ts start line: 333 end line: 372 size: 26 LOC McCabe index: 6 number of parameters: 1 id: 58 unit: static async getRepoConfig() file: app/lib/configService.ts start line: 45 end line: 70 size: 25 LOC McCabe index: 3 number of parameters: 0 id: 59 unit: export function Layout() file: app/root.tsx start line: 34 end line: 70 size: 24 LOC McCabe index: 1 number of parameters: 1 id: 60 unit: static async getExecutionMode() file: app/lib/configService.ts start line: 103 end line: 126 size: 24 LOC McCabe index: 3 number of parameters: 0 id: 61 unit: static async updateExecutionMode() file: app/lib/configService.ts start line: 128 end line: 153 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 62 unit: async execute() file: app/lib/server/processors/ApiJobExecutor.ts start line: 21 end line: 50 size: 24 LOC McCabe index: 3 number of parameters: 3 id: 63 unit: static clearRepositoryCache() file: app/lib/githubService.ts start line: 509 end line: 540 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 64 unit: static async getCredentials() file: app/lib/authService.ts start line: 123 end line: 153 size: 23 LOC McCabe index: 6 number of parameters: 0 id: 65 unit: private static generateTitleFromIssues() file: app/lib/issueEnhancer.ts start line: 193 end line: 220 size: 23 LOC McCabe index: 8 number of parameters: 2 id: 66 unit: async function testHuggingFaceToken() file: app/routes/api.auth.tsx start line: 257 end line: 282 size: 23 LOC McCabe index: 6 number of parameters: 1 id: 67 unit: static saveToLocalStorage() file: app/lib/autoSaveService.ts start line: 9 end line: 34 size: 22 LOC McCabe index: 4 number of parameters: 3 id: 68 unit: export default function handleRequest() file: app/entry.server.tsx start line: 17 end line: 40 size: 21 LOC McCabe index: 3 number of parameters: 5 id: 69 unit: export async function loader() file: app/routes/api.config.repository.tsx start line: 15 end line: 36 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 70 unit: export async function loader() file: app/routes/api.config.execution-mode.tsx start line: 15 end line: 36 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 71 unit: export async function loader() file: app/routes/api.jobs.$jobId.logs.tsx start line: 9 end line: 131 size: 21 LOC McCabe index: 3 number of parameters: 2 id: 72 unit: function handleBotRequest() file: app/entry.server.tsx start line: 42 end line: 90 size: 20 LOC McCabe index: 1 number of parameters: 4 id: 73 unit: export default function AuthDone() file: app/routes/api.auth.done.tsx start line: 15 end line: 34 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 74 unit: static async getAuthenticatedUser() file: app/lib/githubService.ts start line: 96 end line: 118 size: 19 LOC McCabe index: 5 number of parameters: 0 id: 75 unit: export async function createCodeChallenge() file: app/lib/oauth2Utils.ts start line: 32 end line: 55 size: 19 LOC McCabe index: 3 number of parameters: 1 id: 76 unit: private static async fetchWithCredentials() file: app/lib/configService.ts start line: 24 end line: 43 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 77 unit: export function getGitHubAuthConfig() file: app/lib/server/config.ts start line: 119 end line: 138 size: 19 LOC McCabe index: 5 number of parameters: 0 id: 78 unit: static async getAuthenticationStatus() file: app/lib/githubService.ts start line: 120 end line: 139 size: 18 LOC McCabe index: 5 number of parameters: 0 id: 79 unit: static async updateDockerConfig() file: app/lib/configService.ts start line: 173 end line: 192 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 80 unit: static async createJob() file: app/lib/jobService.remix.ts start line: 76 end line: 107 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 81 unit: private static validateCredentials() file: app/lib/authService.ts start line: 271 end line: 292 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 82 unit: async updateJobEnvironment() file: app/lib/server/jobStore.ts start line: 97 end line: 116 size: 18 LOC McCabe index: 2 number of parameters: 4 id: 83 unit: private static buildIssuesSummary() file: app/lib/issueEnhancer.ts start line: 167 end line: 188 size: 18 LOC McCabe index: 3 number of parameters: 1 id: 84 unit: async function getUserInfoFromApiKey() file: app/routes/api.jobs.create-with-key.tsx start line: 223 end line: 242 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 85 unit: static getCacheStats() file: app/lib/githubService.ts start line: 586 end line: 602 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 86 unit: export function generateRandomString() file: app/lib/oauth2Utils.ts start line: 6 end line: 27 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 87 unit: async createBranchAndPush() file: app/lib/server/jobProcessor.ts start line: 86 end line: 103 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: static createAuthenticatedCloneUrl() file: app/lib/server/githubTokenService.ts start line: 171 end line: 188 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 89 unit: private async getAuthenticatedRepoUrl() file: app/lib/server/processors/ApiJobExecutor.ts start line: 606 end line: 624 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 90 unit: static createIssuesSummary() file: app/lib/issueEnhancer.ts start line: 260 end line: 281 size: 17 LOC McCabe index: 8 number of parameters: 1 id: 91 unit: private static async fetchIssue() file: app/lib/githubService.ts start line: 246 end line: 264 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 92 unit: static async getDockerConfig() file: app/lib/configService.ts start line: 155 end line: 171 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 93 unit: static async getJobsByStatus() file: app/lib/jobService.remix.ts start line: 195 end line: 210 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 94 unit: static async logout() file: app/lib/authService.ts start line: 252 end line: 268 size: 16 LOC McCabe index: 2 number of parameters: 0 id: 95 unit: async updateJobStatus() file: app/lib/server/jobStore.ts start line: 78 end line: 95 size: 16 LOC McCabe index: 3 number of parameters: 3 id: 96 unit: export async function loader() file: app/routes/api.config.docker.tsx start line: 16 end line: 31 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 97 unit: function handleLogout() file: app/routes/api.auth.tsx start line: 159 end line: 178 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 98 unit: export async function loader() file: app/routes/index.tsx start line: 8 end line: 23 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 99 unit: id: uuidv4() file: app/routes/api.jobs.create-with-key.tsx start line: 168 end line: 185 size: 15 LOC McCabe index: 6 number of parameters: 0 id: 100 unit: function getSetupMessage() file: app/routes/api.auth.github.config.tsx start line: 33 end line: 47 size: 15 LOC McCabe index: 7 number of parameters: 2 id: 101 unit: async function testCredentials() file: app/routes/api.auth.tsx start line: 235 end line: 255 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 102 unit: private static trackFailedRequest() file: app/lib/githubService.ts start line: 570 end line: 583 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 103 unit: id: String() file: app/lib/jobService.ts start line: 28 end line: 49 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 104 unit: static startGitHubOAuth2Login() file: app/lib/authService.ts start line: 193 end line: 249 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 105 unit: export function setToLocalStorage() file: app/lib/autoSaveService.ts start line: 132 end line: 146 size: 14 LOC McCabe index: 5 number of parameters: 3 id: 106 unit: id: uuidv4() file: app/routes/api.jobs.tsx start line: 185 end line: 201 size: 14 LOC McCabe index: 5 number of parameters: 0 id: 107 unit: onAllReady() file: app/entry.server.tsx start line: 57 end line: 72 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 108 unit: onShellReady() file: app/entry.server.tsx start line: 107 end line: 122 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 109 unit: static async createJob() file: app/lib/jobService.ts start line: 21 end line: 35 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 110 unit: static async updateJobStatus() file: app/lib/jobService.ts start line: 42 end line: 55 size: 13 LOC McCabe index: 2 number of parameters: 2 id: 111 unit: function parseCookies() file: app/routes/api.auth.tsx start line: 284 end line: 299 size: 13 LOC McCabe index: 3 number of parameters: 1 id: 112 unit: (function()() file: app/root.tsx start line: 46 end line: 58 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 113 unit: private static shouldSkipFailedRequest() file: app/lib/githubService.ts start line: 551 end line: 567 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 114 unit: static async updateJobStatus() file: app/lib/jobService.remix.ts start line: 145 end line: 156 size: 12 LOC McCabe index: 2 number of parameters: 3 id: 115 unit: static async isOAuth2Available() file: app/lib/authService.ts start line: 156 end line: 167 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 116 unit: static async isGitHubOAuth2Available() file: app/lib/authService.ts start line: 170 end line: 181 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 117 unit: async healthCheck() file: app/lib/server/processors/DockerJobExecutor.ts start line: 820 end line: 831 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 118 unit: setupMessage: getSetupMessage() file: app/routes/api.auth.github.config.tsx start line: 25 end line: 37 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 119 unit: function validateCredentials() file: app/routes/api.auth.tsx start line: 218 end line: 233 size: 12 LOC McCabe index: 5 number of parameters: 1 id: 120 unit: static extractRepositoryName() file: app/lib/recentDataService.ts start line: 45 end line: 56 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 121 unit: switchExecutionMode() file: app/lib/server/jobProcessor.ts start line: 106 end line: 116 size: 11 LOC McCabe index: 6 number of parameters: 1 id: 122 unit: export function parseCookies() file: app/lib/server/auth.ts start line: 139 end line: 151 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 123 unit: private isJobCompleted() file: app/lib/server/processors/ApiJobExecutor.ts start line: 351 end line: 361 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 124 unit: static async getRepositoryIssues() file: app/lib/githubService.ts start line: 266 end line: 275 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 125 unit: private static async fetchRepositoryIssues() file: app/lib/githubService.ts start line: 337 end line: 346 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: static addRecentRepository() file: app/lib/recentDataService.ts start line: 29 end line: 43 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 127 unit: export function getFromLocalStorage() file: app/lib/autoSaveService.ts start line: 120 end line: 129 size: 10 LOC McCabe index: 4 number of parameters: 2 id: 128 unit: private async getAuthenticatedRepoUrl() file: app/lib/server/processors/DockerJobExecutor.ts start line: 527 end line: 545 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 129 unit: onError() file: app/entry.server.tsx start line: 76 end line: 84 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 130 unit: static async updateIssue() file: app/lib/githubService.ts start line: 428 end line: 436 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: static async checkHealth() file: app/lib/jobService.remix.ts start line: 173 end line: 182 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 132 unit: static async getMultipleJobs() file: app/lib/jobService.remix.ts start line: 185 end line: 193 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 133 unit: static async forceSaveAll() file: app/lib/autoSaveService.ts start line: 93 end line: 104 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 134 unit: async setJobLogs() file: app/lib/server/jobStore.ts start line: 133 end line: 141 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 135 unit: private createExecutor() file: app/lib/server/jobProcessor.ts start line: 18 end line: 26 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 136 unit: abstract createBranchAndPush() file: app/lib/server/processors/JobExecutor.ts start line: 8 end line: 16 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: static async getUserRepositories() file: app/lib/githubAPIService.ts start line: 8 end line: 16 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: githubUserInfo: btoa() file: app/routes/api.auth.github.connect-pat.tsx start line: 98 end line: 108 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 139 unit: secrets: Object with sensitive values() file: app/components/ApiKeyModal.tsx start line: 345 end line: 354 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 140 unit: static async getAllJobs() file: app/lib/jobService.remix.ts start line: 11 end line: 18 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 141 unit: static async getJob() file: app/lib/jobService.remix.ts start line: 67 end line: 74 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 142 unit: static async getJobDiff() file: app/lib/jobService.remix.ts start line: 109 end line: 116 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 143 unit: static async setJobDiff() file: app/lib/jobService.remix.ts start line: 118 end line: 125 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 144 unit: static async getJobLogs() file: app/lib/jobService.remix.ts start line: 127 end line: 134 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 145 unit: static async setJobLogs() file: app/lib/jobService.remix.ts start line: 136 end line: 143 size: 8 LOC McCabe index: 2 number of parameters: 2 id: 146 unit: static async deleteJob() file: app/lib/jobService.remix.ts start line: 158 end line: 165 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 147 unit: static async searchJobs() file: app/lib/jobService.remix.ts start line: 213 end line: 220 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 148 unit: static async createBranchAndPush() file: app/lib/jobService.remix.ts start line: 253 end line: 260 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 149 unit: githubUserInfo: btoa() file: app/routes/api.auth.github.auto-connect.tsx start line: 117 end line: 126 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 150 unit: static getRecentRepositories() file: app/lib/recentDataService.ts start line: 21 end line: 27 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 151 unit: static getRecentBranches() file: app/lib/recentDataService.ts start line: 59 end line: 65 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 152 unit: static startOAuth2Login() file: app/lib/authService.ts start line: 184 end line: 190 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 153 unit: export function requireAuthentication() file: app/lib/server/auth.ts start line: 99 end line: 114 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 154 unit: throw redirect() file: app/lib/server/auth.ts start line: 104 end line: 110 size: 7 LOC McCabe index: 1 number of parameters: 5 id: 155 unit: export function getEffectiveUsername() file: app/lib/server/auth.ts start line: 130 end line: 137 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 156 unit: githubUserInfo: btoa() file: app/routes/api.auth.github.callback.tsx start line: 193 end line: 202 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 157 unit: Personal Access Token() file: app/components/AuthWrapper.tsx start line: 564 end line: 571 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 158 unit: static clearAuth() file: app/lib/githubService.ts start line: 80 end line: 86 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 159 unit: static clearAllCaches() file: app/lib/githubService.ts start line: 543 end line: 548 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 160 unit: static addRecentBranch() file: app/lib/recentDataService.ts start line: 67 end line: 77 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 161 unit: static setSelectedRepository() file: app/lib/recentDataService.ts start line: 84 end line: 89 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 162 unit: static setSelectedBranch() file: app/lib/recentDataService.ts start line: 95 end line: 100 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 163 unit: export function getGitHubDevToken() file: app/lib/server/config.ts start line: 111 end line: 116 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 164 unit: async deleteJob() file: app/lib/server/jobStore.ts start line: 118 end line: 123 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 165 unit: export function getJobProcessor() file: app/lib/server/jobProcessor.ts start line: 127 end line: 132 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 166 unit: export function hasValidCredentials() file: app/lib/server/auth.ts start line: 116 end line: 124 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 167 unit: await execAsync() file: app/lib/server/processors/DockerJobExecutor.ts start line: 435 end line: 440 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 168 unit: await execAsync() file: app/lib/server/processors/ApiJobExecutor.ts start line: 514 end line: 519 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 169 unit: per_page: String() file: app/lib/githubAPIService.ts start line: 23 end line: 29 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 170 unit: enc: btoa() file: app/routes/api.auth.github.connect-pat.tsx start line: 101 end line: 108 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 171 unit: hfUserInfo: btoa() file: app/routes/api.auth.callback.tsx start line: 353 end line: 359 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 172 unit: Reference issues() file: app/components/WelcomeModal.tsx start line: 114 end line: 120 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 173 unit: export function isOAuth2Available() file: app/lib/oauth2Utils.ts start line: 60 end line: 65 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: private static getAuthHeaders() file: app/lib/configService.ts start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 175 unit: private isJobFailed() file: app/lib/server/processors/ApiJobExecutor.ts start line: 363 end line: 367 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 176 unit: page: String() file: app/lib/githubAPIService.ts start line: 24 end line: 29 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 177 unit: function isValidHuggingFaceToken() file: app/routes/api.jobs.create-with-key.tsx start line: 214 end line: 220 size: 5 LOC McCabe index: 3 number of parameters: 1 id: 178 unit: enc: btoa() file: app/routes/api.auth.github.auto-connect.tsx start line: 120 end line: 126 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 179 unit: static setAuthToken() file: app/lib/githubService.ts start line: 74 end line: 78 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 180 unit: private static extractRepoPath() file: app/lib/githubService.ts start line: 604 end line: 607 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 181 unit: static async getAllJobs() file: app/lib/jobService.ts start line: 10 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 182 unit: static async getJob() file: app/lib/jobService.ts start line: 16 end line: 19 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 183 unit: static async getJobDiff() file: app/lib/jobService.ts start line: 37 end line: 40 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 184 unit: static clearAllPending() file: app/lib/autoSaveService.ts start line: 85 end line: 88 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 185 unit: async createJob() file: app/lib/server/jobStore.ts start line: 73 end line: 76 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 186 unit: constructor() file: app/lib/server/jobProcessor.ts start line: 13 end line: 16 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 187 unit: export function isPublicPath() file: app/lib/server/auth.ts start line: 153 end line: 156 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 188 unit: constructor() file: app/lib/server/processors/DockerJobExecutor.ts start line: 11 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 189 unit: await execAsync() file: app/lib/server/processors/DockerJobExecutor.ts start line: 421 end line: 424 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 190 unit: await execAsync() file: app/lib/server/processors/DockerJobExecutor.ts start line: 431 end line: 434 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 191 unit: await execAsync() file: app/lib/server/processors/DockerJobExecutor.ts start line: 445 end line: 448 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 192 unit: await execAsync() file: app/lib/server/processors/DockerJobExecutor.ts start line: 473 end line: 476 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 193 unit: await execAsync() file: app/lib/server/processors/DockerJobExecutor.ts start line: 497 end line: 500 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 194 unit: await execAsync() file: app/lib/server/processors/ApiJobExecutor.ts start line: 500 end line: 503 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 195 unit: await execAsync() file: app/lib/server/processors/ApiJobExecutor.ts start line: 510 end line: 513 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 196 unit: await execAsync() file: app/lib/server/processors/ApiJobExecutor.ts start line: 524 end line: 527 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 197 unit: await execAsync() file: app/lib/server/processors/ApiJobExecutor.ts start line: 552 end line: 555 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 198 unit: await execAsync() file: app/lib/server/processors/ApiJobExecutor.ts start line: 576 end line: 579 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 199 unit: enc: btoa() file: app/routes/api.auth.github.callback.tsx start line: 197 end line: 202 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 200 unit: enc: btoa() file: app/routes/api.auth.callback.tsx start line: 356 end line: 359 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 201 unit: enc: btoa() file: app/routes/api.auth.tsx start line: 78 end line: 81 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 202 unit: onSave: async() file: app/components/ConfigurationPanel.tsx start line: 114 end line: 117 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 203 unit: onShellError() file: app/entry.server.tsx start line: 73 end line: 75 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 204 unit: onShellError() file: app/entry.server.tsx start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 205 unit: static isAuthenticated() file: app/lib/githubService.ts start line: 88 end line: 90 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 206 unit: static getAuthToken() file: app/lib/githubService.ts start line: 92 end line: 94 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 207 unit: private static async makeRequest() file: app/lib/githubService.ts start line: 161 end line: 163 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 208 unit: private static async makeAuthenticatedRequest() file: app/lib/githubService.ts start line: 186 end line: 188 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 209 unit: static getSelectedRepository() file: app/lib/recentDataService.ts start line: 80 end line: 82 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 210 unit: static getSelectedBranch() file: app/lib/recentDataService.ts start line: 91 end line: 93 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 211 unit: static getCommonBranches() file: app/lib/recentDataService.ts start line: 103 end line: 105 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 212 unit: private static generateId() file: app/lib/jobService.remix.ts start line: 168 end line: 170 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 213 unit: async getJob() file: app/lib/server/jobStore.ts start line: 69 end line: 71 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 214 unit: async setJobDiff() file: app/lib/server/jobStore.ts start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 215 unit: async getJobDiff() file: app/lib/server/jobStore.ts start line: 129 end line: 131 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 216 unit: async getJobLogs() file: app/lib/server/jobStore.ts start line: 143 end line: 145 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 217 unit: async getAllJobs() file: app/lib/server/jobStore.ts start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 218 unit: export function hasGitHubCredentials() file: app/lib/server/auth.ts start line: 126 end line: 128 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 219 unit: constructor() file: app/lib/server/processors/ApiJobExecutor.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 220 unit: static async getRateLimit() file: app/lib/githubService.ts start line: 141 end line: 142 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 221 unit: await execAsync() file: app/lib/server/processors/DockerJobExecutor.ts start line: 409 end line: 410 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 222 unit: await execAsync() file: app/lib/server/processors/ApiJobExecutor.ts start line: 488 end line: 489 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 223 unit: Environment Variables() file: app/routes/jobs.$jobId.tsx start line: 867 end line: 868 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 224 unit: await execAsync() file: app/lib/server/processors/DockerJobExecutor.ts start line: 484 end line: 484 size: 1 LOC McCabe index: 1 number of parameters: 2 id: 225 unit: await execAsync() file: app/lib/server/processors/ApiJobExecutor.ts start line: 563 end line: 563 size: 1 LOC McCabe index: 1 number of parameters: 2