gephart/quality

Gephart Quality

0.5 2017-10-02 15:54 UTC

This package is auto-updated.

Last update: 2024-11-12 14:12:41 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[]