addressing major violations for constant field names, cyclomatic complexity and duplicate literals