Pokémon Save File Editor
This report summarizes scanner evidence for kwsch/PKHeX, a C# project with 5,248 GitHub stars. SynthScan examined 650,868 lines of code across 3888 source files, recording 551 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 0.9 (Low 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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 550 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 551 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 551 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 | PKHeX.WinForms/MainWindow/Main.Designer.cs | 481 | toolStripSeparator1.Size = new System.Drawing.Size(177, 6); | COMMENT |
| LOW | PKHeX.WinForms/MainWindow/Main.Designer.cs | 501 | toolStripSeparator5.Size = new System.Drawing.Size(194, 6); | COMMENT |
| LOW | PKHeX.WinForms/Util/Plugins/PluginLoadContext.cs | 1 | using System.Reflection; | COMMENT |
| LOW | PKHeX.WinForms/Controls/PKM Editor/GenderToggle.cs | 121 | /// <summary> | COMMENT |
| LOW | PKHeX.WinForms/Controls/PKM Editor/StatEditor.cs | 921 | COMMENT | |
| LOW | PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs | 181 | private Action GetFieldsfromPKM = null!; | COMMENT |
| LOW | PKHeX.WinForms/Controls/Slots/SlotChangeInfo.cs | 21 | /// </summary> | COMMENT |
| LOW | PKHeX.WinForms/Controls/Slots/SlotTrackerImage.cs | 1 | using System.Drawing; | COMMENT |
| LOW | PKHeX.WinForms/Controls/Slots/DropModifier.cs | 1 | namespace PKHeX.WinForms.Controls; | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 361 | } | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 761 | } | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 781 | ///SAV_Chatter=Chatter Editor | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 801 | ///SAV_Apricorn=Apricorn Editor | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 821 | ///BoxExporter=Exportar caja | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 841 | COMMENT | |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 861 | get { | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 881 | ///SAV_BoxList=Visualiseur de stockage | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 901 | ///MoveShopEditor=Editor Negozio Mosse | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 921 | ///BoxExporter=ボックスエクスポート | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 941 | ///SAV_EventReset1=イベントリセット | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 961 | ///SAV_BattlePass=Battle Pass Editor | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 981 | ///BatchEditor=批量编辑器 | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 1001 | ///SAV_EventFlags=事件旗标编辑 | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 1021 | ///MemoryAmie=回憶編輯器 | COMMENT |
| LOW | PKHeX.WinForms/Properties/Resources.Designer.cs | 1301 | /// | COMMENT |
| LOW | PKHeX.WinForms/Subforms/EntitySearchSetup.cs | 21 | WinFormsUtil.TranslateInterface(this, Main.CurrentLanguage); | COMMENT |
| LOW | …s/Subforms/Save Editors/Gen7/SAV_PokedexGG.Designer.cs | 501 | // | COMMENT |
| LOW | …s/Subforms/Save Editors/Gen7/SAV_PokedexSM.Designer.cs | 461 | // | COMMENT |
| LOW | …s/Subforms/Save Editors/Gen9/SAV_Pokedex9a.Designer.cs | 201 | mnuCaughtAll.Click += CaughtAll; | COMMENT |
| LOW | …s/Subforms/Save Editors/Gen9/SAV_PokedexSV.Designer.cs | 201 | // | COMMENT |
| LOW | …X.WinForms/Subforms/Save Editors/Gen8/SAV_Trainer8b.cs | 201 | // default: | COMMENT |
| LOW | PKHeX.Drawing/ImageUtil.cs | 21 | /// The caller is responsible for unlocking the bitmap using <see cref="Bitmap.UnlockBits"/> after processing. T | COMMENT |
| LOW | PKHeX.Drawing/ColorUtil.cs | 61 | /// Combines two colors together with the specified amount. | COMMENT |
| LOW | …HeX.Drawing.PokeSprite/Builder/SpriteBackgroundType.cs | 1 | namespace PKHeX.Drawing.PokeSprite; | COMMENT |
| LOW | PKHeX.Drawing.PokeSprite/Builder/ISpriteSettings.cs | 1 | namespace PKHeX.Drawing.PokeSprite; | COMMENT |
| LOW | PKHeX.Drawing.PokeSprite/Builder/ISpriteSettings.cs | 21 | SpriteBackgroundType ShowEncounterColor { get; set; } | COMMENT |
| LOW | PKHeX.Drawing.PokeSprite/Builder/ISpriteSettings.cs | 41 | byte ShowEncounterOpacityBackground { get; set; } | COMMENT |
| LOW | PKHeX.Drawing.PokeSprite/Builder/SpriteBuilderMode.cs | 21 | /// Use circular mugshot-style sprites (5668). | COMMENT |
| LOW | PKHeX.Drawing.PokeSprite/Builder/SpriteBuilderMode.cs | 41 | /// </summary> | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/PersonalTable.cs | 1 | using System; | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/PersonalTable.cs | 21 | public static readonly PersonalTable9SV SV = new(GetTable("sv")); | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/PersonalTable.cs | 41 | public static readonly PersonalTable7GG GG = new(GetTable("gg")); | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/PersonalTable.cs | 61 | public static readonly PersonalTable6XY XY = new(GetTable("xy")); | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/PersonalTable.cs | 81 | public static readonly PersonalTable4 Pt = new(GetTable("pt")); | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/PersonalTable.cs | 101 | public static readonly PersonalTable3 E = new(GetTable("e")); | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/Interfaces/IPersonalTable.cs | 1 | namespace PKHeX.Core; | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/Interfaces/IPersonalTable.cs | 21 | /// <remarks>Has built in length checks; returns empty (0) entry if out of range.</remarks> | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/Interfaces/IPersonalTable.cs | 41 | /// </summary> | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/Interfaces/IPersonalTable.cs | 61 | } | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/Interfaces/IPersonalMisc.cs | 1 | namespace PKHeX.Core; | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/Interfaces/IPersonalEgg.cs | 21 | /// <param name="pi">Object reference</param> | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/Interfaces/IPersonalType.cs | 21 | extension(IPersonalType detail) | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/Interfaces/IEffortValueYield.cs | 1 | namespace PKHeX.Core; | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/Interfaces/IPersonalFormInfo.cs | 1 | namespace PKHeX.Core; | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/Interfaces/IPersonalFormInfo.cs | 21 | bool HasForms { get; } | COMMENT |
| LOW | …HeX.Core/PersonalInfo/Interfaces/IPersonalEncounter.cs | 1 | namespace PKHeX.Core; | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/Interfaces/IBaseStat.cs | 21 | /// Base Defense | COMMENT |
| LOW | PKHeX.Core/PersonalInfo/Interfaces/IPersonalInfo.cs | 1 | namespace PKHeX.Core; | COMMENT |
| LOW | PKHeX.Core/Util/FlagUtil.cs | 41 | /// Sets or clears a specific bit in the provided byte span at the specified index. | COMMENT |
| 479 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | PKHeX.WinForms/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …e/Editing/Bulk/Entity/Suggestion/BatchModifications.cs | 172 | /// Sets the contests stats as requested. | COMMENT |
| HIGH | PKHeX.Drawing.Misc/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | PKHeX.WinForms/Misc/SplashScreen.Designer.cs | 57 | PB_Icon.BackgroundImage = global::PKHeX.WinForms.Properties.Resources.Icon.ToBitmap(); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | PKHeX.Core/Editing/Program/StartupArguments.cs | 20 | /// Step 1: Reads in command line arguments. | COMMENT |
| LOW | PKHeX.Core/Editing/Program/StartupArguments.cs | 37 | /// Step 2: Reads settings config. | COMMENT |
| LOW | …re/Legality/Moves/Breeding/Chain/ChainBreedLegality.cs | 878 | // For male-only split breed species in Gen 6-7, we need to check if a single father can pass all moves | COMMENT |
| LOW | PKHeX.Core/Legality/Verifiers/Misc/MiscVerifierPK9.cs | 47 | // For the learnset restricted cases, we need to check if the ball is available too. | COMMENT |
| LOW | PKHeX.Core/Legality/Restrictions/HomeQuirks.cs | 106 | // preconditions: height & weight are both 0; only call this method if 0-0 violates correlations AND we need to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | PKHeX.Core/Editing/Program/StartupArguments.cs | 20 | /// Step 1: Reads in command line arguments. | COMMENT |
| LOW | PKHeX.Core/Editing/Program/StartupArguments.cs | 37 | /// Step 2: Reads settings config. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | PKHeX.Core/Items/Bags/PlayerBag3E.cs | 51 | /// Encryption interface for player bags that utilize security keys. | COMMENT |