Showing 44 of 1,416 total issues
Avoid deeply nested control flow statements. Open
Open
if inStructs == -1 {
inMethods := methods.FindLine("./methods.dsl", actline)
if inMethods == -1 {
Avoid deeply nested control flow statements. Open
Open
} else if r.FormValue("type") == "3" {
apps := methods.GetApps()
app := methods.GetApp(apps, r.FormValue("pkg"))
temp := []string{}
for _, v := range app.Css {
Avoid deeply nested control flow statements. Open
Open
} else if r.FormValue("type") == "3" {
//pkg
if r.FormValue("conf") != "do" {
response = templates.Delete(types.DForm{Text: "Are you sure you want to delete the package " + r.FormValue("pkg"), Link: "type=3&pkg=" + r.FormValue("pkg")})
Avoid deeply nested control flow statements. Open
Open
} else if calls[0] == "meth" {
actionText = "The line is located in your package template pipelines at line: " + calls[1]
}