binhonglee/GlobeTrotte

View on GitHub
src/turbine/database/tripbasicdb.go

Summary

Maintainability
A
1 hr
Test Coverage

Function updateTripBasic has 61 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func updateTripBasic(updatedTrip wings.TripBasic) bool {
    existingTrip, _ := fetchTripBasic(updatedTrip.GetID())
    if existingTrip.GetID() != updatedTrip.GetID() {
        logger.Print(
            logger.Database,
Severity: Minor
Found in src/turbine/database/tripbasicdb.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status