array buildDirectoryStructure(
array
$files)
|
|
Builds an array representation of the directory structure.
For instance,
Array
(
(
...
)
(
...
)
)
is transformed into
Array
(
[.] => Array
(
(
...
)
(
...
)
)
)
Parameters:
Returns summarized Code Coverage data.
Format of the result array:
array(
"/tested/code.php" => array(
linenumber => number of tests that executed the line
)
)
Parameters:
string reducePaths(
&$files, array
$files)
|
|
Reduces the paths by cutting the longest common start path.
For instance,
Array
(
[/home/sb/PHPUnit2/Samples/
Money/
Money.php
] => Array
(
...
)
(
...
)
)
is reduced to
Array
(
(
...
)
(
...
)
)
Parameters: