hunterlong/statup

View on GitHub
database/database.go

Summary

Maintainability
D
1 day
Test Coverage

Db has 82 methods (exceeds 20 allowed). Consider refactoring.
Open

func (it *Db) ChunkSize() int {
    switch it.Database.Dialect().GetName() {
    case "mysql":
        return 3000
    case "postgres":
Severity: Major
Found in database/database.go - About 1 day to fix

    File database.go has 560 lines of code (exceeds 500 allowed). Consider refactoring.
    Open

    package database
    
    import (
        "database/sql"
        "fmt"
    Severity: Minor
    Found in database/database.go - About 3 hrs to fix

      There are no issues that match your filters.

      Category
      Status