IEEE 1012-2024 names six activities inside verification and validation (V&V): analysis, evaluation, review, inspection, assessment and testing. Testing is on that list, which sits badly with the common claim that verification never runs code.
In practice, verification runs from the requirements review through code and test results, and teams measure it against standards such as IEEE 1012 and DO-178C.
What Is Software Verification?
Verification checks each work product against the specification it was built from, one phase at a time. The question behind it is “are we building the product right?” That wording is usually credited to Barry Boehm (IEEE Software, 1984).
The IEEE glossary (IEEE Std 610) ties it to phases. There, verification is the process of evaluating whether the products of a given development phase satisfy the conditions imposed at the start of that phase.
IEEE 1012 builds on the same logic. It describes V&V as the way to determine whether the products of a given activity conform to the requirements of that activity.
So what actually gets checked? Requirements, for gaps and contradictions, before design starts. The design, against the requirements it has to satisfy. The source code, against the design. And test results, against the behavior the specification promises.
Every check uses the previous phase’s output as its yardstick, which is why a clear requirements specification matters so much. Without one, there is nothing to verify against.
Verification does not ask whether users want the product.
It is one piece of the wider quality assurance process, which also covers planning and traceability, along with configuration management.
How Does Software Verification Differ From Validation?

Verification asks whether the software matches its specification. Validation looks at the finished product and asks whether it covers what users and stakeholders actually need, something a perfectly built spec can still get wrong.
| Aspect | Verification | Validation |
|---|---|---|
| Question | Are we building the product right? | Are we building the right product? |
| Yardstick | Requirements and design specifications | User needs and stakeholder goals |
| Timing | Every phase, from requirements onward | Requirements early, the built product at the end |
| Catches | Deviation from the specification | A specification that misses the need |
Take a hypothetical checkout form built exactly to spec. It passes verification. If the spec never asked for guest checkout and customers want it, only validation exposes the gap.
Validation of the finished software works from the other direction. It starts from stakeholder needs and asks whether the product meets them.
The two don’t substitute for each other. Skip verification and specification defects land in testing. Skip validation and you ship a correct build of the wrong product.
Static, Dynamic and Formal Verification Techniques

