Showing 4 of 13 total issues
Function main
has 170 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func main() {
app := cli.NewApp()
app.Version = fmt.Sprintf("%s (build. %s)", Version, Revision)
app.Name = "plant_erd"
Function main
has 63 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func main() {
app := cli.NewApp()
app.Version = fmt.Sprintf("%s (build. %s)", Version, Revision)
app.Name = "plant_erd-oracle"
Function main
has 9 return statements (exceeds 4 allowed). Open
Open
func main() {
app := cli.NewApp()
app.Version = fmt.Sprintf("%s (build. %s)", Version, Revision)
app.Name = "plant_erd"
Method Adapter.GetTable
has 6 return statements (exceeds 4 allowed). Open
Open
func (a *Adapter) GetTable(tableName string) (*db.Table, error) {
table := db.Table{
Name: tableName,
}