🏠 ESL - Engineering Software Lab Parasoft C/C++test vs SWE-sweep · 488 real C/C++ bugs
Technical benchmark brief · 01

Static analysis vs autonomous agents on 488 real C/C++ bugs

Parasoft C/C++test (Flow Analysis + MISRA/CERT) over 14 complete buildable codebases, against SWE-sweep's best published agent result

ParasoftParasoft C/C++test · the tool under test
SWE-sweepSWE-sweep (Meta FAIR) · the agent benchmark
ESLESL · benchmark design and execution
Bugs analyzed
488 real defects

Across 14 C/C++ repositories, each scanned whole at its bug-era base ref

Parasoft flagged, on the bugs of its kind
55.6%

90 of the 162 mechanism bugs on the changed lines; 53.1% (259 of 488) across all bugs; 32.1% on the exact fixed line

Best agent resolved
~5.1%

About 25 of 488 bugs: the best published leaderboard results across these same repositories

Engineering Software Lab (eswlab.com) · 16 November 2026 · Tool: Parasoft C/C++test Standard 2026.1.3 (C repos) / 2025.2.0 (C++ repos), Linux x64. All data, scripts, and raw tool output public at github.com/zuwasi/swe-sweep-parasoft-benchmark
Context · 02

The MISRA Conference question: are the traditional methods still relevant?

Raised at MISRA Conference 2026, Manchester, UK, 10 November 2026: LLM agents now resolve GitHub issues end to end. Should avionics, automotive, and medical teams keep paying for static analysis, MISRA, coverage, and review?

MISRA
The traditional stack
  • Static analysis with coding-standard rule sets (MISRA C/C++, CERT)
  • Deep flow analysis for data-flow defects
  • Requirements-based testing, structural coverage up to MC/DC
  • Human review, deterministic and qualifiable tools (DO-330, ISO 26262 TCL)
The new challenger
  • Autonomous LLM agents: give them a repo, they find and fix bugs
  • No hints, no locations, no failing tests
  • Seductive promise: fewer tools, fewer engineers, one prompt
  • Open question: what do they actually catch, and can they be qualified?
Our answer shape

Stop arguing. Find the hardest published agent benchmark, run the same bugs through a commercial static analysis tool, and let the numbers speak.

SWE-sweep: Lieret et al., Meta FAIR with Harvard, Stanford, and Washington (the team includes SWE-bench authors), October 2026, ICLR submission, open-sourced harness, swesweep.com/paper. Every agent look costs fresh inference; a static analysis scan re-runs nightly for machine time
The benchmark · 03

SWE-sweep: agents must find the bugs themselves

A repository with dozens of confirmed real bugs, one instruction: fix as many as you can, no hints about location or nature

Construction
  • 100 serious open-source repos, mean 292k lines of code, mean 690 contributors
  • Real issue + PR pairs; every bug confirmed by the maintainers' own fix commit
  • 4,068 accepted bugs in the released dataset
  • Method descends from SWE-bench: issue-PR mining, SZZ bug dating, hidden fail-to-pass tests, each repo's buggiest commit as the start
Agent scoreboard · 18 models evaluated
9.5%

Live leader Astra 6 resolves 9.5% of all 4,068 bugs for $3,255 per full sweep; the paper's best (Sol 5.6 xhigh) resolved 4.7% for $7,230. On our 14 C/C++ repos, all leaderboard bests add up to 25 of 488 (5.1%)

Why it is hard

Discovery, understanding, and repair in one trajectory, inside repos of up to 1.9M lines. When SWE-sweep's authors gave line ranges as hints, scores roughly doubled or tripled.

Source: swesweep.com/paper, Table 4 and ablations. Dataset and harness open-sourced by the authors
Method · 04

What we did: complete buildable codebases, real flags, the deployed rule sets

14 C/C++ repositories from SWE-sweep, 488 accepted bugs, every file the build system compiles

oracle patch (one per bug, from SWE-sweep dataset)
   |  parses to: pre-fix file + git blob hash + changed lines
   v
materialize each repository at its bug-era base ref from git
   |  the exact source tree the maintainers were working on
   v
capture real compile flags from each project's own build system
   |  CMake compile_commands.json (11 repos), make -n (2), scons compiledb (godot)
   v
run cpptestcli over the complete buildable codebase, no bug hints
   |  gcc_13-64, 794 resumable chunks, 4 parallel runs, zero failed chunks
   |  C repos:  Flow Analysis Standard + MISRA C 2025 + CERT C           (685 rules)
   |  C++ repos: Flow Analysis Standard + MISRA C++ 2023 + CERT C++/C  (660 rules)
   v
map all 2,193,448 findings back to the 488 bugs
      found (region): any violation on any changed line
      strict: violation on a line the eventual fix removed or rewrote
