Download the PHP package vstelmakh/covelyzer without Composer

On this page you can find all versions of the php package vstelmakh/covelyzer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package covelyzer

Covelyzer

Build status Packagist version PHP version

Covelyzer - PHP console tool to analyze PHPUnit test coverage report in clover (XML) format. Covelyzer integrates coverage metrics directly into the workflow forcing developers to write tests and forbidding delivery of uncovered code.

Highlights:

Installation

Install the latest version with Composer:

Usage

Before you start, run tests with options to generate coverage report in XML format. See corresponding PHPUnit documentation reference Code coverage analysis and Covelyzer composer.json scripts section as an example.

Run tests with XML coverage xdebug example:

Run Covelyzer with default configuration:

To specify additional configuration see Configuration.

Configuration

Configuration defined in covelyzer.xml located under project root (where vendor dir located). Or configuration path could be overridden via -c | --config command option:

If no configuration file provided - default configuration is used.

Example configuration:

<covelyzer> element

Config root element.

timezone attribute

Timezone should be used to display timestamp.

<project> element

Defines configuration for project coverage report. If defined project coverage report will be rendered.

minCoverage attribute

Minimum coverage value. If project have less coverage - report will fail.

<class> element

Defines configuration for class coverage report. If defined class coverage report will be rendered.

minCoverage attribute

Minimum coverage value. If any class have less coverage - report will fail.

Tips & tricks

Use help option

Use -h | --help command option to display Covelyzer help data. It contains all available arguments, options and usage examples.

Ignore code blocks

Covelyzer will analyze full report produced by PHPUnit. In some cases you want to ignore some code parts to not be taken into account. There are several options available, see Ignoring code blocks in PHPUnit documentation.

Speed up coverage with Xdebug

The performance of code coverage data collection with Xdebug can be improved by delegating whitelist filtering to Xdebug. See corresponding PHPUnit docs section: Speeding up code coverage with Xdebug.

Credits

Volodymyr Stelmakh
Licensed under the MIT License. See LICENSE for more information.


All versions of covelyzer with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1 || ^8
ext-dom Version *
ext-libxml Version *
symfony/console Version ^3.2 || ^4 || ^5
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vstelmakh/covelyzer contains the following files

Loading the files please wait ....