LDRA
LDRA Testbed is the long-standing static-analysis and coverage tool for safety-critical C/C++/Ada. Roboticks ingests LDRA’s reports — MISRA, AUTOSAR C++14, JSF AV, and coverage — and surfaces findings in the traceability matrix and evidence pack.v1 sync mode: CLI push only. LDRA has no live API — the BYO connector adapter walks a local results folder of XML reports. Cloud sync is not technically possible for LDRA.Tool-qualification preservation: every LDRA-sourced evidence row is marked
qualified_artifact=true. AI triage skips these rows entirely, and evidence packs store the raw XML byte-exact alongside the canonical view so DO-178C / ISO 26262 auditors can verify integrity.Connector type and pricing
What ingests
All reports surface in the platform’s Findings view and embed in the per-release evidence pack.
Wire it in (v1 CLI push)
1
Subscribe in Roboticks
Settings → Integrations → Static analysis → LDRA → Subscribe. The wizard walks you through installing rbtk in your CI (LDRA is CLI-push only; no cloud sync step).
2
Run LDRA in CI as usual
tbmisra/<run_id>/report.xml and tbvision/<run_id>/coverage.xml patterns.3
Configure credentials
4
Push reports to Roboticks
qualified_artifact=true; AI triage skips them, evidence packs preserve them byte-exact.Requirement linkage: violation messages containing @confirms REQ-XXX patterns are auto-linked. For finer-grained mapping, use the file-path → requirement table in the Roboticks connector dashboard.CI recipe
self-hosted, ldra-licensed is a GitHub Actions runner label — only machines with an LDRA license accept the job. In Roboticks, mirror this with a runner pool label so corresponding test runs pick the same hosts:
Where findings appear
After upload:- Traceability matrix — findings tied to source files annotated with
@confirms("REQ-...")link to the matching requirement column. The cell shows a finding badge. - Requirement detail —
REQ-001view lists associated findings under Static analysis findings (LDRA). - Release evidence pack — per-release packs include an LDRA Findings appendix (PDF) and the raw LDRA XML reports in the ZIP.
- PR Check Run — a
Roboticks · LDRACheck Run shows a delta vs the prior PR (new findings, resolved findings).
Severity mapping
Configure per-project at Settings → Findings → Severity mapping.
Deviations
LDRA supports formal deviation records for justified rule violations. Roboticks ingests them from the LDRA--type=deviations report and surfaces them in the finding’s detail view. Deviations marked Approved in LDRA suppress the corresponding finding from gating logic; they remain visible.
Gating
You can fail a PR Check Run if new LDRA findings exceed a threshold:Troubleshooting
`Unsupported LDRA report format`
`Unsupported LDRA report format`
Roboticks targets the XML format from LDRA Testbed 9.7+. Older versions emit HTML — upgrade LDRA or post-process with
xsltproc.Findings don't link to a requirement
Findings don't link to a requirement
Findings link to requirements via the file/function being analysed, matched to test files annotated with
@confirms. If a file isn’t covered by any @confirms-annotated test, the finding shows up under Unlinked findings.LDRA host is offline / license check fails
LDRA host is offline / license check fails
LDRA licenses are typically host-locked. If
tbrun fails on license, no findings are produced — the CI job fails, and the previous run’s findings remain authoritative in Roboticks.Next
Polyspace
MathWorks Code Prover and Bug Finder.
OSS scanners
cppcheck and clang-tidy ship bundled.