An open source, turn-based strategy game with a high fantasy theme.
This report summarizes scanner evidence for wesnoth/wesnoth, a C++ project with 6,970 GitHub stars. SynthScan examined 1,068,607 lines of code across 4576 source files, recording 3658 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 6.4 (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.
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? 2032 finding(s).
Are imports declared and package/API names verified? 91 finding(s).
Are wrappers, guards, and repeated structures necessary? 1551 finding(s).
Which changes need focused human review? 3658 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 3658 distinct pattern matches across 20 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 |
|---|---|---|---|---|
| MEDIUM⚡ | data/tools/pywmlx/state/lua_states.py | 260 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | data/tools/pywmlx/state/lua_states.py | 262 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | data/tools/pywmlx/state/lua_states.py | 266 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | data/tools/pywmlx/state/lua_states.py | 651 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | data/tools/pywmlx/state/lua_states.py | 653 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | data/tools/pywmlx/state/lua_states.py | 657 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | data/tools/pywmlx/state/machine.py | 25 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | data/tools/pywmlx/state/machine.py | 27 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | data/tools/pywmlx/state/machine.py | 72 | # ---------- | COMMENT |
| MEDIUM⚡ | data/tools/pywmlx/state/machine.py | 78 | # ---------- | COMMENT |
| MEDIUM⚡ | data/tools/pywmlx/state/machine.py | 85 | # ---------- | COMMENT |
| MEDIUM⚡ | data/tools/pywmlx/state/machine.py | 94 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | data/tools/pywmlx/state/machine.py | 96 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | data/internal/resources/AMLAs/_main.cfg | 40 | #-------------------- | COMMENT |
| MEDIUM⚡ | data/internal/resources/AMLAs/_main.cfg | 42 | #-------------------- | COMMENT |
| MEDIUM⚡ | data/internal/resources/AMLAs/_main.cfg | 49 | #-------------------- | COMMENT |
| MEDIUM⚡ | data/internal/resources/AMLAs/_main.cfg | 51 | #-------------------- | COMMENT |
| MEDIUM | data/internal/resources/AMLAs/_main.cfg | 65 | #-------------------- | COMMENT |
| MEDIUM | data/internal/resources/AMLAs/_main.cfg | 67 | #-------------------- | COMMENT |
| MEDIUM | data/internal/resources/AMLAs/_main.cfg | 89 | #-------------------- | COMMENT |
| MEDIUM | data/internal/resources/AMLAs/_main.cfg | 91 | #-------------------- | COMMENT |
| MEDIUM | data/internal/resources/AMLAs/_main.cfg | 115 | #-------------------- | COMMENT |
| MEDIUM | data/internal/resources/AMLAs/_main.cfg | 117 | #-------------------- | COMMENT |
| MEDIUM | data/internal/resources/AMLAs/_main.cfg | 211 | #-------------------- | COMMENT |
| MEDIUM | data/internal/resources/AMLAs/_main.cfg | 213 | #-------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/utils/side_ai.cfg | 29 | #-------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/utils/side_ai.cfg | 31 | #-------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/utils/side_ai.cfg | 121 | #-------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/utils/side_ai.cfg | 123 | #-------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/utils/side_ai.cfg | 145 | #-------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/utils/side_ai.cfg | 147 | #-------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/utils/side_ai.cfg | 253 | #-------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/utils/side_ai.cfg | 255 | #-------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/utils/savescumming.cfg | 10 | #------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/utils/savescumming.cfg | 12 | #------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/utils/savescumming.cfg | 62 | #------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/utils/savescumming.cfg | 64 | #------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/gui/display_tip.cfg | 29 | #----------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/gui/display_tip.cfg | 31 | #----------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/gui/display_tip.cfg | 76 | #----------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/gui/display_tip.cfg | 78 | #----------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/gui/display_tip.cfg | 147 | #------------------------ | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/gui/display_tip.cfg | 149 | #------------------------ | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/gui/choose_companion.cfg | 29 | #----------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/gui/choose_companion.cfg | 31 | #----------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/gui/choose_companion.cfg | 76 | #----------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/gui/choose_companion.cfg | 78 | #----------------------- | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/gui/choose_companion.cfg | 158 | #------------------------ | COMMENT |
| MEDIUM | data/campaigns/The_South_Guard/gui/choose_companion.cfg | 160 | #------------------------ | COMMENT |
| MEDIUM | …igns/The_South_Guard/scenarios/05c_Into_the_Depths.cfg | 485 | #------------------------ | COMMENT |
| MEDIUM | …igns/The_South_Guard/scenarios/05c_Into_the_Depths.cfg | 487 | #------------------------ | COMMENT |
| MEDIUM | …The_South_Guard/scenarios/05b_Pebbles_in_the_Flood.cfg | 605 | #------------------------ | COMMENT |
| MEDIUM | …The_South_Guard/scenarios/05b_Pebbles_in_the_Flood.cfg | 607 | #------------------------ | COMMENT |
| MEDIUM | …s/The_South_Guard/scenarios/02_Proven_by_the_Sword.cfg | 595 | #------------------------ | COMMENT |
| MEDIUM | …s/The_South_Guard/scenarios/02_Proven_by_the_Sword.cfg | 597 | #------------------------ | COMMENT |
| MEDIUM | …s/The_South_Guard/scenarios/02_Proven_by_the_Sword.cfg | 611 | #------------------------ | COMMENT |
| MEDIUM | …s/The_South_Guard/scenarios/02_Proven_by_the_Sword.cfg | 613 | #------------------------ | COMMENT |
| MEDIUM | …a/campaigns/The_South_Guard/scenarios/06x_Epilogue.cfg | 197 | #-------------------- | COMMENT |
| MEDIUM | …a/campaigns/The_South_Guard/scenarios/06x_Epilogue.cfg | 199 | #-------------------- | COMMENT |
| MEDIUM | …gns/The_South_Guard/scenarios/04_Choice_in_the_Fog.cfg | 883 | #-------------------- | COMMENT |
| 1457 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CONTRIBUTING.md | 41 | // Includes should also be sorted alphabetically. | COMMENT |
| LOW | …roid/app/src/main/java/org/libsdl/app/SDLActivity.java | 1461 | if (source == InputDevice.SOURCE_UNKNOWN) { | COMMENT |
| LOW | utils/compare_images.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | utils/autorevision.sh | 501 | EOF | COMMENT |
| LOW | utils/autorevision.sh | 541 | #define VCS_BASENAME ${VCS_BASENAME} | COMMENT |
| LOW | utils/pofix.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | utils/pofix.py | 21 | # This script will emit a report line for each file it modifies, | COMMENT |
| LOW | utils/pofix.py | 41 | # | COMMENT |
| LOW | utils/wesnoth-attack-sim.c | 1 | /* Simulate Wesnoth combat. */ | COMMENT |
| LOW | utils/woptipng.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | utils/CI/check_wml_images.sh | 1 | #!/bin/sh | COMMENT |
| LOW | utils/ai_test/ai_test.cfg | 21 | # This is the number of tests when | COMMENT |
| LOW | utils/ai_test/ai_test.cfg | 61 | log_file = ai_test__%Y_%m_%d__%H-%M__myAI_vs_default.log | COMMENT |
| LOW | po/wesnoth-manpages/wesnoth-manpages.cfg | 1 | # | COMMENT |
| LOW | attic/castle-transitions.cfg | 1 | #textdomain wesnoth | COMMENT |
| LOW | attic/terrain-graphics.cfg | 1 | # | COMMENT |
| LOW | data/achievements.cfg | 1 | #textdomain wesnoth | COMMENT |
| LOW | data/achievements.cfg | 21 | #endif | COMMENT |
| LOW | data/achievements.cfg | 41 | {campaigns/Son_Of_The_Black_Eye/achievements.cfg} | COMMENT |
| LOW | data/achievements.cfg | 61 | #ifhave campaigns/Winds_of_Fate | COMMENT |
| LOW | data/tools/expand-terrain-macros.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | data/tools/expand-terrain-macros.py | 21 | # NORMAL_PARAM: Macro parameter that will be passed unmodified to the base | COMMENT |
| LOW | data/tools/unit_tree/__init__.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | data/tools/wesnoth/__init__.py | 1 | # When Python looks for a package, it considers all directories with | COMMENT |
| LOW | data/tools/addon_manager/__init__.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | data/tools/pywmlx/postring.py | 81 | # WmlNodeSentence use PoCommentedStringPL for 'plural' parameter | COMMENT |
| LOW | data/tools/pywmlx/postring.py | 181 | mystr += k | COMMENT |
| LOW | data/tools/pywmlx/autof.py | 21 | value = value.replace("\\", "/") | COMMENT |
| LOW | data/tools/pywmlx/state/lua_states.py | 261 | # 2. LUA PLURAL | COMMENT |
| LOW | data/tools/pywmlx/state/wml_states.py | 81 | # In this way the WmlStr01 state (wich is placed after) can be reached and the | COMMENT |
| LOW | data/tools/pywmlx/state/wml_states.py | 261 | # It can happen that WML uses the '<<' symbol in a very different context | COMMENT |
| LOW | data/tools/pywmlx/state/machine.py | 41 | _initialdomain = None | COMMENT |
| LOW | data/tools/pywmlx/state/machine.py | 441 | cs_debug = cs.iffail | COMMENT |
| LOW | data/core/terrain.cfg | 1 | #textdomain wesnoth-lib | COMMENT |
| LOW | data/core/terrain-graphics.cfg | 1 | #textdomain wesnoth | COMMENT |
| LOW | data/core/terrain-graphics.cfg | 1201 | COMMENT | |
| LOW | data/core/team-colors.cfg | 321 | COMMENT | |
| LOW | data/core/terrain-graphics/deprecated-walls.cfg | 21 | #define WALL_TRANSITION3_PLFB TERRAINLIST1 TERRAINLIST2 TERRAINLIST3 PROB LAYER FLAG BUILDER IMAGESTEM | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-walls.cfg | 41 | {WALL_TRANSITION_PLFB ({TERRAINLIST}) ({ADJACENT}) ({PROB}) ({LAYER}) overlay ({BUILDER}) ({IMAGESTEM})} | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-walls.cfg | 61 | #define WALL_TRANSITION_F TERRAINLIST ADJACENT FLAG IMAGESTEM | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-walls.cfg | 81 | {WALL_TRANSITION2_PLFB ({TERRAINLIST1}) ({TERRAINLIST2}) ({ADJACENT}) 100 ({LAYER}) ({FLAG}) ({BUILDER}) ({IMAGESTEM | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-walls.cfg | 101 | #define WALL_TRANSITION2_PLF TERRAINLIST1 TERRAINLIST2 ADJACENT PROB LAYER FLAG IMAGESTEM | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-walls.cfg | 121 | #enddef | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-walls.cfg | 141 | #define WALL_TRANSITION3_LB TERRAINLIST1 TERRAINLIST2 TERRAINLIST3 LAYER BUILDER IMAGESTEM | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-walls.cfg | 161 | #enddef | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 21 | #define DISABLE_BASE_TRANSITIONS TERRAINLIST | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 61 | # Needs one neighbour # | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 81 | # Needs two neighbour # | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 101 | # Needs three neighbour # | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 121 | # Needs four neighbour # | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 141 | # Needs five neighbour # | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 161 | # Needs six neighbour # | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 181 | # Combination of the above # | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 201 | #define TRANSITION_RESTRICTED_PFB TERRAINLIST ADJACENT PROB FLAG BUILDER IMAGESTEM | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 221 | #enddef | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 241 | {TRANSITION_RESTRICTED_PLFB ({TERRAINLIST}) ({ADJACENT}) 100 -500 transition IMAGE_SINGLE ({IMAGESTEM})} | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 261 | #enddef | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 281 | #define TRANSITION_RESTRICTED2_PLB TERRAINLIST ADJACENT PROB LAYER BUILDER IMAGESTEM | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 301 | #enddef | COMMENT |
| LOW | data/core/terrain-graphics/deprecated-transitions.cfg | 321 | #define TRANSITION_RESTRICTED2_RANDOM_FB TERRAINLIST ADJACENT FLAG BUILDER IMAGESTEM | COMMENT |
| 1661 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | utils/graphincludes/project/wesnoth.pm | 1 | # This file is part of the graph-includes package | COMMENT |
| MEDIUM | attic/terrain-graphics.cfg | 2 | # This file contains terrain--graphics macros that are not currently used in | COMMENT |
| MEDIUM | data/tools/expand-terrain-macros.py | 69 | if line.strip() == "#The following code is autogenerated\ | CODE |
| MEDIUM | data/tools/expand-terrain-macros.py | 98 | result.append("#The following code is autogenerated\ | CODE |
| MEDIUM | data/tools/terrain2wiki.py | 62 | # Create a dictionary of key and values | STRING |
| MEDIUM | data/tools/wesnoth/wescamp.py | 562 | # Create a new temp dir for every upload. | COMMENT |
| MEDIUM | data/tools/wesnoth/libgithub.py | 436 | # Create the repository | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-walls.cfg | 28 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-walls.cfg | 77 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-walls.cfg | 126 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-transitions.cfg | 195 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-transitions.cfg | 244 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-transitions.cfg | 269 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-transitions.cfg | 318 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-transitions.cfg | 343 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-transitions.cfg | 392 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-transitions.cfg | 417 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-transitions.cfg | 466 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-transitions.cfg | 491 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-transitions.cfg | 540 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-transitions.cfg | 565 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-transitions.cfg | 614 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-transitions.cfg | 639 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/automatic-borders.cfg | 3 | # This file contains rules responsible for drawing both the standard map border | COMMENT |
| MEDIUM | data/core/terrain-graphics/enduring-tracks.cfg | 2 | # This file handles transitions involving bridges | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 135 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 184 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 209 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 258 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 283 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 332 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 357 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 406 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 431 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 480 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 505 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 554 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 579 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 628 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-keep.cfg | 653 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/new-macros.cfg | 3 | # This file contains a WIP set of terrain graphics macros, intended to be as | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 158 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 207 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 232 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 281 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 330 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 355 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 404 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 429 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 478 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 503 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 552 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 577 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 626 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 651 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 700 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-base.cfg | 725 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-overlay.cfg | 135 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-overlay.cfg | 184 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| MEDIUM | data/core/terrain-graphics/deprecated-overlay.cfg | 209 | #The following code is autogenerated by expand-terrain-macros.py | COMMENT |
| 100 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scons/boost.py | 49 | except: | CODE |
| HIGH | scons/sdl.py | 30 | except OSError: | CODE |
| HIGH | scons/scanreplace.py | 10 | except ImportError: | CODE |
| HIGH | data/tools/unit_tree/html_output.py | 856 | except TypeError: | CODE |
| HIGH | data/tools/unit_tree/helpers.py | 140 | except FileExistsError: | CODE |
| HIGH | data/tools/wesnoth/campaignserver_client.py | 193 | except socket.error: | CODE |
| HIGH | data/tools/wesnoth/campaignserver_client.py | 195 | except AttributeError: | CODE |
| HIGH | data/tools/wesnoth/campaignserver_client.py | 517 | except OSError: | CODE |
| HIGH | data/tools/wesnoth/wmltools3.py | 1110 | except UnicodeDecodeError as e: | CODE |
| HIGH | data/tools/wesnoth/wescamp.py | 79 | except: | CODE |
| HIGH | data/tools/wesnoth/trackplacer3/cfgfileformat.py | 137 | except: | CODE |
| HIGH | data/tools/addon_manager/html.py | 230 | except OSError: | CODE |
| HIGH | data/tools/addon_manager/html.py | 320 | except OSError: | CODE |
| HIGH | data/tools/pywmlx/wmlerr.py | 138 | except OSError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | data/tools/pywmlx/state/lua_states.py | 495 | pywmlx.state.machine._pending_luastring.plural.addline( | CODE |
| CRITICAL | data/tools/pywmlx/state/lua_states.py | 527 | pywmlx.state.machine._pending_luastring.plural.addline( | CODE |
| CRITICAL | data/tools/pywmlx/state/lua_states.py | 551 | pywmlx.state.machine._pending_luastring.plural.addline( | CODE |
| CRITICAL | data/tools/pywmlx/state/lua_states.py | 586 | pywmlx.state.machine._pending_luastring.plural.addline( | CODE |
| CRITICAL | data/tools/pywmlx/state/lua_states.py | 633 | pywmlx.state.machine._pending_luastring.plural.addline( | CODE |
| CRITICAL⚡ | data/tools/pywmlx/state/lua_states.py | 644 | pywmlx.state.machine._pending_luastring.plural.addline(xline) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scons/lua.py | 14 | CODE | |
| LOW | scons/cross_compile.py | 4 | CODE | |
| LOW | scons/boost.py | 9 | CODE | |
| LOW | scons/install.py | 10 | CODE | |
| LOW | scons/install.py | 16 | CODE | |
| LOW | utils/po_stat.py | 105 | CODE | |
| LOW | utils/pofix.py | 284 | CODE | |
| LOW | utils/gdb/wesnoth_pretty_printers.py | 132 | CODE | |
| LOW | data/tools/unit_tree/html_output.py | 1470 | CODE | |
| LOW | data/tools/unit_tree/html_output.py | 370 | CODE | |
| LOW | data/tools/unit_tree/html_output.py | 477 | CODE | |
| LOW | data/tools/unit_tree/html_output.py | 711 | CODE | |
| LOW | data/tools/unit_tree/html_output.py | 754 | CODE | |
| LOW | data/tools/unit_tree/html_output.py | 814 | CODE | |
| LOW | data/tools/unit_tree/html_output.py | 1021 | CODE | |
| LOW | data/tools/unit_tree/overview.py | 57 | CODE | |
| LOW | data/tools/unit_tree/wiki_output.py | 7 | CODE | |
| LOW | data/tools/unit_tree/helpers.py | 135 | CODE | |
| LOW | data/tools/unit_tree/helpers.py | 273 | CODE | |
| LOW | data/tools/unit_tree/helpers.py | 380 | CODE | |
| LOW | data/tools/wesnoth/campaignserver_client.py | 52 | CODE | |
| LOW | data/tools/wesnoth/campaignserver_client.py | 176 | CODE | |
| LOW | data/tools/wesnoth/wmltools3.py | 52 | CODE | |
| LOW | data/tools/wesnoth/wmltools3.py | 72 | CODE | |
| LOW | data/tools/wesnoth/wmltools3.py | 313 | CODE | |
| LOW | data/tools/wesnoth/wmltools3.py | 447 | CODE | |
| LOW | data/tools/wesnoth/wmltools3.py | 496 | CODE | |
| LOW | data/tools/wesnoth/wmltools3.py | 534 | CODE | |
| LOW | data/tools/wesnoth/wmltools3.py | 191 | CODE | |
| LOW | data/tools/wesnoth/wmltools3.py | 714 | CODE | |
| LOW | data/tools/wesnoth/wmltools3.py | 918 | CODE | |
| LOW | data/tools/wesnoth/wmltools3.py | 1119 | CODE | |
| LOW | data/tools/wesnoth/wmlparser3.py | 209 | CODE | |
| LOW | data/tools/wesnoth/wmlparser3.py | 508 | CODE | |
| LOW | data/tools/wesnoth/libgithub.py | 68 | CODE | |
| LOW | data/tools/wesnoth/libgithub.py | 171 | CODE | |
| LOW | data/tools/wesnoth/wmlparser.py | 261 | CODE | |
| LOW | data/tools/wesnoth/wmlparser.py | 321 | CODE | |
| LOW | data/tools/wesnoth/wmlparser.py | 338 | CODE | |
| LOW | data/tools/wesnoth/wmlparser.py | 532 | CODE | |
| LOW | data/tools/wesnoth/wmlparser.py | 554 | CODE | |
| LOW | data/tools/wesnoth/wmlparser.py | 661 | CODE | |
| LOW | data/tools/wesnoth/wmldata.py | 188 | CODE | |
| LOW | data/tools/wesnoth/wmldata.py | 402 | CODE | |
| LOW | data/tools/wesnoth/wmldata.py | 427 | CODE | |
| LOW | data/tools/wesnoth/wmliterator3.py | 44 | CODE | |
| LOW | data/tools/wesnoth/wmliterator3.py | 129 | CODE | |
| LOW | data/tools/wesnoth/wmliterator3.py | 144 | CODE | |
| LOW | data/tools/wesnoth/wmliterator3.py | 187 | CODE | |
| LOW | data/tools/wesnoth/wmliterator3.py | 221 | CODE | |
| LOW | data/tools/wesnoth/trackplacer3/datatypes.py | 54 | CODE | |
| LOW | data/tools/wesnoth/trackplacer3/cfgfileformat.py | 56 | CODE | |
| LOW | data/tools/wesnoth/trackplacer3/cfgfileformat.py | 125 | CODE | |
| LOW | data/tools/addon_manager/html.py | 226 | CODE | |
| LOW | data/tools/pywmlx/postring.py | 131 | CODE | |
| LOW | data/tools/pywmlx/postring.py | 167 | CODE | |
| LOW | data/tools/pywmlx/autof.py | 6 | CODE | |
| LOW | data/tools/pywmlx/state/lua_states.py | 285 | CODE | |
| LOW | data/tools/pywmlx/state/lua_states.py | 681 | CODE | |
| LOW | data/tools/pywmlx/state/machine.py | 376 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …android/build-android-dependencies/setup-toolchains.py | 3 | CODE | |
| LOW | scons/lua.py | 2 | CODE | |
| LOW | scons/metasconf.py | 2 | CODE | |
| LOW | scons/pango.py | 2 | CODE | |
| LOW | scons/pango.py | 2 | CODE | |
| LOW | scons/pango.py | 3 | CODE | |
| LOW | scons/pango.py | 4 | CODE | |
| LOW | scons/pango.py | 5 | CODE | |
| LOW | scons/boost.py | 7 | CODE | |
| LOW | scons/gettext_tool.py | 6 | CODE | |
| LOW | scons/pkgconfig.py | 3 | CODE | |
| LOW | scons/pkgconfig.py | 3 | CODE | |
| LOW | scons/cairo.py | 1 | CODE | |
| LOW | scons/cairo.py | 2 | CODE | |
| LOW | scons/cairo.py | 3 | CODE | |
| LOW | scons/cairo.py | 4 | CODE | |
| LOW | scons/install.py | 4 | CODE | |
| LOW | scons/install.py | 7 | CODE | |
| LOW | scons/install.py | 7 | CODE | |
| LOW | scons/install.py | 7 | CODE | |
| LOW | scons/sdl.py | 4 | CODE | |
| LOW | scons/sdl.py | 5 | CODE | |
| LOW | utils/pofix.py | 271 | CODE | |
| LOW | utils/gdb/register_wesnoth_pretty_printers.py | 11 | CODE | |
| LOW | utils/gdb/register_wesnoth_pretty_printers.py | 12 | CODE | |
| LOW | utils/gdb/wesnoth_pretty_printers.py | 6 | CODE | |
| LOW | utils/gdb/wesnoth_gdb.py | 31 | CODE | |
| LOW | utils/ai_test/ai_test.py | 3 | CODE | |
| LOW | utils/ai_test/ai_test.py | 7 | CODE | |
| LOW | utils/ai_test/ai_test.py | 8 | CODE | |
| LOW | data/tools/unit_tree/helpers.py | 6 | CODE | |
| LOW | data/tools/unit_tree/helpers.py | 6 | CODE | |
| LOW | data/tools/wesnoth/base64url.py | 1 | CODE | |
| LOW | data/tools/wesnoth/wmlparser3.py | 46 | CODE | |
| LOW | data/tools/wesnoth/wmlparser3.py | 46 | CODE | |
| LOW | data/tools/wesnoth/trackplacer3/__init__.py | 6 | CODE | |
| LOW | data/tools/wesnoth/trackplacer3/__init__.py | 7 | CODE | |
| LOW | data/tools/wesnoth/trackplacer3/__init__.py | 8 | CODE | |
| LOW | data/tools/wesnoth/trackplacer3/__init__.py | 10 | CODE | |
| LOW | data/tools/wesnoth/trackplacer3/__init__.py | 11 | CODE | |
| LOW | data/tools/wesnoth/trackplacer3/tmxfileformat.py | 11 | CODE | |
| LOW | data/tools/wesnoth/trackplacer3/cfgfileformat.py | 33 | CODE | |
| LOW | data/tools/pywmlx/__init__.py | 1 | CODE | |
| LOW | data/tools/pywmlx/__init__.py | 2 | CODE | |
| LOW | data/tools/pywmlx/__init__.py | 3 | CODE | |
| LOW | data/tools/pywmlx/__init__.py | 4 | CODE | |
| LOW | data/tools/pywmlx/__init__.py | 5 | CODE | |
| LOW | data/tools/pywmlx/__init__.py | 7 | CODE | |
| LOW | data/tools/pywmlx/__init__.py | 8 | CODE | |
| LOW | data/tools/pywmlx/__init__.py | 9 | CODE | |
| LOW | data/tools/pywmlx/__init__.py | 11 | CODE | |
| LOW | data/tools/pywmlx/__init__.py | 13 | CODE | |
| LOW | data/tools/pywmlx/autof.py | 2 | CODE | |
| LOW | data/tools/pywmlx/state/__init__.py | 1 | CODE | |
| LOW | data/tools/pywmlx/state/__init__.py | 2 | CODE | |
| LOW | data/tools/pywmlx/state/machine.py | 9 | CODE | |
| LOW | data/tools/pywmlx/state/machine.py | 14 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/CI/mp_test_executor.sh | 46 | # Check if clients still running | COMMENT |
| LOW | data/tools/wesnoth/wmltools3.py | 1023 | # Set args to None if the call doesn't | COMMENT |
| LOW | data/tools/wesnoth/wescamp.py | 132 | # Check if build system version in add-on is up-to-date | COMMENT |
| LOW | …sts/ScenarioWML/EventWML/events-test_priority_wml2.cfg | 6 | # Set X to 1 in the prestart event. | COMMENT |
| LOW | …sts/ScenarioWML/EventWML/events-test_priority_wml1.cfg | 6 | # Set X to 1 in the prestart event. | COMMENT |
| LOW⚡ | …_tests/ScenarioWML/EventWML/order_of_nested_events.cfg | 9 | # Set X to 1 in the prestart event. | COMMENT |
| LOW⚡ | …_tests/ScenarioWML/EventWML/order_of_nested_events.cfg | 10 | # Set X to 0 in a nested start event. | COMMENT |
| LOW⚡ | …_tests/ScenarioWML/EventWML/order_of_nested_events.cfg | 11 | # Check if X is 1 in a non-nested start event. | COMMENT |
| LOW | …sWML/harm_unit_kill_split_experience_attack_defend.cfg | 8 | # Set Bob to a known but higher number of hitpoints. | COMMENT |
| LOW | …onsWML/harm_unit_kill_split_experience_defend_kill.cfg | 8 | # Set Bob to a known but higher number of hitpoints. | COMMENT |
| LOW | …ctActionsWML/harm_unit_kill_split_experience_unset.cfg | 8 | # Set Bob to a known but higher number of hitpoints. | COMMENT |
| LOW | …irectActionsWML/harm_unit_kill_split_experience_no.cfg | 8 | # Set Bob to a known but higher number of hitpoints. | COMMENT |
| LOW | …entWML/ActionWML/DirectActionsWML/test_modify_unit.cfg | 22 | # Assign Charlie to side 2. | COMMENT |
| LOW | …tActionsWML/harm_unit_kill_split_experience_defend.cfg | 8 | # Set Bob to a known but higher number of hitpoints. | COMMENT |
| LOW | …m_unit_kill_split_experience_no_attack_defend_kill.cfg | 8 | # Set Bob to a known but higher number of hitpoints. | COMMENT |
| LOW | …rectActionsWML/harm_unit_kill_split_experience_yes.cfg | 8 | # Set Bob to a known but higher number of hitpoints. | COMMENT |
| LOW | …onsWML/harm_unit_kill_split_experience_attack_kill.cfg | 8 | # Set Bob to a known but higher number of hitpoints. | COMMENT |
| LOW | …ectActionsWML/harm_unit_kill_split_experience_kill.cfg | 8 | # Set Bob to a known but higher number of hitpoints. | COMMENT |
| LOW | …ctActionsWML/harm_unit_kill_split_experience_fight.cfg | 8 | # Set Bob to a known but higher number of hitpoints. | COMMENT |
| LOW | …ctionWML/DirectActionsWML/put_to_recall_and_modify.cfg | 13 | # Assign Charlie to side 2. | COMMENT |
| LOW | …tActionsWML/harm_unit_kill_split_experience_attack.cfg | 8 | # Set Bob to a known but higher number of hitpoints. | COMMENT |
| LOW | …cenarios/wml_tests/UnitsWML/traits_exclude_include.cfg | 31 | # Check if the first randomly generated trait is the excluded one, then the | COMMENT |
| LOW | …cenarios/wml_tests/UnitsWML/traits_exclude_include.cfg | 73 | # Check if the second randomly generated trait is the one requiring the other one | COMMENT |
| LOW | …s/wml_tests/UnitsWML/AbilitiesWML/reflexive_drains.cfg | 9 | # Set everyone to 20 hp, so that drains will show but no-one will die. | COMMENT |
| LOW | …s/UnitsWML/AbilitiesWML/firststrike_and_laststrike.cfg | 9 | # Set everyone to 1 hp, so that a single hit will kill. | COMMENT |
| LOW | …aigns/Sceptre_of_Fire/scenarios/9_Caverns_of_Flame.cfg | 955 | # Check if the player had a Gryphon Rider or Gryphon Master before all units were killed. | COMMENT |
| LOW | …/campaigns/Northern_Rebirth/scenarios/13a_Showdown.cfg | 359 | # Check if Krash is alive, if yes place him at helm of side 7, | COMMENT |
| LOW | …/campaigns/Northern_Rebirth/scenarios/13a_Showdown.cfg | 410 | # Check if Eryssa is alive. If yes place her at the helm of side 9; | COMMENT |
| LOW | …ir_To_The_Throne_Classic/scenarios/20a_North_Elves.cfg | 754 | # Check if Konrad is inside forest, loosely defined -- but include | COMMENT |
| LOW | …ir_To_The_Throne_Classic/scenarios/20a_North_Elves.cfg | 784 | # Check if Konrad is inside forest, loosely defined -- but include | COMMENT |
| LOW | …er_the_Burning_Suns/scenarios/01_The_Morning_After.cfg | 1037 | # Check if it's lower than a threshold of | COMMENT |
| LOW | …paigns/Winds_of_Fate/scenarios/10_Fire_Meets_Steel.cfg | 677 | # Check if no empty spots within Thurdakor’s reach. If so, get empty ones outside of it. This should only fail i | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …droid/app/src/main/java/org/libsdl/app/SDLSurface.java | 263 | // if we are. We'll leverage our existing mouse motion listener | COMMENT |
| LOW | data/core/terrain-graphics.cfg | 864 | # There are no more human castles left, so we can just use Ch* here, which makes sure | COMMENT |
| LOW | data/test/scenarios/manual_tests/scenario-test.cfg | 159 | # TODO: just use value=-100 instead? | COMMENT |
| LOW | data/test/scenarios/manual_tests/scenario-test.cfg | 570 | # TODO: just use value=-100 instead? | COMMENT |
| LOW | data/schema/units/types.cfg | 18 | # TODO: This is undocumented. Verify it actually works! (Easily done, just create a wolf or something and verify it has | COMMENT |
| MEDIUM | data/campaigns/Dead_Water/scenarios/05_Tirigaz.cfg | 322 | # Count the undead because it's more robust than hardcoding | COMMENT |
| LOW | …mpaigns/Secrets_of_the_Ancients/utils/zombie-utils.cfg | 17 | # TODO: Most of the sota_variation strings could probably reuse race names from core and just add the parenthese | COMMENT |
| LOW | …ammer_of_Thursagan/units/Dwarvish_Masked_Berserker.cfg | 71 | # right now the masked berserker's laugh animation isn't implemented, so just use the typical attack animati | COMMENT |
| LOW | …er_the_Burning_Suns/scenarios/01_The_Morning_After.cfg | 148 | # We could just use [have_unit], but if Garak or Zhul dies and the player | COMMENT |
| LOW⚡ | …/campaigns/The_Deceivers_Gambit/utils/spellcasting.cfg | 1106 | # not sure how to detect objects with lua, so just set a variable instead (which spellcasting.lua can read) | COMMENT |
| MEDIUM⚡ | …gns/The_Deceivers_Gambit/scenarios/05_The_Deceiver.cfg | 662 | # this cutscene is an excuse to get rid of most of Delfador's troops (not Garard's; his carry over), so that | COMMENT |
| MEDIUM | …s/The_Deceivers_Gambit/scenarios/06_Ring_of_Swords.cfg | 260 | # to make the transition from S05 more seamless, start at the same time | COMMENT |
| MEDIUM | …mpaigns/The_Deceivers_Gambit/scenarios/09_Omaranth.cfg | 379 | variable=s09_tod # to make the transition more seamless, start at the same ToD | CODE |
| MEDIUM | src/gui/core/canvas.cpp | 718 | // But for now this works and should be both general and robust. | COMMENT |
| MEDIUM | src/gui/dialogs/preferences_dialog.cpp | 362 | // Set up the toggle. We utilize field_bool's callback-on-changed mechanism instead | COMMENT |
| MEDIUM | src/actions/vision.cpp | 657 | // Definitely use viewer as the second unit. | COMMENT |
| MEDIUM | src/editor/map/editor_map.cpp | 248 | // villages on the map border. Essentially, it's possible to simply remove all members | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | data/gui/themes/default/dialogs/file_progress.cfg | 92 | id = "placeholder" | CODE |
| LOW | src/tests/gui/test_gui2.cpp | 783 | std::string license_terms = R"(Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ante nibh, dignissim ullam | CODE |
| LOW | src/tests/gui/test_gui2.cpp | 783 | std::string license_terms = R"(Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ante nibh, dignissim ullam | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 625 | simple_wml::node& dummy_user = games_and_users_list_.root().add_child_at("user", i); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 626 | dummy_user.set_attr_dup("available", "yes"); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 627 | dummy_user.set_attr_int("forum_id", i); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 628 | dummy_user.set_attr_int("game_id", 0); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 629 | dummy_user.set_attr_dup("location", ""); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 630 | dummy_user.set_attr_dup("moderator", "no"); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 631 | dummy_user.set_attr_dup("name", ("player"+std::to_string(i)).c_str()); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 632 | dummy_user.set_attr_dup("registered", "yes"); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 633 | dummy_user.set_attr_dup("status", "lobby"); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 709 | simple_wml::node* dummy_user = games_and_users_list_.root().children("user").at(size-1); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 712 | if(make_delete_diff(games_and_users_list_.root(), nullptr, "user", dummy_user, diff)) { | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 718 | simple_wml::node& dummy_user = games_and_users_list_.root().add_child_at("user", size-1); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 719 | dummy_user.set_attr_dup("available", "yes"); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 720 | dummy_user.set_attr_int("forum_id", size-1); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 721 | dummy_user.set_attr_int("game_id", 0); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 722 | dummy_user.set_attr_dup("location", ""); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 723 | dummy_user.set_attr_dup("moderator", "no"); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 724 | dummy_user.set_attr_dup("name", ("player"+std::to_string(size-1)).c_str()); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 725 | dummy_user.set_attr_dup("registered", "yes"); | CODE |
| LOW⚡ | src/server/wesnothd/server.cpp | 726 | dummy_user.set_attr_dup("status", "lobby"); | CODE |
| LOW | src/gui/dialogs/file_progress.cpp | 51 | find_widget<button>("placeholder").set_active(false); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/pofix.py | 51 | # Please do make sure to add a comment before any new blocks of conversions | COMMENT |
| MEDIUM | data/core/macros/utils.cfg | 504 | # of units at the beginning of a scenario, you can use this to ensure that | COMMENT |
| MEDIUM | data/ai/micro_ais/scenarios/animals.cfg | 369 | Note that there is no end to this scenario. For demonstration purposes, any unit that is killed is replaced by another u | CODE |
| MEDIUM | data/gui/themes/default/dialogs/statistics_dialog.cfg | 231 | width=10 # TODO: Wild guess. Feel free to adjust | CODE |
| LOW | …mpaigns/The_South_Guard/scenarios/03_Vale_of_Tears.cfg | 17 | current_time=2 # if I change this, make sure to also change the "The sun is our ally!" line | CODE |
| MEDIUM | data/campaigns/Dead_Water/scenarios/07_Bilheld.cfg | 4 | # can do lots of damage to the other. Here's where you can use all the | COMMENT |
| LOW | …a/campaigns/Descent_Into_Darkness/utils/characters.cfg | 40 | # NOTE: if you change these, make sure you don't break the | COMMENT |
| LOW | …/The_Deceivers_Gambit/scenarios/07_The_Great_River.cfg | 546 | # this is an anti-frustration feature, to make sure you don't lose if you happen to get unlucky | COMMENT |
| MEDIUM | …eir_To_The_Throne/scenarios/30_The_Sceptre_of_Fire.cfg | 763 | #po: If translating a dynamic string like this is difficult or impossible in your language, you can replace | COMMENT |
| MEDIUM | …gns/Eastern_Invasion/scenarios/01_Eastern_Invasion.cfg | 488 | #po: Gender neutral pronouns or plural pronouns implying multiple entities are preferred, but you can use la | COMMENT |
| LOW | src/commandline_options.cpp | 183 | // When adding items don't forget to update doc/man/wesnoth.6 | COMMENT |
| LOW | src/gui/dialogs/loading_screen.hpp | 35 | * When adding new entries here, don't forget to update the stage_names | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | data/tools/wesnoth/wmltools3.py | 354 | # In this example, close_token("}") will implicitly close the | COMMENT |
| HIGH | data/core/macros/traits.cfg | 381 | # I've implemented this as a trait instead of an ability because our UI makes it hard to read names when units have | COMMENT |
| HIGH | data/core/macros/traits.cfg | 410 | # I've implemented this as a trait instead of an ability because our UI makes it hard to read names when units have | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scons/boost.py | 159 | filter.push(boost::iostreams::gzip_compressor(boost::iostreams::gzip_params())); | CODE |
| HIGH | scons/boost.py | 190 | filter.push(boost::iostreams::bzip2_compressor(boost::iostreams::bzip2_params())); | CODE |
| HIGH | data/tools/wesnoth/trackplacer3/tmxfileformat.py | 201 | return true | CODE |
| HIGH | data/tools/addon_manager/html.py | 64 | return function(a, b) { const [ c1, c2 ] = getCells(a, b, asc, idx); return c1.toString().localeCompare( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/gdb/register_wesnoth_pretty_printers.py | 31 | def create_wesnoth_lookup_function(pretty_printers_dict): | CODE |
| LOW | data/tools/unit_tree/html_output.py | 201 | def resistance_rating_color_class(resistance): | STRING |
| LOW | data/tools/unit_tree/html_output.py | 212 | def defense_rating_color_class(defense): | STRING |
| LOW | data/tools/unit_tree/html_output.py | 223 | def mvtcost_rating_color_class(str_mvtcost, str_moves): | STRING |
| LOW | data/tools/unit_tree/html_output.py | 1470 | def generate_single_unit_reports(addon, isocode, wesnoth): | STRING |
| LOW | data/tools/wesnoth/wmlparser3.py | 434 | def parse_line_without_commands_loop(self, line: str) -> str: | STRING |
| LOW | data/tools/wesnoth/wmlparser3.py | 502 | def parse_line_without_commands(self, line): | STRING |
| LOW | data/tools/wesnoth/libgithub.py | 521 | def _github_have_authorization(self): | CODE |
| LOW | data/tools/wesnoth/wmlparser.py | 118 | def set_macro_not_found_callback(self, callback): | CODE |
| LOW | data/tools/wesnoth/wmlparser.py | 255 | def skip_whitespace_and_newlines(self): | CODE |
| LOW | data/tools/wesnoth/wmlparser.py | 321 | def skip_whitespace_inside_statement(self): | CODE |
| LOW | data/tools/wesnoth/wmldata.py | 427 | def get_or_create_sub_with_attributes(self, name, **kw): | CODE |
| LOW | data/tools/pywmlx/postring.py | 40 | def update_with_commented_string(self, commented_string): | CODE |
| LOW | data/tools/pywmlx/postring.py | 188 | def nodesentence_to_posentence(self, nodesentence): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | utils/optiwebp.py | 190 | print("Error writing summary output files!") | CODE |
| MEDIUM | data/tools/expand-terrain-macros.py | 90 | print("Error in line:\n" + line) | CODE |
| MEDIUM | data/tools/unit_tree/team_colorizer.py | 206 | print("Error: Conversion command exited with error "\ | CODE |
| LOW | data/tools/wesnoth/wmliterator3.py | 138 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …droid/app/src/main/java/org/libsdl/app/SDLSurface.java | 262 | // We need to check if we're in relative mouse mode and get the axis offset rather than the x/y values | COMMENT |
| LOW | src/menu_events.cpp | 434 | // we need to check if unit has a specific recall cost | COMMENT |
| LOW | src/mouse_handler_base.cpp | 93 | // thus, we need to check if the LMB/MMB is still down | COMMENT |
| LOW | src/units/animation.cpp | 1265 | // so we need to check if this particular frame is due to be shown at this time | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/sdl/utils.hpp | 49 | // TODO: implement proper transparent blending using the above formula | COMMENT |
| LOW | src/formula/variant_value.hpp | 322 | return true; // TODO: implement | CODE |
| LOW | src/gui/dialogs/end_credits.cpp | 88 | // TODO: implement showing all available images as the credits scroll | COMMENT |
| LOW | src/gui/widgets/tree_view_node.hpp | 156 | // TODO: implement if different expand modes become necessary | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | data/tools/pywmlx/state/wml_states.py | 83 | # WARNING: This also means that it is impossible to capture any wmlinfo which | COMMENT |
| LOW | …s/Under_the_Burning_Suns/units/monsters/Alien_Body.cfg | 68 | # NOTE: The following attack filter deliberately matches both ranged and melee. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | data/tools/wesnoth/campaignserver_client.py | 293 | CODE | |
| LOW | data/tools/wesnoth/wmltools3.py | 588 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/gdb/wesnoth_gdb.py | 4 | # Usage: | STRING |