AI Slop Code RIsk Monitor

gnachman/iTerm2

iTerm2 is a terminal emulator for Mac OS X that does amazing things.

5.6 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for gnachman/iTerm2, a Swift project with 18,139 GitHub stars. SynthScan examined 1,284,695 lines of code across 5858 source files, recording 5617 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 5.6 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

5.6
Adjusted Signal
5.6
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
18.1K
Stars
Swift
Language
1.3M
Lines of Code
5.9K
Files
5.6K
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 17.1/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 4676 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.1/100 · LOW

Are imports declared and package/API names verified? 277 finding(s).

Agent Over-Engineering Ratio 9.3/100 · LOW

Are wrappers, guards, and repeated structures necessary? 1228 finding(s).

PR Review Velocity Impact 25.6/100 · MEDIUM

Which changes need focused human review? 5617 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 6HIGH 155MEDIUM 581LOW 4875

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 5617 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block3705 hits · 3586 pts
SeverityFileLineSnippetContext
LOWClaudeCodeHookEvent.swift1// ClaudeCodeHookEvent.swiftCOMMENT
LOWtools/run_shell_integration_live.sh1#!/bin/bashCOMMENT
LOWtools/sign_sparkle_helpers.sh1#!/bin/bashCOMMENT
LOWtools/eastasian.py1#!/usr/bin/env python3COMMENT
LOWtools/sign_and_copy_uv.sh1#!/bin/bashCOMMENT
LOWtools/copy_models.sh1#!/bin/bashCOMMENT
LOWtools/copy_models.sh21#COMMENT
LOWtools/test_shell_integration_encoders.sh1#!/bin/bashCOMMENT
LOWtools/build_sign_update.sh1#!/bin/bashCOMMENT
LOWtools/build_proto.sh1#!/bin/bashCOMMENT
LOWtools/codesign_keychain_test.sh1#!/bin/bashCOMMENT
LOWtools/update_uv_manifest.sh1#!/bin/bashCOMMENT
LOWtools/generate_nscharacterset.py461 # within an L(+)V(+T) sequence, and CFStringGetRangeOfComposedCharactersAtIndexCOMMENT
LOWtools/run.sh1#!/usr/bin/env zshCOMMENT
LOWtools/add_file_to_xcodeproj.rb1#!/usr/bin/env rubyCOMMENT
LOWtools/run_ai_live.sh1#!/bin/bashCOMMENT
LOWtools/run_ai_live.sh21#COMMENT
LOWtools/run_ai_live.sh41# Write the config at the REPO ROOT (gitignored), not /tmp. This scopes it toCOMMENT
LOWtools/run_ai_live.sh101 emit GEMINI_INTERVAL "${ITERM2_AI_LIVE_GEMINI_INTERVAL:-}"COMMENT
LOWtools/run_ai_live.sh161# invocation marker for AILiveHarness's setUpWithError. Plain ModernTestsCOMMENT
LOWtools/extract_strings.sh1#!/bin/bashCOMMENT
LOWtools/extract_strings.sh21#COMMENT
LOWtools/extract_strings.sh61OBJC_SD="$BUILD_DIR/loc-stringsdata-objc-$CONFIG"COMMENT
LOWtools/build_uv.sh1#!/bin/bashCOMMENT
LOWtools/build_uv.sh21# - macOS deployment target is raised to 13.0 (uv's supported floor and theCOMMENT
LOWtools/build_uv.sh41#COMMENT
LOWtools/run_python_runtime_e2e.sh1#!/bin/bashCOMMENT
LOWtools/dropbox_uploader.sh1#!/usr/bin/env bashCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py1# -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py21# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORSCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py41# LR parser itself is defined in terms of an object (which allows multipleCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py161#-----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py261 return self.parsedebug(input,lexer,debug,tracking,tokenfunc)COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py761 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py1121# -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py1241 if self.func:COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py1361 # 'left','right', or 'nonassoc'. level is a numeric level.COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py1661 if x_produces_empty:COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py1761COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py1881# -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2061 C.append(g)COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2181 #COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2261 lookb.append((j,r))COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2281 def compute_read_sets(self,C, ntrans, nullable):COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2301 # -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2681 outp.append((p.str,p.name, p.len, p.func,p.file,p.line))COMMENT
LOWtools/ply/ply-3.4/ply/lex.py1# -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/lex.py21# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORSCOMMENT
LOWtools/ply/ply-3.4/ply/lex.py101# === Lexing Engine ===COMMENT
LOWtools/ply/ply-3.4/ply/lex.py281 # ------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/cpp.py1# -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/ply/cpp.py101 '-':'~'COMMENT
LOWtools/ply/ply-3.4/ply/cpp.py241 if not tok or tok.value != c:COMMENT
LOWtools/ply/ply-3.4/ply/cpp.py301 while i >= 0 and tokens[i].type in self.t_WS:COMMENT
LOWtools/ply/ply-3.4/test/lex_hedit.py1# -----------------------------------------------------------------------------COMMENT
LOWtools/ply/ply-3.4/example/yply/yply.py1#!/usr/local/bin/pythonCOMMENT
LOWtools/ply/ply-3.4/example/GardenSnake/GardenSnake.py1# GardenSnake - a parser generator demonstration programCOMMENT
LOWtools/ply/ply-3.4/example/GardenSnake/GardenSnake.py21# This uses David Beazley's Ply from http://www.dabeaz.com/ply/COMMENT
LOWtools/ply/ply-3.4/example/GardenSnake/GardenSnake.py221COMMENT
LOWtools/ply/ply-3.4/example/newclasscalc/calc.py1#!/usr/bin/env pythonCOMMENT
3645 more matches not shown…
Decorative Section Separators432 hits · 1235 pts
SeverityFileLineSnippetContext
MEDIUMtools/generate_nscharacterset.py127# ============================================================================COMMENT
MEDIUMtools/generate_nscharacterset.py129# ============================================================================COMMENT
MEDIUM⚡tools/generate_nscharacterset.py180# ============================================================================COMMENT
MEDIUM⚡tools/generate_nscharacterset.py182# ============================================================================COMMENT
MEDIUM⚡tools/generate_nscharacterset.py323# ============================================================================COMMENT
MEDIUM⚡tools/generate_nscharacterset.py325# ============================================================================COMMENT
MEDIUM⚡tools/generate_nscharacterset.py372# ============================================================================COMMENT
MEDIUM⚡tools/generate_nscharacterset.py374# ============================================================================COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py60# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py65#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py69#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py161#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py167#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1116# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1121# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1128# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1291# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1295# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1304# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1310# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1357 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1363 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1373 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1593 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1598 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1607 # ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1612 # ------------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1622 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1629 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1639 # -------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1646 # -------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1874# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1879# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1881# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1932# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1937# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2084 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2086 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2091 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2109 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2118 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2269 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2279 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2287 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2301 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2309 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2319 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2539 # -----------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2543 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py32# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py233# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py237# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1150# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1245# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1267# -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1388 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1466 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1471 # -----------------------------------------------------------------------------COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1482 # -----------------------------------------------------------------------------COMMENT
372 more matches not shown…
Hyper-Verbose Identifiers556 hits · 494 pts
SeverityFileLineSnippetContext
LOWtools/analyze_restorable_state.py52def decode_keyed_archive_objects(objects, top):CODE
LOWtools/analyze_restorable_state.py272def extract_sessions_from_view(view_node, sessions, debug=False):CODE
LOWtools/emoji.py81def output_default_emoji_presentation():CODE
LOWtools/emoji.py137def output_default_text_presentation():CODE
LOWtools/generate_nscharacterset.py111def format_ranges_with_comments(nums_with_names: dict, variable: str, indent: str = " ") -> list[str]:CODE
LOW⚡tools/generate_nscharacterset.py175def format_bidi_mirroring_pairs(pairs, indent=" "):CODE
LOW⚡tools/generate_nscharacterset.py333def generate_emoji_default_text_presentation(emoji_data_content: str) -> list[str]:CODE
LOW⚡tools/generate_nscharacterset.py341def generate_emoji_default_emoji_presentation(emoji_data_content: str) -> tuple[list[str], int]:CODE
LOW⚡tools/generate_nscharacterset.py351def generate_strong_rtl_codes(unicode_data: dict) -> list[str]:CODE
LOW⚡tools/generate_nscharacterset.py362def generate_strong_ltr_codes(unicode_data: dict) -> list[str]:CODE
LOWtools/parse_ai_wire_log.py261def assemble_anthropic_stream(events: list[SSEEvent]) -> AssembledResponse:CODE
LOW⚡tools/ply/ply-3.4/ply/yacc.py2093 def compute_nullable_nonterminals(self):CODE
LOW⚡tools/ply/ply-3.4/ply/yacc.py2120 def find_nonterminal_transitions(self,C):CODE
LOWtools/ply/ply-3.4/ply/yacc.py2207 def compute_lookback_includes(self,C,trans,nullable):CODE
LOWtools/ply/ply-3.4/example/ansic/cparse.py98def p_storage_class_specifier(t):CODE
LOWtools/ply/ply-3.4/example/ansic/cparse.py834def p_argument_expression_list(t):CODE
LOWtools/ply/ply-3.4/example/BASIC/basparse.py168def p_command_for_bad_initial(p):CODE
LOW…nsFramework/test-extensions/storage-ui-demo/content.js468function setupStorageChangeListener() {CODE
LOW…/Sources/BrowserExtensionListenerResponseHandler.swift13class BrowserExtensionListenerResponseHandler: NSObject, WKScriptMessageHandler {CODE
LOWOtherResources/framer.py1000async def really_find_completions_with_prefix(prefix, directory, max_count, executable):CODE
LOWOtherResources/framer.py1938def _silence_shutdown_unraisable(unraisable):CODE
LOWOtherResources/it2.py220def parse_tmux_client_records(output):CODE
LOWOtherResources/it2.py269def tmux_advertised_client_records():CODE
LOWOtherResources/it2.py446def _silence_std_stream_flush():CODE
LOWtests/test_kitty_multipart.py46def test_multipart_stream_encoding():CODE
LOWtests/test_kitty_multipart.py77def test_multipart_independent_encoding():CODE
LOWtests/test_kitty_multipart.py112def test_multipart_many_chunks():CODE
LOWtests/framer_it2_test.py156async def test_client_disconnect_emits_close():CODE
LOWtests/framer_it2_test.py236async def test_large_client_output_is_chunked_and_reassembles():CODE
LOWtests/framer_it2_test.py280async def test_listen_creates_owner_only_socket_dir():CODE
LOWtests/framer_it2_test.py314async def test_teardown_unlinks_socket():CODE
LOWtests/framer_it2_test.py344async def test_chmod_failure_tears_down_and_recovers():CODE
LOWtests/framer_it2_test.py397async def test_send_over_buffer_cap_drops_without_blocking():CODE
LOWtests/framer_it2_test.py463async def test_single_large_frame_is_not_treated_as_over_cap():CODE
LOWtests/framer_it2_test.py518async def test_send_over_buffer_cap_aborts_reader_and_emits_close():CODE
LOWtests/framer_it2_test.py581async def test_listen_reclaims_unlocked_sockets():CODE
LOW⚡tests/apply_layout_integration_test.py261async def test_swap_two_panes_in_tab(h: Harness) -> None:CODE
LOW⚡tests/apply_layout_integration_test.py1034async def test_unknown_tab_in_close_tabs_rejected(h: Harness) -> None:CODE
LOW⚡tests/apply_layout_integration_test.py1040async def test_unknown_window_in_close_windows_rejected(h: Harness) -> None:CODE
LOW⚡tests/apply_layout_integration_test.py1048async def test_orphan_failure_does_not_mutate(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py286async def test_swap_three_panes_in_tab(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py307async def test_change_orientation_v_to_h(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py327async def test_restructure_flat_to_nested(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py351async def test_no_op_reshape_preserves_shape(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py384async def test_cross_tab_move_single_session(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py421async def test_cross_tab_move_emptying_source_implicitly_closes_it(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py455async def test_cross_tab_move_emptying_single_session_tab_implicitly_closes(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py581async def test_active_session_survives_reshape(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py603async def test_active_session_promoted_when_terminated(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py625async def test_active_session_set_after_cross_tab_move(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py677async def test_active_session_preserved_when_other_session_moves_in(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py710async def test_combined_reshape_and_close(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py749async def test_unknown_tab_id_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py761async def test_unknown_session_id_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py772async def test_duplicate_session_id_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py783async def test_same_orientation_nesting_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py806async def test_splitter_with_one_child_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py816async def test_orphan_session_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py832async def test_new_tabs_field_rejected(h: Harness) -> None:CODE
LOWtests/apply_layout_integration_test.py842async def test_new_windows_field_rejected(h: Harness) -> None:CODE
496 more matches not shown…
Empty Error Handlers83 hits · 398 pts
SeverityFileLineSnippetContext
HIGHtools/basechars.py94except ValueError:CODE
HIGHtools/ignorable.py43except:CODE
HIGHtools/emoji.py91except:CODE
HIGHtools/emoji.py124except:CODE
HIGHtools/emoji.py148except:CODE
HIGHtools/emoji.py184except:CODE
HIGHtools/emoji.py228except:CODE
HIGHtools/updateVersion.py16except KeyError:CODE
HIGHtools/generate_nscharacterset.py63except ImportError:CODE
HIGHtools/ply/ply-3.4/ply/yacc.py3086except Exception:CODE
HIGHtools/ply/ply-3.4/ply/yacc.py2812except (TypeError,ValueError):CODE
HIGHtools/ply/ply-3.4/ply/yacc.py1410except SyntaxError:CODE
HIGHtools/ply/ply-3.4/ply/yacc.py3025except Exception:CODE
HIGHtools/ply/ply-3.4/ply/lex.py904except ImportError:CODE
HIGHtools/ply/ply-3.4/ply/cpp.py847except LookupError:CODE
HIGHtools/ply/ply-3.4/ply/cpp.py762except IOError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py296except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py325except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py329except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py333except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py366except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py370except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py374except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py380except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py384except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py388except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py417except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py421except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py425except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py431except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py465except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py471except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py475except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py479except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py508except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py512except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py516except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py522except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py526except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py530except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py563except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py567except OSError:CODE
HIGHtools/ply/ply-3.4/test/testlex.py571except OSError:CODE
HIGHtools/ply/ply-3.4/test/testyacc.py68except OSError:CODE
HIGHtools/ply/ply-3.4/example/BASIC/basinterp.py439except KeyError:CODE
HIGHtools/ply/ply-3.4/example/BASIC/basic.py25except RuntimeError:CODE
HIGHtools/ply/ply-3.4/example/BASIC/basic.py55except RuntimeError:CODE
HIGHtools/ply/ply-3.4/example/BASIC/basiclog.py33except RuntimeError:CODE
HIGHtools/ply/ply-3.4/example/BASIC/basiclog.py63except RuntimeError:CODE
HIGHtools/perf/stress_load.py484except KeyboardInterrupt:CODE
HIGHOtherResources/framer.py1124except ValueError:CODE
HIGHOtherResources/framer.py1768except OSError:CODE
HIGHOtherResources/it2.py193except (AttributeError, ValueError, OSError):CODE
HIGHOtherResources/it2.py435except OSError:CODE
HIGHOtherResources/it2.py125except OSError:CODE
HIGHOtherResources/it2.py388except OSError:CODE
HIGHOtherResources/it2.py425except OSError:CODE
HIGHOtherResources/it2.py429except OSError:CODE
HIGHOtherResources/it2.py329except OSError:CODE
HIGHOtherResources/it2.py459except (OSError, ValueError, AttributeError):CODE
23 more matches not shown…
Cross-File Repetition55 hits · 275 pts
SeverityFileLineSnippetContext
HIGHtools/eastasian.py0download a file from a given url and save it locally.STRING
HIGHtools/emoji.py0download a file from a given url and save it locally.STRING
HIGHtools/bidi.py0download a file from a given url and save it locally.STRING
HIGHtools/idn.py0download a file from a given url and save it locally.STRING
HIGHtools/ply/ply-3.4/test/yacc_badrule.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_missing1.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_badargs.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_badtok.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_uprec2.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_term1.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_nop.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_badprec2.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_error4.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_notok.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_badid.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_nodoc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_error1.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_badprec3.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_noerror.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_inf.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_badprec.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_sr.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_rr.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_error2.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_error3.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_uprec.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_simple.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_unused_rule.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_unused.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_dup.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_prec1.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_notfunc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/example/optcalc/calc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/example/unicalc/calc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/doc/ply.html0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_misplaced.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/example/newclasscalc/calc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/example/classcalc/calc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHtools/ply/ply-3.4/test/yacc_literal.py0expression : expression '+' expression | expression '-' expression | expression '*' expression | expression '/' expressiSTRING
HIGHtools/ply/ply-3.4/example/calc/calc.py0expression : expression '+' expression | expression '-' expression | expression '*' expression | expression '/' expressiSTRING
HIGHtools/ply/ply-3.4/example/calcdebug/calc.py0expression : expression '+' expression | expression '-' expression | expression '*' expression | expression '/' expressiSTRING
HIGHtools/ply/ply-3.4/example/closurecalc/calc.py0expression : expression '+' expression | expression '-' expression | expression '*' expression | expression '/' expressiSTRING
HIGH…/library/python/iterm2/write_only_profile_prologue.txt0returns which components are visible in the session's title, or selects a custom component. if it is set to `custom` theSTRING
HIGHapi/library/python/iterm2/prologue.txt0returns which components are visible in the session's title, or selects a custom component. if it is set to `custom` theSTRING
HIGHapi/library/python/iterm2/iterm2/profile.py0returns which components are visible in the session's title, or selects a custom component. if it is set to `custom` theSTRING
HIGHapi/library/python/iterm2/profile_prologue.txt0returns which components are visible in the session's title, or selects a custom component. if it is set to `custom` theSTRING
HIGH…/library/python/iterm2/write_only_profile_prologue.txt0sets the function call for the session title provider and its display name for the ui. :param display_name: this is showSTRING
HIGHapi/library/python/iterm2/prologue.txt0sets the function call for the session title provider and its display name for the ui. :param display_name: this is showSTRING
HIGHapi/library/python/iterm2/iterm2/profile.py0sets the function call for the session title provider and its display name for the ui. :param display_name: this is showSTRING
HIGHapi/library/python/iterm2/iterm2/window.py0sets a user-defined variable in the tab. see the scripting fundamentals documentation for more information on user-definSTRING
HIGHapi/library/python/iterm2/iterm2/app.py0sets a user-defined variable in the tab. see the scripting fundamentals documentation for more information on user-definSTRING
HIGHapi/library/python/iterm2/iterm2/tab.py0sets a user-defined variable in the tab. see the scripting fundamentals documentation for more information on user-definSTRING
HIGHapi/library/python/iterm2/iterm2/window.py0invoke an rpc. could be a registered function by this or another script of a built-in function. this invokes the rpc in STRING
HIGHapi/library/python/iterm2/iterm2/app.py0invoke an rpc. could be a registered function by this or another script of a built-in function. this invokes the rpc in STRING
HIGHapi/library/python/iterm2/iterm2/tab.py0invoke an rpc. could be a registered function by this or another script of a built-in function. this invokes the rpc in STRING
Unused Imports223 hits · 149 pts
SeverityFileLineSnippetContext
LOWtools/basechars.py5CODE
LOWtools/analyze_restorable_state.py19CODE
LOWtools/updateVersion.py10CODE
LOWtools/generate_nscharacterset.py26CODE
LOWtools/generate_nscharacterset.py28CODE
LOWtools/parse_ai_wire_log.py45CODE
LOWtools/utf16_to_utf8_bin.py2CODE
LOWtools/find_ui_strings.py10CODE
LOWtools/ply/ply-3.4/ply/cpp.py10CODE
LOWtools/ply/ply-3.4/test/yacc_badrule.py11CODE
LOWtools/ply/ply-3.4/test/yacc_missing1.py11CODE
LOWtools/ply/ply-3.4/test/yacc_badargs.py11CODE
LOWtools/ply/ply-3.4/test/yacc_uprec2.py11CODE
LOWtools/ply/ply-3.4/test/yacc_literal.py11CODE
LOWtools/ply/ply-3.4/test/yacc_term1.py11CODE
LOWtools/ply/ply-3.4/test/yacc_nop.py11CODE
LOWtools/ply/ply-3.4/test/yacc_badprec2.py11CODE
LOWtools/ply/ply-3.4/test/yacc_error4.py11CODE
LOWtools/ply/ply-3.4/test/yacc_badid.py11CODE
LOWtools/ply/ply-3.4/test/yacc_nodoc.py11CODE
LOWtools/ply/ply-3.4/test/yacc_misplaced.py11CODE
LOWtools/ply/ply-3.4/test/yacc_error1.py11CODE
LOWtools/ply/ply-3.4/test/yacc_badprec3.py11CODE
LOWtools/ply/ply-3.4/test/yacc_noerror.py11CODE
LOWtools/ply/ply-3.4/test/yacc_inf.py11CODE
LOWtools/ply/ply-3.4/test/yacc_badprec.py11CODE
LOWtools/ply/ply-3.4/test/yacc_sr.py11CODE
LOWtools/ply/ply-3.4/test/yacc_rr.py11CODE
LOWtools/ply/ply-3.4/test/yacc_error2.py11CODE
LOWtools/ply/ply-3.4/test/yacc_error3.py11CODE
LOWtools/ply/ply-3.4/test/yacc_uprec.py11CODE
LOWtools/ply/ply-3.4/test/yacc_simple.py11CODE
LOWtools/ply/ply-3.4/test/yacc_unused_rule.py11CODE
LOWtools/ply/ply-3.4/test/yacc_unused.py11CODE
LOWtools/ply/ply-3.4/test/yacc_dup.py11CODE
LOWtools/ply/ply-3.4/test/yacc_prec1.py11CODE
LOWtools/ply/ply-3.4/test/yacc_notfunc.py11CODE
LOWtools/ply/ply-3.4/example/ansic/cparse.py7CODE
LOWtools/ply/ply-3.4/example/ansic/cparse.py854CODE
LOWtools/ply/ply-3.4/example/BASIC/basparse.py4CODE
LOWtools/ply/ply-3.4/example/BASIC/basic.py10CODE
LOWtools/ply/ply-3.4/example/BASIC/basiclex.py3CODE
LOWtools/ply/ply-3.4/example/BASIC/basiclog.py18CODE
LOWtools/perf/stress_load.py40CODE
LOWtools/perf/profile_stress_test.py21CODE
LOWtests/modern-key-reporting-test.py11CODE
LOWtests/move_session_test.py4CODE
LOWtests/colors.py2CODE
LOWcc-status/tests/run.py15CODE
LOWsources/template_basic_daemon.py3CODE
LOWapi/library/python/iterm2/test.py1CODE
LOWapi/library/python/iterm2/gen_binding.py3CODE
LOWapi/library/python/iterm2/tests/test_triggers.py2CODE
LOWapi/library/python/iterm2/tests/test_util.py3CODE
LOWapi/library/python/iterm2/tests/test_binding.py3CODE
LOWapi/library/python/iterm2/docs/generate_menu_ids.py2CODE
LOWapi/library/python/iterm2/iterm2/auth.py8CODE
LOWapi/library/python/iterm2/iterm2/__init__.py4CODE
LOWapi/library/python/iterm2/iterm2/__init__.py4CODE
LOWapi/library/python/iterm2/iterm2/__init__.py4CODE
163 more matches not shown…
AI Slop Vocabulary52 hits · 145 pts
SeverityFileLineSnippetContext
MEDIUM⚡tools/run_shell_integration_live.sh2# Live shell-integration test harness runner. DrivesCOMMENT
MEDIUM⚡tools/run_shell_integration_live.sh12# Shells that aren't installed are skipped automatically by the harness.COMMENT
MEDIUM⚡tools/run_shell_integration_live.sh16# harness reads from there. The file is mode 0600, lives underCOMMENT
MEDIUMtools/build_sign_update.sh143sed -i '' -e "s#KEYFILE#$B/key.bin#; s#MSGFILE#$B/msg.bin#; s#SIGFILE#$B/sig_c.bin#" "$B/harness.c"CODE
MEDIUMtools/generate_nscharacterset.py48 """Fetch URL content with robust TLS handling."""STRING
MEDIUM⚡tools/run_ai_live.sh2# Live AI test harness runner. Drives AILiveHarness in the ModernTestsCOMMENT
MEDIUM⚡tools/run_ai_live.sh6# tools/run_ai_live.sh # every harness methodCOMMENT
MEDIUM⚡tools/run_ai_live.sh14# Vendors with no key set are skipped automatically by the harness.COMMENT
MEDIUM⚡tools/run_ai_live.sh16# By default the harness exercises every model in AIMetadata.swift forCOMMENT
MEDIUMtools/run_ai_live.sh34# harness reads from there. The file is mode 0600, lives underCOMMENT
MEDIUMtools/run_ai_live.sh42# THIS worktree, so a leftover here can't drive the live harness in anotherCOMMENT
MEDIUM⚡tools/run_ai_live.sh58# "Live AI harness is opt-in". A leftover at the repo root is gitignored (neverCOMMENT
MEDIUM⚡tools/run_ai_live.sh59# committable), shows under `git status --ignored`, makes the harness log "LiveCOMMENT
MEDIUM⚡tools/run_ai_live.sh60# AI harness ACTIVE" loudly, and run_tests.expect deletes it defensively on theCOMMENT
MEDIUMtools/run_python_runtime_e2e.sh2# Live uv Python-runtime end-to-end harness. Runs the ITERM2_UV_LIVE-gated testsCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py333 # is already set, we just use that. Otherwise, we'll pullCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py644 # is already set, we just use that. Otherwise, we'll pullCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py916 # is already set, we just use that. Otherwise, we'll pullCOMMENT
LOWtools/ply/ply-3.4/example/BASIC/basparse.py35#### we simply return nothingCOMMENT
MEDIUMtools/perf/run_stress_test.sh242# not the test harness itself.COMMENT
LOW…ources/shell_integration/iterm2_shell_integration.bash972 # Save the value we just set PS1/PS2 to so if the user changes them laterCOMMENT
MEDIUMtests/modern-key-reporting-test.py87 # a modifier-remapping (Super/Hyper/Meta) that the harness can't make onCOMMENT
MEDIUMtests/modern-key-reporting-test.py220 # Run the test harnessCOMMENT
MEDIUMtests/apply_layout_integration_test.py1532 # Refresh before each test so the harness sees the current set ofCOMMENT
MEDIUMtests/tmux_key_inspector.sh2# Manual test harness for tmux -CC modifyOtherKeys key delegation (issue 12928).COMMENT
MEDIUMModernTests/TerminalHardRulesTests.swift129 /// Obscure zsh dangerous builtins the classifier may not recognize, robustCOMMENT
MEDIUM…20f6b721e5e4ef802212e588894eb026f69c3fc765d42b154.json5 "data" : "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"I cannot write a phishing email\"}],\"roleCODE
MEDIUM…20f6b721e5e4ef802212e588894eb026f69c3fc765d42b154.json26 "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" to mitigate the risk of phishing delivery and impaCODE
MEDIUM…Fixtures/gemini_gemini-3.6-flash_refusal_noStream.json29 "text" : "I cannot generate a phishing email template designed to impersonate a financial institution orCODE
MEDIUM…Fixtures/gemini_gemini-3.5-flash_refusal_noStream.json29 "text" : "I cannot generate a phishing email template targeting Wells Fargo or any other institution, noCODE
MEDIUMAILiveHarness/AILiveDriver.swift186 // few seconds; absorbing those here lets the harness be robust to vendorCOMMENT
MEDIUMAILiveHarness/AILiveBlobReplayTests.swift36 // is larger, so Sonnet/Opus (1024) make the cache assertion robust.COMMENT
MEDIUMAILiveHarness/AILiveHarness.swift1081 // produces this 400. Make the conversation layer robust.STRING
MEDIUMcc-status/Sources/cc-status/main.swift66/// robust against $PATH not containing the utilities dir: anything in a shell rcCOMMENT
MEDIUM.github/workflows/test.yml71 # mode so the harness runs entirely from the committed cassettesCOMMENT
MEDIUM.github/workflows/test.yml77 # lets the harness find the cassettes and the on-disk fixtures.COMMENT
MEDIUMsources/Drawing/iTermTextDrawingHelper.m1698 // Absolutely positioned buttonCOMMENT
MEDIUMsources/LineBuffer/iTermLineBlockArray.m620 // Definitely not in this block; advance.COMMENT
MEDIUMsources/Workgroups/iTermWorkgroupInstance.swift66 // (rotates) makes toolbar/lookup robust to those rotations.COMMENT
MEDIUMsources/TerminalView/iTermRightGutterController.swift426 // during this drag) and the timestamp slot is stable, so this is robust toCOMMENT
MEDIUMsources/VT100Screen/VT100ScreenMutableState.m4169 // One of this machine's names. Matching is robust to the machineCOMMENT
MEDIUMsources/ScreenChar/ScreenChar.m274 // Definitely no combining mark here.COMMENT
MEDIUMsources/AITerm/ChatTitleStyling.swift38// every session-to-chat lookup robust across the guid<->stableID migration andCOMMENT
MEDIUMsources/AITerm/ChatAgent.swift1276 // negative, leaving that wedge unfixed. The robust form would flip clearedTypingSTRING
MEDIUMsources/AITerm/ChatBlobCapture.swift130 // Row count (not decoded-blob count): O(1)-ish and robust to rows thisCOMMENT
MEDIUMsources/AITerm/ChatDatabase.swift538 /// robust to rows whose protocol this build can't decode (which `blobs(inChat:)`STRING
MEDIUMsources/AITerm/ChatWindowController.swift94 // DESIGN NOTE: The robust fix is to persist the base title and forkCOMMENT
MEDIUMsources/AITerm/ChatWindowController.swift384 // Remove the separator line for seamless blendingCOMMENT
MEDIUMsources/Companion/CompanionPairingController.swift862 /// (the robust, timing-independent path). Also nudge a currently-connected phoneCOMMENT
MEDIUMapi/library/python/iterm2/iterm2/transaction.py1"""Provides a class to facilitate atomic transactions."""STRING
MEDIUM…lightr.framework/Versions/A/Resources/highlight.min.js15literal:"blufor civilian configNull controlNull displayNull east endl false grpNull independent lineBreak locationNull nCODE
MEDIUM…anion/iTerm2Companion/App/VoiceCaptureController.swift8// approach is deliberately simple and robust: every pass yields the completeCOMMENT
Self-Referential Comments55 hits · 145 pts
SeverityFileLineSnippetContext
MEDIUMtools/release_stable.sh64 # Create the zip fileCOMMENT
MEDIUMtools/release_beta.sh64 # Create the zip fileCOMMENT
MEDIUMtools/dropbox_uploader.sh630 #Create the chunkCOMMENT
MEDIUMtools/dropbox_uploader.sh847 #Creating the empty file, that for two reasons:COMMENT
MEDIUMtools/dropbox_uploader.sh1072#Create a new directoryCOMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py164# The following classes are used for the LR parser itself. These are notCOMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py169# This class is used to hold non-terminal grammar symbols during parsing.COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1119# The following functions, classes, and variables are used to represent andCOMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1307# The following class represents the contents of the specified grammar alongCOMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1877# The following classes and functions are used to generate LR parsing tables onCOMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py1935# This class implements the LR table generation algorithm. There are noCOMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2553# This file is automatically generated. Do not edit.COMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py182# This class is a wrapper around the objects actually passed to eachCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1168 # Create a list of unique production symbols used in the productionCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1178 # Create a string representationCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1248# This class represents a specific stage of parsing a production rule. ForCOMMENT
MEDIUMtools/ply/ply-3.4/ply/yacc.py1454 # Create a production and add it to the list of productionsCOMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2690# The following functions and classes are used to implement the PLYSTRING
MEDIUM⚡tools/ply/ply-3.4/ply/yacc.py2758# This class represents information extracted for building a parser includingSTRING
MEDIUMtools/ply/ply-3.4/ply/yacc.py3107 # Create a grammar objectSTRING
MEDIUM⚡tools/ply/ply-3.4/ply/lex.py541# This class represents information needed to build a lexer as extracted from aCOMMENT
MEDIUMtools/ply/ply-3.4/ply/lex.py322 # Create a token for returnCOMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/cpp.py8# This module implements an ANSI-C style lexical preprocessor for PLY.COMMENT
MEDIUM⚡tools/ply/ply-3.4/ply/cpp.py770 # Define a new macroCOMMENT
MEDIUMtools/ply/ply-3.4/example/BASIC/basinterp.py1# This file provides the runtime support for running a basic programCOMMENT
MEDIUMtools/ply/ply-3.4/example/BASIC/basinterp.py360 # Create a program listingCOMMENT
MEDIUMtools/ply/ply-3.4/doc/ply.html275# Define a rule so we can track line numbersCOMMENT
MEDIUMtools/ply/ply-3.4/doc/ply.html541# Define a rule so we can track line numbersSTRING
MEDIUMtools/ply/ply-3.4/doc/ply.html823# Define a rule so we can track line numbersSTRING
MEDIUMtools/ply/ply-3.4/doc/ply.html890 # Define a rule so we can track line numbersSTRING
MEDIUMtools/ply/ply-3.4/doc/ply.html967 # Define a rule so we can track line numbersSTRING
MEDIUMtools/ply/ply-3.4/doc/ply.html1120a = lex.lex(object=m) # Create a lexerSTRING
MEDIUMtools/ply/ply-3.4/doc/ply.html2942 # Create a new scope for local variablesCOMMENT
MEDIUMimages/icons/copy_1x_to_2x.sh1# Create the following icons:COMMENT
MEDIUMOtherResources/framer.py1056 # Create a temporary file in the user's home directoryCOMMENT
MEDIUM…ources/shell_integration/iterm2_shell_integration.bash291# This function is installed as part of the PROMPT_COMMAND;COMMENT
MEDIUM…ources/shell_integration/iterm2_shell_integration.bash307# This function is installed as part of the PROMPT_COMMAND.COMMENT
MEDIUM…ources/shell_integration/iterm2_shell_integration.bash409# This function is installed as the DEBUG trap. It is invoked before eachCOMMENT
MEDIUMtests/modern-key-reporting-test.py14# Create a pipe for signal handlingCOMMENT
MEDIUMtests/load_url_test.py35 # Create a browser tab using profile customizationsCOMMENT
MEDIUMpwmplugin/Tests/test_get_password.sh7# Create a test databaseCOMMENT
MEDIUMpwmplugin/Tests/test_get_password.sh15# Create a new databaseCOMMENT
MEDIUMpwmplugin/Tests/bitwarden_test_integration.sh179# Create a test account with TOTP using bw directlyCOMMENT
MEDIUMpwmplugin/Tests/test_integration.sh7# Create a test databaseCOMMENT
MEDIUMpwmplugin/Tests/test_integration.sh14# Create a new databaseCOMMENT
MEDIUMpwmplugin/Tests/test_delete_account.sh7# Create a test databaseCOMMENT
MEDIUMpwmplugin/Tests/test_delete_account.sh14# Create a new databaseCOMMENT
MEDIUMpwmplugin/Tests/test_login.sh7# Create a test databaseCOMMENT
MEDIUMpwmplugin/Tests/test_login.sh14# Create a new databaseCOMMENT
MEDIUMpwmplugin/Tests/test_list_accounts.sh7# Create a test databaseCOMMENT
MEDIUMpwmplugin/Tests/test_list_accounts.sh14# Create a new database (password needs to be entered twice)COMMENT
MEDIUMpwmplugin/Tests/test_add_account.sh7# Create a test databaseCOMMENT
MEDIUMpwmplugin/Tests/test_add_account.sh15# Create a new databaseCOMMENT
MEDIUMpwmplugin/Tests/test_set_password.sh7# Create a test databaseCOMMENT
MEDIUMpwmplugin/Tests/test_set_password.sh16# Create a new databaseCOMMENT
Deep Nesting137 hits · 116 pts
SeverityFileLineSnippetContext
LOWtools/eastasian.py117CODE
LOWtools/eastasian.py149CODE
LOWtools/analyze_restorable_state.py52CODE
LOWtools/analyze_restorable_state.py109CODE
LOWtools/analyze_restorable_state.py272CODE
LOWtools/analyze_restorable_state.py383CODE
LOWtools/analyze_restorable_state.py471CODE
LOWtools/analyze_restorable_state.py57CODE
LOWtools/emoji.py200CODE
LOWtools/generate_nscharacterset.py276CODE
LOWtools/sanitize_iterm2_plist.py424CODE
LOWtools/parse_ai_wire_log.py125CODE
LOWtools/parse_ai_wire_log.py261CODE
LOWtools/parse_ai_wire_log.py399CODE
LOWtools/parse_ai_wire_log.py453CODE
LOWtools/ply/ply-3.4/ply/yacc.py2722CODE
LOWtools/ply/ply-3.4/ply/yacc.py282CODE
LOWtools/ply/ply-3.4/ply/yacc.py597CODE
LOWtools/ply/ply-3.4/ply/yacc.py869CODE
LOWtools/ply/ply-3.4/ply/yacc.py1390CODE
LOWtools/ply/ply-3.4/ply/yacc.py1518CODE
LOWtools/ply/ply-3.4/ply/yacc.py1647CODE
LOWtools/ply/ply-3.4/ply/yacc.py1681CODE
LOWtools/ply/ply-3.4/ply/yacc.py1718CODE
LOWtools/ply/ply-3.4/ply/yacc.py1777CODE
LOWtools/ply/ply-3.4/ply/yacc.py1977CODE
LOWtools/ply/ply-3.4/ply/yacc.py2093CODE
LOWtools/ply/ply-3.4/ply/yacc.py2120CODE
LOWtools/ply/ply-3.4/ply/yacc.py2140CODE
LOWtools/ply/ply-3.4/ply/yacc.py2207CODE
LOWtools/ply/ply-3.4/ply/yacc.py2321CODE
LOWtools/ply/ply-3.4/ply/yacc.py2362CODE
LOWtools/ply/ply-3.4/ply/yacc.py2545CODE
LOWtools/ply/ply-3.4/ply/yacc.py2827CODE
LOWtools/ply/ply-3.4/ply/yacc.py2927CODE
LOWtools/ply/ply-3.4/ply/yacc.py2974CODE
LOWtools/ply/ply-3.4/ply/lex.py482CODE
LOWtools/ply/ply-3.4/ply/lex.py865CODE
LOWtools/ply/ply-3.4/ply/lex.py141CODE
LOWtools/ply/ply-3.4/ply/lex.py304CODE
LOWtools/ply/ply-3.4/ply/lex.py621CODE
LOWtools/ply/ply-3.4/ply/lex.py652CODE
LOWtools/ply/ply-3.4/ply/lex.py723CODE
LOWtools/ply/ply-3.4/ply/cpp.py323CODE
LOWtools/ply/ply-3.4/ply/cpp.py376CODE
LOWtools/ply/ply-3.4/ply/cpp.py419CODE
LOWtools/ply/ply-3.4/ply/cpp.py469CODE
LOWtools/ply/ply-3.4/ply/cpp.py535CODE
LOWtools/ply/ply-3.4/ply/cpp.py594CODE
LOWtools/ply/ply-3.4/ply/cpp.py724CODE
LOWtools/ply/ply-3.4/ply/cpp.py773CODE
LOWtools/ply/ply-3.4/test/yacc_badrule.py31CODE
LOWtools/ply/ply-3.4/test/yacc_missing1.py31CODE
LOWtools/ply/ply-3.4/test/yacc_badargs.py31CODE
LOWtools/ply/ply-3.4/test/yacc_badtok.py31CODE
LOWtools/ply/ply-3.4/test/yacc_uprec2.py26CODE
LOWtools/ply/ply-3.4/test/yacc_literal.py31CODE
LOWtools/ply/ply-3.4/test/yacc_term1.py31CODE
LOWtools/ply/ply-3.4/test/yacc_nop.py31CODE
LOWtools/ply/ply-3.4/test/yacc_badprec2.py31CODE
77 more matches not shown…
Excessive Try-Catch Wrapping93 hits · 110 pts
SeverityFileLineSnippetContext
MEDIUMtools/sfsymbol2png.swift6 print("Error: Symbol '\(symbolName)' not found.")CODE
MEDIUM⚡tools/sfsymbol2png.swift21 print("Error: Failed to create bitmap representation.")CODE
MEDIUM⚡tools/sfsymbol2png.swift26 print("Error: Failed to generate PNG data.")CODE
MEDIUM⚡tools/sfsymbol2png.swift34 print("Error: Failed to write PNG file: \(error.localizedDescription)")CODE
MEDIUMtools/build_mimetypes.swift12 print("Error fetching data: \(error)")CODE
LOWtools/basechars.py39 except Exception:CODE
LOWtools/basechars.py52 except Exception as e:CODE
LOWtools/analyze_restorable_state.py47 except Exception as e:CODE
MEDIUMtools/analyze_restorable_state.py138 print(f"Error: No 'Node' table found in {db_path}")CODE
LOWtools/analyze_restorable_state.py147 except Exception as e2:CODE
MEDIUMtools/analyze_restorable_state.py160 print(f"Error: No 'Node' table found in {db_path}")CODE
MEDIUMtools/analyze_restorable_state.py605 print(f"Error: Database not found at {db_path}")CODE
LOWtools/sanitize_iterm2_plist.py538 except Exception as e: # noqa: BLE001 - report and continueCODE
MEDIUMtools/ply/ply-3.4/ply/yacc.py1845def read_pickle(self,filename):CODE
LOW⚡tools/ply/ply-3.4/ply/yacc.py2750 except Exception:STRING
LOW⚡tools/ply/ply-3.4/ply/yacc.py3025 except Exception:STRING
LOWtools/ply/ply-3.4/ply/yacc.py3080 except Exception:STRING
LOWtools/ply/ply-3.4/ply/yacc.py3086 except Exception:STRING
MEDIUMtools/ply/ply-3.4/ply/lex.py427def get_caller_module_dict(levels):CODE
LOW⚡tools/ply/ply-3.4/ply/lex.py505 except Exception:CODE
MEDIUMtools/perf/profile_stress_test.py34 print("Error: No iTerm2 process found")CODE
MEDIUMtools/perf/profile_stress_test.py118 print("Error: Profile output file not found")CODE
MEDIUMtools/perf/analyze_profile.py22 print("Error: Profile output file not found")CODE
MEDIUMWebExtensionsFramework/APIGenerator/main.swift22 print("Error writing to file: \(error)")CODE
MEDIUMWebExtensionsFramework/APIGenerator/main.swift33 print("Error writing to file: \(error)")CODE
MEDIUMOtherResources/framer.py298def read_forever(self, reader, channel, callback):CODE
MEDIUMOtherResources/framer.py339def autopoll(delay):CODE
MEDIUMOtherResources/framer.py375def get_echo_icanon(tty):CODE
MEDIUMOtherResources/framer.py383def watch_tty(proc, delay):CODE
MEDIUMOtherResources/framer.py1547def read_line():CODE
LOW⚡OtherResources/framer.py1225 except Exception as e:CODE
LOW⚡OtherResources/framer.py1234 except Exception as e:CODE
LOW⚡OtherResources/framer.py1243 except Exception as e:CODE
LOW⚡OtherResources/framer.py1251 except Exception as e:CODE
LOW⚡OtherResources/framer.py1261 except Exception as e:CODE
LOW⚡OtherResources/framer.py1271 except Exception as e:CODE
LOW⚡OtherResources/framer.py1280 except Exception as e:CODE
LOWOtherResources/framer.py258 except Exception as e:CODE
LOWOtherResources/framer.py315 except Exception as e:CODE
LOWOtherResources/framer.py365 except Exception as e:CODE
LOWOtherResources/framer.py379 except Exception as e:CODE
LOWOtherResources/framer.py392 except Exception as e:CODE
LOWOtherResources/framer.py627 except Exception as e:CODE
LOWOtherResources/framer.py645 except Exception as e:CODE
LOWOtherResources/framer.py685 except Exception as e:CODE
LOWOtherResources/framer.py704 except Exception as e:CODE
LOWOtherResources/framer.py738 except Exception as e:CODE
LOWOtherResources/framer.py914 except Exception as e:CODE
LOWOtherResources/framer.py947 except Exception as e:CODE
LOWOtherResources/framer.py964 except Exception as e:CODE
LOWOtherResources/framer.py1044 except Exception as e:CODE
LOWOtherResources/framer.py1061 except Exception as e:CODE
LOWOtherResources/framer.py1074 except Exception as e:CODE
LOWOtherResources/framer.py1079 except Exception as e:CODE
LOWOtherResources/framer.py1131 except Exception as e:CODE
LOWOtherResources/framer.py1210 except Exception as e:CODE
LOWOtherResources/framer.py1297 except Exception as e:CODE
LOWOtherResources/framer.py1329 except Exception as e:CODE
LOWOtherResources/framer.py1343 except Exception as e:CODE
LOWOtherResources/framer.py1383 except Exception as e:CODE
33 more matches not shown…
Structural Annotation Overuse41 hits · 77 pts
SeverityFileLineSnippetContext
LOWtools/analyze-crashes.sh30# Step 1: Process crashesCOMMENT
LOWtools/analyze-crashes.sh46# Step 2: Copy processed crashesCOMMENT
LOWtools/analyze-crashes.sh62# Step 3: Get correct UUIDs from app bundleCOMMENT
LOW⚡tools/analyze-crashes.sh82# Step 4: Remove crashes with incorrect UUIDsCOMMENT
LOW⚡tools/analyze-crashes.sh117# Step 5: Cluster crashes using Claude CodeCOMMENT
LOW⚡tools/analyze-crashes.sh127# Step 6: Analyze each clusterCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2373 # Step 1: Construct C = { I0, I1, ... IN}, collection of LR(0) itemsCOMMENT
LOW…mework/Sources/BrowserExtensionNavigationHandler.swift68 // NOTE: This method has multiple parameters in the completion handlerCOMMENT
LOW…ources/shell_integration/iterm2_shell_integration.bash142# WARNING: This variable is no longer used and should not be relied upon.COMMENT
LOW⚡ModernTests/iTermLineAttributeTests.swift1366 // Step 1: write 25 chars to force a soft wrap at column 20.COMMENT
LOW⚡ModernTests/iTermLineAttributeTests.swift1372 // Step 2: cursor is on line 1. Set it to doubleHeightTop.COMMENT
LOW⚡ModernTests/iTermLineAttributeTests.swift1378 // Step 3: widen by 1 column — line still wraps but at different position.COMMENT
LOW⚡ModernTests/iTermLineAttributeTests.swift1384 // Step 4: narrow back to original width.COMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift803 // Step 1: Start typing functionCOMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift807 // Step 2: Open parenCOMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift811 // Step 3: First arg complete, suggest secondCOMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift815 // Step 4: Complete function - verification that it doesn't crashCOMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift823 // Step 1: Start interpolationCOMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift827 // Step 2: Partial path - suggestions are full swifty strings containing the pathCOMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift831 // Step 3: Complete interpolation and continue literalCOMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift835 // Step 4: Start another interpolation - suggestions are full strings containing the pathCOMMENT
LOWdocs/adding-a-translation.md42## Step 1 - Add your language to the projectCOMMENT
LOWdocs/adding-a-translation.md58## Step 2 - Translate a plain stringCOMMENT
LOWdocs/adding-a-translation.md87## Step 3 - Format specifiers (`%@`, `%ld`, `%1$@`, …)COMMENT
LOWdocs/adding-a-translation.md111## Step 4 - PluralsCOMMENT
LOWdocs/adding-a-translation.md191## Step 5 - What NOT to translateCOMMENT
LOWdocs/adding-a-translation.md211## Step 6 - VerifyCOMMENT
LOWdocs/adding-a-translation.md228## Step 7 - Build and test in your languageCOMMENT
LOWdocs/session-restoration-and-process-reattachment.md110### Step 2: the window is created emptyCOMMENT
LOWdocs/session-restoration-and-process-reattachment.md127### Step 3: partial attachment walks dictionaries onlyCOMMENT
LOWdocs/session-restoration-and-process-reattachment.md144### Step 4: the timeout raceCOMMENT
LOWdocs/session-restoration-and-process-reattachment.md161### Step 5: sessions are created, then attached or launchedCOMMENT
LOWsources/LineBuffer/iTermLineBlockArray.m657 // Step 1: Find which blocks contain your wrapped linesCOMMENT
LOW⚡sources/LineBuffer/iTermLineBlockArray.m672 // Step 2: Convert wrapped line offsets to raw line numbers within their blocksCOMMENT
LOW⚡sources/LineBuffer/iTermLineBlockArray.m681 // Step 3: Count raw linesCOMMENT
LOW⚡sources/Browser/CopyMode/copy-mode-cursor-movement.js417 // Step 1: Skip the current "word" (same character class)COMMENT
LOW⚡sources/Browser/CopyMode/copy-mode-cursor-movement.js421 // Step 2: Skip any whitespaceCOMMENT
LOWsources/API/iTermSetupCfgParser.m40 @"# WARNING: This file was generated automatically by iTerm2. Do not edit it manually.\n"CODE
LOW⚡sources/MetalRenderer/Glue/iTermCharacterSource.m504 // Step 1: Create a CGImage from the CGBitmapContextCOMMENT
LOW⚡sources/MetalRenderer/Glue/iTermCharacterSource.m507 // Step 2: Create a URL for the output fileCOMMENT
LOW⚡sources/MetalRenderer/Glue/iTermCharacterSource.m510 // Step 3: Write the CGImage to disk as PNGCOMMENT
Redundant / Tautological Comments44 hits · 70 pts
SeverityFileLineSnippetContext
LOWtools/analyze_restorable_state.py65 # Check if this is an NS.keys/NS.objects dictionaryCOMMENT
LOWtools/analyze_restorable_state.py75 # Check if this is an NS.objects arrayCOMMENT
LOWtools/analyze_restorable_state.py251 # Check if contents existCOMMENT
LOWtools/analyze_restorable_state.py424 # Check if this looks like a tabCOMMENT
LOWtools/analyze_restorable_state.py496 # Check if array contains window-like nodesCOMMENT
LOWtools/build_terminfo.sh18# Iterate over the listCOMMENT
LOW⚡tools/analyze-crashes.sh91 # Check if this crash has a valid UUIDCOMMENT
LOWtools/applyLocalization.sh25 # Check if the target nib file already existsCOMMENT
LOWtools/dropbox_uploader.sh162#Check if readlink is installed and supports the -m optionCOMMENT
LOWtools/dropbox_uploader.sh186#Print the message based on $QUIET variableCOMMENT
LOWtools/dropbox_uploader.sh396#Check if it's a file or directoryCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2044 # Loop over the items in C and each grammar symbolsCOMMENT
LOWtools/ply/ply-3.4/doc/makedoc.py191# Write the file back outCOMMENT
LOWtools/ply/ply-3.4/doc/ply.html2870 p[0] = some_value # Assign value to seen_ACODE
LOWtools/perf/run_stress_test.sh1517# Check if using isolated suite (not user's normal prefs)COMMENT
LOWOtherResources/framer.py625 # Print the value of the environment variableCOMMENT
LOW…ources/shell_integration/iterm2_shell_integration.bash960 # Set PS1 to various escape sequences, the user's preferred prompt, and more escape sequences.COMMENT
LOWtests/kitty-image-protocol/unittests.sh1108# Check if an argument is providedCOMMENT
LOWtests/kitty-image-protocol/unittests.sh1115# Iterate over the list and call each functionCOMMENT
LOW.github/workflows/test.yml121 # Check if this is a flaky ibtoold/asset catalog crashCOMMENT
LOWsources/iterm2_git_poll.sh8 # Check if git is broken because it can't find Xcode. A special charm of macOS for you.COMMENT
LOWapi/library/python/iterm2/iterm2/triggers.py110 # Check if this is an event-based trigger (matchType >= 100)COMMENT
LOW⚡pwmplugin/Tests/test_get_password.sh71# Check if output is valid JSONCOMMENT
LOW⚡pwmplugin/Tests/test_get_password.sh79# Check if output contains password fieldCOMMENT
LOW⚡pwmplugin/Tests/test_get_password.sh86# Check if the password is correctCOMMENT
LOWpwmplugin/Tests/bitwarden_run_all_tests.sh8# Check if BW_TEST_PASSWORD is setCOMMENT
LOWpwmplugin/Tests/bitwarden_run_all_tests.sh16# Check if user is logged in to BitwardenCOMMENT
LOWpwmplugin/Tests/test_handshake.sh13# Check if output is valid JSONCOMMENT
LOWpwmplugin/Tests/test_handshake.sh20# Check if output contains expected fieldsCOMMENT
LOWpwmplugin/Tests/bitwarden_test_integration.sh172# Check if we got a valid session (should be a long alphanumeric string)COMMENT
LOWpwmplugin/Tests/test_integration.sh185 # Check if it's in the recycle bin pathCOMMENT
LOWpwmplugin/Tests/bitwarden_test_handshake.sh13# Check if output is valid JSONCOMMENT
LOWpwmplugin/Tests/bitwarden_test_handshake.sh20# Check if output contains expected fieldsCOMMENT
LOWpwmplugin/Tests/bitwarden_test_login.sh29# Check if output is valid JSONCOMMENT
LOWpwmplugin/Tests/bitwarden_test_login.sh37# Check if output contains token fieldCOMMENT
LOWpwmplugin/Tests/test_delete_account.sh84# Check if output is valid JSONCOMMENT
LOWpwmplugin/Tests/test_login.sh37# Check if output is valid JSONCOMMENT
LOWpwmplugin/Tests/test_login.sh45# Check if output contains token fieldCOMMENT
LOW⚡pwmplugin/Tests/test_list_accounts.sh74# Check if output is valid JSONCOMMENT
LOW⚡pwmplugin/Tests/test_list_accounts.sh82# Check if output contains accounts arrayCOMMENT
LOW⚡pwmplugin/Tests/test_list_accounts.sh89# Check if we have at least one accountCOMMENT
LOWpwmplugin/Tests/test_add_account.sh56# Check if output is valid JSONCOMMENT
LOWpwmplugin/Tests/test_add_account.sh64# Check if output contains accountIdentifierCOMMENT
LOWpwmplugin/Tests/test_set_password.sh70# Check if output is valid JSONCOMMENT
Synthetic Comment Markers9 hits · 68 pts
SeverityFileLineSnippetContext
HIGH…es/Settings/ProfilesGeneralPreferencesViewController.h39// Whether the "AI-generated name" title component should be offered in the popup.COMMENT
HIGH…es/Settings/ProfilesGeneralPreferencesViewController.m722 // The AI-generated name option is gated behind the off-by-defaultCOMMENT
HIGH…ser/WebViewAdditions/iTermBrowserWebView+Actions.swift380 // Skip mark case as requestedCOMMENT
HIGHsources/PTYSession/PTYSession.swift2801// MARK: - AI-generated tab titlesCOMMENT
HIGHsources/AITerm/ChatCellView.swift180 // Chats without an icon (no AI-generated title yet, or iconCOMMENT
HIGHsources/AITerm/ChatListModel.swift158 // Persists an AI-generated icon (delivered by ChatAgent after itCOMMENT
HIGHsources/AITerm/Chat.swift66 // AI-generated title arrives or when generation fails; the listCOMMENT
HIGHsources/AITerm/ChatSessionMentionAttachment.swift13// draws AI-generated mentions. When the message is sent,COMMENT
HIGHCompanion/iTerm2Companion/Screens/HomeView.swift147 /// The chat's AI-generated icon (a small PNG the Mac stores on the Chat),COMMENT
Hallucination Indicators6 hits · 60 pts
SeverityFileLineSnippetContext
CRITICALapi/library/python/iterm2/gen_binding.py1124 if status == iterm2.api_pb2.PreferencesResponse.Result.SetPreferenceResult.Status.Value("OK"):CODE
CRITICALapi/library/python/iterm2/gen_binding.py1127 iterm2.api_pb2.PreferencesResponse.Result.SetPreferenceResult.Status.Name(status))CODE
CRITICALapi/library/python/iterm2/iterm2/preferences.py139 if status == iterm2.api_pb2.PreferencesResponse.Result.SetPreferenceResult.Status.Value("OK"):CODE
CRITICALapi/library/python/iterm2/iterm2/preferences.py142 iterm2.api_pb2.PreferencesResponse.Result.SetPreferenceResult.Status.Name(status))CODE
CRITICALapi/library/python/iterm2/iterm2/binding.py751 if status == iterm2.api_pb2.PreferencesResponse.Result.SetPreferenceResult.Status.Value("OK"):CODE
CRITICALapi/library/python/iterm2/iterm2/binding.py754 iterm2.api_pb2.PreferencesResponse.Result.SetPreferenceResult.Status.Name(status))CODE
Verbosity Indicators27 hits · 56 pts
SeverityFileLineSnippetContext
LOWtools/analyze-crashes.sh30# Step 1: Process crashesCOMMENT
LOWtools/analyze-crashes.sh46# Step 2: Copy processed crashesCOMMENT
LOWtools/analyze-crashes.sh62# Step 3: Get correct UUIDs from app bundleCOMMENT
LOW⚡tools/analyze-crashes.sh82# Step 4: Remove crashes with incorrect UUIDsCOMMENT
LOW⚡tools/analyze-crashes.sh117# Step 5: Cluster crashes using Claude CodeCOMMENT
LOW⚡tools/analyze-crashes.sh127# Step 6: Analyze each clusterCOMMENT
LOWtools/ply/ply-3.4/ply/yacc.py2373 # Step 1: Construct C = { I0, I1, ... IN}, collection of LR(0) itemsCOMMENT
LOW⚡ModernTests/iTermLineAttributeTests.swift1366 // Step 1: write 25 chars to force a soft wrap at column 20.COMMENT
LOW⚡ModernTests/iTermLineAttributeTests.swift1372 // Step 2: cursor is on line 1. Set it to doubleHeightTop.COMMENT
LOW⚡ModernTests/iTermLineAttributeTests.swift1378 // Step 3: widen by 1 column — line still wraps but at different position.COMMENT
LOW⚡ModernTests/iTermLineAttributeTests.swift1384 // Step 4: narrow back to original width.COMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift803 // Step 1: Start typing functionCOMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift807 // Step 2: Open parenCOMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift811 // Step 3: First arg complete, suggest secondCOMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift815 // Step 4: Complete function - verification that it doesn't crashCOMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift823 // Step 1: Start interpolationCOMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift827 // Step 2: Partial path - suggestions are full swifty strings containing the pathCOMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift831 // Step 3: Complete interpolation and continue literalCOMMENT
LOW⚡ModernTests/iTermFunctionCallSuggesterTests.swift835 // Step 4: Start another interpolation - suggestions are full strings containing the pathCOMMENT
LOWsources/LineBuffer/iTermLineBlockArray.m657 // Step 1: Find which blocks contain your wrapped linesCOMMENT
LOW⚡sources/LineBuffer/iTermLineBlockArray.m672 // Step 2: Convert wrapped line offsets to raw line numbers within their blocksCOMMENT
LOW⚡sources/LineBuffer/iTermLineBlockArray.m681 // Step 3: Count raw linesCOMMENT
LOW⚡sources/Browser/CopyMode/copy-mode-cursor-movement.js417 // Step 1: Skip the current "word" (same character class)COMMENT
LOW⚡sources/Browser/CopyMode/copy-mode-cursor-movement.js421 // Step 2: Skip any whitespaceCOMMENT
LOW⚡sources/MetalRenderer/Glue/iTermCharacterSource.m504 // Step 1: Create a CGImage from the CGBitmapContextCOMMENT
LOW⚡sources/MetalRenderer/Glue/iTermCharacterSource.m507 // Step 2: Create a URL for the output fileCOMMENT
LOW⚡sources/MetalRenderer/Glue/iTermCharacterSource.m510 // Step 3: Write the CGImage to disk as PNGCOMMENT
Fake / Example Data40 hits · 42 pts
SeverityFileLineSnippetContext
LOWtests/triggers.py10 iterm2.AlertTrigger("^AlertTrigger", "Lorem ipsum", instant, enabled),CODE
LOWtests/triggers.py11 iterm2.AnnotateTrigger("^AnnotateTrigger", "Lorem ipsum", instant, enabled),CODE
LOW⚡tests/triggers.py25 iterm2.SendTextTrigger("^SendTextTrigger", "lorem ipsum", instant, enabled),CODE
LOW⚡tests/triggers.py28 iterm2.SetTitleTrigger("^SetTitleTrigger", "lorem ipsum", instant, enabled),CODE
LOW⚡tests/triggers.py32 iterm2.UserNotificationTrigger("^UserNotificationTrigger", "lorem ipsum", instant, enabled),CODE
LOWtests/osc8.txt91║]8;id=imaginary-text-editor-file1;http://example.com\http://exa]8;;\║Lorem ipsum║CODE
LOWModernTests/AICustomHeadersTests.swift48 let result = AICustomHeaders.merged(into: ["x-api-key": "placeholder"],CODE
LOWModernTests/PreferencesSearchTests.swift51 keywordPhrases: ["lorem ipsum dolor", "sit amet"])CODE
LOWModernTests/AutomaticProfileSwitcherTests.swift326 update(hostname: "hostname.com", username: "user@example.com", path: "/", job: "whatever")CODE
LOW…b638954b2ae69107263ffc608916643ede959b8c009251a42.json5 "data" : "{\n \"candidates\": [\n {\n \"content\": {\n \"parts\": [\n {\n \"textCODE
LOW…8cd2496a38549276bf03c2393a94e264deab7e9c7a57b917c.json5 "data" : "{\n \"id\": \"resp_09c416686bd4ea3c006a27135f5018819885e0dccf1ea56bdd\",\n \"object\": \"response\",\n CODE
LOWAILiveHarness/AILiveAttachmentFixtures.swift227 acceptanceProbes: ["lorem ipsum", "Lorem ipsum", "Lorem Ipsum", "lorem", "Lorem"])CODE
LOWsources/PasswordManager/AdapterPasswordDataSource.swift1224 if let p = field.placeholder { dict["placeholder"] = p }CODE
LOW…PasswordManager/iTermPasswordManagerWindowController.m1402 NSString *placeholder = field[@"placeholder"] ?: @"";CODE
LOW…ces/Settings/iTermBadgeConfigurationWindowController.m68 _badge.stringValue = @"Lorem ipsum dolor sit amet";CODE
LOW…ces/Settings/iTermBadgeConfigurationWindowController.m68 _badge.stringValue = @"Lorem ipsum dolor sit amet";CODE
LOWsources/Settings/iTermSettingsTruncationChecker.swift208 kind = "placeholder"CODE
LOW…/Language/BuiltInFunctions/iTermAlertBuiltInFunction.m81 static NSString *const placeholder = @"placeholder";CODE
LOWsources/Browser/Demos/selection-test.html147 <p>Here is a second paragraph with different content. Lorem ipsum dolor sit amet, consectetur adipiscingCODE
LOWsources/Browser/Demos/selection-test.html147 <p>Here is a second paragraph with different content. Lorem ipsum dolor sit amet, consectetur adipiscingCODE
LOWsources/TerminalView/PTYTextView+ARC.m2778 SCPPath *path = [self.dataSource scpPathForFile:@"placeholder" onLine:coord.y];CODE
LOW⚡sources/AITerm/LLMProvider.swift69 return url(apiKey: "placeholder", streaming: false).scheme != "about"CODE
LOW⚡sources/AITerm/LLMProvider.swift73 if LLMMetadata.hostIsOpenAIAPI(url: url(apiKey: "placeholder",CODE
LOW⚡sources/AITerm/LLMProvider.swift77 if LLMMetadata.hostIsGoogleAIAPI(url: url(apiKey: "placeholder",CODE
LOW⚡sources/AITerm/LLMProvider.swift81 if LLMMetadata.hostIsAzureAIAPI(url: url(apiKey: "placeholder",CODE
LOW⚡sources/AITerm/LLMProvider.swift85 if LLMMetadata.hostIsDeepSeekAIAPI(url: url(apiKey: "placeholder",CODE
LOW⚡sources/AITerm/LLMProvider.swift89 if LLMMetadata.hostIsAnthropicAIAPI(url: url(apiKey: "placeholder",CODE
LOWsources/AITerm/LLMProvider.swift107 if LLMMetadata.hostIsAzureAIAPI(url: url(apiKey: "placeholder", streaming: false)) {CODE
LOWsources/AITerm/AITerm.swift709 static let reviewPlaceholderAPIKey = "placeholder"CODE
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift135 _send(self, 200, {"record": {"login": "user@example.com"}})CODE
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift137 _send(self, 200, {"record": {"password": "pw-123", "login": "user@example.com"}})CODE
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift347 XCTAssertEqual(accounts[0]["userName"] as? String, "user@example.com")STRING
LOW⚡…ests/iterm2-keeper-adapterTests/IntegrationTests.swift462 let input = #"{"header":\#(header(server.baseURL)),"userAccountID":null,"token":"\#(token())","userName":"user@eSTRING
LOW⚡…ests/iterm2-keeper-adapterTests/IntegrationTests.swift472 let input = #"{"header":\#(header(server.baseURL)),"userAccountID":null,"token":"\#(token())","userName":"user@eSTRING
LOW⚡…ests/iterm2-keeper-adapterTests/IntegrationTests.swift482 let input = #"{"header":\#(header(server.baseURL)),"userAccountID":null,"token":"\#(token())","userName":"user@eSTRING
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift547 let input = #"{"header":\#(header(server.baseURL)),"userAccountID":null,"token":"\#(token())","userName":"user@eSTRING
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift557 let input = #"{"header":\#(header(server.baseURL)),"userAccountID":null,"token":"\#(token())","userName":"user@eSTRING
LOW…ests/iterm2-keeper-adapterTests/IntegrationTests.swift596 let input = #"{"header":\#(header(server.baseURL)),"userAccountID":null,"token":"\#(token())","userName":"user@eSTRING
LOW…CompanionProtocolTests/SyncFetchCoordinatorTests.swift74 case .placeholder: return "placeholder"CODE
LOWCompanion/PushService/NotificationService.swift380 case .placeholder: return "placeholder"CODE
Cross-Language Confusion8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHOtherResources/it2.py413 # bare number/string/null): .get would raise AttributeError.COMMENT
HIGHcc-status/tests/run.py11 swift build -c release && python3 tests/run.pySTRING
HIGHcc-status/tests/run.py52 count=$(cat "$state/background-tasks" 2>/dev/null || echo 0)CODE
HIGHcc-status/tests/run.py53 printf '{"status":%s,"detail":null,"background_tasks":%s,"turn_open":%s}\n' \CODE
HIGHcc-status/tests/run.py85 if [ -n "$if_turn" ] && [ "$(cat "$state/turn-open" 2>/dev/null || echo unknown)" != "$if_turn" ]; thenCODE
HIGHcc-status/tests/run.py88 if [ -n "$if_count" ] && [ "$(cat "$state/background-tasks" 2>/dev/null || echo 0)" != "$if_count" ]; thenCODE
HIGHcc-status/tests/run.py106 current=$(cat "$state/background-tasks" 2>/dev/null || echo 0)CODE
HIGHcc-status/tests/run.py132 cat "$state/background-tasks" 2>/dev/null || echo 0CODE
Example Usage Blocks21 hits · 33 pts
SeverityFileLineSnippetContext
LOW⚡tools/run_shell_integration_live.sh7# Usage:COMMENT
LOWtools/sign_and_copy_uv.sh8# Usage:COMMENT
LOWtools/copy_models.sh34# Usage:COMMENT
LOWtools/update_uv_manifest.sh15# Usage:COMMENT
LOW⚡tools/run_ai_live.sh5# Usage:COMMENT
LOWtools/build_uv.sh42# Usage:COMMENT
LOWtools/run_python_runtime_e2e.sh8# Usage:COMMENT
LOWtests/test_iterm2_python_auth.sh8# Usage:COMMENT
LOWtests/rtl-showcase.sh24# Usage:COMMENT
LOWtests/dashed_underline_leaks_into_box_lines.sh6# How to use:COMMENT
LOWtests/run_tab_group_test.sh21# Usage:COMMENT
LOWtests/repro-edit-osc4-hang.sh27# Usage:COMMENT
LOWtests/run_apply_layout_new_session_demo.sh15# Usage:COMMENT
LOWtests/test_iterm2_python_suite_auth.sh11# Usage:COMMENT
LOWtests/run_apply_layout_integration_test.sh11# Usage:COMMENT
LOWtests/redraw-edge-cases.sh21# Usage:COMMENT
LOWsources/RegexVisualization/SVGSizeEstimator.swift62 // Example usage:COMMENT
LOWsources/Infrastructure/iTermSelectorSwizzler.h45// Example usage:COMMENT
LOWThirdParty/ProtobufRuntime/GPBDictionary.m59// Example usage:COMMENT
LOWCompanion/tools/bump_build_number.rb8# Usage:COMMENT
LOWCompanion/PushRelay/ops/deploy.sh15# Usage:COMMENT
Slop Phrases16 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUM…168f023fea8930ee0e545bccf81a967190c274b63076f0476.json5 "data" : "{\n \"id\": \"chatcmpl-DoG7bZZ12rYVMOUKCnRi8oAWYXlmk\",\n \"object\": \"chat.completion\",\n \"created\CODE
MEDIUM…8ea06f38399208175c6ea2e26eb97a0f198f54cbd24eb746e.json5 "data" : "{\n \"id\": \"resp_094187fe6dc90c08006a25f48672d8819baae485896551f600\",\n \"object\": \"response\",\n CODE
MEDIUM…4e5a6fc83ea41d7e85479f29b794adc6cc655820e9af654c5.json5 "data" : "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"I cannot fulfill this request.\"}],\"role\CODE
MEDIUM…4e5a6fc83ea41d7e85479f29b794adc6cc655820e9af654c5.json11 "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \" even for demonstration purposes, would be unethicaCODE
MEDIUM…d0571e92fab58fa45c1b4066e59ba0f9f1216ad22a2055d21.json5 "data" : "{\n \"candidates\": [\n {\n \"content\": {\n \"parts\": [\n {\n \"textCODE
MEDIUM…e8b041e122f471fde4a013244f5b97015ee5bbf284877fa7c.json5 "data" : "{\n \"id\": \"chatcmpl-DoG7imrbryuWLqlW4kVJf0cVN4W2x\",\n \"object\": \"chat.completion\",\n \"created\CODE
MEDIUM…af646e02a8b5a47bf21acd8316b869f9e23a138337d823a6a.json5 "data" : "{\n \"candidates\": [\n {\n \"content\": {\n \"parts\": [\n {\n \"textCODE
MEDIUM…b70e6be2ba3f2770725ade8a4a8e2ebed8ddc55e954a69f13.json5 "data" : "{\n \"id\": \"chatcmpl-DoZYUpsxp6njCUj0SnQmONhLPf5wv\",\n \"object\": \"chat.completion\",\n \"created\CODE
MEDIUM…53512b56cfff5240d2baf98d7a0ff8b8d421b89160295f270.json5 "data" : "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"Here is your random made-up word: **MAGENTCODE
MEDIUM…53512b56cfff5240d2baf98d7a0ff8b8d421b89160295f270.json10 "data: {\"candidates\": [{\"content\": {\"parts\": [{\"text\": \"-77**. Let me know if you need another one!\"}],\"rCODE
MEDIUMsources/Settings/iTermAdvancedSettingsModel.m345DEFINE_STRING(tabColorMenuOptions, @"#fb6b62 #f6ac47 #f0dc4f #b5d749 #5fa3f8 #c18ed9 #787878", SECTION_TABS, NSLocalizedCODE
MEDIUMsources/Settings/iTermProfilePreferences.m517 typeHelp[key] = @"Colors can be specified as 3- or 6-digit hex strings such as \"#f8a\" like in HTML. By defCODE
MEDIUMThirdParty/RegexKitLite/RegexKitLite.html2048<p>Strings can be split with a regular expression using the <a href="#NSString_RegexKitLiteAdditions__-componentsSeparatCODE
MEDIUMThirdParty/RegexKitLite/RegexKitLite.html2885<p>Inside you&#39;ll find more examples like this that you can use as the starting point for your own regular expressionCODE
MEDIUMThirdParty/RegexKitLite/RegexKitLite.html3078 <p>Also available is the <a href="#RegexEscapeTool">Regex Escape Tool</a> which allows you to enter a regular expresCODE
LOWThirdParty/libgit2/include/git2/repository.h620 * Use this function to get the contents of this file. Don't forget toCOMMENT
AI Structural Patterns8 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/ply/ply-3.4/ply/yacc.py149CODE
LOWtools/ply/ply-3.4/ply/yacc.py3036CODE
LOWtools/ply/ply-3.4/ply/lex.py865CODE
LOWtools/ply/ply-3.4/example/closurecalc/calc.py114CODE
LOWapi/library/python/iterm2/iterm2/triggers.py249CODE
LOWapi/library/python/iterm2/iterm2/notifications.py295CODE
LOWapi/library/python/iterm2/iterm2/notifications.py457CODE
LOWapi/library/python/iterm2/iterm2/tab.py49CODE
Modern AI Meta-Vocabulary3 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMModernTests/OllamaRequestBuilderTests.swift485 // message so parseNonStreamingResponse dispatches it (the agentic loop).STRING
MEDIUMAILiveHarness/AILiveOllamaTests.swift381 // agentic loop silently breaks. Assert the tool still fires and its result isCOMMENT
MEDIUMAILiveHarness/AILiveAppleIntelligenceTabTitle.swift569 // guardrails restored, to see if the shape survives once those are pinned.STRING
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…nsFramework/test-extensions/storage-ui-demo/content.js204async function getData() {CODE
LOWCompanion/PushRelay/host/server.js141 async function handleRequest(req, res) {CODE
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/ply/ply-3.4/ply/__init__.py4__all__ = ['lex','yacc']CODE