Overview

Namespaces

  • PHP
  • XSLTBenchmarking
    • Reports
    • RunnerConsole
    • TestsGenerator
    • TestsRunner

Classes

  • Convertor
  • HtmlConvertorDriver
  • Merger
  • Printer
  • Report

Interfaces

  • IConvertorDriver
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class Report

Class for collect report information about one test

Namespace: XSLTBenchmarking\Reports
Author: Viktor Mašíček <viktor@masicek.net>
Located at Reports/Report.php
Methods summary
public
# __construct( string $testName, string $templatePath )
Set common setting of the test for reporting

Set common setting of the test for reporting

Parameters

$testName
string
Name of the reported test
$templatePath
string
Path of the XSLT template of the reported test
public
# addRecord( string $processorName, string $xmlInputPath, string $expectedOutputPath, string $outputPath, string $success, boolean $correctness, array $spendTimes, array $memoryUsage, integer $repeating )
Add report of one runnig transformation

Add report of one runnig transformation

Parameters

$processorName
string
Short name of selected processor
$xmlInputPath
string
Path of XML input file
$expectedOutputPath
string
Path of file with expected output
$outputPath
string
Path of file with generated output
$success
string
'OK' or error message
$correctness
boolean
Flag of correcness transformation
$spendTimes
array
Spended times by transformations
$memoryUsage
array
$repeating
integer
Number of repeating tranformation
public string
# getTestName( )
Return name of the reported test

Return name of the reported test

Returns

string
public string
# getTemplatePath( )
Retun path of the XSLT template of the reported test

Retun path of the XSLT template of the reported test

Returns

string
public array
# getProcessors( )
Return list of processors used in all reports

Return list of processors used in all reports

Returns

array
public array
# getInputs( string $processorName )
Return reports for the selected processor

Return reports for the selected processor

Parameters

$processorName
string
Name of processor

Returns

array
XSTL Benchmarking API documentation generated by ApiGen.
Generated using the TokenReflection library.