archive audit attempts

This commit is contained in:
master
2026-02-19 22:00:31 +02:00
parent c2f13fe588
commit b5829dce5c
19638 changed files with 6366 additions and 7 deletions

View File

@@ -0,0 +1,80 @@
# Audit - StellaOps.Integrations.Plugin.Tests
## Project
- Path: ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/StellaOps.Integrations.Plugin.Tests.csproj
- Module: ..
- Kind: Library
- Audit date (UTC): 2026-01-30
- Files scanned: 7
- Files with issues: 7
- File-level report: docs/implplan/audits/csproj-standards/file-audit.csv
## Coding Standards Findings
- Status: FAIL
- Nullable: enable
- TreatWarningsAsErrors: explicit true
- Deterministic: inherited true
- 100-line rule violations: 1
- Namespace violations: 7
- Using directive violations: 0
- Naming violations (interfaces/fields/const/async): 0
- Service locator usage (BuildServiceProvider/GetService): 0
- Assembly.LoadFrom usage: 0
### Details
- 100-line files:
- ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/InMemoryConnectorPluginTests.cs (137 lines)
- Namespace issues:
- ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/InMemoryConnectorPluginTests.cs: missing namespace
- ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/obj/Debug/net10.0/SelfRegisteredExtensions.cs: missing namespace
- ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/obj/Debug/net10.0/StellaOps.Integrations.Plugin.Tests.AssemblyInfo.cs: missing namespace
- ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/obj/Debug/net10.0/StellaOps.Integrations.Plugin.Tests.GlobalUsings.g.cs: missing namespace
- ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/obj/Debug/net10.0/XunitAutoGeneratedEntryPoint.cs: missing namespace
- ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/obj/Release/net10.0/StellaOps.Integrations.Plugin.Tests.GlobalUsings.g.cs: missing namespace
- Using directive issues:
- none
- Naming issues:
- none
- Async issues:
- none
- Service locator matches:
- none
- Assembly.LoadFrom matches:
- none
### Fix Guidance
- Normalize namespaces to file-scoped StellaOps.<Area>.
- Split files over 100 lines into smaller types or partials.
## File-Level Findings
- Status: FAIL
- Files scanned: 7
- Files with issues: 7
- See docs/implplan/audits/csproj-standards/file-audit.csv for full per-file status.
| File | Issues | Fix guidance |
| --- | --- | --- |
| ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/InMemoryConnectorPluginTests.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/obj/Debug/net10.0/SelfRegisteredExtensions.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/obj/Debug/net10.0/StellaOps.Integrations.Plugin.Tests.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/obj/Debug/net10.0/StellaOps.Integrations.Plugin.Tests.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/obj/Debug/net10.0/XunitAutoGeneratedEntryPoint.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Integrations/__Tests/StellaOps.Integrations.Plugin.Tests/obj/Release/net10.0/StellaOps.Integrations.Plugin.Tests.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
## Testing Fullness Findings
- Status: FAIL
- Expected layers (heuristic): Unit
- Detected test projects: none
- Missing layers: Unit
### Manual checks required
- Observability contract tests for WebService/Worker.
- Intent tags for regulatory modules (Policy, Authority, Signer, Attestor, EvidenceLocker).
- Offline execution (tests must run without network access).
- Coverage matrix alignment (docs/technical/testing/TEST_COVERAGE_MATRIX.md).
### Fix Guidance
- Add or expand test projects to cover missing layers.
- Ensure tests use deterministic fixtures and offline harnesses.

View File

