awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
sebastianbergmann avatar

sebastianbergmann/php-code-coverage

0
View on GitHub↗
8,931 stars·384 forks·PHP·BSD-3-Clause·9 views

Php Code Coverage

php-code-coverage is a PHP library and analysis tool designed to track runtime execution and determine which parts of a codebase are exercised by automated tests. It monitors executed lines and branches during a test run to identify gaps in test coverage and evaluate the effectiveness of a test suite.

The tool functions as an execution tracker and report generator that transforms raw PHP execution data into human-readable formats. It serializes collected metrics for storage and utilizes a processing system to calculate the total percentage of code covered.

Its capability surface covers the entire coverage lifecycle, including data collection, analytical processing, and visual report rendering. It employs source mapping to associate execution offsets with original file lines and uses a driver-based approach to extract statistics from PHP extensions.

Features

  • Code Coverage Analysis - Monitors executed lines and branches during test runs to identify untested areas of the codebase.
  • PHP Code Analysis - Analyzes PHP runtime execution and calculates coverage metrics for source code analysis.
  • Execution Tracing - Captures line-by-line execution flow by interfacing with PHP engine extensions like Xdebug.
  • Code Coverage Libraries - Provides a library for collecting and processing execution data to determine codebase coverage.
  • Execution Trackers - Monitors the runtime execution of PHP scripts to identify gaps in automated test suites.
  • Snapshot Persistence - Saves serialized execution snapshots to the filesystem for asynchronous processing and future report generation.
  • Bytecode-to-Source Mapping - Maps runtime execution offsets back to the original source code lines for accurate coverage reporting.
  • Driver-Based Provider Architectures - Uses a driver-based architecture to interchangeably fetch execution statistics from various PHP coverage extensions.
  • Report Renderers - Provides pluggable report renderers that transform processed coverage metrics into human-readable visual formats.
  • Execution Data Serialization - Provides utilities for serializing and saving collected execution data to files for storage.
  • Report Generators - Transforms raw coverage data into structured, human-readable summaries and visual reports.
  • Application Testing Workflows - Integrates execution data collection into the PHP testing workflow to verify critical code paths.
  • Quality Assurance Practices - Helps implement quality assurance practices by visualizing unexecuted code paths to improve test suites.

Star history

Star history chart for sebastianbergmann/php-code-coverageStar history chart for sebastianbergmann/php-code-coverage

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Php Code Coverage

Similar open-source projects, ranked by how many features they share with Php Code Coverage.
  • jacoco/jacocojacoco avatar

    jacoco/jacoco

    4,580View on GitHub↗

    JaCoCo is a Java code coverage tool and bytecode instrumenter that measures which parts of source code are executed during tests. It functions as a runtime agent to monitor application execution on the fly or as a library for offline bytecode instrumentation, allowing it to capture execution data in environments where runtime agents are restricted. The project distinguishes itself by providing both dynamic and static instrumentation paths to track execution. It includes a runtime agent for on-the-fly monitoring and the ability to modify compiled class files before execution. It further enable

    Javabytecodecoveragegroovy
    View on GitHub↗4,580
  • gotwarlost/istanbulgotwarlost avatar

    gotwarlost/istanbul

    8,662View on GitHub↗

    Istanbul is a JavaScript code coverage tool and instrumentation engine that measures the execution of statements, lines, functions, and branches. It functions as a test coverage analysis tool capable of monitoring code across unit, functional, and browser tests to identify untested areas of a codebase. The project distinguishes itself through a transparent instrumentation engine that uses module loader hooks to inject tracking code without requiring manual source modifications. It supports distributed test reporting by aggregating fragmented coverage data from multiple concurrent processes in

    JavaScript
    View on GitHub↗8,662
  • thomhurst/tunitthomhurst avatar

    thomhurst/TUnit

    3,744View on GitHub↗

    TUnit is a comprehensive C# testing framework, mocking library, and fluent assertion tool. It utilizes source generation for test discovery and mock creation, ensuring compatibility with Native AOT and IL trimming by eliminating the need for runtime reflection and proxies. The framework provides specialized capabilities for integration testing, including the management of distributed application lifecycles, isolated database schemas, and the correlation of telemetry and logs across process boundaries via OTLP. It also includes an HTTP testing utility to intercept network exchanges and mock AP

    C#csharpdotnettest
    View on GitHub↗3,744
  • alsotang/node-lessonsalsotang avatar

    alsotang/node-lessons

    16,450View on GitHub↗

    node-lessons is a comprehensive Node.js programming course and instructional guide. It provides a collection of guided lessons and code examples designed to teach the fundamentals of the Node.js runtime and server-side JavaScript development. The project serves as a practical guide for building web servers and backend applications, specifically covering the implementation of HTTP servers, request routing, and middleware chains. It includes specialized instructional material on managing asynchronous JavaScript workflows through promises and flow control, as well as guides for integrating NoSQL

    JavaScriptjavascriptnodejs
    View on GitHub↗16,450
See all 30 alternatives to Php Code Coverage→

Frequently asked questions

What does sebastianbergmann/php-code-coverage do?

php-code-coverage is a PHP library and analysis tool designed to track runtime execution and determine which parts of a codebase are exercised by automated tests. It monitors executed lines and branches during a test run to identify gaps in test coverage and evaluate the effectiveness of a test suite.

What are the main features of sebastianbergmann/php-code-coverage?

The main features of sebastianbergmann/php-code-coverage are: Code Coverage Analysis, PHP Code Analysis, Execution Tracing, Code Coverage Libraries, Execution Trackers, Snapshot Persistence, Bytecode-to-Source Mapping, Driver-Based Provider Architectures.

What are some open-source alternatives to sebastianbergmann/php-code-coverage?

Open-source alternatives to sebastianbergmann/php-code-coverage include: jacoco/jacoco — JaCoCo is a Java code coverage tool and bytecode instrumenter that measures which parts of source code are executed… gotwarlost/istanbul — Istanbul is a JavaScript code coverage tool and instrumentation engine that measures the execution of statements,… thomhurst/tunit — TUnit is a comprehensive C# testing framework, mocking library, and fluent assertion tool. It utilizes source… cpp-best-practices/cppbestpractices — This project is a curated collection of guidelines and technical resources designed to improve C++ code safety,… alsotang/node-lessons — node-lessons is a comprehensive Node.js programming course and instructional guide. It provides a collection of guided… avajs/ava — Ava is a test runner for JavaScript and TypeScript designed to execute test suites with a focus on concurrency and…