A Zsh theme
This report summarizes scanner evidence for romkatv/powerlevel10k, a Shell project with 55,225 GitHub stars. SynthScan examined 27,936 lines of code across 49 source files, recording 349 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 10.9 (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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 337 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 12 finding(s).
Which changes need focused human review? 349 finding(s).
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.
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.
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.
The scanner identified 349 distinct pattern matches across 6 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/p10k-robbyrussell.zsh | 1 | # Config file for Powerlevel10k with the style of robbyrussell theme from Oh My Zsh. | COMMENT |
| LOW | config/p10k-robbyrussell.zsh | 81 | # Grey Git status when loading. | COMMENT |
| LOW | config/p10k-lean.zsh | 101 | # cpu_arch # CPU architecture | COMMENT |
| LOW | config/p10k-lean.zsh | 121 | typeset -g POWERLEVEL9K_BACKGROUND= # transparent background | COMMENT |
| LOW | config/p10k-lean.zsh | 161 | typeset -g POWERLEVEL9K_RULER_FOREGROUND=240 | COMMENT |
| LOW | config/p10k-lean.zsh | 181 | fi | COMMENT |
| LOW | config/p10k-lean.zsh | 261 | # Don't shorten this many last directory segments. They are anchors. | COMMENT |
| LOW | config/p10k-lean.zsh | 281 | # Enable special styling for non-writable and non-existent directories. See POWERLEVEL9K_LOCK_ICON | COMMENT |
| LOW | config/p10k-lean.zsh | 301 | # | COMMENT |
| LOW | config/p10k-lean.zsh | 321 | # | COMMENT |
| LOW | config/p10k-lean.zsh | 341 | # typeset -g POWERLEVEL9K_DIR_PREFIX='%fin ' | COMMENT |
| LOW | config/p10k-lean.zsh | 441 | (( VCS_STATUS_STASHES )) && res+=" ${clean}*${VCS_STATUS_STASHES}" | COMMENT |
| LOW | config/p10k-lean.zsh | 461 | typeset -g my_git_format=$res | COMMENT |
| LOW | config/p10k-lean.zsh | 481 | # Install our own Git status formatter. | COMMENT |
| LOW | config/p10k-lean.zsh | 541 | COMMENT | |
| LOW | config/p10k-lean.zsh | 561 | # Custom icon. | COMMENT |
| LOW | config/p10k-lean.zsh | 581 | # POWERLEVEL9K_ASDF_PROMPT_ALWAYS_SHOW. Consider the effect of the following commands: | COMMENT |
| LOW | config/p10k-lean.zsh | 601 | # Tip: Override this parameter for ${TOOL} with POWERLEVEL9K_ASDF_${TOOL}_SOURCES. | COMMENT |
| LOW | config/p10k-lean.zsh | 621 | # Note: SHOW_ON_UPGLOB isn't specific to asdf. It works with all prompt segments. | COMMENT |
| LOW | config/p10k-lean.zsh | 641 | typeset -g POWERLEVEL9K_ASDF_GOLANG_FOREGROUND=37 | COMMENT |
| LOW | config/p10k-lean.zsh | 661 | typeset -g POWERLEVEL9K_ASDF_FLUTTER_FOREGROUND=38 | COMMENT |
| LOW | config/p10k-lean.zsh | 681 | typeset -g POWERLEVEL9K_ASDF_ERLANG_FOREGROUND=125 | COMMENT |
| LOW | config/p10k-lean.zsh | 701 | typeset -g POWERLEVEL9K_ASDF_HASKELL_FOREGROUND=172 | COMMENT |
| LOW | config/p10k-lean.zsh | 721 | typeset -g POWERLEVEL9K_RANGER_FOREGROUND=178 | COMMENT |
| LOW | config/p10k-lean.zsh | 741 | # typeset -g POWERLEVEL9K_LF_VISUAL_IDENTIFIER_EXPANSION='⭐' | COMMENT |
| LOW | config/p10k-lean.zsh | 761 | #[ nix_shell: nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html) ]## | COMMENT |
| LOW | config/p10k-lean.zsh | 781 | # Colors for different levels of disk usage. | COMMENT |
| LOW | config/p10k-lean.zsh | 801 | typeset -g POWERLEVEL9K_SWAP_FOREGROUND=96 | COMMENT |
| LOW | config/p10k-lean.zsh | 821 | typeset -g POWERLEVEL9K_TODO_HIDE_ZERO_TOTAL=true | COMMENT |
| LOW | config/p10k-lean.zsh | 841 | ###########[ timewarrior: timewarrior tracking status (https://timewarrior.net/) ]############ | COMMENT |
| LOW | config/p10k-lean.zsh | 861 | # | COMMENT |
| LOW | config/p10k-lean.zsh | 881 | COMMENT | |
| LOW | config/p10k-lean.zsh | 921 | ###[ virtualenv: python virtual environment (https://docs.python.org/3/library/venv.html) ]### | COMMENT |
| LOW | config/p10k-lean.zsh | 941 | # - CONDA_DEFAULT_ENV Name of the active Anaconda/Miniconda environment. | COMMENT |
| LOW | config/p10k-lean.zsh | 961 | # is empty. | COMMENT |
| LOW | config/p10k-lean.zsh | 981 | # - P9K_PYENV_PYTHON_VERSION Current python version (python --version). | COMMENT |
| LOW | config/p10k-lean.zsh | 1001 | # If set to false, hide go version if it's equal to "system". | COMMENT |
| LOW | config/p10k-lean.zsh | 1021 | typeset -g POWERLEVEL9K_NVM_FOREGROUND=70 | COMMENT |
| LOW | config/p10k-lean.zsh | 1041 | # Node version color. | COMMENT |
| LOW | config/p10k-lean.zsh | 1061 | # Custom icon. | COMMENT |
| LOW | config/p10k-lean.zsh | 1081 | # Laravel version color. | COMMENT |
| LOW | config/p10k-lean.zsh | 1101 | # - P9K_PACKAGE_NAME The value of `name` field in package.json. | COMMENT |
| LOW | config/p10k-lean.zsh | 1121 | #######################[ rvm: ruby version from rvm (https://rvm.io) ]######################## | COMMENT |
| LOW | config/p10k-lean.zsh | 1141 | typeset -g POWERLEVEL9K_LUAENV_SOURCES=(shell local global) | COMMENT |
| LOW | config/p10k-lean.zsh | 1161 | # typeset -g POWERLEVEL9K_JENV_VISUAL_IDENTIFIER_EXPANSION='⭐' | COMMENT |
| LOW | config/p10k-lean.zsh | 1181 | # Don't show "perl-" at the front. | COMMENT |
| LOW | config/p10k-lean.zsh | 1201 | typeset -g POWERLEVEL9K_SCALAENV_FOREGROUND=160 | COMMENT |
| LOW | config/p10k-lean.zsh | 1221 | # If set to false, hide haskell version if it's the same as in the implicit global project. | COMMENT |
| LOW | config/p10k-lean.zsh | 1241 | # | COMMENT |
| LOW | config/p10k-lean.zsh | 1261 | typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_FOREGROUND=134 | COMMENT |
| LOW | config/p10k-lean.zsh | 1281 | # | COMMENT |
| LOW | config/p10k-lean.zsh | 1301 | # - P9K_KUBECONTEXT_CLOUD_ACCOUNT=123456789012 | COMMENT |
| LOW | config/p10k-lean.zsh | 1321 | # POWERLEVEL9K_TERRAFORM_CLASSES defines the workspace class. Patterns are tried in order. The | COMMENT |
| LOW | config/p10k-lean.zsh | 1341 | # '*test*' TEST # to match your needs. Customize them as needed. | COMMENT |
| LOW | config/p10k-lean.zsh | 1361 | # you'll see this value in your prompt. The second element of each pair in | COMMENT |
| LOW | config/p10k-lean.zsh | 1381 | # '*prod*' PROD # These values are examples that are unlikely | COMMENT |
| LOW | config/p10k-lean.zsh | 1401 | # Tip: Remove the next line to always show azure. | COMMENT |
| LOW | config/p10k-lean.zsh | 1421 | # | COMMENT |
| LOW | config/p10k-lean.zsh | 1441 | # Google cloud color. | COMMENT |
| LOW | config/p10k-lean.zsh | 1461 | # set and gcloud prompt segment transitions to state COMPLETE. | COMMENT |
| 269 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | internal/parser.zsh | 111 | # --------------- | COMMENT |
| MEDIUM⚡ | internal/parser.zsh | 113 | # --------------- | COMMENT |
| MEDIUM⚡ | internal/parser.zsh | 115 | # --------------- | COMMENT |
| MEDIUM⚡ | internal/parser.zsh | 117 | # --------------- | COMMENT |
| MEDIUM⚡ | internal/parser.zsh | 119 | # --------------- | COMMENT |
| MEDIUM⚡ | internal/parser.zsh | 121 | # --------------- | COMMENT |
| MEDIUM⚡ | internal/parser.zsh | 123 | # --------------- | COMMENT |
| MEDIUM⚡ | internal/parser.zsh | 125 | # --------------- | COMMENT |
| MEDIUM⚡ | internal/parser.zsh | 127 | # --------------- | COMMENT |
| MEDIUM⚡ | internal/parser.zsh | 131 | # --------------- | COMMENT |
| MEDIUM⚡ | internal/parser.zsh | 137 | # --------------- | COMMENT |
| MEDIUM | gitstatus/gitstatus.plugin.zsh | 3 | # ------------------------------------------------------------------ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | internal/icons.zsh | 490 | # In this version of Nerd Fonts the Material icons are mapped to U+F0001-U+F19C3. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/p10k-lean.zsh | 1664 | # Usually, you should either not define instant_prompt_* or simply call prompt_* from it. If | COMMENT |
| LOW | config/p10k-rainbow.zsh | 1783 | # Usually, you should either not define instant_prompt_* or simply call prompt_* from it. If | COMMENT |
| LOW | config/p10k-lean-8colors.zsh | 1664 | # Usually, you should either not define instant_prompt_* or simply call prompt_* from it. If | COMMENT |
| LOW | config/p10k-classic.zsh | 1689 | # Usually, you should either not define instant_prompt_* or simply call prompt_* from it. If | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | internal/p10k.zsh | 8494 | # The following code is based on Pure: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/icons.zsh | 334 | # don't forget to source the font maps in your startup script | COMMENT |
| LOW | internal/icons.zsh | 334 | # don't forget to source the font maps in your startup script | COMMENT |