Parasoft C/C++test Standard 2026.1.3 (C repos, MISRA C 2025) and 2025.2.0 (C++ repos, MISRA C++ 2023), cpptestcli, WSL2 Linux x64, gcc_13-64, 16 November 2026. Full pipeline public at github.com/zuwasi/swe-sweep-parasoft-benchmark
Results · 05

The scoreboard: 53.1% vs ~5.1% (part 1 of 2)

Parasoft flags 259 of 488 bugs on the changed lines; the best agent resolved about 25 of 488 on the same repositories

RepoLangBugsParasoft found (region)% region% strict lineSWE-sweep best agent
jerryscriptC151386.7%80.0%20.0%
libexpatC9777.8%33.3%44.4%
godotC++171376.5%41.2%0.0%
opencvC++473574.5%40.4%2.1%
cvc5C++382771.1%31.6%2.6%
duckdbC++1097568.8%32.1%2.8%
micropythonC221568.2%31.8%9.1%
projC++211361.9%33.3%9.5%
SWE-sweep percentages are each repository's best published agent result. Conditional on the 162 mechanism bugs, the region rate is 55.6% (slide 10).
Results · 06

The scoreboard (part 2 of 2): 259 of 488 flagged

Strictly counting findings on the exact line the maintainer's fix changed, Parasoft still found 28.9% of all bugs

RepoLangBugsParasoft found (region)% region% strict lineSWE-sweep best agent
tarantoolC402357.5%45.0%7.5%
php-srcC261350.0%26.9%3.8%
hdf5C14750.0%42.9%28.6%
z3C++11436.4%27.3%0.0%
arrowC++471123.4%8.5%2.1%
gdalC++7234.2%1.4%0.0%
Total488
best agents: 25
25953.1%28.9%~5.1%
Any rule, all 488 bugs
53.1%

259 of 488 bugs on the changed lines

On the 162 mechanism bugs
55.6%

90 of 162 at the changed region; 32.1% on the exact line

Exact fixed line only
28.9%

141 of 488 bugs

SWE-sweep best agent
~5.1%

about 25 of 488 bugs

gdal: large generated-code surface defeated preprocessing for many files. Sources: swesweep.com, results/ in the benchmark repository.
Results · 07

Same picture, drawn: the gap holds in all 14 repos

Percentage of bugs detected, per repository: Parasoft over each whole codebase vs SWE-sweep's best published agent

Parasoft found (region) %SWE-sweep best agent %
jerryscript86.720.0 libexpat77.844.4 godot76.50.0 opencv74.52.1 cvc571.12.6 duckdb68.82.8 micropython68.29.1 proj61.99.5 tarantool57.57.5 php-src50.03.8 hdf550.028.6 z336.40.0 arrow23.42.1 gdal4.20.0
Detection measured over each repository's complete buildable codebase, 2,193,448 findings; agent percentages from swesweep.com per-repository results. Parasoft C/C++test Standard (2026.1.3 C repos with MISRA C 2025, 2025.2.0 C++ repos with MISRA C++ 2023), Flow Analysis Standard + MISRA/CERT rule sets.
Full per-bug detail: github.com/zuwasi/swe-sweep-parasoft-benchmark, results/ and raw-reports/
Deep checks · 08

Flow Analysis alone caught 20 real defects, the classes that kill in safety-critical code

Deep interprocedural checks (BD-* rules), independent of any coding-standard convention

hdf5 · 6 of 7 found bugs

BD-PB-VOVR (unused value) catches all 6, several strictly on the fixed line: HDF5's type-conversion and attribute machinery

duckdb · 7

BD-PB-CHECKRET unchecked return values on 3 bugs; BD-PB-INTWRAP integer wraparound; BD-PB-VOVR unused value; BD-PB-VALRANGE container index out of range; BD-PB-CC always-same condition

jerryscript · 3

BD-PB-ERRNO errno misuse; BD-PB-CC always-same condition; BD-PB-VOVR unused value

Verified true positive

JerryScript's date-fmod bug: BD-PB-ERRNO fires on line 75, the exact fmod(time, ECMA_DATE_MS_PER_DAY) call the maintainers later rewrote to normalize negative results

Also caught

arrow: use before initialization (BD-PB-NOTINIT); cvc5: buffer overflow check (BD-PB-COOB); micropython: integer wraparound (BD-PB-INTWRAP); php-src: unused value (BD-PB-VOVR). The other 8 repos: zero deep catches, all matches from the rule sweep

20 of 488 bugs (4.1%) from Flow Analysis alone, close to the agents' 5.1%: the big gap lives in the MISRA/CERT rule sweep over the whole codebase
Anatomy · 09

What the rules saw on the buggy lines

Top rules flagging bug lines in the three most-analyzed repositories (bugs region / strict)

