gephart/quality

Gephart Quality

0.5 2017-10-02 15:54 UTC

This package is not auto-updated.

Last update: 2024-02-17 22:10:36 UTC


README

Build Status

Dependencies

  • PHP >= 7.1
  • pdepend/pdepend = 2.5.0

Instalation

composer require gephart/quality

Using

$checker = new Gephart\Quality\Checker();
$checker->setDir("src");
$classes_quality = $checker->getQuality();

// Gephart\Quality\Entity\ClassQuality[]
$classes_quality[0]->getPercent(); // 100
$classes_quality[0]->getClassName(); // App\MyClass
$classes_quality[0]->getIssues(); // Gephart\Quality\Entity\Issue[]