s0rg/crawley

View on GitHub
internal/crawler/util.go

Summary

Maintainability
A
40 mins
Test Coverage
A
93%

Function canCrawl has 6 return statements (exceeds 4 allowed).
Open

func canCrawl(a, b *url.URL, d int, subdomains bool) (yes bool) {
    if a.Host != b.Host {
        if !subdomains {
            return false
        }
Severity: Major
Found in internal/crawler/util.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status