@@ -0,0 +1,86 @@
# Audit - StellaOps.Integrations.Tests
## Project
- Path: ../src/Integrations/__Tests/StellaOps.Integrations.Tests/StellaOps.Integrations.Tests.csproj
- Module: ..
- Kind: Library
- Audit date (UTC): 2026-01-30
- Files scanned: 9
- Files with issues: 9
- File-level report: docs/implplan/audits/csproj-standards/file-audit.csv
## Coding Standards Findings
- Status: FAIL
- Nullable: enable
- TreatWarningsAsErrors: inherited false
- Deterministic: inherited true
- 100-line rule violations: 2
- Namespace violations: 9
- Using directive violations: 0
- Naming violations (interfaces/fields/const/async): 0
- Service locator usage (BuildServiceProvider/GetService): 0
- Assembly.LoadFrom usage: 0
### Details
- 100-line files:
- ../src/Integrations/__Tests/StellaOps.Integrations.Tests/IntegrationServiceTests.cs (348 lines)
- ../src/Integrations/__Tests/StellaOps.Integrations.Tests/CodeScanning/GitHubCodeScanningClientTests.cs (472 lines)
- Namespace issues:
- ../src/Integrations/__Tests/StellaOps.Integrations.Tests/IntegrationPluginLoaderTests.cs: missing namespace
- ../src/Integrations/__Tests/StellaOps.Integrations.Tests/IntegrationServiceTests.cs: missing namespace
- ../src/Integrations/__Tests/StellaOps.Integrations.Tests/CodeScanning/GitHubCodeScanningClientTests.cs: missing namespace
- ../src/Integrations/__Tests/StellaOps.Integrations.Tests/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs: missing namespace
- ../src/Integrations/__Tests/StellaOps.Integrations.Tests/obj/Debug/net10.0/SelfRegisteredExtensions.cs: missing namespace
- ../src/Integrations/__Tests/StellaOps.Integrations.Tests/obj/Debug/net10.0/StellaOps.Integrations.Tests.AssemblyInfo.cs: missing namespace
- ../src/Integrations/__Tests/StellaOps.Integrations.Tests/obj/Debug/net10.0/StellaOps.Integrations.Tests.GlobalUsings.g.cs: missing namespace
- ../src/Integrations/__Tests/StellaOps.Integrations.Tests/obj/Debug/net10.0/XunitAutoGeneratedEntryPoint.cs: missing namespace
- ../src/Integrations/__Tests/StellaOps.Integrations.Tests/obj/Release/net10.0/StellaOps.Integrations.Tests.GlobalUsings.g.cs: missing namespace
- Using directive issues:
- none
- Naming issues:
- none
- Async issues:
- none
- Service locator matches:
- none
- Assembly.LoadFrom matches:
- none
### Fix Guidance
- Normalize namespaces to file-scoped StellaOps.<Area>.
- Remove overrides that disable TreatWarningsAsErrors.
- Split files over 100 lines into smaller types or partials.
## File-Level Findings
- Status: FAIL
- Files scanned: 9
- Files with issues: 9
- See docs/implplan/audits/csproj-standards/file-audit.csv for full per-file status.
| File | Issues | Fix guidance |
| --- | --- | --- |
| ../src/Integrations/__Tests/StellaOps.Integrations.Tests/IntegrationPluginLoaderTests.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Integrations/__Tests/StellaOps.Integrations.Tests/IntegrationServiceTests.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Integrations/__Tests/StellaOps.Integrations.Tests/CodeScanning/GitHubCodeScanningClientTests.cs | FileLength>100; NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>;; Split file to stay <= 100 lines. |
| ../src/Integrations/__Tests/StellaOps.Integrations.Tests/obj/Debug/net10.0/.NETCoreApp,Version=v10.0.AssemblyAttributes.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Integrations/__Tests/StellaOps.Integrations.Tests/obj/Debug/net10.0/SelfRegisteredExtensions.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Integrations/__Tests/StellaOps.Integrations.Tests/obj/Debug/net10.0/StellaOps.Integrations.Tests.AssemblyInfo.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Integrations/__Tests/StellaOps.Integrations.Tests/obj/Debug/net10.0/StellaOps.Integrations.Tests.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Integrations/__Tests/StellaOps.Integrations.Tests/obj/Debug/net10.0/XunitAutoGeneratedEntryPoint.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
| ../src/Integrations/__Tests/StellaOps.Integrations.Tests/obj/Release/net10.0/StellaOps.Integrations.Tests.GlobalUsings.g.cs | NamespaceMissing | Add file-scoped namespace: namespace StellaOps.<Area>; |
## Testing Fullness Findings
- Status: FAIL
- Expected layers (heuristic): Unit
- Detected test projects: none
- Missing layers: Unit
### Manual checks required
- Observability contract tests for WebService/Worker.
- Intent tags for regulatory modules (Policy, Authority, Signer, Attestor, EvidenceLocker).
- Offline execution (tests must run without network access).
- Coverage matrix alignment (docs/technical/testing/TEST_COVERAGE_MATRIX.md).
### Fix Guidance
- Add or expand test projects to cover missing layers.
- Ensure tests use deterministic fixtures and offline harnesses.