If you live in the terminal, kitty is made for you! Cross-platform, fast, feature-rich, GPU based.
This report presents the forensic synthetic code analysis of kovidgoyal/kitty, a Python project with 33,872 GitHub stars. SynthScan v2.0 examined 303,965 lines of code across 849 source files, recording 1544 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 4.8 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1544 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 778 | def get_source_specific_defines(env: Env, src: str) -> Tuple[str, List[str], Optional[List[str]]]: | CODE |
| LOW | setup.py | 797 | def get_source_specific_cflags(env: Env, src: str) -> List[str]: | CODE |
| LOW | setup.py | 1228 | def update_go_generated_files(args: Options, kitty_exe: str) -> None: | CODE |
| LOW | setup.py | 1786 | def create_quick_access_bundle(kapp: str, quake_desc: str = 'Quick access to kitty') -> None: | STRING |
| LOW | setup.py | 1804 | def create_minimal_macos_bundle(args: Options, launcher_dir: str, relocate: bool = False) -> None: | STRING |
| LOW | publish.py | 311 | def make_request_with_retries( | STRING |
| LOW | publish.py | 348 | def update_nightly_description(self, release_id: int) -> None: | STRING |
| LOW⚡ | publish.py | 397 | def print_failed_response_details(self, r: HTTPResponse, msg: str) -> None: | STRING |
| LOW⚡ | publish.py | 411 | def existing_assets_for_release(self, release: Dict[str, Any]) -> List[Dict[str, Any]]: | STRING |
| LOW | publish.py | 521 | def remove_pycache_only_folders() -> None: | STRING |
| LOW | kittens/runner.py | 53 | def import_kitten_main_module(config_dir: str, kitten: str) -> dict[str, Any]: | CODE |
| LOW | kittens/runner.py | 214 | def get_kitten_extra_cli_parsers(kitten: str) -> dict[str,str]: | CODE |
| LOW | kittens/panel/main.py | 44 | def panel_kitten_options_spec() -> str: | CODE |
| LOW | kittens/panel/main.py | 101 | def cli_option_to_lsc_configs_map() -> MappingProxyType[str, tuple[str, ...]]: | CODE |
| LOW | kittens/panel/main.py | 119 | def incrementally_update_layer_shell_config(existing: dict[str, Any], cli_options: Iterable[str]) -> LayerShellConfig: | CODE |
| LOW | kittens/panel/main.py | 144 | def have_config_files_been_updated(config_files: Iterable[str]) -> bool: | CODE |
| LOW | kittens/panel/main.py | 157 | def handle_single_instance_command(boss: BossType, sys_args: Sequence[str], environ: Mapping[str, str], notify_on_os_win | CODE |
| LOW | kittens/tui/handler.py | 89 | def allow_indiscriminate_remote_control(self, enable: bool = True) -> None: | CODE |
| LOW | kittens/tui/handler.py | 237 | def perform_default_key_action(self, key_event: KeyEventType) -> bool: | CODE |
| LOW | kittens/tui/handler.py | 291 | def on_file_transfer_response(self, ftc: 'FileTransmissionCommand') -> None: | CODE |
| LOW | kittens/tui/loop.py | 364 | def total_pending_bytes_to_write(self) -> int: | CODE |
| LOW | kittens/choose_files/main.py | 174 | def relative_path_if_possible(path: str, base: str) -> str: | STRING |
| LOW | kittens/ssh/utils.py | 84 | def remove_env_var_from_cmdline(key: str, argv: list[str]) -> None: | CODE |
| LOW⚡ | kittens/ssh/utils.py | 97 | def set_single_env_var_in_cmdline(key: str, val: str, argv: list[str]) -> None: | CODE |
| LOW | kittens/ssh/utils.py | 122 | def read_data_from_shared_memory(shm_name: str) -> Any: | CODE |
| LOW | kittens/ssh/utils.py | 218 | def set_server_args_in_cmdline( | CODE |
| LOW | kittens/command_palette/main.py | 125 | def collect_keyboard_bindings( | CODE |
| LOW | kittens/command_palette/main.py | 158 | def relocate_mode_entry_bindings( | CODE |
| LOW | docs/conf.py | 322 | def write_remote_control_protocol_docs() -> None: # {{{ | STRING |
| LOW | docs/notifications.py | 21 | def on_notification_activated(nc: NotificationCommand, which: int) -> None: | CODE |
| LOW | gen/go_code.py | 224 | def generate_kittens_completion() -> None: | CODE |
| LOW | gen/go_code.py | 255 | def completion_for_launch_wrappers(*names: str) -> None: | CODE |
| LOW | gen/go_code.py | 261 | def generate_completions_for_kitty() -> None: | CODE |
| LOW | gen/go_code.py | 364 | def go_code_for_remote_command(name: str, cmd: RemoteCommand, template: str) -> str: | CODE |
| LOW | gen/go_code.py | 461 | def generate_extra_cli_parser(name: str, spec: str) -> None: | CODE |
| LOW | gen/go_code.py | 481 | def kittens_needing_cli_parsers() -> Iterator[str]: | CODE |
| LOW | gen/go_code.py | 784 | def generate_readline_actions() -> str: | STRING |
| LOW | gen/go_code.py | 855 | def generate_textual_mimetypes() -> str: | STRING |
| LOW | gen/wcwidth.py | 206 | def parse_flag_emoji_sequence(spec: str) -> None: | CODE |
| LOW | gen/wcwidth.py | 223 | def parse_emoji_modifier_sequence(spec: str) -> None: | CODE |
| LOW | gen/wcwidth.py | 272 | def parse_grapheme_segmentation() -> None: | CODE |
| LOW | gen/wcwidth.py | 689 | def bitfield_declaration_as_c(name: str, fields: dict[str, int], *alternate_fields: dict[str, int]) -> str: | STRING |
| LOW | gen/wcwidth.py | 833 | def split_into_graphemes_with_table( | STRING |
| LOW | gen/wcwidth.py | 848 | def test_grapheme_segmentation(split_into_graphemes: Callable[[str], Iterator[str]]) -> None: | STRING |
| LOW | gen/key_constants.py | 304 | def generate_functional_table() -> None: | STRING |
| LOW | gen/key_constants.py | 351 | def generate_legacy_text_key_maps() -> None: | STRING |
| LOW | .github/workflows/macos_crash_report.py | 445 | def application_specific_information(self) -> Optional[str]: | CODE |
| LOW | .github/workflows/macos_crash_report.py | 511 | def get_crash_report_from_file(crash_report_file: IO[str]) -> CrashReportBase: | CODE |
| LOW | glad/generate.py | 32 | def strip_trailing_whitespace(c: str) -> str: | CODE |
| LOW | shell-integration/ssh/bootstrap.py | 244 | def exec_zsh_with_integration(): | CODE |
| LOW⚡ | shell-integration/ssh/bootstrap.py | 259 | def exec_fish_with_integration(): | CODE |
| LOW⚡ | shell-integration/ssh/bootstrap.py | 268 | def exec_bash_with_integration(): | CODE |
| LOW⚡ | shell-integration/ssh/bootstrap.py | 277 | def exec_with_shell_integration(): | CODE |
| LOW | kitty/config.py | 20 | def option_names_for_completion() -> tuple[str, ...]: | CODE |
| LOW⚡ | kitty/config.py | 66 | def commented_out_default_config() -> str: | CODE |
| LOW⚡ | kitty/config.py | 71 | def prepare_config_file_for_editing() -> str: | CODE |
| LOW | kitty/config.py | 171 | def add_effective_config_line(key: str, line: str) -> None: | CODE |
| LOW | kitty/window.py | 178 | def modify_argv_for_launch_with_cwd(self, argv: list[str], env: dict[str, str] | None=None, hold_after_ssh: bool = F | CODE |
| LOW | kitty/window.py | 525 | def transparent_background_color_control(cp: ColorProfile, responses: dict[str, str], index: int, key: str, sep: str, va | CODE |
| LOW | kitty/window.py | 701 | def set_ignore_focus_changes_for_new_windows(cls, value: bool = True) -> Generator[None, None, None]: | CODE |
| 460 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dev.sh | 1 | #!/bin/sh | COMMENT |
| LOW | kittens/tui/dircolors.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | kittens/tui/dircolors.py | 41 | TERM vt100 | COMMENT |
| LOW | kittens/dnd/drop_test.go | 141 | // sub/ | COMMENT |
| LOW | kittens/diff/diff.go | 21 | // Diff returns an anchored diff of the two texts old and new | COMMENT |
| LOW | kittens/diff/diff.go | 181 | // tgs returns the pairs of indexes of the longest common subsequence | COMMENT |
| LOW | kittens/hints/hints_generator.go | 1 | // License: GPLv3 Copyright: 2026, Kovid Goyal, <kovid at kovidgoyal.net> | COMMENT |
| LOW | kittens/hints/hints_generator.go | 21 | n = 2 | COMMENT |
| LOW | kittens/hints/hints_generator.go | 61 | func rune_to_index_map(alphabet string) *map[rune]int { | COMMENT |
| LOW | tools/rsync/api.go | 1 | // License: GPLv3 Copyright: 2023, Kovid Goyal, <kovid at kovidgoyal.net> | COMMENT |
| LOW | tools/utils/file_at_fd.go | 461 | COMMENT | |
| LOW | tools/utils/file_at_fd_test.go | 461 | // base/ | COMMENT |
| LOW | tools/utils/humanize/times.go | 21 | // Time formats a time into a relative string. | COMMENT |
| LOW | tools/simdstring/generate.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tools/simdstring/benchmark.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tools/simdstring/test.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tools/fzf/types.go | 121 | COMMENT | |
| LOW | docs/conf.py | 81 | templates_path = ['_templates'] | COMMENT |
| LOW | docs/conf.py | 161 | COMMENT | |
| LOW | gen/rowcolumn-diacritics.txt | 1 | # This file lists the diacritics used to indicate row/column numbers for | COMMENT |
| LOW | 3rdparty/verstable.h | 261 | KEY_TY, and (optionally) VAL_TY, CTX_TY, and header guards, and including the library, e.g.: | COMMENT |
| LOW | 3rdparty/verstable.h | 441 | #define VT_CAT( a, b ) VT_CAT_( a, b ) | COMMENT |
| LOW | 3rdparty/verstable.h | 601 | // In summary, instantiating a template also defines wrappers for the template's types and functions with names in the | COMMENT |
| LOW | 3rdparty/verstable.h | 621 | COMMENT | |
| LOW | 3rdparty/verstable.h | 641 | #define VT_R3_0( ty, fn ) | COMMENT |
| LOW | 3rdparty/verstable.h | 741 | // indicating whether the key in this bucket begins a chain associated with the bucket (Y), and | COMMENT |
| LOW | 3rdparty/verstable.h | 841 | COMMENT | |
| LOW | 3rdparty/verstable.h | 861 | #else | COMMENT |
| LOW | 3rdparty/verstable.h | 881 | _Pragma( "warning( pop )" ) | COMMENT |
| LOW | 3rdparty/verstable.h | 921 | #endif | COMMENT |
| LOW | 3rdparty/verstable.h | 1461 | } | COMMENT |
| LOW | 3rdparty/verstable.h | 1861 | #elif VT_TEMPLATE_COUNT_D1 == 2 | COMMENT |
| LOW | 3rdparty/verstable.h | 1881 | #define VT_TEMPLATE_COUNT_D2 1 | COMMENT |
| LOW | 3rdparty/verstable.h | 1901 | #undef VT_TEMPLATE_COUNT_D2 | COMMENT |
| LOW | 3rdparty/verstable.h | 1921 | #elif VT_TEMPLATE_COUNT_D3 == 6 | COMMENT |
| LOW | 3rdparty/verstable.h | 1941 | #undef CTX_TY | COMMENT |
| LOW | 3rdparty/base64/include/libbase64.h | 1 | #ifndef LIBBASE64_H | COMMENT |
| LOW | 3rdparty/base64/include/libbase64.h | 21 | #endif | COMMENT |
| LOW | 3rdparty/base64/lib/env.h | 1 | #ifndef BASE64_ENV_H | COMMENT |
| LOW | 3rdparty/base64/lib/env.h | 21 | #endif | COMMENT |
| LOW | 3rdparty/base64/lib/env.h | 41 | # define BASE64_HTOBE32(x) (x) | COMMENT |
| LOW | 3rdparty/base64/lib/env.h | 61 | #define BASE64_AEOF 1 | COMMENT |
| LOW | 3rdparty/base64/lib/lib.c | 1 | #include <stdint.h> | COMMENT |
| LOW | 3rdparty/base64/lib/codec_choose.c | 1 | #include <stdbool.h> | COMMENT |
| LOW | 3rdparty/base64/lib/codec_choose.c | 41 | return ((uint64_t)edx << 32) | eax; | COMMENT |
| LOW | 3rdparty/base64/lib/codec_choose.c | 61 | #ifndef bit_SSE41 | COMMENT |
| LOW | 3rdparty/base64/lib/lib_openmp.c | 1 | // This code makes some assumptions on the implementation of | COMMENT |
| LOW | 3rdparty/base64/lib/arch/avx2/codec.c | 1 | #include <stdint.h> | COMMENT |
| LOW | 3rdparty/base64/lib/arch/avx2/codec.c | 21 | #endif | COMMENT |
| LOW | 3rdparty/base64/lib/arch/avx2/enc_reshuffle.c | 21 | 5, 6, 4, 5)); | COMMENT |
| LOW | 3rdparty/base64/lib/arch/avx2/enc_reshuffle.c | 41 | // 0000eeee FF000000 DDDDDD00 00000000 | COMMENT |
| LOW | 3rdparty/base64/lib/arch/avx2/enc_reshuffle.c | 61 | // 00000000 00ffffff 000000dd EEEE0000 | COMMENT |
| LOW | 3rdparty/base64/lib/arch/avx2/enc_loop_asm.c | 1 | // Apologies in advance for combining the preprocessor with inline assembly, | COMMENT |
| LOW | 3rdparty/base64/lib/arch/avx2/enc_loop_asm.c | 41 | LOAD("a", 0, -4) \ | COMMENT |
| LOW | 3rdparty/base64/lib/arch/avx2/enc_loop_asm.c | 101 | COMMENT | |
| LOW | 3rdparty/base64/lib/arch/avx2/dec_reshuffle.c | 1 | static inline __m256i | COMMENT |
| LOW | 3rdparty/base64/lib/arch/sse41/codec.c | 1 | #include <stdint.h> | COMMENT |
| LOW | 3rdparty/base64/lib/arch/sse41/codec.c | 21 | #endif | COMMENT |
| LOW | 3rdparty/base64/lib/arch/neon32/codec.c | 1 | #include <stdint.h> | COMMENT |
| LOW | 3rdparty/base64/lib/arch/neon32/codec.c | 41 | COMMENT | |
| 302 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 265 | CODE | |
| LOW | setup.py | 317 | CODE | |
| LOW | setup.py | 369 | CODE | |
| LOW | setup.py | 728 | CODE | |
| LOW | setup.py | 797 | CODE | |
| LOW | setup.py | 840 | CODE | |
| LOW | setup.py | 865 | CODE | |
| LOW | setup.py | 914 | CODE | |
| LOW | setup.py | 1348 | CODE | |
| LOW | setup.py | 1371 | CODE | |
| LOW | setup.py | 2191 | CODE | |
| LOW | setup.py | 2276 | CODE | |
| LOW | publish.py | 150 | CODE | |
| LOW | publish.py | 311 | CODE | |
| LOW | kittens/tui/handler.py | 253 | CODE | |
| LOW | kittens/tui/dircolors.py | 294 | CODE | |
| LOW | kittens/tui/operations.py | 291 | CODE | |
| LOW | kittens/tui/utils.py | 18 | CODE | |
| LOW | kittens/tui/images.py | 487 | CODE | |
| LOW | kittens/tui/loop.py | 273 | CODE | |
| LOW | kittens/tui/loop.py | 292 | CODE | |
| LOW | kittens/tui/loop.py | 307 | CODE | |
| LOW | kittens/remote_file/main.py | 53 | CODE | |
| LOW | kittens/remote_file/main.py | 311 | CODE | |
| LOW | kittens/ssh/utils.py | 84 | CODE | |
| LOW | kittens/ssh/utils.py | 218 | CODE | |
| LOW | kittens/ssh/utils.py | 282 | CODE | |
| LOW | kittens/choose_fonts/backend.py | 151 | CODE | |
| LOW | kittens/choose_fonts/backend.py | 204 | CODE | |
| LOW | kittens/hints/main.py | 293 | CODE | |
| LOW | kittens/hints/main.py | 349 | CODE | |
| LOW | kittens/command_palette/main.py | 158 | CODE | |
| LOW | docs/conf.py | 237 | CODE | |
| LOW | docs/conf.py | 322 | CODE | |
| LOW | docs/conf.py | 725 | CODE | |
| LOW | docs/conf.py | 326 | CODE | |
| LOW | docs/conf.py | 385 | CODE | |
| LOW | docs/extract-rst-targets.py | 23 | CODE | |
| LOW | gen/go_code.py | 100 | CODE | |
| LOW | gen/go_code.py | 364 | CODE | |
| LOW | gen/go_code.py | 492 | CODE | |
| LOW | gen/wcwidth.py | 99 | CODE | |
| LOW | gen/wcwidth.py | 232 | CODE | |
| LOW | gen/wcwidth.py | 763 | CODE | |
| LOW | gen/cursors.py | 60 | CODE | |
| LOW | gen/key_constants.py | 351 | CODE | |
| LOW | gen/key_constants.py | 356 | CODE | |
| LOW | gen/__main__.py | 9 | CODE | |
| LOW | .github/workflows/ci.py | 49 | CODE | |
| LOW | .github/workflows/ci.py | 179 | CODE | |
| LOW | .github/workflows/ci.py | 275 | CODE | |
| LOW | .github/workflows/macos_crash_report.py | 59 | CODE | |
| LOW | .github/workflows/macos_crash_report.py | 354 | CODE | |
| LOW | .github/workflows/macos_crash_report.py | 389 | CODE | |
| LOW | .github/workflows/macos_crash_report.py | 445 | CODE | |
| LOW | bypy/macos/__main__.py | 245 | CODE | |
| LOW | bypy/macos/__main__.py | 344 | CODE | |
| LOW | bypy/linux/__main__.py | 52 | CODE | |
| LOW | bypy/linux/__main__.py | 68 | CODE | |
| LOW | shell-integration/ssh/bootstrap.py | 115 | CODE | |
| 191 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 311 | except Exception: | CODE |
| LOW | setup.py | 352 | except Exception: | CODE |
| LOW | setup.py | 746 | except Exception as e: | CODE |
| LOW | setup.py | 868 | except Exception: | CODE |
| LOW | publish.py | 337 | except Exception as e: | STRING |
| LOW⚡ | publish.py | 401 | except Exception: | STRING |
| LOW | kittens/runner.py | 226 | except Exception: | CODE |
| MEDIUM | kittens/runner.py | 222 | def main() -> None: | CODE |
| LOW | kittens/panel/main.py | 128 | except Exception as e: | CODE |
| LOW | kittens/tui/images.py | 25 | except Exception: | CODE |
| LOW | kittens/tui/images.py | 269 | except Exception: | CODE |
| LOW | kittens/tui/images.py | 495 | except Exception: | CODE |
| LOW | kittens/tui/images.py | 531 | except Exception as e: | CODE |
| LOW | kittens/tui/images.py | 547 | except Exception as e: | CODE |
| LOW | kittens/tui/loop.py | 241 | except Exception: | CODE |
| LOW | kittens/tui/loop.py | 266 | except Exception: | CODE |
| LOW | kittens/tui/loop.py | 303 | except Exception: | CODE |
| LOW | kittens/tui/loop.py | 314 | except Exception: | CODE |
| LOW | kittens/tui/loop.py | 327 | except Exception: | CODE |
| LOW | kittens/tui/loop.py | 458 | except Exception: | CODE |
| LOW | kittens/remote_file/main.py | 247 | except Exception: | STRING |
| LOW | kittens/ssh/utils.py | 146 | except Exception: | CODE |
| LOW | kittens/ssh/utils.py | 156 | except Exception as e: | CODE |
| MEDIUM | kittens/ssh/utils.py | 17 | def ssh_options() -> dict[str, str]: | CODE |
| LOW | kittens/choose_fonts/backend.py | 40 | except Exception: | CODE |
| LOW | kittens/hints/main.py | 369 | except Exception: | STRING |
| LOW | docs/conf.py | 222 | except Exception: | STRING |
| LOW | .github/workflows/ci.py | 77 | except Exception as err: | CODE |
| LOW | bypy/macos/__main__.py | 206 | except Exception as e: | CODE |
| LOW | shell-integration/ssh/bootstrap.py | 316 | except Exception as err: | CODE |
| LOW | kitty/config.py | 41 | except Exception as err: | CODE |
| LOW⚡ | kitty/config.py | 54 | except Exception as err: | CODE |
| LOW⚡ | kitty/config.py | 62 | except Exception as err: | CODE |
| LOW | kitty/config.py | 89 | except Exception as err: | CODE |
| LOW | kitty/config.py | 129 | except Exception as err: | CODE |
| LOW | kitty/os_window_size.py | 65 | except Exception: | CODE |
| LOW | kitty/window.py | 220 | except Exception: | CODE |
| LOW | kitty/window.py | 479 | except Exception as e: | CODE |
| LOW | kitty/window.py | 541 | except Exception: | CODE |
| LOW | kitty/window.py | 925 | except Exception: | CODE |
| LOW | kitty/window.py | 1289 | except Exception: | STRING |
| LOW | kitty/window.py | 1345 | except Exception: | STRING |
| LOW | kitty/window.py | 1355 | except Exception: | STRING |
| LOW | kitty/window.py | 1421 | except Exception: | STRING |
| LOW | kitty/window.py | 1594 | except Exception: | STRING |
| LOW | kitty/window.py | 1616 | except Exception: | STRING |
| LOW | kitty/window.py | 1647 | except Exception: | STRING |
| LOW | kitty/window.py | 1775 | except Exception: | STRING |
| LOW | kitty/window.py | 1926 | except Exception: | STRING |
| LOW | kitty/update_check.py | 45 | except Exception: | CODE |
| LOW | kitty/update_check.py | 65 | except Exception: | CODE |
| LOW | kitty/update_check.py | 114 | except Exception as e: | CODE |
| MEDIUM | kitty/update_check.py | 42 | def get_released_version() -> str: | CODE |
| MEDIUM | kitty/update_check.py | 108 | def update_check() -> bool: | CODE |
| LOW | kitty/tabs.py | 790 | except Exception: | STRING |
| LOW | kitty/tabs.py | 1263 | except Exception: | STRING |
| LOW | kitty/tabs.py | 1271 | except Exception: | STRING |
| LOW | kitty/tabs.py | 1360 | except Exception: | STRING |
| LOW | kitty/tabs.py | 1584 | except Exception: | STRING |
| LOW | kitty/render_cache.py | 36 | except Exception: | CODE |
| 142 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | setup.py | 1467 | make && make docs | CODE |
| HIGH | setup.py | 1485 | make && make docs | CODE |
| HIGH | gen/apc_parsers.py | 210 | int64_t n = parser_buf[i] - '0'; if (n < 0 || n > 9) break; \\ | CODE |
| HIGH | logo/make.py | 137 | run('ssh', 'ox', 'zsh', '-ilc', '~/bin/update-kitty && python3 ~/kitty-src/logo/make.py remote-macos') | CODE |
| HIGH | kitty/options/types.py | 789 | val = options_dict.get(key, null) | CODE |
| HIGH | kitty/conf/generate.py | 225 | a(' val = options_dict.get(key, null)') | CODE |
| HIGH | kitty/rc/set_spacing.py | 69 | settings+/dict.spacing: An object mapping margins/paddings using canonical form {'margin-top': 50, 'padding-left': n | CODE |
| HIGH⚡ | kitty_tests/dnd.py | 804 | """URI file request for a non-regular file (e.g. /dev/null) returns EINVAL.""" | STRING |
| HIGH | kitty_tests/__init__.py | 236 | ans.push(lb.line(i)) | CODE |
| HIGH⚡ | kitty_tests/datatypes.py | 705 | hb.push(lb.line(1)) | CODE |
| HIGH⚡ | kitty_tests/datatypes.py | 706 | hb.push(lb.line(2)) | CODE |
| HIGH⚡ | kitty_tests/datatypes.py | 713 | hb.push(lb.line(2)) | CODE |
| HIGH⚡ | kitty_tests/datatypes.py | 722 | hb.push(line) | CODE |
| HIGH | kitty_tests/multicell.py | 382 | # Erase characters (aka replace with null) | COMMENT |
| HIGH | kitty_tests/shell_integration.py | 224 | pty.send_cmd_to_child('mkdir test && ls -a') | STRING |
| HIGH | kitty_tests/shell_integration.py | 227 | self.ae(pty.callbacks.titlebuf[-2:], ['mkdir test && ls -a', '~']) | STRING |
| HIGH | kitty_tests/shell_integration.py | 396 | cmd = 'mkdir test && ls -a' | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 469 | def set_arches(flags: List[str], *arches: str) -> None: | CODE |
| LOW | setup.py | 1121 | def update_if_changed(path: str, text: str) -> None: | CODE |
| LOW | setup.py | 1228 | def update_go_generated_files(args: Options, kitty_exe: str) -> None: | CODE |
| LOW | publish.py | 348 | def update_nightly_description(self, release_id: int) -> None: | STRING |
| LOW | kittens/runner.py | 104 | def set_debug(kitten: str) -> None: | CODE |
| LOW | kittens/tui/loop.py | 76 | def set_state_for_loop(self, set_raw: bool = True) -> None: | CODE |
| LOW⚡ | kittens/ssh/utils.py | 97 | def set_single_env_var_in_cmdline(key: str, val: str, argv: list[str]) -> None: | CODE |
| LOW⚡ | kittens/ssh/utils.py | 103 | def set_cwd_in_cmdline(cwd: str, argv: list[str]) -> None: | CODE |
| LOW | kittens/ssh/utils.py | 175 | def set_env_in_cmdline(env: dict[str, str], argv: list[str], clone: bool = True) -> None: | CODE |
| LOW | gen/go_code.py | 712 | def update_at_commands() -> None: | STRING |
| LOW | gen/go_code.py | 744 | def update_completion() -> None: | STRING |
| LOW | bypy/site.py | 10 | def set_quit() -> None: | CODE |
| LOW | bypy/site.py | 16 | def set_helper() -> None: | CODE |
| LOW | bypy/macos/__main__.py | 225 | def set_id(self, path_to_lib, new_id) -> None: | CODE |
| LOW | kitty/window.py | 677 | def set_extra(self, extra: str) -> None: | CODE |
| LOW | kitty/window.py | 835 | def update_effective_padding(self) -> None: | CODE |
| LOW | kitty/window.py | 973 | def set_visible_in_layout(self, val: bool) -> None: | CODE |
| LOW | kitty/window.py | 1016 | def set_geometry(self, new_geometry: WindowGeometry) -> None: | CODE |
| LOW | kitty/window.py | 1091 | def update_title_bar(self, is_active: bool = False) -> None: | CODE |
| LOW⚡ | kitty/window.py | 1574 | def set_color_table_color(self, code: int, bvalue: memoryview | None = None) -> None: | STRING |
| LOW | kitty/window.py | 1213 | def set_title(self, title: str | None) -> None: | STRING |
| LOW | kitty/window.py | 1237 | def set_window_title(self, title: str | None = None) -> None: | STRING |
| LOW | kitty/window.py | 1250 | def set_user_var(self, key: str, val: str | bytes | None) -> None: | STRING |
| LOW | kitty/window.py | 1519 | def set_dynamic_color(self, code: int, value: str | bytes | memoryview = '') -> None: | STRING |
| LOW | kitty/window.py | 2014 | def set_logo(self, path: str, position: str = '', alpha: float = -1, png_data: bytes = b'') -> None: | STRING |
| LOW | kitty/window.py | 2612 | def set_marker(self, spec: str | Sequence[str]) -> None: | STRING |
| LOW | kitty/update_check.py | 122 | def update_check_callback(timer_id: int | None) -> None: | CODE |
| LOW | kitty/tabs.py | 231 | def update_progress(self) -> None: | CODE |
| LOW | kitty/tabs.py | 262 | def set_enabled_layouts(self, val: Iterable[str]) -> None: | CODE |
| LOW | kitty/tabs.py | 296 | def _set_current_layout(self, layout_name: str) -> None: | CODE |
| LOW | kitty/tabs.py | 478 | def set_title(self, title: str) -> None: | CODE |
| LOW | kitty/tabs.py | 482 | def update_window_title_bars(self) -> None: | CODE |
| LOW | kitty/tabs.py | 2103 | def update_progress(self) -> None: | CODE |
| LOW | kitty/tabs.py | 871 | def set_active_window(self, x: Window | int, for_keep_focus: Window | None = None) -> None: | STRING |
| LOW | kitty/tabs.py | 1303 | def _set_active_tab(self, idx: int, store_in_history: bool = True) -> None: | STRING |
| LOW | kitty/tabs.py | 1332 | def update_tab_bar_data(self) -> None: | STRING |
| LOW | kitty/tabs.py | 1349 | def set_active_tab_idx(self, idx: int) -> None: | STRING |
| LOW | kitty/tabs.py | 1912 | def _set_drag_target_tab(self, tab_id: int) -> None: | STRING |
| LOW | kitty/tabs.py | 1943 | def _set_drag_target_window(self, window_id: int, quadrant: int = 0) -> None: | STRING |
| LOW⚡ | kitty/client.py | 26 | def set_title(*args: Any) -> None: | CODE |
| LOW⚡ | kitty/client.py | 30 | def set_icon(*args: Any) -> None: | CODE |
| LOW | kitty/client.py | 256 | def set_dynamic_color(payload: str) -> None: | CODE |
| LOW | kitty/tab_bar.py | 730 | def update_blank_rects(self, central: Region, tab_bar: Region, vw: int, vh: int) -> None: | CODE |
| LOW⚡ | kitty/session.py | 112 | def set_next_title(self, title: str) -> None: | CODE |
| LOW⚡ | kitty/session.py | 115 | def set_layout(self, val: str) -> None: | CODE |
| LOW⚡ | kitty/session.py | 120 | def set_layout_state(self, val: str) -> None: | CODE |
| LOW | kitty/session.py | 184 | def set_enabled_layouts(self, raw: str) -> None: | CODE |
| LOW | kitty/session.py | 189 | def set_cwd(self, val: str, session_base_dir: str) -> None: | CODE |
| LOW | kitty/keys.py | 103 | def update_keymap(self, global_shortcuts: dict[str, SingleKey] | None = None) -> None: | CODE |
| LOW | kitty/keys.py | 308 | def set_ignore_os_keyboard_processing(self, on: bool) -> None: | CODE |
| LOW | kitty/boss.py | 1511 | def set_font_size(self, new_size: float) -> None: # legacy | STRING |
| LOW | kitty/boss.py | 1582 | def _set_os_window_background_opacity(self, os_window_id: int, opacity: float) -> None: | STRING |
| LOW | kitty/boss.py | 1594 | def set_background_opacity(self, opacity: str) -> None: | STRING |
| LOW | kitty/boss.py | 1958 | def update_tab_bar_data(self, os_window_id: int) -> None: | STRING |
| LOW | kitty/boss.py | 2451 | def set_tab_title(self, title: str | None = None) -> None: | STRING |
| LOW | kitty/boss.py | 2702 | def set_primary_selection(self) -> None: | STRING |
| LOW | kitty/boss.py | 2724 | def set_clipboard_buffer(self, buffer_name: str, text: str | None = None) -> None: | STRING |
| LOW | kitty/boss.py | 3231 | def set_update_check_process(self, process: Optional['PopenType[bytes]'] = None) -> None: | STRING |
| LOW | kitty/boss.py | 3295 | def set_colors(self, *args: str) -> None: | STRING |
| LOW | kitty/boss.py | 3708 | def update_progress_in_dock(self) -> None: | STRING |
| 28 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | kittens/tui/handler.py | 33 | CODE | |
| LOW | kittens/tui/utils.py | 15 | CODE | |
| LOW | kittens/tui/images.py | 17 | CODE | |
| LOW | kittens/choose_fonts/backend.py | 34 | CODE | |
| LOW | docs/conf.py | 35 | CODE | |
| LOW | kitty/window.py | 139 | CODE | |
| LOW | kitty/window.py | 141 | CODE | |
| LOW | kitty/render_cache.py | 6 | CODE | |
| LOW | kitty/constants.py | 14 | CODE | |
| LOW | kitty/session.py | 22 | CODE | |
| LOW | kitty/session.py | 27 | CODE | |
| LOW | kitty/file_transmission.py | 17 | CODE | |
| LOW | kitty/file_transmission.py | 23 | CODE | |
| LOW | kitty/keys.py | 30 | CODE | |
| LOW | kitty/boss.py | 156 | CODE | |
| LOW | kitty/boss.py | 183 | CODE | |
| LOW | kitty/boss.py | 184 | CODE | |
| LOW | kitty/types.py | 10 | CODE | |
| LOW | kitty/remote_control.py | 39 | CODE | |
| LOW | kitty/marks.py | 6 | CODE | |
| LOW | kitty/cli.py | 9 | CODE | |
| LOW | kitty/utils.py | 13 | CODE | |
| LOW | kitty/utils.py | 13 | CODE | |
| LOW | kitty/utils.py | 51 | CODE | |
| LOW | kitty/utils.py | 51 | CODE | |
| LOW | kitty/utils.py | 54 | CODE | |
| LOW | kitty/utils.py | 56 | CODE | |
| LOW | kitty/child.py | 21 | CODE | |
| LOW | kitty/notifications.py | 12 | CODE | |
| LOW | kitty/notifications.py | 13 | CODE | |
| LOW | kitty/open_actions.py | 11 | CODE | |
| LOW | kitty/options/parse.py | 5 | CODE | |
| LOW | kitty/conf/types.py | 11 | CODE | |
| LOW | kitty/rc/get_colors.py | 13 | CODE | |
| LOW | kitty/rc/new_window.py | 9 | CODE | |
| LOW | kitty/rc/run.py | 26 | CODE | |
| LOW | kitty/rc/set_font_size.py | 9 | CODE | |
| LOW | kitty/rc/detach_window.py | 9 | CODE | |
| LOW | kitty/rc/send_key.py | 20 | CODE | |
| LOW | kitty/rc/remove_marker.py | 10 | CODE | |
| LOW | kitty/rc/get_text.py | 10 | CODE | |
| LOW | kitty/rc/set_window_logo.py | 28 | CODE | |
| LOW | kitty/rc/set_tab_color.py | 12 | CODE | |
| LOW | kitty/rc/kitten.py | 9 | CODE | |
| LOW | kitty/rc/last_used_layout.py | 10 | CODE | |
| LOW | kitty/rc/close_tab.py | 10 | CODE | |
| LOW | kitty/rc/scroll_window.py | 10 | CODE | |
| LOW | kitty/rc/create_marker.py | 11 | CODE | |
| LOW | kitty/rc/disable_ligatures.py | 10 | CODE | |
| LOW | kitty/rc/resize_os_window.py | 20 | CODE | |
| LOW | kitty/rc/goto_layout.py | 10 | CODE | |
| LOW | kitty/rc/detach_tab.py | 9 | CODE | |
| LOW | kitty/rc/resize_window.py | 9 | CODE | |
| LOW | kitty/rc/focus_tab.py | 10 | CODE | |
| LOW | kitty/rc/set_background_image.py | 28 | CODE | |
| LOW | kitty/rc/ls.py | 13 | CODE | |
| LOW | kitty/rc/set_user_vars.py | 9 | CODE | |
| LOW | kitty/rc/action.py | 21 | CODE | |
| LOW | kitty/rc/select_window.py | 11 | CODE | |
| LOW | kitty/rc/select_window.py | 12 | CODE | |
| 14 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 481 | CODE | |
| LOW | publish.py | 311 | CODE | |
| LOW | kittens/tui/operations.py | 209 | CODE | |
| LOW | gen/go_code.py | 608 | CODE | |
| LOW | bypy/macos/__main__.py | 185 | CODE | |
| LOW | kitty/tabs.py | 154 | CODE | |
| LOW | kitty/tabs.py | 655 | CODE | |
| LOW | kitty/tabs.py | 737 | CODE | |
| LOW | kitty/boss.py | 465 | CODE | |
| LOW | kitty/boss.py | 2870 | CODE | |
| LOW | kitty/cli.py | 683 | CODE | |
| LOW | kitty/child.py | 245 | CODE | |
| LOW | kitty/conf/types.py | 708 | CODE | |
| LOW | kitty/rc/send_key.py | 57 | CODE | |
| LOW | glfw/glfw.py | 80 | CODE | |
| LOW | kitty_tests/graphics.py | 123 | CODE | |
| LOW | kitty_tests/__init__.py | 298 | CODE | |
| LOW | kitty_tests/__init__.py | 337 | CODE | |
| LOW | kitty_tests/keys.py | 62 | CODE | |
| LOW | kitty_tests/notifications.py | 15 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | kitty/rc/scroll_window.py | 0 | \ --no-response type=bool-set default=false don't wait for a response indicating the success of the action. note that us | STRING |
| HIGH | kitty/rc/focus_tab.py | 0 | \ --no-response type=bool-set default=false don't wait for a response indicating the success of the action. note that us | STRING |
| HIGH | kitty/rc/signal_child.py | 0 | \ --no-response type=bool-set default=false don't wait for a response indicating the success of the action. note that us | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | kitty/utils.py | 980 | # platform.mac_ver does not work thanks to Apple's stupid "hardening", so just use sw_vers | COMMENT |
| MEDIUM | glfw/cocoa_init.m | 1078 | // avoid killing helpers from other processes. This is obviously not robust | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | kittens/command_palette/main.go | 238 | // sectionHeader returns a separator line like " ── label ─────────". | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | kitty/utils.py | 328 | # WARNING: This only works on X11 on other platforms extra_callback will be called | COMMENT |
| LOW | glfw/glx_context.c | 413 | // NOTE: This function must not call any X11 functions, as it is called | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | kitty_tests/dnd.py | 3103 | # Create a directory entry (X=2 means directory handle=2) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | kitty_tests/dnd.py | 2205 | # Read file from directory | COMMENT |