nuts-foundation/nuts-node

View on GitHub
vcr/revocation/statuslist2021_verifier.go

Summary

Maintainability
A
1 hr
Test Coverage
A
90%

Method StatusList2021.validate has 51 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (cs *StatusList2021) validate(cred vc.VerifiableCredential) (*StatusList2021CredentialSubject, error) {
    // TODO: replace with json schema validator?
    { // Credential checks
        // context
        // all fields in the StatusList2021Credential must be defined by the contexts
Severity: Minor
Found in vcr/revocation/statuslist2021_verifier.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status