Techniques split by whether code runs and what kind of evidence you get. Static ones examine artifacts without running anything. Dynamic ones execute the code against test cases. Formal verification is its own category, since it relies on mathematical proof instead of either.
| Family | What it checks | Runs the code? | Example tools |
|---|---|---|---|
| Static | Documents, design, source code | No | Peer review, SonarQube |
| Dynamic | Behavior against test cases | Yes | JUnit, system test suites |
| Formal | Properties across all executions | No | Frama-C WP, Coq, Isabelle/HOL, TLA+ |
Static Verification
A peer review sits at the informal end: colleagues read a document or some code and flag faults. In a walkthrough, the author presents the material to a small group instead. Inspections are the formal version, with defined roles and recorded defects. Static analysis tools such as SonarQube do a similar job on source code automatically, scanning for known defect patterns.
Inspections have some of the oldest evidence behind them. Fagan’s 1976 IBM study, as summarized in the related work of a 2020 study of code review and post-release defects (Krutauz et al.), recorded 38 defects per thousand lines found by inspection against 8 per thousand found by unit tests.
Reviewer expertise predicts the number of defects found better than process format does (Porter and colleagues, cited in the same study). So the reviewers you pick matter more than the code review process they follow. That’s a little deflating if you’ve spent weeks designing a review workflow.
Dynamic Verification
Dynamic verification runs the software and compares actual behavior with the specification.
Unit tests cover one function or class at a time. Once modules start talking to each other, integration tests take over, and system tests finish the job by running the assembled product against the requirements.
Coverage tells you how much of the code the tests actually reach. Statement coverage is the basic version, branch (decision) coverage is stricter, and modified condition/decision coverage (MC/DC) is stricter still. Frameworks such as JUnit make isolated unit tests cheap to write and rerun.
DO-178C ties the coverage metric to how critical the software is. According to AdaCore’s 2010 paper on DO-178 structural coverage, Level A requires MC/DC, Level B decision coverage and Level C statement coverage.
Formal Verification
Formal verification proves properties mathematically instead of sampling behavior with tests. The best-known case is seL4.
The seL4 microkernel, 8,700 lines of C plus 600 lines of assembler, received the first machine-checked proof of functional correctness for a general-purpose operating system kernel (Klein et al., 2009).
The proof shows the C code always follows its abstract specification, which rules out whole classes of defects such as crashes and unsafe operations. It still assumes the compiler, assembly code and hardware are correct.
Isabelle/HOL carried the seL4 proof, and Coq carried the proof behind CompCert, a verified C compiler from INRIA that AbsInt sells commercially. In a 2011 study by Regehr and colleagues (PLDI 2011), the Csmith test generator found no wrong-code errors in the verified part of CompCert, while every other compiler tested had them. Csmith did find bugs in the unverified front end.
On the specification and model checking side, AWS engineers have used TLA+ since 2011. At the time of the 2015 article in Communications of the ACM (Newcombe et al.), they had applied it to 10 large real-world systems, with seven teams using it.
By 2025, AWS reported that many engineers struggled to become productive with TLA+, and described adding the P language and lightweight methods such as property-based testing alongside it (Brooker and Desai, Communications of the ACM, 2025).
Hoare logic, which dates to the 1960s, gave deductive verification its vocabulary of preconditions and postconditions.
For C code specifically, the Frama-C WP plug-in proves that ACSL contracts hold for all possible executions, using external provers. The manual suggests Alt-Ergo as an easy first choice, and Coq, Z3 and CVC4 can also discharge proof obligations. The current manual covers Frama-C 33.0 (Arsenic), released July 24, 2026.
Is Verification Static Only?
Sources disagree on whether testing counts as verification. Tutorial pages often define verification as checking without executing code, while IEEE 1012 lists testing among its V&V processes.
ToolsQA, Guru99 and Katalon take the static-only view: verification covers documents, design and code, and validation is the part that runs the product.
The other reading counts any check of a phase’s output against its input, which pulls unit, integration and system testing in. IEEE 1012 backs that one, with its own list of six activities.
The split comes from where each side draws the line. Tutorials draw it by method, static versus dynamic. IEEE 1012 cares about purpose instead, meaning whether a phase’s output conforms to the one before it.
This article follows the standard. A unit test that checks code against a design specification is verification, even though it executes the code.
Where Does Verification Fit in the Software Lifecycle?
Verification starts at requirements and repeats in every phase. Each phase’s output gets checked against the output of the one before it.
Requirements feed the design and the design feeds the code, so an error left in an early artifact is built into every later one.
- Start by inspecting the requirements specification for gaps and contradictions.
- System design gets reviewed against the requirements, and the built system is later checked against that design in system testing.
- Architecture and detailed design are reviewed against the system design. Integration tests then confirm the components fit.
- At the module design and code level, you have code review and static analysis, followed by unit tests against each module’s design.
The V-model draws this pairing as two sides of a V, with design levels on the left and a matching test level on the right. Acceptance testing at the top of the right side is validation, not verification.
At the architecture level, the check is testing how separately built components interact against what the architectural design states.
A 2002 NIST-funded study found that over half of all software errors are not found until downstream in development or after sale. Catching a specification error at the requirements review, before any code exists, removes it from every later phase.
Iterative projects repeat the cycle for each increment, so the same checks run again on every iteration’s artifacts.
Which Standards Govern Software Verification?
Which standard applies depends mostly on your industry. IEEE 1012 and ISO/IEC/IEEE 12207 are the general-purpose ones, DO-178C is for airborne software, and functional safety work falls under ISO 26262 (road vehicles) and IEC 61508.
| Standard | Scope | What it asks of verification |
|---|---|---|
| IEEE 1012 | Systems, software, hardware | Defines V&V tasks, inputs and outputs, with minimum tasks per integrity level |
| ISO/IEC/IEEE 12207 | Software life cycle processes | Treats verification as its own technical process |
| DO-178C | Airborne software | Verification processes in section 6, plus a formal methods supplement |
| ISO 26262 | Road vehicle functional safety | Methods graded by ASIL |
| IEC 61508 | Generic functional safety | Techniques graded by SIL, 1 to 4 |
IEEE 1012 has been through several editions. The 1986 version covered software V&V plans, with minimum tasks for critical software. The 1998 and 2004 editions turned that into software V&V processes graded by software integrity level. Scope widened to systems and software in 2012, and 2016 added hardware. The 2024 edition, published in August 2025, is the active one (as of October 2026, per IEEE Standards Association listings) and is built on a four-level integrity schema.
ISO/IEC/IEEE 12207 puts verification in its technical process group at clause 6.4.9, next to a separate validation process at 6.4.11 (ISO/IEC/IEEE 12207:2017). The second edition, ISO/IEC/IEEE 12207:2026, published in April 2026, keeps the same clause numbers. IEEE 1012-2024 still points to the 2017 edition for its life cycle process descriptions.
RTCA publishes DO-178C and its supplements, including DO-333 for formal methods. DO-333 keeps the executable object code objectives intact and stipulates independent verification of the object code that formal methods ultimately produce (Military Embedded Systems, 2012).
Rockwell Collins researchers showed how theorem proving, model checking and abstract interpretation each yield evidence for DO-178C certification objectives, using a dual-channel flight guidance system (NASA contractor report, 2014).
IEC 61508-3:2010 Table A.9 recommends formal proof at SIL 2 and SIL 3 and highly recommends it at SIL 4, according to Escher Technologies’ summary of the standard. IEC TS 61508-3-2:2024, issued in August 2024, adds guidance on using mathematical and logical techniques to establish exact properties of software.
ISO 26262-6 grades methods by ASIL. Escher Technologies’ reading of the 2011 first edition has it encouraging formal verification of software design and implementation at ASIL C and D, not requiring it.
Demonstrating compliance with any of these means producing evidence: a verification plan, a traceability matrix, coverage results and a report.
How to Choose a Verification Technique
Match the technique to what a failure would cost. Peer review plus automated static analysis belongs on every codebase (I’d run the analysis even on small projects, since it costs almost nothing). Unit tests with a coverage target make sense for logic with branching behavior, and formal verification is reserved for kernels, protocols, compilers and other code where failure is unacceptable.
The standards above encode the same logic by grading techniques per integrity level.
Linting is the cheapest layer. A linter runs on every commit and flags correctness slips before a human reads the diff.
Formal proof sits at the expensive end. Published figures for the seL4 microkernel vary with what they count. The whole project took about 25 person-years, the kernel proof alone about 12 (per the NICTA verification team), and a 2010 CACM commentary put it at 20.
A 2025 paper on LionsOS, an operating system built on seL4, calls that cost too high for most systems.
Industry has tended to favor model checking over interactive proof, because interactive provers often require specialist expertise that engineers lack (noted in a report from the 1999 Formal Methods World Congress).
Static analysis is the better fit for repeatable checks, like coding rule violations, since it costs no reviewer time. Code review earns its keep on design choices and alternative solutions, and it spreads knowledge across the team.
Across projects at Google, Microsoft and AMD, Rigby and Bird found review had shifted from defect finding toward problem solving, as summarized in the same 2020 study. Give the tool the repeatable checks and keep reviewer time for judgment calls.
How to Run Software Verification on a Project
On a real project the work moves from planning to close-out in a fairly fixed order.
- Write the verification plan, choosing a method per requirement and a rigor level for the integrity level.
- Give every requirement an ID and link it to design, code, test and method. That produces the traceability matrix.
- Inspect the requirements and the design against their inputs, with records of each review.
- Run static analysis on the code and keep a log of findings.
- Run unit, integration and system tests, then measure coverage.
- Log every anomaly, fix it, and rerun the affected checks.
- Compare results with the plan’s criteria and issue the verification report.
The FAA’s guidance defines a verification requirements traceability matrix as a matrix correlating requirements with their verification methods. It then extends the trace to documented test procedures and test results.
The ECSS space-engineering standard ECSS-E-ST-10-02C (Rev.1, 2018, which replaced the 2009 issue) goes further with a verification control document, which records per requirement the method, level and stage, and the evidence that shows compliance. The final issue of that document goes to a verification control board, and the verification process is complete only once the customer confirms it.
The usual failure is an orphan requirement, one with no test and no review, which the matrix should expose. Reviews run by people without domain knowledge are another: the review happens and nothing is found. Stale results are the quieter problem. A requirement changes and the old results keep standing.
Open coverage reports with one caveat in mind. They measure code reached, not requirements satisfied, so a high figure can sit next to an untested requirement.
Each anomaly belongs in a defect tracker with a link back to the requirement it violated, which keeps the traceability matrix honest.
Close-out compares results against criteria the plan set at the start, so those criteria are written before the first test runs.
When Software Verification Falls Short
Verification has limits, and the literature documents them well. Model checkers run into state space explosion. A proof is only as trustworthy as the specification behind it, and the effort proofs take can outgrow the budget.
State Space Explosion
Model checking is limited by state space explosion, and a 2021 review in IEEE Access (Nejati et al.) counts a great number of reduction methods proposed over the past two decades.
Researchers at the University of L’Aquila took a different route and traded time for memory. In preliminary experiments their probabilistic algorithm saved more than 30% of RAM at an average time penalty of about 100%. Its results hold only with a small error probability.
Other options are restructuring the model to shrink the state space, or verifying components separately (compositional verification).
Wrong or Incomplete Specifications
A proof shows the code matches its specification, nothing more.
Fonseca et al. (EuroSys 2017) found bugs in verified distributed systems, but not in the verified protocols themselves, despite more than eight months of searching. The bugs turned up in the specification, in the shim layer between verified and unverified code, and in auxiliary tools. Unverified systems, by contrast, had protocol bugs.
Their count was 16 bugs across IronFleet, Verdi and Chapar. The IronSpec authors later reported ten specification bugs across six real-world verified systems.
Leroy says the same about CompCert, that a formal verification is as good as the specifications it uses.
Proof Effort
Effort does not grow in step with code size. Matichuk and colleagues (2015), cited in the 2025 LionsOS paper, found that verification effort scales with the square of the specification size.
Small interfaces help, since narrow, simple specifications keep each proof cheap. So does a modular design, because modules can be verified independently of each other.
Automated provers lower the labor but bring state space explosion back. The same paper notes that they are in essence symbolic state-space exploration, with heuristics to cope with combinatorial explosion.
Software Verification FAQ
What is independent verification and validation?
When the V&V work is done by a team separate from the developers, it’s called independent verification and validation (IV&V). It shows up mostly on safety-critical systems.
DO-333, the formal methods supplement to DO-178C, stipulates independent verification of the executable object code that formal methods ultimately produce.
Can software verification be automated?
Yes, for most checks. Static analysis, test suites and automated provers can all run inside a build pipeline without manual effort.
Inspections and requirements reviews still need people, because reviewers must bring domain knowledge.
Who performs software verification on a project?
The work is shared. Developers handle peer reviews and unit tests, QA engineers and testers take the system-level checks, and safety-critical projects bring in an independent team on top.
Who owns what is recorded in the verification plan.
How does runtime verification work?
A runtime monitor watches the running program and checks its execution against a stated property, such as a lock always being released after use.
It falls under dynamic verification, so it only judges the executions it actually observes.
Deciding When Verification Is Complete
Verification is done when every requirement in the traceability matrix has recorded evidence from its planned method and every logged anomaly is closed.
The order of the close-out matters. Write exit criteria into the verification plan before the first test runs. Close orphan requirements before raising any coverage target. Then issue the verification report and hand the build to validation.
That order fixes the target before results exist, then removes evidence gaps, and only after that records a finished state.
Scope sets the limit on formal proof. Because effort scales with the square of specification size, a specification twice the size of the one behind seL4’s 12 person-year kernel proof works out to about 48 person-years.
IEEE 1012-2024 is the active edition as of October 2026, and a successor edition would change the minimum tasks per integrity level.
Validation then starts from the stakeholders’ acceptance criteria.
- How to Choose a Digital Transformation Consulting Partner - November 30, 2026
- Is Notepad++ Safe? Official Download, Updates, CVEs - November 29, 2026
- How to Evaluate an AI Code Reviewer on Your Own Pull Requests - November 29, 2026



