Removed abandoned commented-out prototype code flagged by SonarQube S125, after evaluating each block individually (not a blanket sweep):
Removed (no live references, no re-enable rationale):
Asset.cs — commented Type/SubType/Approvals properties + dead AssetType/SubType enum definitions (the live AssetType is the ArtStudio one).
ToolsController.cs — two commented var ip = ... alternatives and the fully commented-out GetIPV4Trace action (unreferenced).
HexatileGameManager.cs — commented DetermineRoomType(), a duplicate RoomType enum (live one lives in HexagonData.cs), GetSixRandomHeros(), a stray var noise = new PerlinNoise line, and the entire commented PerlinNoise class. Live LandType/GameStage enums retained.
Deliberately NOT removed (accepted in SonarQube as documented/intentional, not dead residue): CustomersController migration-complete record, SpaceZone/BaseZone disabled-test notes, NotificationsHub optional-authz placeholder.
Follow-up (needs approval): two files are entirely commented-out and unreferenced and should be deleted outright — SpikerSoft.Api/Domain/Mail/MailController.cs (48 lines, all comment) and SpikerSoft.Common/Models/Approval.cs. Automated file deletion was withheld pending a maintainer OK; their S125 findings remain open until then.
Removed abandoned commented-out prototype code flagged by SonarQube S125, after evaluating each block individually (not a blanket sweep):
**Removed (no live references, no re-enable rationale):**
- `Asset.cs` — commented Type/SubType/Approvals properties + dead `AssetType`/`SubType` enum definitions (the live `AssetType` is the ArtStudio one).
- `ToolsController.cs` — two commented `var ip = ...` alternatives and the fully commented-out `GetIPV4Trace` action (unreferenced).
- `HexatileGameManager.cs` — commented `DetermineRoomType()`, a duplicate `RoomType` enum (live one lives in `HexagonData.cs`), `GetSixRandomHeros()`, a stray `var noise = new PerlinNoise` line, and the entire commented `PerlinNoise` class. Live `LandType`/`GameStage` enums retained.
Comment-only deletions → zero runtime impact. `dotnet build SpikerSoft.UnitTests.slnf` clean (0 errors).
**Deliberately NOT removed** (accepted in SonarQube as documented/intentional, not dead residue): `CustomersController` migration-complete record, `SpaceZone`/`BaseZone` disabled-test notes, `NotificationsHub` optional-authz placeholder.
**Follow-up (needs approval):** two files are entirely commented-out and unreferenced and should be deleted outright — `SpikerSoft.Api/Domain/Mail/MailController.cs` (48 lines, all comment) and `SpikerSoft.Common/Models/Approval.cs`. Automated file deletion was withheld pending a maintainer OK; their S125 findings remain open until then.
Resolved in spikersoft-backend PR #366 (merged to master). Removed abandoned commented-out prototype code (S125) from Asset.cs, ToolsController.cs, HexatileGameManager.cs; comment-only deletions, zero runtime impact. Two fully-dead files (MailController.cs, Approval.cs) noted as delete-outright follow-ups. All build/test contexts green; merged past the non-blocking notify job. Closing.
Resolved in spikersoft-backend PR #366 (merged to `master`). Removed abandoned commented-out prototype code (S125) from Asset.cs, ToolsController.cs, HexatileGameManager.cs; comment-only deletions, zero runtime impact. Two fully-dead files (MailController.cs, Approval.cs) noted as delete-outright follow-ups. All build/test contexts green; merged past the non-blocking notify job. Closing.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Removed abandoned commented-out prototype code flagged by SonarQube S125, after evaluating each block individually (not a blanket sweep):
Removed (no live references, no re-enable rationale):
Asset.cs— commented Type/SubType/Approvals properties + deadAssetType/SubTypeenum definitions (the liveAssetTypeis the ArtStudio one).ToolsController.cs— two commentedvar ip = ...alternatives and the fully commented-outGetIPV4Traceaction (unreferenced).HexatileGameManager.cs— commentedDetermineRoomType(), a duplicateRoomTypeenum (live one lives inHexagonData.cs),GetSixRandomHeros(), a strayvar noise = new PerlinNoiseline, and the entire commentedPerlinNoiseclass. LiveLandType/GameStageenums retained.Comment-only deletions → zero runtime impact.
dotnet build SpikerSoft.UnitTests.slnfclean (0 errors).Deliberately NOT removed (accepted in SonarQube as documented/intentional, not dead residue):
CustomersControllermigration-complete record,SpaceZone/BaseZonedisabled-test notes,NotificationsHuboptional-authz placeholder.Follow-up (needs approval): two files are entirely commented-out and unreferenced and should be deleted outright —
SpikerSoft.Api/Domain/Mail/MailController.cs(48 lines, all comment) andSpikerSoft.Common/Models/Approval.cs. Automated file deletion was withheld pending a maintainer OK; their S125 findings remain open until then.Resolved in spikersoft-backend PR #366 (merged to
master). Removed abandoned commented-out prototype code (S125) from Asset.cs, ToolsController.cs, HexatileGameManager.cs; comment-only deletions, zero runtime impact. Two fully-dead files (MailController.cs, Approval.cs) noted as delete-outright follow-ups. All build/test contexts green; merged past the non-blocking notify job. Closing.