lithium\test\filter\Affected::analyze()

public static method

Analyzes the results of a test run and returns the result of the analysis.

Parameters

  • object $report

    The report instance running this filter and aggregating results

  • array $options

Returns

array

The results of the analysis.

Source

	public static function analyze($report, array $options = []) {
		$analyze = [];
		foreach ($report->results['filters'][__CLASS__] as $result) {
			foreach ($result as $class => $test) {
				$analyze[$class] = $test;
			}
		}

		return $analyze;
	}