nuts-foundation/nuts-node

View on GitHub
storage/engine.go

Summary

Maintainability
A
1 hr
Test Coverage
C
74%

Method engine.initSQLDatabase has 71 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (e *engine) initSQLDatabase() error {
    connectionString := e.config.SQL.ConnectionString
    if len(connectionString) == 0 {
        connectionString = sqliteConnectionString(e.datadir)
    }
Severity: Minor
Found in storage/engine.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status