Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • CiEnvVarsCollector
  • CloverXmlCoverageCollector
  • GitInfoCollector
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class CloverXmlCoverageCollector

Coverage collector for clover.xml.

Namespace: Contrib\Bundle\CoverallsV1Bundle\Collector
Author: Kitamura Satoshi <with.no.parachute@gmail.com>
Located at Contrib/Bundle/CoverallsV1Bundle/Collector/CloverXmlCoverageCollector.php
Methods summary
public Contrib\Bundle\CoverallsV1Bundle\Entity\JsonFile
# collect( SimpleXMLElement $xml, string $rootDir )

Collect coverage from XML object.

Collect coverage from XML object.

Parameters

$xml
SimpleXMLElement
$xml Clover XML object.
$rootDir
string
$rootDir Path to src directory.

Returns

Contrib\Bundle\CoverallsV1Bundle\Entity\JsonFile
protected string
# collectRunAt( SimpleXMLElement $xml, string $format = 'Y-m-d H:i:s O' )

Collect timestamp when the job ran.

Collect timestamp when the job ran.

Parameters

$xml
SimpleXMLElement
$xml Clover XML object of a file.
$format
string
$format DateTime format.

Returns

string
protected null|Contrib\Bundle\CoverallsV1Bundle\Entity\SourceFile
# collectFileCoverage( SimpleXMLElement $file, string $root )

Collect coverage data of a file.

Collect coverage data of a file.

Parameters

$file
SimpleXMLElement
$file Clover XML object of a file.
$root
string
$root Path to src directory.

Returns

null|Contrib\Bundle\CoverallsV1Bundle\Entity\SourceFile
protected Contrib\Bundle\CoverallsV1Bundle\Entity\SourceFile
# collectCoverage( SimpleXMLElement $file, string $path, string $filename )

Collect coverage data.

Collect coverage data.

Parameters

$file
SimpleXMLElement
$file Clover XML object of a file.
$path
string
$path Path to source file.
$filename
string
$filename Filename.

Returns

Contrib\Bundle\CoverallsV1Bundle\Entity\SourceFile
public Contrib\Bundle\CoverallsV1Bundle\Entity\JsonFile
# getJsonFile( )

Return json file.

Return json file.

Returns

Contrib\Bundle\CoverallsV1Bundle\Entity\JsonFile
Properties summary
protected Contrib\Bundle\CoverallsV1Bundle\Entity\JsonFile $jsonFile
#

JsonFile.

JsonFile.

php-coveralls API documentation generated by ApiGen 2.8.0