PHP Class Components_Qc_Task_Cpd, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Components_Qc_Task_Base
Show file Open project: horde/horde

Public Methods

Method Description
getName ( ) : string Get the name of this task.
run ( &$options ) : integer Run the task.
validate ( array $options ) : array Validate the preconditions required for this release task.

Protected Methods

Method Description
_printResult ( CodeCloneMap $clones ) Prints a result set from Detector::copyPasteDetection().

Method Details

_printResult() protected method

Prints a result set from Detector::copyPasteDetection().
protected _printResult ( CodeCloneMap $clones )
$clones SebastianBergmann\PHPCPD\CodeCloneMap

getName() public method

Get the name of this task.
public getName ( ) : string
return string The task name.

run() public method

Run the task.
public run ( &$options ) : integer
return integer Number of errors.

validate() public method

Validate the preconditions required for this release task.
public validate ( array $options ) : array
$options array Additional options.
return array An empty array if all preconditions are met and a list of error messages otherwise.