netdata/netdata

View on GitHub
src/go/collectors/go.d.plugin/modules/hddtemp/collect.go

Summary

Maintainability
A
1 hr
Test Coverage

Method HddTemp.collect has 54 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (h *HddTemp) collect() (map[string]int64, error) {
    conn := h.newHddTempConn(h.Config)

    if err := conn.connect(); err != nil {
        return nil, err
Severity: Minor
Found in src/go/collectors/go.d.plugin/modules/hddtemp/collect.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status