duckdb · 75 found
  • MISRA C++ 6.2.4-a integer promotion in comparison: 30 / 14
  • MISRA C++ 8.0.1-b side effects in assertions: 27 / 12
  • CERT MSC41-a unused return value: 23 / 12
  • MISRA C++ 9.5.1-a cast to void of a side-effect value: 21 / 4
  • MISRA C++ 0.1.2-a value never read: 12 / 8
  • MISRA C++ 8.2.2-b C-style casts: 11 / 3
opencv · 35 found
  • MISRA C++ 9.3.1-b dead code / unreachable: 18 / 6
  • MISRA C++ 8.0.1-b side effects in assertions: 16 / 9
  • MISRA C++ 7.11.2-a non-boolean expression as condition: 11 / 3
  • MISRA C++ 9.5.1-a cast to void of a side-effect value: 11 / 2
  • MISRA C++ 7.0.2-a expression result unused: 10 / 4
  • MISRA C++ 7.0.5-a expression result unused variant: 9 / 5
jerryscript · 13 found
  • CERT INT31-j integer conversion overflow: 8 / 8
  • MISRA C 2025 10.4-a compatible operands: 8 / 8
  • CERT INT31-i cross-category assignment: 7 / 2
  • MISRA C 2025 10.3-b enum to other type: 7 / 2
  • MISRA C 2025 14.4-a boolean condition: 5 / 3
  • CERT INT31-d integer conversion family: 5 / 3
51 of duckdb's 75 found bugs, 31 of opencv's 35, and all 13 of jerryscript's found bugs were flagged by more than one rule. Full rule tables per repo: results_full/ in the benchmark repository
Classification · 10

What static analysis could even see: only a third of the bugs are its kind of bug

All 488 bugs classified by defect mechanism, judged from the lines the maintainers' fix removed; adjudicated in three passes over the uncertain cases, rubric and per-bug labels published

Static-analysis-addressable · 162 of 488 (33.2%)

MEMORY 120: overflow, UAF, null deref, uninitialized · RESOURCE 16: leaks, races · ERROR 26: unchecked returns, contract violations

Not analyzable by mechanism · 326

LOGIC 300 (61.5%): wrong operator, constant, branch, protocol step, spec reading · OTHER 7 · UNKNOWN 19 (no snippet; excluded)

Conditional detection on the 162

55.6% flagged at the changed region (90 of 162), 32.1% on the exact removed line, vs 53.1% / 28.9% over all bugs: on its home ground the tool clears the 50% mark and beats the overall rate

Division of labor

One third of real bugs are mechanism defects a deterministic tool flags with auditable findings, and it catches 55.6% of them. The logic two thirds are what review, requirements-based testing, and structural coverage are for, and agents (5.1%) find neither layer reliably

SWE-sweep's paper: most of its bugs are only recognizable by inferring intended behavior from the repository. Classification rubric and per-bug labels are published in the benchmark repository
Honest reading · 11

What this comparison does and does not say

Two numbers this far apart invite over-reading; the fine print is what makes the result trustworthy

What each number measures

Parasoft scanned every file the build system compiles, 2,193,448 findings, with no knowledge of where the bugs are; detection is a finding on the defect the maintainers later fixed. SWE-sweep agents additionally had to locate, fix, and pass hidden tests

A flag is not a fix

53.1% overall, 55.6% on the mechanism bugs: a human gets a pointer to the defect line. Someone still judges it, fixes it, and proves the fix. SWE-sweep's number requires hidden tests to pass

Deep checks are close

Flow Analysis alone: 4.1%. Agents: 5.1%. On search-heavy deep-defect discovery the two approaches are comparable; the headline gap comes from the full rule sweep over the whole codebase

Coverage gaps

One godot translation unit excluded after Flow Analysis exceeded 40 GB on a 64 GB machine; no benchmark bug lives in it. gdal's generated-code surface defeated preprocessing for many files. All documented and reproducible

The fair summary: a full-codebase scan flags far more real bugs than agents find and fix end to end. Nobody should read it as "the tool replaces the engineer": triage, fix, and proof stay human
Safety-critical view · 12

For DO-178C, ISO 26262, and IEC 62304: the decisive argument is qualification, not percentages

In avionics, automotive, and medical software the objective is minimizing escaped defects; labor cost of triage is part of the certification budget, not a reason to skip the check

The traditional stack
  • Deterministic: same inputs, same outputs, every time
  • Qualifiable under DO-330 and ISO 26262 TCL with documented criteria
  • Layered: static analysis + requirements-based testing + MC/DC + review
  • A miss produces no false confidence; the other layers back it up
