testbox.system.coverage.sonarQube

Class SonarQube

lucee.Component
    extended by testbox.system.coverage.sonarQube.SonarQube

Copyright Ortus Solutions, Corp www.ortussolutions.com I turn a query of coverage data into an XML document for import into SonarQube's Generic Code Coverage plugin.

Class Attributes:
  • synchronized : false
  •  
  • accessors : true
  •  
  • persistent : false
  •  
    Property Summary
    type property default serializable required
    any formatXML
          If set to true, the XML document will be formatted for human readability.

    • access = public
    • returntype = any
    false true false
    Constructor Summary
    init()
    Method Summary
    string generateXML(query qryCoverageData, [string XMLOutputPath=''])
    string getFormatXML()
    any setFormatXML(any formatXML)
     
    Methods inherited from class lucee.Component
    None

    Constructor Detail

    init

    public init()


    Property Detail

    formatXML

    property any formatXML = [false]

    If set to true, the XML document will be formatted for human readability

    Attributes:
    access - public
    required - false
    returntype - any
    serializable - true

    Method Detail

    generateXML

    public string generateXML(query qryCoverageData, [string XMLOutputPath=''])

    Parameters:
    qryCoverageData - A query object containing coverage data
    XMLOutputPath - Full path to write XML file to
    Returns:
    generated XML string

    getFormatXML

    public string getFormatXML()


    setFormatXML

    public any setFormatXML(any formatXML)

    Parameters:
    formatXML