What is Test Coverage? — UK Software Development Guide
Direct Answer
Test coverage (or code coverage) is a metric that measures what percentage of source code is exercised by automated tests. Types of coverage: line coverage (percentage of lines executed), branch coverage (percentage of code branches — if/else paths — executed), and statement coverage. A project with 80% line coverage has 80% of its code executed during the test suite.
Test-coverage in the UK
Test coverage has UK compliance value but must be interpreted carefully. High test coverage does not mean high quality — 100% line coverage with tests that make no meaningful assertions tells you nothing. For UK regulated software: DTAC Domain 3 (NHS) and FCA operational resilience expect evidence of systematic quality control — coverage metrics, alongside quality indicators like defect density, provide this evidence. Clickmasters targets 80% line coverage minimum for UK regulated software (authentication, payment processing, clinical data handling). Unmaintained test suites with low coverage that still pass are a common UK technical due diligence finding — indicating code was written without tests rather than with meaningful coverage.
Related Glossary Terms
Tdd
Test-Driven Development explained. Test-Driven Development (TDD) is a software development practice where tests are written before the production...
Technical-discovery
Technical Discovery explained for UK software developers. Technical Discovery is a structured phase at the beginning of a software development project where the development team ...
Technical-specification
Technical Specification explained for UK software developers. A technical specification (tech spec) is a document that describes how a software system will be built — covering: syste...
Technical-spike
Technical Spike explained. A technical spike is a time-boxed research task in agile development — a fixed period (typically 1–5 days) ded...
Technical-writer
Technical Writer explained. A technical writer is a specialist who creates documentation for software systems — including: API documentati...
Trunk-based-development
Trunk-Based Development explained. Trunk-Based Development (TBD) is a version control strategy where developers commit directly to a single share...
Get Expert Advice on Test-coverage
Speak with our UK software development experts about Test-coverage. Free consultation, transparent pricing, no obligation.