coverage:
  status:
    project:
      default:
        target: auto
        threshold: 1%
    patch:
      default:
        target: 80%
comment:
  layout: "condensed_header, condensed_files, condensed_footer"
  behavior: default
  require_changes: false
ignore:
  - "dokka/**"
  # Listener classes are tightly coupled to the Paper/Minecraft runtime and exercised via
  # end-to-end/server tests, so we exclude them from unit-test coverage metrics.
  - "platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/listener/**"
  # BuildInfo loads build-time resources at class init and is verified via integration tests.
  - "platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/BuildInfo.kt"
  # VelocityStatusCommand is tightly coupled to VelocityConnectionManager and has no unit-test
  # infrastructure; it is exercised via end-to-end multi-server tests.
  - "platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/command/impl/lcv/VelocityStatusCommand.kt"
  # VelocityConnectionManager is tightly coupled to the Paper/Bukkit runtime (Plugin, Player,
  # PluginMessageListener) and is exercised via end-to-end multi-server tests.
  - "platform-paper/src/main/kotlin/dev/m1sk9/lunaticChat/paper/velocity/VelocityConnectionManager.kt"
  # The Velocity platform has no unit-test infrastructure; it is exercised via end-to-end
  # multi-server tests (docker compose).
  - "platform-velocity/src/main/kotlin/**"
