codeclimate/test-reporter

View on GitHub
formatters/dotcover/xml.go

Summary

Maintainability
A
0 mins
Test Coverage
package dotcover

import "encoding/xml"

type xmlDotCover struct {
    XMLName xml.Name `xml:"Root"`
    Files   []struct {
        Path  string `xml:"Name,attr"`
        Index int    `xml:"Index,attr"`
    } `xml:"FileIndices>File"`
    Statements []struct {
        FileIndex int  `xml:"FileIndex,attr"`
        Covered   bool `xml:"Covered,attr"`
    } `xml:"Assembly>Namespace>Type>Method>Statement"`
}