PHP Class Qafoo\Analyzer\Handler\GitDetailed

Inheritance: extends Qafoo\Analyzer\Handler
Mostrar archivo Open project: Qafoo/QualityAnalyzer

Public Methods

Method Description
__construct ( Shell $shell )
handle ( Project $project, string $existingResult = null ) : string Handle provided directory

Protected Methods

Method Description
countGitChangesPerFileRange ( Project $project, $file, $from, $to ) Counts GIT commits per file and range. This is used to track the number of commits on methods or classes.

Method Details

__construct() public method

public __construct ( Shell $shell )
$shell Qafoo\Analyzer\Shell

countGitChangesPerFileRange() protected method

Counts GIT commits per file and range. This is used to track the number of commits on methods or classes.
protected countGitChangesPerFileRange ( Project $project, $file, $from, $to )
$project Qafoo\Analyzer\Project

handle() public method

Optionally an existing result file can be provided If a valid file could be generated the file name is supposed to be returned, otherwise return null.
public handle ( Project $project, string $existingResult = null ) : string
$project Qafoo\Analyzer\Project
$existingResult string
return string