Skip to content

Class ProjectMetrics

Class \Klitsche\Dog\Enrichers\Clover\ProjectMetrics

Methods

__construct()

public __construct ( 
    int $files, 
    int $loc, 
    int $ncloc, 
    int $classes, 
    int $coveredclasses, 
    int $methods, 
    int $coveredmethods, 
    int $conditionals, 
    int $coveredconditionals, 
    int $statements, 
    int $coveredstatements, 
    int $elements, 
    int $coveredelements
 ): 
Parameters
files int
loc int
ncloc int
classes int
coveredclasses int
methods int
coveredmethods int
conditionals int
coveredconditionals int
statements int
coveredstatements int
elements int
coveredelements int

createFromElement()

public static createFromElement ( 
    \SimpleXMLElement $element
 ): self
Parameters
element \SimpleXMLElement
Returns
self

getFiles()

public getFiles (  ): int
Returns
int

Test Coverage 💚

  • 💚 Lines: 100% (31 / 31)
  • 💚 Methods: 100% (3 / 3)