Documentation Index
Fetch the complete documentation index at: https://docs.roboticks.io/llms.txt
Use this file to discover all available pages before exploring further.
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
| Type | BYO static-analysis connector |
| Tier | Team (3 BYO connectors included), Enterprise (bundled) |
| Price | $149 / connector / month above the Team allowance |
| LDRA license | You bring it. Roboticks ingests reports; we don’t run LDRA. |
What ingests
| Artifact | Source command | Lands in Roboticks as |
|---|---|---|
| MISRA C:2012 report | tbreport.exe --type=misra-c-2012 --format=xml | finding (rule violations, per-file) |
| MISRA C++:2008 report | tbreport.exe --type=misra-cpp-2008 --format=xml | finding |
| AUTOSAR C++14 report | tbreport.exe --type=autosar-cpp-14 --format=xml | finding |
| JSF AV C++ report | tbreport.exe --type=jsf-av --format=xml | finding |
| Coverage report (statement / branch / MC/DC) | tbreport.exe --type=coverage --format=xml | coverage (per-source-file) |
| Static metrics | tbreport.exe --type=metrics --format=xml | metric (advisory) |
Wire it in (v1 CLI push)
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).
Run LDRA in CI as usual
tbmisra/<run_id>/report.xml and tbvision/<run_id>/coverage.xml patterns.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
| LDRA classification | Roboticks severity |
|---|---|
| Mandatory | critical |
| Required | error |
| Advisory | warning |
| Disapplied | suppressed |
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.