Luzilla/dnsbl_exporter

View on GitHub
pkg/rbl/rbl.go

Summary

Maintainability
A
1 hr
Test Coverage

Method RBL.lookup has 57 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (r *RBL) lookup(blocklist string, target Target, c chan<- Result, logger *slog.Logger) {
    logger.Debug("next up")

    result := Result{
        Target: target,
Severity: Minor
Found in pkg/rbl/rbl.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status