Files
git.stella-ops.org/tests/reachability/fixtures/callgraph-schema-v1/all-visibility-levels.json
master 5a480a3c2a
Some checks failed
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Export Center CI / export-ci (push) Has been cancelled
Findings Ledger CI / build-test (push) Has been cancelled
Findings Ledger CI / migration-validation (push) Has been cancelled
Findings Ledger CI / generate-manifest (push) Has been cancelled
Lighthouse CI / Lighthouse Audit (push) Has been cancelled
Lighthouse CI / Axe Accessibility Audit (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Reachability Corpus Validation / validate-corpus (push) Has been cancelled
Reachability Corpus Validation / validate-ground-truths (push) Has been cancelled
Scanner Analyzers / Discover Analyzers (push) Has been cancelled
Scanner Analyzers / Validate Test Fixtures (push) Has been cancelled
Signals CI & Image / signals-ci (push) Has been cancelled
Signals Reachability Scoring & Events / reachability-smoke (push) Has been cancelled
Reachability Corpus Validation / determinism-check (push) Has been cancelled
Scanner Analyzers / Build Analyzers (push) Has been cancelled
Scanner Analyzers / Test Language Analyzers (push) Has been cancelled
Scanner Analyzers / Verify Deterministic Output (push) Has been cancelled
Signals Reachability Scoring & Events / sign-and-upload (push) Has been cancelled
Add call graph fixtures for various languages and scenarios
- Introduced `all-edge-reasons.json` to test edge resolution reasons in .NET.
- Added `all-visibility-levels.json` to validate method visibility levels in .NET.
- Created `dotnet-aspnetcore-minimal.json` for a minimal ASP.NET Core application.
- Included `go-gin-api.json` for a Go Gin API application structure.
- Added `java-spring-boot.json` for the Spring PetClinic application in Java.
- Introduced `legacy-no-schema.json` for legacy application structure without schema.
- Created `node-express-api.json` for an Express.js API application structure.
2025-12-16 10:44:24 +02:00

120 lines
2.8 KiB
JSON

{
"schema": "stella.callgraph.v1",
"scanKey": "scan:visibility-test:1.0.0",
"language": "DotNet",
"artifacts": [
{
"artifactKey": "VisibilityTest.dll",
"kind": "assembly",
"sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
}
],
"nodes": [
{
"id": "v001",
"name": "PublicMethod",
"kind": "method",
"namespace": "VisibilityTest",
"symbolKey": "VisibilityTest::PublicMethod()",
"visibility": "Public",
"isEntrypointCandidate": true
},
{
"id": "v002",
"name": "InternalMethod",
"kind": "method",
"namespace": "VisibilityTest.Internal",
"symbolKey": "VisibilityTest.Internal::InternalMethod()",
"visibility": "Internal",
"isEntrypointCandidate": false
},
{
"id": "v003",
"name": "ProtectedMethod",
"kind": "method",
"namespace": "VisibilityTest",
"symbolKey": "VisibilityTest.BaseClass::ProtectedMethod()",
"visibility": "Protected",
"isEntrypointCandidate": false
},
{
"id": "v004",
"name": "PrivateMethod",
"kind": "method",
"namespace": "VisibilityTest",
"symbolKey": "VisibilityTest.SomeClass::PrivateMethod()",
"visibility": "Private",
"isEntrypointCandidate": false
},
{
"id": "v005",
"name": "UnknownMethod",
"kind": "method",
"namespace": "External",
"symbolKey": "External::UnknownMethod()",
"visibility": "Unknown",
"isEntrypointCandidate": false
}
],
"edges": [
{
"sourceId": "v001",
"targetId": "v002",
"type": "call",
"kind": "Static",
"reason": "DirectCall",
"weight": 1.0,
"isResolved": true
},
{
"sourceId": "v002",
"targetId": "v003",
"type": "call",
"kind": "Static",
"reason": "DirectCall",
"weight": 1.0,
"isResolved": true
},
{
"sourceId": "v003",
"targetId": "v004",
"type": "call",
"kind": "Static",
"reason": "DirectCall",
"weight": 1.0,
"isResolved": true
},
{
"sourceId": "v004",
"targetId": "v005",
"type": "external",
"kind": "Static",
"reason": "DirectCall",
"weight": 1.0,
"isResolved": false
}
],
"entrypoints": [
{
"nodeId": "v001",
"kind": "Http",
"route": "/api/visibility",
"httpMethod": "GET",
"framework": "AspNetCore",
"source": "attribute",
"phase": "Runtime",
"order": 0
}
],
"metadata": {
"toolId": "stellaops.scanner.test",
"toolVersion": "1.0.0",
"analysisTimestamp": "2025-01-15T15:00:00Z"
},
"id": "cg-visibility-001",
"component": "VisibilityTest",
"version": "1.0.0",
"ingestedAt": "2025-01-15T15:00:00Z",
"graphHash": "sha256:visibility"
}