Files
gplan-2/tools/gdstyle_baseline.txt
T

242 lines
19 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# gdstyle 存量基线(S13)——键每行一条;只记基线不记豁免理由。
# 键形态(稳定身份键,计数漂移不换键):函数级带数条目=文件|规则|函数名;类级/文件级带数条目
# (class variables/public methods/file length)=文件|规则;无数字条目=文件|规则|消息全文(裸键)。
# 带数条目行格式「键 = 数值」,数值=消息剥掉 (max N) 段后首个整数;无数字条目裸键。
# 判定=键不在基线红(NEW)、同键数值较登记值恶化红(WORSENED)、改小/持平不红。
# 重生成=人工专用:python tools/gdstyle_gate.py --refresh(禁清基线换绿;改规则口径/工具升级须随批
# 重生成;新键数较旧基线少逾 10% 须加 --force 显式确认)。
game/core/action_economy.gd|quality/max-class-variables = 18
game/core/adventure_runner.gd|quality/max-branches|_apply_curio_pick = 10
game/core/adventure_runner.gd|quality/max-branches|_draw_curio_candidates = 11
game/core/adventure_runner.gd|quality/max-branches|resume_adventure = 11
game/core/adventure_runner.gd|quality/max-class-variables = 42
game/core/adventure_runner.gd|quality/max-file-length = 1051
game/core/adventure_runner.gd|quality/max-function-length|_draw_curio_candidates = 85
game/core/adventure_runner.gd|quality/max-function-length|_start_current_level = 53
game/core/adventure_runner.gd|quality/max-function-length|resume_adventure = 108
game/core/adventure_runner.gd|quality/max-local-variables|_draw_curio_candidates = 26
game/core/adventure_runner.gd|quality/max-local-variables|resume_adventure = 13
game/core/adventure_runner.gd|quality/max-public-methods = 23
game/core/adventure_runner.gd|quality/max-returns|_apply_curio_pick = 9
game/core/battle_orchestrator.gd|quality/max-branches|begin_battle = 17
game/core/battle_orchestrator.gd|quality/max-branches|use_treasure = 18
game/core/battle_orchestrator.gd|quality/max-class-variables = 50
game/core/battle_orchestrator.gd|quality/max-file-length = 1302
game/core/battle_orchestrator.gd|quality/max-function-length|_place_variants = 52
game/core/battle_orchestrator.gd|quality/max-function-length|begin_battle = 141
game/core/battle_orchestrator.gd|quality/max-function-length|use_treasure = 62
game/core/battle_orchestrator.gd|quality/max-local-variables|_place_variants = 14
game/core/battle_orchestrator.gd|quality/max-local-variables|begin_battle = 16
game/core/battle_orchestrator.gd|quality/max-local-variables|use_treasure = 11
game/core/battle_orchestrator.gd|quality/max-nesting-depth|_place_variants = 6
game/core/battle_orchestrator.gd|quality/max-parameters|_apply_flat_row = 7
game/core/battle_orchestrator.gd|quality/max-parameters|_apply_gp_row = 6
game/core/battle_orchestrator.gd|quality/max-parameters|_apply_percent_row = 6
game/core/battle_orchestrator.gd|quality/max-parameters|_dispatch_row = 6
game/core/battle_orchestrator.gd|quality/max-parameters|_emit_row = 8
game/core/battle_orchestrator.gd|quality/max-parameters|_grant_routed = 8
game/core/battle_orchestrator.gd|quality/max-parameters|_submit_flat_hero = 7
game/core/battle_orchestrator.gd|quality/max-returns|_apply_flat_row = 9
game/core/battle_orchestrator.gd|quality/max-returns|_fx_fact = 7
game/core/battle_orchestrator.gd|quality/max-returns|begin_battle = 7
game/core/battle_orchestrator.gd|quality/max-returns|use_treasure = 8
game/core/board_generator.gd|quality/max-branches|measure_inferability = 12
game/core/board_generator.gd|quality/max-function-length|_attempt = 51
game/core/board_generator.gd|quality/max-function-length|generate = 62
game/core/board_generator.gd|quality/max-function-length|measure_inferability = 64
game/core/board_generator.gd|quality/max-local-variables|generate = 14
game/core/board_generator.gd|quality/max-local-variables|measure_inferability = 13
game/core/board_generator.gd|quality/max-nesting-depth|measure_inferability = 5
game/core/board_generator.gd|quality/max-parameters|_finalize = 6
game/core/config_db.gd|quality/max-class-variables = 25
game/core/config_db.gd|quality/max-public-methods = 44
game/core/config_db_cross_validator.gd|quality/max-branches|cross_validate = 21
game/core/config_db_cross_validator.gd|quality/max-function-length|cross_validate = 107
game/core/config_db_cross_validator.gd|quality/max-local-variables|cross_validate = 24
game/core/config_db_cross_validator.gd|quality/max-local-variables|validate_skill_pool_links = 11
game/core/config_db_cross_validator.gd|quality/max-nesting-depth|cross_validate = 5
game/core/config_db_resolver.gd|quality/max-branches|_resolve_progress = 16
game/core/config_db_resolver.gd|quality/max-branches|resolve_enemy_rowset = 12
game/core/config_db_resolver.gd|quality/max-function-length|_resolve_progress = 52
game/core/config_db_resolver.gd|quality/max-local-variables|_resolve_progress = 11
game/core/damage_controller.gd|quality/max-branches|_hero_attack_ctx = 9
game/core/damage_controller.gd|quality/max-branches|_hero_attack_redeem = 10
game/core/damage_controller.gd|quality/max-class-variables = 19
game/core/damage_controller.gd|quality/max-function-length|_hero_attack_ctx = 61
game/core/damage_controller.gd|quality/max-function-length|_hero_attack_redeem = 54
game/core/damage_controller.gd|quality/max-local-variables|_hero_attack_ctx = 16
game/core/damage_controller.gd|quality/max-local-variables|_hero_attack_redeem = 12
game/core/damage_controller.gd|quality/max-local-variables|_resolve_enemy_skill = 13
game/core/damage_controller.gd|quality/max-parameters|open_ticket = 12
game/core/effect_engine.gd|quality/max-branches|validate_trigger_row = 14
game/core/effect_engine.gd|quality/max-function-length|_cond_ok = 52
game/core/effect_engine.gd|quality/max-function-length|rebuild = 55
game/core/effect_engine.gd|quality/max-local-variables|validate_trigger_row = 11
game/core/effect_engine.gd|quality/max-nesting-depth|_cond_ok = 5
game/core/effect_engine.gd|quality/max-nesting-depth|rebuild = 5
game/core/effect_engine.gd|quality/max-returns|_cond_ok = 19
game/core/effect_engine.gd|quality/no-else-return|unnecessary 'elif' after 'return'
game/core/level_runner.gd|quality/max-class-variables = 38
game/core/level_runner.gd|quality/max-parameters|start_level_external = 7
game/core/level_runner.gd|quality/max-public-methods = 54
game/core/level_runner.gd|quality/max-returns|_enter_node = 7
game/core/meta_progression.gd|quality/max-public-methods = 31
game/core/meta_progression.gd|quality/max-returns|tree_can_buy = 8
game/core/minesweeper_rules.gd|quality/max-function-length|_do_dig = 53
game/core/node_map_generator.gd|quality/max-branches|_assign_types = 11
game/core/node_map_generator.gd|quality/max-branches|check_params = 12
game/core/node_map_generator.gd|quality/max-branches|validate_output = 34
game/core/node_map_generator.gd|quality/max-function-length|validate_output = 132
game/core/node_map_generator.gd|quality/max-local-variables|_add_forks = 12
game/core/node_map_generator.gd|quality/max-local-variables|_build = 15
game/core/node_map_generator.gd|quality/max-local-variables|validate_output = 22
game/core/node_map_generator.gd|quality/max-nesting-depth|_check_fork_rules = 5
game/core/node_map_generator.gd|quality/max-returns|validate_output = 7
game/core/reward_economy.gd|quality/max-function-length|roll_board = 54
game/core/reward_economy.gd|quality/max-local-variables|_skewed_cell_rows = 13
game/core/reward_economy.gd|quality/max-local-variables|roll_board = 11
game/core/save_manager.gd|quality/max-public-methods = 52
game/core/save_manager.gd|quality/max-returns|_peek_summary_at = 7
game/core/save_manager.gd|quality/max-returns|load_from_disk = 8
game/core/settlement/combat_segment.gd|quality/max-function-length|run = 83
game/core/settlement/combat_segment.gd|quality/max-local-variables|run = 13
game/core/settlement/grant_segment.gd|quality/max-branches|_judge_seal = 14
game/core/settlement/grant_segment.gd|quality/max-branches|run = 33
game/core/settlement/grant_segment.gd|quality/max-function-length|_judge_seal = 84
game/core/settlement/grant_segment.gd|quality/max-function-length|run = 211
game/core/settlement/grant_segment.gd|quality/max-local-variables|_judge_seal = 11
game/core/settlement/grant_segment.gd|quality/max-local-variables|run = 36
game/core/settlement/grant_segment.gd|quality/max-nesting-depth|_judge_seal = 6
game/core/settlement/grant_segment.gd|quality/max-nesting-depth|run = 6
game/core/status_container.gd|quality/max-nesting-depth|apply_effect = 5
game/core/status_container.gd|quality/max-parameters|_new_instance = 7
game/core/status_container.gd|quality/max-returns|apply_effect = 9
game/core/treasure_items.gd|quality/max-branches|validate_use = 11
game/core/treasure_items.gd|quality/max-nesting-depth|validate_use = 5
game/core/unit_container.gd|quality/max-function-length|spawn = 81
game/core/unit_container.gd|quality/max-local-variables|spawn = 17
game/core/unit_container.gd|quality/max-parameters|spawn = 10
game/data/schemas/adventure_table.gd|quality/max-class-variables = 44
game/data/schemas/board_gen_table.gd|quality/max-branches|validate = 20
game/data/schemas/board_gen_table.gd|quality/max-function-length|validate = 67
game/data/schemas/board_gen_table.gd|quality/max-local-variables|validate = 16
game/data/schemas/enemy_table.gd|quality/max-branches|validate = 32
game/data/schemas/enemy_table.gd|quality/max-function-length|validate = 116
game/data/schemas/enemy_table.gd|quality/max-local-variables|validate = 29
game/data/schemas/forge_table.gd|quality/max-branches|validate = 30
game/data/schemas/forge_table.gd|quality/max-function-length|validate = 95
game/data/schemas/forge_table.gd|quality/max-local-variables|validate = 20
game/data/schemas/level_gen_params.gd|quality/max-branches|validate = 15
game/data/schemas/level_gen_params.gd|quality/max-function-length|validate = 59
game/data/schemas/level_gen_params.gd|quality/max-local-variables|validate = 18
game/data/schemas/meta_table.gd|quality/max-branches|validate = 14
game/data/schemas/meta_table.gd|quality/max-function-length|validate = 60
game/data/schemas/meta_table.gd|quality/max-local-variables|validate = 14
game/data/schemas/meta_tree_table.gd|quality/max-branches|validate = 26
game/data/schemas/meta_tree_table.gd|quality/max-function-length|validate = 86
game/data/schemas/meta_tree_table.gd|quality/max-local-variables|validate = 13
game/data/schemas/meta_tree_table.gd|quality/max-nesting-depth|validate = 5
game/data/schemas/reward_table.gd|quality/max-branches|validate = 30
game/data/schemas/reward_table.gd|quality/max-function-length|validate = 99
game/data/schemas/reward_table.gd|quality/max-local-variables|validate = 20
game/data/schemas/settlement_table.gd|quality/max-branches|validate = 16
game/data/schemas/settlement_table.gd|quality/max-class-variables = 18
game/data/schemas/shop_table.gd|quality/max-branches|validate = 22
game/data/schemas/shop_table.gd|quality/max-function-length|validate = 84
game/data/schemas/shop_table.gd|quality/max-local-variables|validate = 20
game/data/schemas/skill_table.gd|quality/max-branches|validate = 29
game/data/schemas/skill_table.gd|quality/max-function-length|validate = 80
game/data/schemas/status_effect_table.gd|quality/max-branches|validate = 12
game/data/schemas/treasure_item_table.gd|quality/max-branches|validate = 44
game/data/schemas/treasure_item_table.gd|quality/max-function-length|validate = 147
game/data/schemas/treasure_item_table.gd|quality/max-local-variables|validate = 26
game/data/schemas/treasure_item_table.gd|quality/max-nesting-depth|validate = 6
game/data/schemas/variation_table.gd|quality/max-branches|validate = 20
game/data/schemas/variation_table.gd|quality/max-function-length|validate = 58
game/presentation/battle_narrator.gd|quality/max-returns|bonus_card_text = 9
game/presentation/camp_flow_context.gd|quality/max-parameters|_init = 12
game/presentation/curio_flow_context.gd|quality/max-class-variables = 16
game/presentation/curio_flow_context.gd|quality/max-parameters|_init = 16
game/presentation/curio_interact_controller.gd|quality/max-class-variables = 18
game/presentation/hud_presenter.gd|quality/max-parameters|_refresh_out_of_battle = 6
game/presentation/hud_presenter.gd|quality/max-parameters|refresh = 8
game/presentation/hud_presenter.gd|quality/max-parameters|tune_sim_report = 10
game/presentation/main.gd|quality/max-class-variables = 49
game/presentation/main.gd|quality/max-file-length = 1507
game/presentation/main.gd|quality/max-function-length|_build_ui = 189
game/presentation/playtest_logger.gd|quality/no-debug-print|debug 'print()' call found
game/presentation/treasure_interact_controller.gd|quality/max-local-variables|inventory_projection = 11
game/presentation/treasure_interact_controller.gd|quality/max-parameters|_init = 7
game/presentation/tune_sim_controller.gd|quality/await-in-loop|'await' used inside a loop
game/presentation/tune_sim_controller.gd|quality/max-local-variables|run = 11
game/presentation/tune_sim_controller.gd|quality/no-debug-print|debug 'print()' call found
game/presentation/ui_assembler.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
game/presentation/ui_assembler.gd|quality/max-function-length|build_start_overlay = 83
game/presentation/ui_assembler.gd|quality/max-local-variables|build_start_overlay = 16
game/presentation/views/ap_bar_view.gd|quality/max-function-length|_init = 69
game/presentation/views/battle_end_overlay.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
game/presentation/views/battle_end_overlay.gd|quality/max-class-variables = 20
game/presentation/views/battle_end_overlay.gd|quality/max-function-length|_init = 81
game/presentation/views/battle_end_overlay.gd|quality/max-parameters|open_victory = 8
game/presentation/views/battle_log_view.gd|quality/max-branches|_format_row = 9
game/presentation/views/battle_log_view.gd|quality/max-function-length|_format_row = 68
game/presentation/views/battle_log_view.gd|quality/max-local-variables|_format_row = 21
game/presentation/views/battle_log_view.gd|quality/max-returns|_format_row = 13
game/presentation/views/battle_stage_view.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
game/presentation/views/battle_stage_view.gd|quality/max-function-length|_init = 97
game/presentation/views/battle_stage_view.gd|quality/max-returns|_enemy_portrait_tex = 9
game/presentation/views/board_cell_unit.gd|quality/max-branches|_draw = 29
game/presentation/views/board_cell_unit.gd|quality/max-class-variables = 31
game/presentation/views/board_cell_unit.gd|quality/max-function-length|_draw = 147
game/presentation/views/board_cell_unit.gd|quality/max-local-variables|_draw = 19
game/presentation/views/board_fx_view.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
game/presentation/views/board_view.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
game/presentation/views/board_view.gd|quality/max-branches|_paint_cell = 24
game/presentation/views/board_view.gd|quality/max-branches|_wall_tile_for = 14
game/presentation/views/board_view.gd|quality/max-class-variables = 45
game/presentation/views/board_view.gd|quality/max-file-length = 1220
game/presentation/views/board_view.gd|quality/max-function-length|_paint_cell = 139
game/presentation/views/board_view.gd|quality/max-local-variables|_digit_ink_mode = 12
game/presentation/views/board_view.gd|quality/max-local-variables|_paint_cell = 22
game/presentation/views/board_view.gd|quality/max-public-methods = 27
game/presentation/views/board_view.gd|quality/max-returns|_wall_center_tile = 7
game/presentation/views/board_view.gd|quality/max-returns|_wall_tile_for = 15
game/presentation/views/board_zone_view.gd|quality/max-function-length|_init = 59
game/presentation/views/camp_overlay_view.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
game/presentation/views/camp_overlay_view.gd|quality/max-class-variables = 19
game/presentation/views/camp_overlay_view.gd|quality/max-function-length|_init = 149
game/presentation/views/camp_overlay_view.gd|quality/max-function-length|_rebuild_forge = 72
game/presentation/views/camp_overlay_view.gd|quality/max-function-length|_rebuild_tree = 61
game/presentation/views/camp_overlay_view.gd|quality/max-function-length|refresh_camp = 61
game/presentation/views/camp_overlay_view.gd|quality/max-local-variables|_init = 28
game/presentation/views/camp_overlay_view.gd|quality/max-local-variables|_rebuild_forge = 20
game/presentation/views/camp_overlay_view.gd|quality/max-local-variables|_rebuild_tree = 21
game/presentation/views/camp_overlay_view.gd|quality/max-local-variables|refresh_camp = 17
game/presentation/views/curio_pick_overlay.gd|quality/max-function-length|_init = 52
game/presentation/views/curio_pick_overlay.gd|quality/max-returns|_icon_for_id = 7
game/presentation/views/debug_overlay.gd|quality/max-class-variables = 17
game/presentation/views/debug_overlay.gd|quality/max-function-length|_build = 124
game/presentation/views/debug_overlay.gd|quality/max-local-variables|_build = 22
game/presentation/views/hero_info_panel_view.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
game/presentation/views/hero_info_panel_view.gd|quality/max-function-length|_init = 74
game/presentation/views/hero_info_panel_view.gd|quality/max-function-length|set_treasure_inventory = 57
game/presentation/views/hero_info_panel_view.gd|quality/max-local-variables|set_treasure_inventory = 13
game/presentation/views/legend_overlay.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
game/presentation/views/level_map_screen.gd|quality/max-branches|_draw_graph = 9
game/presentation/views/level_map_screen.gd|quality/max-class-variables = 21
game/presentation/views/level_map_screen.gd|quality/max-function-length|_draw_graph = 78
game/presentation/views/level_map_screen.gd|quality/max-function-length|_init = 135
game/presentation/views/level_map_screen.gd|quality/max-local-variables|_draw_graph = 27
game/presentation/views/level_map_screen.gd|quality/max-local-variables|_init = 21
game/presentation/views/settings_overlay.gd|quality/max-function-length|_build = 77
game/presentation/views/settings_overlay.gd|quality/max-local-variables|_build = 13
game/presentation/views/standee_body.gd|quality/allocation-in-loop|object allocation '.new()' inside a loop
game/presentation/views/standee_body.gd|quality/max-class-variables = 29
game/presentation/views/standee_body.gd|quality/max-function-length|_draw = 84
game/presentation/views/standee_body.gd|quality/max-local-variables|_draw = 26
game/presentation/views/ui_kit.gd|quality/max-local-variables|beams_rect = 13
game/presentation/views/ui_kit.gd|quality/max-parameters|_init = 6
game/presentation/views/ui_kit.gd|quality/max-parameters|bcard = 6
game/presentation/views/ui_kit.gd|quality/max-parameters|modal_shell = 6
game/presentation/views/ui_kit.gd|quality/max-public-methods = 26