id: 1 unit: export default function TerminalChatInput() file: codex-cli/src/components/chat/terminal-chat-input.tsx start line: 42 end line: 866 size: 617 LOC McCabe index: 101 number of parameters: 20 id: 2 unit: public async run() file: codex-cli/src/utils/agent/agent-loop.ts start line: 441 end line: 1436 size: 588 LOC McCabe index: 147 number of parameters: 2 id: 3 unit: export default function TerminalChat() file: codex-cli/src/components/chat/terminal-chat.tsx start line: 137 end line: 572 size: 303 LOC McCabe index: 31 number of parameters: 7 id: 4 unit: export function isSafeCommand() file: codex-cli/src/approvals.ts start line: 333 end line: 466 size: 130 LOC McCabe index: 28 number of parameters: 1 id: 5 unit: export default function ModelOverlay() file: codex-cli/src/components/model-overlay.tsx start line: 27 end line: 165 size: 121 LOC McCabe index: 13 number of parameters: 8 id: 6 unit: async function nonStreamResponses() file: codex-cli/src/utils/responses.ts start line: 319 end line: 443 size: 112 LOC McCabe index: 18 number of parameters: 2 id: 7 unit: fn test_parse_patch() file: codex-rs/apply-patch/src/parser.rs start line: 291 end line: 406 size: 112 LOC McCabe index: 1 number of parameters: 0 id: 8 unit: private parse_update_file() file: codex-cli/src/utils/agent/apply-patch.ts start line: 189 end line: 306 size: 111 LOC McCabe index: 18 number of parameters: 1 id: 9 unit: export function exec() file: codex-cli/src/utils/agent/sandbox/raw-exec.ts start line: 20 end line: 200 size: 111 LOC McCabe index: 14 number of parameters: 3 id: 10 unit: export default function TypeaheadOverlay() file: codex-cli/src/components/typeahead-overlay.tsx start line: 23 end line: 166 size: 103 LOC McCabe index: 14 number of parameters: 8 id: 11 unit: fn render_ref() file: codex-rs/tui/src/conversation_history_widget.rs start line: 238 end line: 387 size: 99 LOC McCabe index: 13 number of parameters: 3 id: 12 unit: fn test_check_valid_input_files() file: codex-rs/execpolicy/src/execv_checker.rs start line: 165 end line: 281 size: 98 LOC McCabe index: 1 number of parameters: 0 id: 13 unit: def main() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 95 LOC McCabe index: 10 number of parameters: 0 id: 14 unit: export async function handleExecCommand() file: codex-cli/src/utils/agent/handle-exec-command.ts start line: 74 end line: 189 size: 92 LOC McCabe index: 12 number of parameters: 6 id: 15 unit: function SelectInput() file: codex-cli/src/components/select-input/select-input.tsx start line: 67 end line: 187 size: 91 LOC McCabe index: 24 number of parameters: 9 id: 16 unit: export default function HelpOverlay() file: codex-cli/src/components/help-overlay.tsx start line: 10 end line: 103 size: 86 LOC McCabe index: 4 number of parameters: 2 id: 17 unit: fn try_from() file: codex-rs/mcp-types/src/lib.rs start line: 1265 end line: 1350 size: 86 LOC McCabe index: 1 number of parameters: 1 id: 18 unit: fn parse_update_file_chunk() file: codex-rs/apply-patch/src/parser.rs start line: 202 end line: 288 size: 82 LOC McCabe index: 9 number of parameters: 3 id: 19 unit: export async function getFileContents() file: codex-cli/src/utils/singlepass/context_files.ts start line: 308 end line: 409 size: 80 LOC McCabe index: 18 number of parameters: 2 id: 20 unit: export default function HistoryOverlay() file: codex-cli/src/components/history-overlay.tsx start line: 13 end line: 99 size: 79 LOC McCabe index: 16 number of parameters: 2 id: 21 unit: export function canAutoApprove() file: codex-cli/src/approvals.ts start line: 72 end line: 167 size: 79 LOC McCabe index: 16 number of parameters: 5 id: 22 unit: fn test_update_file_chunk() file: codex-rs/apply-patch/src/parser.rs start line: 422 end line: 499 size: 78 LOC McCabe index: 1 number of parameters: 0 id: 23 unit: function peek_next_section() file: codex-cli/src/utils/agent/apply-patch.ts start line: 453 end line: 537 size: 77 LOC McCabe index: 18 number of parameters: 2 id: 24 unit: fn parse_one_hunk() file: codex-rs/apply-patch/src/parser.rs start line: 112 end line: 200 size: 74 LOC McCabe index: 11 number of parameters: 2 id: 25 unit: function InputPrompt() file: codex-cli/src/components/singlepass-cli-app.tsx start line: 208 end line: 284 size: 73 LOC McCabe index: 18 number of parameters: 4 id: 26 unit: function DirectoryInfo() file: codex-cli/src/components/singlepass-cli-app.tsx start line: 113 end line: 181 size: 68 LOC McCabe index: 4 number of parameters: 5 id: 27 unit: function find_context_core() file: codex-cli/src/utils/agent/apply-patch.ts start line: 332 end line: 430 size: 66 LOC McCabe index: 8 number of parameters: 3 id: 28 unit: fn is_write_patch_constrained_to_writable_paths() file: codex-rs/core/src/safety.rs start line: 115 end line: 191 size: 64 LOC McCabe index: 11 number of parameters: 2 id: 29 unit: fn apply_hunks_to_files() file: codex-rs/apply-patch/src/lib.rs start line: 299 end line: 362 size: 63 LOC McCabe index: 15 number of parameters: 1 id: 30 unit: export function TerminalChatToolCallCommand() file: codex-cli/src/components/chat/terminal-chat-tool-call-command.tsx start line: 7 end line: 77 size: 61 LOC McCabe index: 9 number of parameters: 3 id: 31 unit: export function getGitDiff() file: codex-cli/src/utils/get-diff.ts start line: 29 end line: 123 size: 61 LOC McCabe index: 12 number of parameters: 0 id: 32 unit: export function buildBugReportUrl() file: codex-cli/src/utils/bug-report.ts start line: 11 end line: 82 size: 60 LOC McCabe index: 12 number of parameters: 5 id: 33 unit: function TerminalChatResponseToolCallOutput() file: codex-cli/src/components/chat/terminal-chat-response-item.tsx start line: 172 end line: 231 size: 59 LOC McCabe index: 12 number of parameters: 3 id: 34 unit: private async handleFunctionCall() file: codex-cli/src/utils/agent/agent-loop.ts start line: 337 end line: 439 size: 59 LOC McCabe index: 8 number of parameters: 1 id: 35 unit: fn apply_changes_from_apply_patch() file: codex-rs/core/src/codex.rs start line: 1425 end line: 1486 size: 59 LOC McCabe index: 12 number of parameters: 1 id: 36 unit: fn compute_replacements() file: codex-rs/apply-patch/src/lib.rs start line: 412 end line: 495 size: 59 LOC McCabe index: 10 number of parameters: 3 id: 37 unit: fn test_unified_diff_interleaved_changes() file: codex-rs/apply-patch/src/lib.rs start line: 1033 end line: 1102 size: 59 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: export function TerminalChatToolCallApplyPatch() file: codex-cli/src/components/chat/terminal-chat-tool-call-command.tsx start line: 79 end line: 141 size: 58 LOC McCabe index: 6 number of parameters: 3 id: 39 unit: export function parseApplyPatch() file: codex-cli/src/utils/agent/parse-apply-patch.ts start line: 36 end line: 105 size: 58 LOC McCabe index: 13 number of parameters: 1 id: 40 unit: export function parseApplyPatch() file: codex-cli/src/parse-apply-patch.ts start line: 37 end line: 106 size: 58 LOC McCabe index: 13 number of parameters: 1 id: 41 unit: def add_definition() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 57 LOC McCabe index: 14 number of parameters: 4 id: 42 unit: export function createTruncatingCollector() file: codex-cli/src/utils/agent/sandbox/create-truncating-collector.ts start line: 11 end line: 78 size: 56 LOC McCabe index: 11 number of parameters: 3 id: 43 unit: for await() file: codex-cli/src/utils/agent/agent-loop.ts start line: 924 end line: 1014 size: 55 LOC McCabe index: 14 number of parameters: 1 id: 44 unit: function formatHistoryForDisplay() file: codex-cli/src/components/history-overlay.tsx start line: 101 end line: 168 size: 54 LOC McCabe index: 15 number of parameters: 1 id: 45 unit: export default function TerminalChatPastRollout() file: codex-cli/src/components/chat/terminal-chat-past-rollout.tsx start line: 8 end line: 61 size: 54 LOC McCabe index: 1 number of parameters: 3 id: 46 unit: async function execCommand() file: codex-cli/src/utils/agent/handle-exec-command.ts start line: 211 end line: 272 size: 51 LOC McCabe index: 9 number of parameters: 5 id: 47 unit: export async function checkForUpdates() file: codex-cli/src/utils/check-updates.ts start line: 74 end line: 146 size: 51 LOC McCabe index: 8 number of parameters: 0 id: 48 unit: function isEntireShellExpressionSafe() file: codex-cli/src/approvals.ts start line: 510 end line: 575 size: 48 LOC McCabe index: 16 number of parameters: 1 id: 49 unit: export function execWithSeatbelt() file: codex-cli/src/utils/agent/sandbox/macos-seatbelt.ts start line: 23 end line: 76 size: 48 LOC McCabe index: 2 number of parameters: 4 id: 50 unit: function formatResponseItemForQuietMode() file: codex-cli/src/cli.tsx start line: 450 end line: 497 size: 47 LOC McCabe index: 14 number of parameters: 1 id: 51 unit: fn handle_select_key() file: codex-rs/tui/src/user_approval_widget.rs start line: 236 end line: 282 size: 47 LOC McCabe index: 4 number of parameters: 2 id: 52 unit: def lint_utf8_ascii() file: scripts/asciicheck.py start line: 0 end line: 0 size: 46 LOC McCabe index: 14 number of parameters: 2 id: 53 unit: async function runSinglePassTask() file: codex-cli/src/components/singlepass-cli-app.tsx start line: 389 end line: 460 size: 46 LOC McCabe index: 7 number of parameters: 1 id: 54 unit: export function printSizeTree() file: codex-cli/src/utils/singlepass/context_limit.ts start line: 118 end line: 165 size: 46 LOC McCabe index: 8 number of parameters: 7 id: 55 unit: fn install_network_seccomp_filter_on_current_thread() file: codex-rs/core/src/linux.rs start line: 119 end line: 175 size: 46 LOC McCabe index: 3 number of parameters: 0 id: 56 unit: function canAutoApproveApplyPatch() file: codex-cli/src/approvals.ts start line: 169 end line: 217 size: 45 LOC McCabe index: 6 number of parameters: 4 id: 57 unit: fn try_from() file: codex-rs/mcp-types/src/lib.rs start line: 1355 end line: 1399 size: 45 LOC McCabe index: 1 number of parameters: 1 id: 58 unit: function TerminalChatResponseMessage() file: codex-cli/src/components/chat/terminal-chat-response-item.tsx start line: 108 end line: 152 size: 43 LOC McCabe index: 9 number of parameters: 3 id: 59 unit: async function askUserPermission() file: codex-cli/src/utils/agent/handle-exec-command.ts start line: 327 end line: 372 size: 43 LOC McCabe index: 7 number of parameters: 4 id: 60 unit: fn render_ref() file: codex-rs/tui/src/git_warning_screen.rs start line: 59 end line: 121 size: 43 LOC McCabe index: 3 number of parameters: 3 id: 61 unit: async function generateCommandExplanation() file: codex-cli/src/components/chat/terminal-chat.tsx start line: 73 end line: 135 size: 42 LOC McCabe index: 10 number of parameters: 4 id: 62 unit: export function makeAsciiDirectoryStructure() file: codex-cli/src/utils/singlepass/context_files.ts start line: 219 end line: 299 size: 42 LOC McCabe index: 8 number of parameters: 2 id: 63 unit: private getCommandConfirmation:() file: codex-cli/src/utils/agent/agent-loop.ts start line: 126 end line: 232 size: 42 LOC McCabe index: 4 number of parameters: 2 id: 64 unit: fn handle_initialize() file: codex-rs/mcp-server/src/message_processor.rs start line: 174 end line: 222 size: 42 LOC McCabe index: 3 number of parameters: 3 id: 65 unit: async function runQuietMode() file: codex-cli/src/cli.tsx start line: 499 end line: 544 size: 41 LOC McCabe index: 2 number of parameters: 6 id: 66 unit: def check_or_fix() file: scripts/readme_toc.py start line: 0 end line: 0 size: 40 LOC McCabe index: 12 number of parameters: 2 id: 67 unit: export function useConfirmation() file: codex-cli/src/hooks/use-confirmation.ts start line: 17 end line: 67 size: 40 LOC McCabe index: 3 number of parameters: 0 id: 68 unit: export function generateEditSummary() file: codex-cli/src/utils/singlepass/code_diff.ts start line: 148 end line: 190 size: 38 LOC McCabe index: 7 number of parameters: 2 id: 69 unit: export function generateDiffSummary() file: codex-cli/src/utils/singlepass/code_diff.ts start line: 98 end line: 142 size: 36 LOC McCabe index: 6 number of parameters: 2 id: 70 unit: fn test_unified_diff() file: codex-rs/apply-patch/src/lib.rs start line: 886 end line: 923 size: 36 LOC McCabe index: 1 number of parameters: 0 id: 71 unit: export default function TerminalChatResponseItem() file: codex-cli/src/components/chat/terminal-chat-response-item.tsx start line: 21 end line: 57 size: 35 LOC McCabe index: 5 number of parameters: 4 id: 72 unit: function updateFsSuggestions() file: codex-cli/src/components/chat/terminal-chat-input.tsx start line: 122 end line: 164 size: 35 LOC McCabe index: 9 number of parameters: 2 id: 73 unit: function _get_updated_file() file: codex-cli/src/utils/agent/apply-patch.ts start line: 586 end line: 622 size: 35 LOC McCabe index: 7 number of parameters: 3 id: 74 unit: export function getFileSystemSuggestions() file: codex-cli/src/utils/file-system-suggestions.ts start line: 20 end line: 59 size: 35 LOC McCabe index: 11 number of parameters: 1 id: 75 unit: fn is_safe_to_call_with_exec() file: codex-rs/core/src/is_safe_command.rs start line: 22 end line: 73 size: 35 LOC McCabe index: 6 number of parameters: 1 id: 76 unit: fn test_update_file_hunk_interleaved_changes() file: codex-rs/apply-patch/src/lib.rs start line: 793 end line: 838 size: 35 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: fn first_offending_path() file: codex-rs/core/src/codex.rs start line: 1345 end line: 1382 size: 34 LOC McCabe index: 7 number of parameters: 2 id: 78 unit: export function initLogger() file: codex-cli/src/utils/logger/log.ts start line: 80 end line: 121 size: 33 LOC McCabe index: 8 number of parameters: 0 id: 79 unit: async function getSandbox() file: codex-cli/src/utils/agent/handle-exec-command.ts start line: 289 end line: 322 size: 33 LOC McCabe index: 8 number of parameters: 1 id: 80 unit: getCommandConfirmation: async() file: codex-cli/src/components/chat/terminal-chat.tsx start line: 261 end line: 301 size: 32 LOC McCabe index: 4 number of parameters: 2 id: 81 unit: export function execApplyPatch() file: codex-cli/src/utils/agent/exec.ts start line: 72 end line: 113 size: 32 LOC McCabe index: 3 number of parameters: 2 id: 82 unit: export function assemble_changes() file: codex-cli/src/utils/agent/apply-patch.ts start line: 38 end line: 69 size: 32 LOC McCabe index: 7 number of parameters: 2 id: 83 unit: fn test_try_parse_single_word_only_command() file: codex-rs/core/src/is_safe_command.rs start line: 297 end line: 331 size: 32 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: fn from() file: codex-rs/core/src/models.rs start line: 71 end line: 102 size: 32 LOC McCabe index: 2 number of parameters: 1 id: 85 unit: fn derive_new_contents_from_chunks() file: codex-rs/apply-patch/src/lib.rs start line: 371 end line: 407 size: 32 LOC McCabe index: 3 number of parameters: 2 id: 86 unit: function getGlobalBinDir() file: codex-cli/src/utils/package-manager-detector.ts start line: 16 end line: 54 size: 31 LOC McCabe index: 6 number of parameters: 1 id: 87 unit: async function saveRolloutAsync() file: codex-cli/src/utils/storage/save-rollout.ts start line: 11 end line: 43 size: 31 LOC McCabe index: 2 number of parameters: 2 id: 88 unit: fn partition_args() file: codex-rs/execpolicy/src/arg_resolver.rs start line: 146 end line: 178 size: 31 LOC McCabe index: 3 number of parameters: 2 id: 89 unit: fn main() file: codex-rs/execpolicy/src/main.rs start line: 61 end line: 94 size: 31 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: fn load_from_base_config_with_overrides() file: codex-rs/core/src/config.rs start line: 153 end line: 193 size: 31 LOC McCabe index: 2 number of parameters: 2 id: 91 unit: fn test_unified_diff_last_line_replacement() file: codex-rs/apply-patch/src/lib.rs start line: 962 end line: 996 size: 31 LOC McCabe index: 1 number of parameters: 0 id: 92 unit: export function buildChildrenMap() file: codex-cli/src/utils/singlepass/context_limit.ts start line: 67 end line: 105 size: 30 LOC McCabe index: 9 number of parameters: 2 id: 93 unit: export function printDirectorySizeBreakdown() file: codex-cli/src/utils/singlepass/context_limit.ts start line: 174 end line: 208 size: 30 LOC McCabe index: 5 number of parameters: 3 id: 94 unit: fn test_multiple_update_chunks_apply_to_single_file() file: codex-rs/apply-patch/src/lib.rs start line: 753 end line: 786 size: 30 LOC McCabe index: 1 number of parameters: 0 id: 95 unit: fn test_unified_diff_first_line_replacement() file: codex-rs/apply-patch/src/lib.rs start line: 926 end line: 959 size: 30 LOC McCabe index: 1 number of parameters: 0 id: 96 unit: async function applyFileOps() file: codex-cli/src/components/singlepass-cli-app.tsx start line: 462 end line: 494 size: 29 LOC McCabe index: 10 number of parameters: 1 id: 97 unit: export function computeSizeMap() file: codex-cli/src/utils/singlepass/context_limit.ts start line: 16 end line: 56 size: 29 LOC McCabe index: 7 number of parameters: 2 id: 98 unit: export function parseToolCallArguments() file: codex-cli/src/utils/parsers.ts start line: 68 end line: 102 size: 29 LOC McCabe index: 9 number of parameters: 1 id: 99 unit: public cancel() file: codex-cli/src/utils/agent/agent-loop.ts start line: 170 end line: 232 size: 29 LOC McCabe index: 4 number of parameters: 0 id: 100 unit: export async function createInputItem() file: codex-cli/src/utils/input-utils.ts start line: 7 end line: 39 size: 29 LOC McCabe index: 3 number of parameters: 2 id: 101 unit: fn bash_lc_safe_examples() file: codex-rs/core/src/is_safe_command.rs start line: 248 end line: 277 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 102 unit: fn test_writable_roots_constraint() file: codex-rs/core/src/safety.rs start line: 198 end line: 234 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 103 unit: fn test_update_file_hunk_can_move_file() file: codex-rs/apply-patch/src/lib.rs start line: 719 end line: 748 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 104 unit: export function patch_to_commit() file: codex-cli/src/utils/agent/apply-patch.ts start line: 624 end line: 651 size: 28 LOC McCabe index: 5 number of parameters: 2 id: 105 unit: async function detectSandboxExecutable() file: codex-cli/src/utils/agent/sandbox/landlock.ts start line: 56 end line: 93 size: 28 LOC McCabe index: 5 number of parameters: 0 id: 106 unit: function convertInputItemToMessage() file: codex-cli/src/utils/responses.ts start line: 182 end line: 214 size: 28 LOC McCabe index: 9 number of parameters: 1 id: 107 unit: fn handle_call_tool() file: codex-rs/mcp-server/src/message_processor.rs start line: 327 end line: 354 size: 28 LOC McCabe index: 1 number of parameters: 3 id: 108 unit: fn extract_heredoc_body_from_apply_patch_command() file: codex-rs/apply-patch/src/lib.rs start line: 177 end line: 208 size: 28 LOC McCabe index: 8 number of parameters: 1 id: 109 unit: fn test_unified_diff_insert_at_eof() file: codex-rs/apply-patch/src/lib.rs start line: 999 end line: 1030 size: 28 LOC McCabe index: 1 number of parameters: 0 id: 110 unit: function processUserMessage() file: codex-cli/src/components/history-overlay.tsx start line: 170 end line: 199 size: 27 LOC McCabe index: 12 number of parameters: 1 id: 111 unit: function recurse() file: codex-cli/src/utils/singlepass/context_files.ts start line: 266 end line: 295 size: 27 LOC McCabe index: 10 number of parameters: 2 id: 112 unit: export function discoverProjectDocPath() file: codex-cli/src/utils/config.ts start line: 203 end line: 238 size: 27 LOC McCabe index: 8 number of parameters: 1 id: 113 unit: function getFullMessages() file: codex-cli/src/utils/responses.ts start line: 217 end line: 246 size: 27 LOC McCabe index: 7 number of parameters: 1 id: 114 unit: fn submit_user_message_with_images() file: codex-rs/tui/src/chatwidget.rs start line: 193 end line: 225 size: 27 LOC McCabe index: 6 number of parameters: 3 id: 115 unit: def generate_toc_lines() file: scripts/readme_toc.py start line: 0 end line: 0 size: 26 LOC McCabe index: 7 number of parameters: 1 id: 116 unit: function getFileSystemSuggestion() file: codex-cli/src/components/chat/terminal-chat-input.tsx start line: 179 end line: 209 size: 26 LOC McCabe index: 7 number of parameters: 2 id: 117 unit: export function loadProjectDoc() file: codex-cli/src/utils/config.ts start line: 248 end line: 278 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 118 unit: export function adaptCommandForPlatform() file: codex-cli/src/utils/agent/platform-commands.ts start line: 44 end line: 82 size: 26 LOC McCabe index: 10 number of parameters: 1 id: 119 unit: export async function isModelSupportedForResponses() file: codex-cli/src/utils/model-utils.ts start line: 73 end line: 104 size: 26 LOC McCabe index: 6 number of parameters: 2 id: 120 unit: fn unknown_or_partial() file: codex-rs/core/src/is_safe_command.rs start line: 218 end line: 245 size: 26 LOC McCabe index: 2 number of parameters: 0 id: 121 unit: fn new() file: codex-rs/core/src/codex.rs start line: 135 end line: 160 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 122 unit: fn handle_list_tools() file: codex-rs/mcp-server/src/message_processor.rs start line: 299 end line: 325 size: 26 LOC McCabe index: 1 number of parameters: 3 id: 123 unit: fn run_ratatui_app() file: codex-rs/tui/src/lib.rs start line: 137 end line: 171 size: 26 LOC McCabe index: 2 number of parameters: 4 id: 124 unit: fn test_update_file_hunk_modifies_content() file: codex-rs/apply-patch/src/lib.rs start line: 690 end line: 716 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 125 unit: fn test_update_line_with_unicode_dash() file: codex-rs/apply-patch/src/lib.rs start line: 847 end line: 883 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: export async function generateCompactSummary() file: codex-cli/src/utils/compact-summary.ts start line: 20 end line: 71 size: 25 LOC McCabe index: 2 number of parameters: 4 id: 127 unit: export async function addToHistory() file: codex-cli/src/utils/storage/command-history.ts start line: 73 end line: 103 size: 25 LOC McCabe index: 6 number of parameters: 3 id: 128 unit: function loadPromptHistory() file: codex-cli/src/components/singlepass-cli-app.tsx start line: 39 end line: 65 size: 24 LOC McCabe index: 9 number of parameters: 0 id: 129 unit: function processCommandArray() file: codex-cli/src/components/history-overlay.tsx start line: 201 end line: 229 size: 24 LOC McCabe index: 10 number of parameters: 2 id: 130 unit: export function extractAppliedPatches() file: codex-cli/src/utils/extract-applied-patches.ts start line: 7 end line: 36 size: 24 LOC McCabe index: 8 number of parameters: 1 id: 131 unit: export async function execWithLandlock() file: codex-cli/src/utils/agent/sandbox/landlock.ts start line: 18 end line: 48 size: 24 LOC McCabe index: 1 number of parameters: 4 id: 132 unit: fn test_heredoc() file: codex-rs/apply-patch/src/lib.rs start line: 617 end line: 641 size: 24 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: export function uniqueById() file: codex-cli/src/utils/model-utils.ts start line: 177 end line: 213 size: 23 LOC McCabe index: 9 number of parameters: 1 id: 134 unit: def rust_prop_name() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 23 LOC McCabe index: 7 number of parameters: 2 id: 135 unit: fn convert_apply_patch_to_protocol() file: codex-rs/core/src/codex.rs start line: 1384 end line: 1406 size: 23 LOC McCabe index: 2 number of parameters: 1 id: 136 unit: fn update_border_for_input_focus() file: codex-rs/tui/src/bottom_pane.rs start line: 280 end line: 303 size: 23 LOC McCabe index: 3 number of parameters: 2 id: 137 unit: fn test_add_file_hunk_creates_file_with_contents() file: codex-rs/apply-patch/src/lib.rs start line: 644 end line: 667 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 138 unit: export function TerminalChatResponseReasoning() file: codex-cli/src/components/chat/terminal-chat-response-item.tsx start line: 79 end line: 101 size: 22 LOC McCabe index: 4 number of parameters: 2 id: 139 unit: private parse_add_file() file: codex-cli/src/utils/agent/apply-patch.ts start line: 308 end line: 329 size: 22 LOC McCabe index: 3 number of parameters: 0 id: 140 unit: private getSelectedText() file: codex-cli/src/text-buffer.ts start line: 762 end line: 788 size: 22 LOC McCabe index: 9 number of parameters: 0 id: 141 unit: fn deserialize_sandbox_permissions() file: codex-rs/core/src/config.rs start line: 108 end line: 132 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 142 unit: fn test_sandbox_permissions_none_vs_empty_vec() file: codex-rs/core/src/config.rs start line: 247 end line: 274 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 143 unit: fn test_literal() file: codex-rs/apply-patch/src/lib.rs start line: 592 end line: 614 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 144 unit: function processNonExecTool() file: codex-cli/src/components/history-overlay.tsx start line: 231 end line: 255 size: 21 LOC McCabe index: 6 number of parameters: 3 id: 145 unit: flexModeEnabled: Boolean() file: codex-cli/src/components/chat/terminal-chat.tsx start line: 484 end line: 504 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 146 unit: export function setInkRenderer() file: codex-cli/src/utils/terminal.ts start line: 11 end line: 39 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 147 unit: private async processEventsWithoutStreaming() file: codex-cli/src/utils/agent/agent-loop.ts start line: 1439 end line: 1464 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 148 unit: fn is_valid_sed_n_arg() file: codex-rs/core/src/is_safe_command.rs start line: 164 end line: 194 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 149 unit: fn format_exec_output() file: codex-rs/core/src/codex.rs start line: 1518 end line: 1543 size: 21 LOC McCabe index: 1 number of parameters: 3 id: 150 unit: def main() file: scripts/asciicheck.py start line: 0 end line: 0 size: 20 LOC McCabe index: 3 number of parameters: 0 id: 151 unit: function SummaryAndDiffs() file: codex-cli/src/components/singlepass-cli-app.tsx start line: 183 end line: 202 size: 20 LOC McCabe index: 1 number of parameters: 3 id: 152 unit: function ConfirmationPrompt() file: codex-cli/src/components/singlepass-cli-app.tsx start line: 286 end line: 306 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 153 unit: export function loadIgnorePatterns() file: codex-cli/src/utils/singlepass/context_files.ts start line: 178 end line: 199 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 154 unit: export function parseToolCallOutput() file: codex-cli/src/utils/parsers.ts start line: 14 end line: 33 size: 20 LOC McCabe index: 2 number of parameters: 1 id: 155 unit: function find_context() file: codex-cli/src/utils/agent/apply-patch.ts start line: 432 end line: 451 size: 20 LOC McCabe index: 3 number of parameters: 4 id: 156 unit: export function apply_commit() file: codex-cli/src/utils/agent/apply-patch.ts start line: 674 end line: 693 size: 20 LOC McCabe index: 6 number of parameters: 3 id: 157 unit: function addTruncationWarningsIfNecessary() file: codex-cli/src/utils/agent/sandbox/raw-exec.ts start line: 205 end line: 224 size: 20 LOC McCabe index: 5 number of parameters: 3 id: 158 unit: function commandHasSensitiveInfo() file: codex-cli/src/utils/storage/command-history.ts start line: 105 end line: 129 size: 20 LOC McCabe index: 6 number of parameters: 2 id: 159 unit: fn assert_api_key() file: codex-rs/exec/src/lib.rs start line: 163 end line: 183 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 160 unit: fn install_filesystem_landlock_rules_on_current_thread() file: codex-rs/core/src/linux.rs start line: 91 end line: 115 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 161 unit: fn maybe_notify() file: codex-rs/core/src/codex.rs start line: 390 end line: 414 size: 20 LOC McCabe index: 4 number of parameters: 2 id: 162 unit: fn schedule_notification() file: codex-rs/tui/src/scroll_event_helper.rs start line: 49 end line: 76 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 163 unit: export function getApiKey() file: codex-cli/src/utils/config.ts start line: 105 end line: 129 size: 19 LOC McCabe index: 5 number of parameters: 1 id: 164 unit: export function shortenPath() file: codex-cli/src/utils/short-path.ts start line: 3 end line: 23 size: 19 LOC McCabe index: 7 number of parameters: 2 id: 165 unit: export function maxTokensForModel() file: codex-cli/src/utils/model-utils.ts start line: 107 end line: 127 size: 19 LOC McCabe index: 6 number of parameters: 1 id: 166 unit: export function formatCommandForDisplay() file: codex-cli/src/format-command.ts start line: 8 end line: 53 size: 19 LOC McCabe index: 8 number of parameters: 1 id: 167 unit: fn get_last_assistant_message_from_turn() file: codex-rs/core/src/codex.rs start line: 1545 end line: 1563 size: 19 LOC McCabe index: 4 number of parameters: 1 id: 168 unit: fn send_decision_with_feedback() file: codex-rs/tui/src/user_approval_widget.rs start line: 310 end line: 335 size: 19 LOC McCabe index: 1 number of parameters: 3 id: 169 unit: function savePromptHistory() file: codex-cli/src/components/singlepass-cli-app.tsx start line: 67 end line: 87 size: 18 LOC McCabe index: 7 number of parameters: 1 id: 170 unit: function WorkingSpinner() file: codex-cli/src/components/singlepass-cli-app.tsx start line: 92 end line: 111 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 171 unit: function isWritePatchConstrainedToWritablePaths() file: codex-cli/src/approvals.ts start line: 222 end line: 248 size: 18 LOC McCabe index: 2 number of parameters: 3 id: 172 unit: export function generateColoredDiff() file: codex-cli/src/utils/singlepass/code_diff.ts start line: 38 end line: 61 size: 18 LOC McCabe index: 7 number of parameters: 1 id: 173 unit: function deriveCommandKey() file: codex-cli/src/utils/agent/handle-exec-command.ts start line: 38 end line: 66 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 174 unit: fn apply_replacements() file: codex-rs/apply-patch/src/lib.rs start line: 499 end line: 523 size: 18 LOC McCabe index: 5 number of parameters: 4 id: 175 unit: fn test_delete_file_hunk_removes_file() file: codex-rs/apply-patch/src/lib.rs start line: 670 end line: 687 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 176 unit: function TerminalChatResponseToolCall() file: codex-cli/src/components/chat/terminal-chat-response-item.tsx start line: 154 end line: 170 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 177 unit: export function text_to_patch() file: codex-cli/src/utils/agent/apply-patch.ts start line: 543 end line: 559 size: 17 LOC McCabe index: 4 number of parameters: 2 id: 178 unit: function verifySandboxExecutable() file: codex-cli/src/utils/agent/sandbox/landlock.ts start line: 127 end line: 146 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 179 unit: async function responsesCreateViaChatCompletions() file: codex-cli/src/utils/responses.ts start line: 300 end line: 316 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 180 unit: export async function saveCommandHistory() file: codex-cli/src/utils/storage/command-history.ts start line: 51 end line: 71 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 181 unit: private setCursorIdx() file: codex-cli/src/text-buffer.ts start line: 133 end line: 159 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 182 unit: fn ensure_absolute_path() file: codex-rs/execpolicy/src/execv_checker.rs start line: 100 end line: 116 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 183 unit: fn load_from_toml() file: codex-rs/core/src/config.rs start line: 89 end line: 105 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 184 unit: fn handle_input_key() file: codex-rs/tui/src/user_approval_widget.rs start line: 284 end line: 304 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 185 unit: export function renderTaskContext() file: codex-cli/src/utils/singlepass/context.ts start line: 28 end line: 46 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 186 unit: export function getBaseUrl() file: codex-cli/src/utils/config.ts start line: 81 end line: 103 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 187 unit: export function process_patch() file: codex-cli/src/utils/agent/apply-patch.ts start line: 695 end line: 710 size: 16 LOC McCabe index: 2 number of parameters: 2 id: 188 unit: fn is_executable_file() file: codex-rs/execpolicy/src/execv_checker.rs start line: 118 end line: 139 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 189 unit: fn scroll_down() file: codex-rs/tui/src/conversation_history_widget.rs start line: 86 end line: 111 size: 16 LOC McCabe index: 3 number of parameters: 2 id: 190 unit: initialIndex ?() file: codex-cli/src/components/select-input/select-input.tsx start line: 85 end line: 101 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 191 unit: function renderLine() file: codex-cli/src/components/diff-overlay.tsx start line: 55 end line: 69 size: 15 LOC McCabe index: 5 number of parameters: 2 id: 192 unit: function tryParseApplyPatch() file: codex-cli/src/approvals.ts start line: 307 end line: 322 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 193 unit: export function generateFileDiff() file: codex-cli/src/utils/singlepass/code_diff.ts start line: 18 end line: 32 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 194 unit: async function getUpdateCheckInfo() file: codex-cli/src/utils/check-updates.ts start line: 56 end line: 72 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 195 unit: def define_untagged_enum() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 196 unit: fn get_range_checked() file: codex-rs/execpolicy/src/arg_resolver.rs start line: 180 end line: 194 size: 15 LOC McCabe index: 3 number of parameters: 2 id: 197 unit: fn abort() file: codex-rs/core/src/codex.rs start line: 452 end line: 466 size: 15 LOC McCabe index: 2 number of parameters: 1 id: 198 unit: fn apply_changes_from_apply_patch_and_report() file: codex-rs/core/src/codex.rs start line: 1408 end line: 1423 size: 15 LOC McCabe index: 1 number of parameters: 3 id: 199 unit: fn normalise() file: codex-rs/apply-patch/src/seek_sequence.rs start line: 76 end line: 94 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 200 unit: function ContinuePrompt() file: codex-cli/src/components/singlepass-cli-app.tsx start line: 308 end line: 322 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 201 unit: private async maybeWrite() file: codex-cli/src/utils/logger/log.ts start line: 31 end line: 47 size: 14 LOC McCabe index: 3 number of parameters: 0 id: 202 unit: export function parseToolCall() file: codex-cli/src/utils/parsers.ts start line: 46 end line: 61 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 203 unit: export function load_files() file: codex-cli/src/utils/agent/apply-patch.ts start line: 657 end line: 672 size: 14 LOC McCabe index: 3 number of parameters: 2 id: 204 unit: export async function detectInstallerByPath() file: codex-cli/src/utils/package-manager-detector.ts start line: 56 end line: 73 size: 14 LOC McCabe index: 6 number of parameters: 0 id: 205 unit: function convertTools() file: codex-cli/src/utils/responses.ts start line: 249 end line: 262 size: 14 LOC McCabe index: 2 number of parameters: 1 id: 206 unit: fn setup() file: codex-rs/execpolicy/src/execv_checker.rs start line: 149 end line: 162 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 207 unit: fn bash_lc_unsafe_examples() file: codex-rs/core/src/is_safe_command.rs start line: 280 end line: 294 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 208 unit: fn get_writable_roots() file: codex-rs/core/src/codex.rs start line: 1488 end line: 1515 size: 14 LOC McCabe index: 4 number of parameters: 0 id: 209 unit: fn test_user_notification() file: codex-rs/core/src/user_notification.rs start line: 26 end line: 39 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 210 unit: fn main() file: codex-rs/cli/src/linux-sandbox/main.rs start line: 8 end line: 22 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 211 unit: fn scroll_page_down() file: codex-rs/tui/src/conversation_history_widget.rs start line: 133 end line: 158 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 212 unit: def main() file: scripts/readme_toc.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 213 unit: function isPathConstrainedTowritablePaths() file: codex-cli/src/approvals.ts start line: 261 end line: 274 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 214 unit: export function generateDiffStats() file: codex-cli/src/utils/singlepass/code_diff.ts start line: 67 end line: 81 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 215 unit: apiKey: getApiKey() file: codex-cli/src/utils/compact-summary.ts start line: 27 end line: 40 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 216 unit: private read_str() file: codex-cli/src/utils/agent/apply-patch.ts start line: 128 end line: 140 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 217 unit: export function identify_files_needed() file: codex-cli/src/utils/agent/apply-patch.ts start line: 561 end line: 573 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 218 unit: function filterToApiMessages() file: codex-cli/src/utils/agent/agent-loop.ts start line: 1514 end line: 1526 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 219 unit: export async function loadCommandHistory() file: codex-cli/src/utils/storage/command-history.ts start line: 36 end line: 49 size: 13 LOC McCabe index: 4 number of parameters: 0 id: 220 unit: export function renderUpdateCommand() file: codex-cli/src/utils/check-updates.ts start line: 29 end line: 43 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 221 unit: private ensureCursorVisible() file: codex-cli/src/text-buffer.ts start line: 201 end line: 215 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 222 unit: disableProjectDoc: Boolean() file: codex-cli/src/cli.tsx start line: 257 end line: 272 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 223 unit: fn send_response() file: codex-rs/mcp-server/src/message_processor.rs start line: 224 end line: 237 size: 13 LOC McCabe index: 2 number of parameters: 3 id: 224 unit: export function resolvePathAgainstWorkdir() file: codex-cli/src/approvals.ts start line: 280 end line: 291 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 225 unit: function renderFilesToXml() file: codex-cli/src/utils/singlepass/context.ts start line: 53 end line: 65 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 226 unit: export function shouldIgnorePath() file: codex-cli/src/utils/singlepass/context_files.ts start line: 202 end line: 213 size: 12 LOC McCabe index: 3 number of parameters: 2 id: 227 unit: export function onExit() file: codex-cli/src/utils/terminal.ts start line: 57 end line: 84 size: 12 LOC McCabe index: 4 number of parameters: 0 id: 228 unit: baseURL: getBaseUrl() file: codex-cli/src/utils/compact-summary.ts start line: 28 end line: 40 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 229 unit: function convertSummaryToResult() file: codex-cli/src/utils/agent/handle-exec-command.ts start line: 191 end line: 202 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 230 unit: private is_done() file: codex-cli/src/utils/agent/apply-patch.ts start line: 110 end line: 121 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 231 unit: export function checkInGit() file: codex-cli/src/utils/check-in-git.ts start line: 17 end line: 31 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 232 unit: async function fetchModels() file: codex-cli/src/utils/model-utils.ts start line: 23 end line: 60 size: 11 LOC McCabe index: 3 number of parameters: 1 id: 233 unit: await createInputItem() file: codex-cli/src/components/chat/terminal-chat.tsx start line: 411 end line: 425 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 234 unit: function isParseEntryWithOp() file: codex-cli/src/approvals.ts start line: 580 end line: 591 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 235 unit: function now() file: codex-cli/src/utils/logger/log.ts start line: 60 end line: 69 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 236 unit: export function identify_files_added() file: codex-cli/src/utils/agent/apply-patch.ts start line: 575 end line: 584 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 237 unit: function write_file() file: codex-cli/src/utils/agent/apply-patch.ts start line: 720 end line: 729 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 238 unit: function getLinuxSandboxExecutableForCurrentArchitecture() file: codex-cli/src/utils/agent/sandbox/landlock.ts start line: 161 end line: 173 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 239 unit: notify: Boolean() file: codex-cli/src/cli.tsx start line: 307 end line: 317 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 240 unit: def append() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 10 LOC McCabe index: 4 number of parameters: 3 id: 241 unit: fn known_safe_examples() file: codex-rs/core/src/is_safe_command.rs start line: 204 end line: 215 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 242 unit: fn scroll_page_up() file: codex-rs/tui/src/conversation_history_widget.rs start line: 114 end line: 130 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 243 unit: fn try_run_ratatui_app() file: codex-rs/tui/src/lib.rs start line: 126 end line: 135 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 244 unit: fn test_parse_one_hunk() file: codex-rs/apply-patch/src/parser.rs start line: 409 end line: 419 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 245 unit: function allPathsConstrainedTowritablePaths() file: codex-cli/src/approvals.ts start line: 250 end line: 258 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 246 unit: export function clearTerminal() file: codex-cli/src/utils/terminal.ts start line: 41 end line: 55 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 247 unit: for await() file: codex-cli/src/utils/model-utils.ts start line: 45 end line: 54 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 248 unit: export function calculateContextPercentRemaining() file: codex-cli/src/utils/model-utils.ts start line: 130 end line: 138 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 249 unit: export async function clearCommandHistory() file: codex-cli/src/utils/storage/command-history.ts start line: 131 end line: 139 size: 9 LOC McCabe index: 3 number of parameters: 0 id: 250 unit: fn deserialize_from_json() file: codex-rs/execpolicy/src/main.rs start line: 150 end line: 158 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 251 unit: fn spawn() file: codex-rs/core/src/codex.rs start line: 442 end line: 450 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 252 unit: fn handle_ping() file: codex-rs/mcp-server/src/message_processor.rs start line: 239 end line: 247 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 253 unit: fn handle_resource_list_changed() file: codex-rs/mcp-server/src/message_processor.rs start line: 388 end line: 396 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 254 unit: fn scroll_up() file: codex-rs/tui/src/conversation_history_widget.rs start line: 72 end line: 84 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 255 unit: fn submit_welcome_message() file: codex-rs/tui/src/chatwidget.rs start line: 175 end line: 183 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 256 unit: fn render_ref() file: codex-rs/tui/src/chatwidget.rs start line: 387 end line: 397 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 257 unit: fn assert_env_var_set() file: codex-rs/tui/src/lib.rs start line: 177 end line: 185 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 258 unit: function toStringArray() file: codex-cli/src/utils/parsers.ts start line: 104 end line: 111 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 259 unit: public terminate() file: codex-cli/src/utils/agent/agent-loop.ts start line: 239 end line: 248 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 260 unit: function isInstalled() file: codex-cli/src/utils/package-manager-detector.ts start line: 7 end line: 14 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 261 unit: private pushUndo() file: codex-cli/src/text-buffer.ts start line: 172 end line: 180 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 262 unit: setup() file: codex-cli/ignore-react-devtools-plugin.js start line: 4 end line: 13 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 263 unit: def get_serde_annotation_for_anyof_type() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 264 unit: def to_snake_case() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 265 unit: fn is_api_message() file: codex-rs/core/src/zdr_transcript.rs start line: 39 end line: 46 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 266 unit: fn from() file: codex-rs/core/src/models.rs start line: 60 end line: 67 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 267 unit: fn restore() file: codex-rs/tui/src/lib.rs start line: 191 end line: 198 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 268 unit: export function TerminalChatResponseGenericMessage() file: codex-cli/src/components/chat/terminal-chat-response-item.tsx start line: 233 end line: 239 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 269 unit: function generateDiffHeader() file: codex-cli/src/utils/singlepass/code_diff.ts start line: 86 end line: 92 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 270 unit: function requiresShell() file: codex-cli/src/utils/agent/exec.ts start line: 19 end line: 30 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 271 unit: export function exec() file: codex-cli/src/utils/agent/exec.ts start line: 36 end line: 42 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 272 unit: apiKey: getApiKey() file: codex-cli/src/utils/model-utils.ts start line: 39 end line: 45 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 273 unit: function toCodePoints() file: codex-cli/src/text-buffer.ts start line: 36 end line: 44 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 274 unit: constructor() file: codex-cli/src/text-buffer.ts start line: 103 end line: 111 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 275 unit: private snapshot() file: codex-cli/src/text-buffer.ts start line: 164 end line: 170 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 276 unit: flexMode: Boolean() file: codex-cli/src/cli.tsx start line: 310 end line: 317 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 277 unit: await runQuietMode() file: codex-cli/src/cli.tsx start line: 403 end line: 409 size: 7 LOC McCabe index: 2 number of parameters: 6 id: 278 unit: def infer_result_type() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 279 unit: def check_string_list() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 280 unit: fn new() file: codex-rs/execpolicy/src/policy_parser.rs start line: 88 end line: 94 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 281 unit: fn from() file: codex-rs/core/src/approval_mode_cli_arg.rs start line: 32 end line: 38 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 282 unit: fn try_parse_bash() file: codex-rs/core/src/is_safe_command.rs start line: 75 end line: 82 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 283 unit: fn test_sandbox_permissions_illegal_value() file: codex-rs/core/src/config.rs start line: 280 end line: 290 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 284 unit: fn handle_list_resource_templates() file: codex-rs/mcp-server/src/message_processor.rs start line: 256 end line: 262 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 285 unit: fn render_ref() file: codex-rs/tui/src/bottom_pane.rs start line: 271 end line: 277 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 286 unit: fn set_panic_hook() file: codex-rs/tui/src/tui.rs start line: 27 end line: 33 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 287 unit: fn submit_user_message() file: codex-rs/tui/src/chatwidget.rs start line: 185 end line: 191 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 288 unit: apiKey: getApiKey() file: codex-cli/src/components/singlepass-cli-app.tsx start line: 411 end line: 416 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 289 unit: function pathContains() file: codex-cli/src/approvals.ts start line: 294 end line: 300 size: 6 LOC McCabe index: 3 number of parameters: 2 id: 290 unit: function _read_default_patterns_file() file: codex-cli/src/utils/singlepass/context_files.ts start line: 169 end line: 175 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 291 unit: function getSandboxExecutable() file: codex-cli/src/utils/agent/sandbox/landlock.ts start line: 152 end line: 158 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 292 unit: function appendLine() file: codex-cli/src/utils/agent/parse-apply-patch.ts start line: 107 end line: 112 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 293 unit: baseURL: getBaseUrl() file: codex-cli/src/utils/model-utils.ts start line: 40 end line: 45 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 294 unit: export function saveRollout() file: codex-cli/src/utils/storage/save-rollout.ts start line: 45 end line: 52 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 295 unit: function isWordChar() file: codex-cli/src/text-buffer.ts start line: 14 end line: 19 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 296 unit: function updateSize() file: codex-cli/src/hooks/use-terminal-size.ts start line: 12 end line: 17 size: 6 LOC McCabe index: 3 number of parameters: 0 id: 297 unit: function appendLine() file: codex-cli/src/parse-apply-patch.ts start line: 108 end line: 113 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 298 unit: def implements_request_trait() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 299 unit: fn build() file: codex-rs/execpolicy/src/policy_parser.rs start line: 96 end line: 101 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 300 unit: fn add_program_spec() file: codex-rs/execpolicy/src/policy_parser.rs start line: 103 end line: 108 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 301 unit: fn new() file: codex-rs/core/src/codex_wrapper.rs start line: 58 end line: 63 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 302 unit: fn serialize() file: codex-rs/core/src/models.rs start line: 119 end line: 130 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 303 unit: fn handle_list_resources() file: codex-rs/mcp-server/src/message_processor.rs start line: 249 end line: 254 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 304 unit: fn handle_read_resource() file: codex-rs/mcp-server/src/message_processor.rs start line: 264 end line: 269 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 305 unit: fn handle_subscribe() file: codex-rs/mcp-server/src/message_processor.rs start line: 271 end line: 276 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 306 unit: fn handle_unsubscribe() file: codex-rs/mcp-server/src/message_processor.rs start line: 278 end line: 283 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 307 unit: fn handle_list_prompts() file: codex-rs/mcp-server/src/message_processor.rs start line: 285 end line: 290 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 308 unit: fn handle_get_prompt() file: codex-rs/mcp-server/src/message_processor.rs start line: 292 end line: 297 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 309 unit: fn handle_set_level() file: codex-rs/mcp-server/src/message_processor.rs start line: 356 end line: 361 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 310 unit: fn handle_complete() file: codex-rs/mcp-server/src/message_processor.rs start line: 363 end line: 368 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 311 unit: fn handle_cancelled_notification() file: codex-rs/mcp-server/src/message_processor.rs start line: 374 end line: 379 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 312 unit: fn handle_progress_notification() file: codex-rs/mcp-server/src/message_processor.rs start line: 381 end line: 386 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 313 unit: fn handle_resource_updated() file: codex-rs/mcp-server/src/message_processor.rs start line: 398 end line: 403 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 314 unit: fn handle_prompt_list_changed() file: codex-rs/mcp-server/src/message_processor.rs start line: 405 end line: 410 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 315 unit: fn handle_tool_list_changed() file: codex-rs/mcp-server/src/message_processor.rs start line: 412 end line: 417 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 316 unit: fn handle_logging_message() file: codex-rs/mcp-server/src/message_processor.rs start line: 419 end line: 424 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 317 unit: fn from() file: codex-rs/apply-patch/src/lib.rs start line: 33 end line: 38 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 318 unit: baseURL: getBaseUrl() file: codex-cli/src/components/singlepass-cli-app.tsx start line: 412 end line: 416 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 319 unit: response_format: zodResponseFormat() file: codex-cli/src/components/singlepass-cli-app.tsx start line: 425 end line: 432 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 320 unit: apiKey: getApiKey() file: codex-cli/src/components/chat/terminal-chat.tsx start line: 82 end line: 90 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 321 unit: Give the model feedback() file: codex-cli/src/components/chat/terminal-chat-command-review.tsx start line: 230 end line: 234 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 322 unit: function isExecSyncError() file: codex-cli/src/utils/get-diff.ts start line: 18 end line: 22 size: 5 LOC McCabe index: 4 number of parameters: 1 id: 323 unit: await getSandbox() file: codex-cli/src/utils/agent/handle-exec-command.ts start line: 254 end line: 258 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 324 unit: function getCommonRoots() file: codex-cli/src/utils/agent/sandbox/macos-seatbelt.ts start line: 7 end line: 13 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 325 unit: export async function getAvailableModels() file: codex-cli/src/utils/model-utils.ts start line: 63 end line: 67 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 326 unit: function isUserMessage() file: codex-cli/src/utils/model-utils.ts start line: 150 end line: 154 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 327 unit: function dbg() file: codex-cli/src/text-buffer.ts start line: 65 end line: 70 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 328 unit: private moveToStartOfDocument() file: codex-cli/src/text-buffer.ts start line: 670 end line: 674 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 329 unit: private moveToEndOfDocument() file: codex-cli/src/text-buffer.ts start line: 677 end line: 681 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 330 unit: _codex_completion() file: codex-cli/src/cli.tsx start line: 203 end line: 207 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 331 unit: await runSinglePass() file: codex-cli/src/cli.tsx start line: 370 end line: 374 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 332 unit: def define_struct() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 333 unit: def implements_notification_trait() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 334 unit: def emit_doc_comment() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 335 unit: fn has_api_key() file: codex-rs/exec/src/lib.rs start line: 190 end line: 194 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 336 unit: fn unpack_value_impl() file: codex-rs/execpolicy/src/opt.rs start line: 61 end line: 65 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 337 unit: fn load_instructions() file: codex-rs/core/src/config.rs start line: 195 end line: 199 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 338 unit: fn test_escape_command() file: codex-rs/tui/src/exec_command.rs start line: 50 end line: 54 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 339 unit: fn test_strip_bash_lc_and_escape() file: codex-rs/tui/src/exec_command.rs start line: 57 end line: 61 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 340 unit: fn test_exact_match_finds_sequence() file: codex-rs/apply-patch/src/seek_sequence.rs start line: 121 end line: 125 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 341 unit: fn test_rstrip_match_ignores_trailing_whitespace() file: codex-rs/apply-patch/src/seek_sequence.rs start line: 128 end line: 133 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 342 unit: fn test_trim_match_ignores_leading_and_trailing_whitespace() file: codex-rs/apply-patch/src/seek_sequence.rs start line: 136 end line: 141 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 343 unit: fn test_pattern_longer_than_input_returns_none() file: codex-rs/apply-patch/src/seek_sequence.rs start line: 144 end line: 149 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 344 unit: async function loadHistory() file: codex-cli/src/components/chat/terminal-chat-input.tsx start line: 213 end line: 216 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 345 unit: baseURL: getBaseUrl() file: codex-cli/src/components/chat/terminal-chat.tsx start line: 83 end line: 90 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 346 unit: constructor() file: codex-cli/src/utils/singlepass/context_files.ts start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 347 unit: export function getBaseCmd() file: codex-cli/src/utils/agent/exec.ts start line: 115 end line: 118 size: 4 LOC McCabe index: 3 number of parameters: 1 id: 348 unit: constructor() file: codex-cli/src/utils/agent/apply-patch.ts start line: 105 end line: 108 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 349 unit: private startswith() file: codex-cli/src/utils/agent/apply-patch.ts start line: 123 end line: 126 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 350 unit: function renderUpdateMessage() file: codex-cli/src/utils/check-updates.ts start line: 45 end line: 48 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 351 unit: await writeState() file: codex-cli/src/utils/check-updates.ts start line: 99 end line: 102 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 352 unit: function cpSlice() file: codex-cli/src/text-buffer.ts start line: 50 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 353 unit: private ensureCursorInRange() file: codex-cli/src/text-buffer.ts start line: 123 end line: 126 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 354 unit: def map_type() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 355 unit: fn add_forbidden_substrings() file: codex-rs/execpolicy/src/policy_parser.rs start line: 110 end line: 113 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 356 unit: fn add_forbidden_program_regex() file: codex-rs/execpolicy/src/policy_parser.rs start line: 115 end line: 118 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 357 unit: fn parse_sandbox_permission() file: codex-rs/core/src/approval_mode_cli_arg.rs start line: 71 end line: 74 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 358 unit: fn synthetic_exit_status() file: codex-rs/core/src/exec.rs start line: 351 end line: 354 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 359 unit: fn synthetic_exit_status() file: codex-rs/core/src/exec.rs start line: 357 end line: 360 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 360 unit: fn main() file: codex-rs/cli/src/linux-sandbox/main.rs start line: 2 end line: 5 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 361 unit: fn request_redraw() file: codex-rs/tui/src/chatwidget.rs start line: 356 end line: 359 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 362 unit: fn drop() file: codex-rs/tui/src/status_indicator_widget.rs start line: 110 end line: 113 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 363 unit: model: loadConfig() file: codex-cli/src/components/chat/terminal-chat-input.tsx start line: 595 end line: 597 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 364 unit: function isValidSedNArg() file: codex-cli/src/approvals.ts start line: 468 end line: 470 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 365 unit: constructor() file: codex-cli/src/utils/logger/log.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 366 unit: export function log() file: codex-cli/src/utils/logger/log.ts start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 367 unit: export function isLoggingEnabled() file: codex-cli/src/utils/logger/log.ts start line: 135 end line: 137 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 368 unit: export function setSessionId() file: codex-cli/src/utils/session.ts start line: 30 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 369 unit: export function getSessionId() file: codex-cli/src/utils/session.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 370 unit: export function setCurrentModel() file: codex-cli/src/utils/session.ts start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 371 unit: export function getCurrentModel() file: codex-cli/src/utils/session.ts start line: 56 end line: 58 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 372 unit: export function setApiKey() file: codex-cli/src/utils/config.ts start line: 77 end line: 79 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 373 unit: function open_file() file: codex-cli/src/utils/agent/apply-patch.ts start line: 716 end line: 718 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 374 unit: function remove_file() file: codex-cli/src/utils/agent/apply-patch.ts start line: 731 end line: 733 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 375 unit: getString() file: codex-cli/src/utils/agent/sandbox/create-truncating-collector.ts start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 376 unit: get hit() file: codex-cli/src/utils/agent/sandbox/create-truncating-collector.ts start line: 74 end line: 76 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 377 unit: export function shortCwd() file: codex-cli/src/utils/short-path.ts start line: 25 end line: 27 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 378 unit: function generateId() file: codex-cli/src/utils/responses.ts start line: 175 end line: 177 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 379 unit: async function responsesCreateViaChatCompletions() file: codex-cli/src/utils/responses.ts start line: 292 end line: 294 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 380 unit: async function responsesCreateViaChatCompletions() file: codex-cli/src/utils/responses.ts start line: 296 end line: 298 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 381 unit: await writeFile() file: codex-cli/src/utils/check-updates.ts start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 4 id: 382 unit: function clamp() file: codex-cli/src/text-buffer.ts start line: 26 end line: 28 size: 3 LOC McCabe index: 2 number of parameters: 3 id: 383 unit: function cpLen() file: codex-cli/src/text-buffer.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 384 unit: private line() file: codex-cli/src/text-buffer.ts start line: 116 end line: 118 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 385 unit: private lineLen() file: codex-cli/src/text-buffer.ts start line: 119 end line: 121 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 386 unit: _codex() file: codex-cli/src/cli.tsx start line: 212 end line: 214 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 387 unit: def type_from_ref() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 388 unit: fn default_jsonrpc() file: codex-rs/mcp-types/src/lib.rs start line: 29 end line: 31 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 389 unit: fn from() file: codex-rs/mcp-types/src/lib.rs start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 390 unit: fn from() file: codex-rs/mcp-types/src/lib.rs start line: 242 end line: 244 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 391 unit: fn from() file: codex-rs/mcp-types/src/lib.rs start line: 314 end line: 316 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 392 unit: fn from() file: codex-rs/mcp-types/src/lib.rs start line: 368 end line: 370 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 393 unit: fn from() file: codex-rs/mcp-types/src/lib.rs start line: 422 end line: 424 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 394 unit: fn from() file: codex-rs/mcp-types/src/lib.rs start line: 540 end line: 542 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 395 unit: fn from() file: codex-rs/mcp-types/src/lib.rs start line: 574 end line: 576 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 396 unit: fn from() file: codex-rs/mcp-types/src/lib.rs start line: 607 end line: 609 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 397 unit: fn from() file: codex-rs/mcp-types/src/lib.rs start line: 630 end line: 632 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 398 unit: fn from() file: codex-rs/mcp-types/src/lib.rs start line: 663 end line: 665 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 399 unit: fn from() file: codex-rs/mcp-types/src/lib.rs start line: 784 end line: 786 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 400 unit: fn from() file: codex-rs/mcp-types/src/lib.rs start line: 906 end line: 908 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 401 unit: fn escape_command() file: codex-rs/exec/src/event_processor.rs start line: 282 end line: 284 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 402 unit: fn alloc_value() file: codex-rs/execpolicy/src/opt.rs start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 403 unit: fn alloc_value() file: codex-rs/execpolicy/src/arg_matcher.rs start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 404 unit: fn check_command() file: codex-rs/execpolicy/src/main.rs start line: 96 end line: 98 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 405 unit: fn from_str() file: codex-rs/execpolicy/src/main.rs start line: 163 end line: 165 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 406 unit: fn main() file: codex-rs/execpolicy/build.rs start line: 1 end line: 3 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 407 unit: fn vec_str() file: codex-rs/core/src/is_safe_command.rs start line: 199 end line: 201 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 408 unit: fn drop() file: codex-rs/core/src/codex.rs start line: 418 end line: 420 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 409 unit: fn default_model() file: codex-rs/core/src/config.rs start line: 211 end line: 213 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 410 unit: fn from() file: codex-rs/core/src/protocol.rs start line: 110 end line: 112 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 411 unit: fn add_to_history() file: codex-rs/tui/src/conversation_history_widget.rs start line: 195 end line: 197 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 412 unit: fn request_redraw() file: codex-rs/tui/src/bottom_pane.rs start line: 252 end line: 254 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 413 unit: fn record_debug() file: codex-rs/tui/src/log_layer.rs start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 414 unit: fn get_confirmation_prompt_height() file: codex-rs/tui/src/user_approval_widget.rs start line: 218 end line: 221 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 415 unit: fn send_decision() file: codex-rs/tui/src/user_approval_widget.rs start line: 306 end line: 308 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 416 unit: fn to_vec() file: codex-rs/apply-patch/src/seek_sequence.rs start line: 116 end line: 118 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 417 unit: fn wrap_patch() file: codex-rs/apply-patch/src/lib.rs start line: 583 end line: 585 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 418 unit: fn strs_to_strings() file: codex-rs/apply-patch/src/lib.rs start line: 587 end line: 589 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 419 unit: async function writeState() file: codex-cli/src/utils/check-updates.ts start line: 50 end line: 54 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 420 unit: private restore() file: codex-cli/src/text-buffer.ts start line: 185 end line: 186 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 421 unit: def add_trait_impl() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 422 unit: def define_string_enum() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 423 unit: def define_any_of() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 424 unit: def capitalize() file: codex-rs/mcp-types/generate_mcp_types.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 425 unit: Working tree diff() file: codex-cli/src/components/diff-overlay.tsx start line: 79 end line: 79 size: 1 LOC McCabe index: 1 number of parameters: 1