Best Code Coverage Tools for PHP

Find and compare the best Code Coverage tools for PHP in 2024

Use the comparison tool below to compare the top Code Coverage tools for PHP on the market. You can filter results by user reviews, pricing, features, platform, region, support options, integrations, and more.

  • 1
    Parasoft Reviews
    Top Pick

    Parasoft

    $125/user/mo
    115 Ratings
    See Tool
    Learn More
    Parasoft's mission is to provide automated testing solutions and expertise that empower organizations to expedite delivery of safe and reliable software. A powerful unified C and C++ test automation solution for static analysis, unit testing and structural code coverage, Parasoft C/C++test helps satisfy compliance with industry functional safety and security requirements for embedded software systems.
  • 2
    Codecov Reviews

    Codecov

    Codecov

    $10 per user per month
    Develop healthier code. Improve code quality and workflow. Codecov offers a comprehensive suite of tools that allow you to group, merge and archive coverage reports, as well as compare them. Open source. Plans starting at $10/user per month. Ruby, Python and C++ as well as Javascript are all available. All CI products and workflows can be integrated easily. No setup is required. Automatic report merging for all CI languages and languages into one report. You can get custom statuses for any group of coverage metrics. You can review coverage reports by folder, project, and type (unit tests or integration tests). You can comment the detailed report directly in your pull request. Codecov is SOC 2 Type II Certified. This means that Codecov has been audited by a third party and attested to our security practices.
  • 3
    Codacy Reviews

    Codacy

    Codacy

    $15.00/month/user
    Codacy is an automated code review tool. It helps identify problems through static code analysis. This allows engineering teams to save time and tackle technical debt. Codacy seamlessly integrates with your existing workflows on Git provider as well as with Slack and JIRA or using Webhooks. Each commit and pull-request includes notifications about security issues, code coverage, duplicate code, and code complexity. Advanced code metrics provide insight into the health of a project as well as team performance and other metrics. The Codacy CLI allows you to run Codacy code analysis locally. This allows teams to see Codacy results without needing to check their Git provider, or the Codacy app. Codacy supports more than 30 programming languages and is available in free open source and enterprise versions (cloud or self-hosted). For more see https://www.codacy.com/
  • 4
    SonarCloud Reviews

    SonarCloud

    SonarSource

    €10 per month
    SonarCloud automatically analyzes and decorates pull request branches to maximize your throughput. To prevent undefined behavior from affecting end-users, catch tricky bugs. Security Hotspots will help you identify and fix vulnerabilities that could compromise your app. It takes just a few mouse clicks to get your code up and running. Instant access to the most recent features and enhancements. Project dashboards keep stakeholders and teams informed about code quality and releasability. Show your communities that you care about awesome by displaying project badges. Your entire stack should be concerned about code quality and security. We cover 24 languages, including C++, Java, Python, and many other. Transparency is a good thing and the trend is growing. Join the fun! Open-source projects are completely free!
  • 5
    DeepSource Reviews

    DeepSource

    DeepSource

    $12 per user per month
    DeepSource allows you to automatically identify and fix bugs in your code during code reviews. This includes security flaws, anti-patterns and bug risks. It takes less that 5 minutes to create your Bitbucket or GitLab account. It works with Python, Go, Ruby and JavaScript.
  • 6
    PHPUnit Reviews

    PHPUnit

    PHPUnit

    Free
    PHPUnit needs the dom, json extensions. These extensions are usually enabled by default. PHPUnit also needs the reflection, pcre and spl extensions. These extensions are default enabled and cannot be disabled without patching PHP’s build system or C sources. To use the code coverage report feature, you will need to have the Xdebug (2.7.0 and later) and tokenizer extensions. The xmlwriter extension is required to generate XML reports. Unit tests are intended to be a good practice for developers to identify and fix bugs, refactor code, and serve as documentation for the unit of software being tested. Unit tests should cover all possible paths within a program to reap these benefits. A unit test typically covers one path within a function or method. A test method is not always an independent, encapsulated entity. There are often implicit dependencies between test method, which are hidden in the test's implementation scenario.
  • 7
    Xdebug Reviews

    Xdebug

    Xdebug

    Free
    Xdebug is a PHP extension that provides a variety of features to enhance the PHP development experience. You can step through your code while the script is running in your editor or IDE. A new var_dump() function that allows you to stack trace your code to highlight warnings, errors and exceptions. Writes every function call, including arguments and invocation location to the disk. Optionally, includes each variable assignment and return value for each of the functions. With the help of visualization tools, you can analyze the performance of your PHP app and identify bottlenecks. This tool allows you to see which parts of your code are executed when PHPUnit runs unit tests. The fastest way to install Xdebug is often with a package manager. You can replace the PHP version you are using with the version that is compatible. Xdebug can be installed via PECL on Linux & macOS using Homebrew.
  • 8
    PCOV Reviews

    PCOV

    PCOV

    Free
    A self-contained CodeCoverage compatible driver for PHP. PCOV will attempt, if left unset to find src and lib in the current working director in that order. If none are found, the current directory will be used. This could waste resources for storing coverage information. To avoid wasting resources, it is recommended that PCOV contain test code. To avoid unnecessary allocations of arenas for traces or control flow graphs, PCOV should always be set according to the test suite's memory requirements. To avoid reallocations of tables, PCOV should not be set higher than the number files that will be loaded during testing. This includes test files. Interoperability with Xdebug cannot be achieved. The executor function is disabled at an internal level by PCOV. Any extension or SAPI that does the same will also be broken. Code runs at full speed with PCOV, which is free and has no cost.
  • 9
    Coveralls Reviews

    Coveralls

    Coveralls

    $10 per month
    We help you deliver code confidently. Open-source repositories are free. Pro accounts are available for private repositories. Sign up instantly through Bitbucket and Gitlab. It is vital to maintain a well-tested codebase. It can be difficult to identify the areas where your tests are failing. It's not difficult to find where your tests are lacking. You already run your tests on a continuous-integration server. Coveralls works in conjunction with your CI server to scan your coverage data and find issues before they become a problem. If you are only running your code coverage locally you won't see any changes or trends that occurred during your entire development cycle. Coveralls allows you to view every detail of your coverage, with unlimited history. Coveralls makes it easy to track your code coverage. You can see where you stand with untested code. You can be confident that your code is protected.
  • 10
    Jtest Reviews
    Maintain high-quality code while adhering to agile development cycles. Jtest's extensive Java testing tools will ensure that you code flawlessly at every stage of Java software development. Streamline Compliance with Security Standards. Ensure that your Java code conforms to industry security standards. Automated generation of compliance verification documentation Get Quality Software Out Faster Java testing tools can be integrated to detect defects faster and more efficiently. Reduce time and costs by avoiding costly and complicated problems later. Increase your return on unit testing. Create a set of JUnit test suites that are easy to maintain and optimize for code coverage. Smart test execution allows you to get faster feedback from CI as well as within your IDE. Parasoft Jtest integrates seamlessly into your development ecosystem and CI/CD pipeline for real-time, intelligent feedback about your testing and compliance progress.
  • Previous
  • You're on page 1
  • Next