lcov reporter for cloak

1.1.4 2014-09-23 07:30 UTC

This package is auto-updated.

Last update: 2020-06-15 06:21:45 UTC


It has been merged into of cloak.
It is not maintenance now.

cloak-lcov-reporter is lcov reporter for cloak.
Please refer to the FILES section for lcov.

Build Status Coverage Status Scrutinizer Code Quality Stories in Ready Dependency Status


Composer setting

Cloak can be installed using Composer.
Please add a description to the composer.json in the configuration file.

	"require-dev": {
		"cloak/lcov-reporter": "1.1.4"


Please execute composer install command.

composer install

How to use

Setup for the report of code coverage

Setup is required to take a code coverage.
Run the configure method to be set up.


$analyzer = Analyzer::factory(function(ConfigurationBuilder $builder) {

	$builder->reporter(new LcovReporter(__DIR__ . '/report.lcov'));

	$builder->includeFile(function(File $file) {
    	return $file->matchPath('/src');
    })->excludeFile(function(File $file) {
	    return $file->matchPath('/spec') || $file->matchPath('/vendor');



You can try with the following command.

vendor/bin/phake example:basic