The autonomous agent
  • Nondeterministic: reruns give different results
  • Silent failures: reports success on code that does not work
  • No accepted qualification scheme today as a development tool
  • 5.1% resolution on this benchmark; even doubled, it cannot enter the certification evidence
46.9% of bugs went unflagged: static analysis is necessary, never sufficient. The certification case rests on the full stack
Verdict · 13

Division of labor: tools find, humans judge, agents assist behind verifying gates

The data suggests a concrete hybrid for the next 3 to 5 years, not a replacement story in either direction

Safety case (certification evidence): deterministic tools + humans, always
   static analysis (MISRA/CERT + Flow Analysis)  -->  human triage and fix
   requirements-based testing, structural coverage to MC/DC, review
   LLM agents: not in this path until a qualification scheme exists

Productivity layer (outside the safety case): agents behind gates
   agent triages static analysis findings --> human judges
   agent drafts candidate fixes --> deterministic tests verify
   agent drafts test cases --> reviewed, then executed by qualified tools

The price of a look: the leaderboard bests on these 14 repos cost
   about $500 of inference per sweep and resolve 25 bugs, once.
   The Parasoft scan that flagged 259 re-runs nightly for machine time only

What never to do: send an agent hunting a 1.9M-line repo for bugs and
   accept what it reports. On this benchmark it closes 5.1%, silently
   missing the rest, with no way to know which half it checked
Born from the MISRA Conference 2026 debate on whether traditional methods remain relevant over the next 3 to 5 years
Reproduce · 14

Everything is public: recompute or challenge every number

github.com/zuwasi/swe-sweep-parasoft-benchmark: pipeline, manifests, results, raw Parasoft XML evidence

Pipeline (pipeline_full/)
  • fetch_repos.sh: clones the 14 repos at pinned base refs
  • build_full_bdf.py: whole-codebase build data files from real compile flags
  • run_full.py: 794 resumable cpptestcli chunks, 4 parallel workers
  • map_full.py, export_violations_full.py: violation-to-bug mapping, raw findings export
Evidence
  • manifests/: per-bug file, blob hash, changed lines
  • results_full/: 14 per-repo JSONs, REPORT.md, per-bug rule tables
  • raw-reports/: gzipped Parasoft XML from every run
  • parasoft-configs/: the exact 700/676-rule test configurations
Extend it

Recomputed without a license from raw XML, or rerun the pipeline on any static analysis tool and compare. The SWE-sweep dataset itself comes from its authors at swesweep.com under their license

Benchmark repository: github.com/zuwasi/swe-sweep-parasoft-benchmark · SWE-sweep: swesweep.com/paper (Lieret et al., 2026)
Appendix · A

A calibration check: Claude Code itself, cold, on duckdb

Many treat Claude Code as the absolute yardstick, so we ran it as a calibration, not a headline: Claude Code with the open-source Claude-BugHunter bundle (83 hunting skills), zero prior knowledge, filesystem-isolated from this benchmark, no hints of any kind

What it did in about one hour
  • Built duckdb v0.10.0 with AddressSanitizer and UBSan
  • Parallel reviews: storage, parquet, C API, window, optimizer, casts
  • 79 findings, most verified with SQL reproductions
  • Ended by its own judgment with a coverage statement
On the 109 known duckdb bugs
7 of 109

6.4% on the changed lines, 6 (5.5%) on the exact defect line. Better than the SWE-sweep leaderboard best (3 of 109, 2.8%), but only marginally: Claude Code is not meaningfully better than the benchmark's agents, and both sit about ten times below Parasoft's 68.8%

The other side of the ledger

72 of its 79 findings are defects the benchmark never cataloged: parquet decoder corruption, gzip over-read, C API defects, optimizer wrong-result bugs, verified on its own sanitizer build. Genuine novel discovery, at the price of nondeterminism and no qualification path

Cold start: fresh session, no CLAUDE.md, skills installed locally, deny rules blocking this repository. About one hour of engagement versus the agents' 12-hour budget: a data point, not an equal-budget comparison. Evidence: cbh-duckdb/ in the benchmark repository
Thank you · 15

Traditional methods are not the past of safety-critical software. They are its audit trail.

Deterministic, qualifiable, layered: measured on 488 real bugs against the best autonomous agents

ParasoftParasoft C/C++test · static analysis, coverage, MC/DC
ESLESL · tooling, training, and services
Daniel Liezrowice
Daniel Liezrowice CTO, ESL - Engineering Software Lab

Embedded software consultancy, Parasoft and Perforce partner in Israel for over 20 years.

linkedin.com/in/liezrowice
Disclosure: ESL is a Parasoft reseller; other static analysis tools were not evaluated. Benchmark data and scripts: github.com/zuwasi/swe-sweep-parasoft-benchmark. Analysis executed 16 November 2026 on WSL2 Linux x64.
← Swipe to navigate →