firehol/netdata

View on GitHub
src/go/plugin/go.d/modules/megacli/collect_bbu.go

Summary

Maintainability
A
1 hr
Test Coverage

Function parseBBUInfo has 56 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func parseBBUInfo(bs []byte) (map[string]*megaBBU, error) {
    bbus := make(map[string]*megaBBU)

    var section string
    var bbu *megaBBU
Severity: Minor
Found in src/go/plugin/go.d/modules/megacli/collect_bbu.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status