src/main/java/org/efaps/eql/EQLInvoker.java
The method invoke() has an NPath complexity of 450
public IEQLStmt invoke(final String _stmt)
Avoid really long methods.
public IEQLStmt invoke(final String _stmt)
Avoid empty if statements
if (nextObj != null) {
src/main/java/org/efaps/eql/ui/contentassist/EQLFactory.java
Document empty method body
src/main/java/org/efaps/eql/ui/contentassist/EQLProposalProvider.java
Avoid unused private fields such as 'LOG'.
private static Logger LOG = LoggerFactory.getLogger(EQLProposalProvider.class);
src/main/java/org/efaps/eql/ui/contentassist/EQLProposals.java
Avoid unused private fields such as 'LOG'.
private static Logger LOG = LoggerFactory.getLogger(EQLProposals.class);
src/main/java/org/efaps/eql/ui/contentassist/EQLTextSelection.java
Perhaps 'offset' could be replaced by a local variable.
private final int offset;
Avoid unused private fields such as 'offset'.
private final int offset;
Avoid unused private fields such as 'txt'.
private final String txt;
Perhaps 'txt' could be replaced by a local variable.
private final String txt;
src/main/java/org/efaps/eql/validation/EQLJavaValidator.java
Avoid empty if statements
&& _oneWhere.getNestedQueryPart() == null) {
Avoid empty if statements
if (!validator.validate(type)) {
src/test/java/org/efaps/eql/AbstractTest.java
Avoid empty if statements
if (nextObj != null) {
src/test/java/org/efaps/eql/formatting2/FormattingTest.java
Avoid unused imports such as 'org.eclipse.xtext.formatting2.regionaccess.ITextRegionAccess'
import org.eclipse.xtext.formatting2.regionaccess.ITextRegionAccess;
Avoid unused private fields such as 'regionBuilder'.
private TextRegionAccessBuilder regionBuilder;
Avoid unused private fields such as 'formatter'.
private IFormatter2 formatter;
Avoid unused local variables such as 'request'.
final FormatterRequest request = new FormatterRequest();
More
Previous Next