codeclimate/test-reporter

View on GitHub

Showing 144 of 144 total issues

exported type Formatter should have comment or be unexported
Open

type Formatter struct {

type lcovJsonFile should be lcovJSONFile
Open

type lcovJsonFile struct {
Severity: Minor
Found in formatters/lcovjson/json_input.go by golint

receiver name r should be consistent with previous receiver name f for Formatter
Open

func (r Formatter) Format() (formatters.Report, error) {
Severity: Minor
Found in formatters/lcovjson/lcovjson.go by golint

exported type Formatter should have comment or be unexported
Open

type Formatter struct {
Severity: Minor
Found in formatters/xccov/xccov.go by golint

exported type SourceFile should have comment or be unexported
Open

type SourceFile struct {
Severity: Minor
Found in upload/source_files.go by golint

exported function NewTestReport should have comment or be unexported
Open

func NewTestReport(rep formatters.Report) *TestReport {
Severity: Minor
Found in upload/test_report.go by golint

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

package excoveralls
Severity: Minor
Found in formatters/excoveralls/excoveralls.go by gofmt

exported type Source should have comment or be unexported
Open

type Source struct {
Severity: Minor
Found in formatters/cobertura/xml.go by golint

exported method Formatter.Format should have comment or be unexported
Open

func (r Formatter) Format() (formatters.Report, error) {

var inputLcovJsonFile should be inputLcovJSONFile
Open

    inputLcovJsonFile, err := os.Open(r.Path)
Severity: Minor
Found in formatters/lcovjson/lcovjson.go by golint

exported method SourceFile.CalcLineCounts should have comment or be unexported
Open

func (sf *SourceFile) CalcLineCounts() {
Severity: Minor
Found in formatters/source_file.go by golint

exported type SourceFiles should have comment or be unexported
Open

type SourceFiles map[string]SourceFile
Severity: Minor
Found in formatters/source_file.go by golint

exported method Formatter.Search should have comment or be unexported
Open

func (f *Formatter) Search(paths ...string) (string, error) {
Severity: Minor
Found in formatters/xccov/xccov.go by golint

exported type TestReport should have comment or be unexported
Open

type TestReport struct {
Severity: Minor
Found in upload/test_report.go by golint

exported method Environment.MarshalJSON should have comment or be unexported
Open

func (e Environment) MarshalJSON() ([]byte, error) {
Severity: Minor
Found in env/env.go by golint

exported type Formatter should have comment or be unexported
Open

type Formatter struct {
Severity: Minor
Found in formatters/coveragepy/coveragepy.go by golint

exported method Formatter.Search should have comment or be unexported
Open

func (f *Formatter) Search(paths ...string) (string, error) {
Severity: Minor
Found in formatters/coveragepy/coveragepy.go by golint

exported method Bar.Bytes should have comment or be unexported
Open

func (b *Bar) Bytes() []byte {
Severity: Minor
Found in formatters/gocov/example/bar/bar.go by golint

exported method Formatter.Format should have comment or be unexported
Open

func (r Formatter) Format() (formatters.Report, error) {
Severity: Minor
Found in formatters/lcov/lcov.go by golint

exported method Formatter.Format should have comment or be unexported
Open

func (r Formatter) Format() (formatters.Report, error) {
Severity: Minor
Found in formatters/lcovjson/lcovjson.go by golint
Severity
Category
Status
Source
Language