grokify/mogo

View on GitHub
html/htmlutil/token.go

Summary

Maintainability
A
35 mins
Test Coverage

Function TokenMatchLeft has 5 return statements (exceeds 4 allowed).
Open

func TokenMatchLeft(tokFilter, tok html.Token, attrValMatchinfo *stringsutil.MatchInfo) bool {
    if tokFilter.Type != tok.Type {
        return false
    } else if tokFilter.DataAtom != tok.DataAtom {
        return false
Severity: Major
Found in html/htmlutil/token.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status