src/main/efaps/ESJP/org/efaps/esjp/admin/common/systemconfiguration/SysConfResourceConfig.java
These nested if statements could be combined
if (Modifier.isStatic(field.getModifiers())) {
Avoid really long methods.
private void addKernelSysConf()
src/main/efaps/ESJP/org/efaps/esjp/ci/CICommon.java
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
public final CIAttribute StatusAbstract = new CIAttribute(this, "StatusAbstract");
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
public final CIStatus Ready = new CIStatus(this, "Ready");
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
public final CIAttribute Field = new CIAttribute(this, "Field");
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
public final CIAttribute Description = new CIAttribute(this, "Description");
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
public final CIAttribute Config = new CIAttribute(this, "Config");
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
public static final _HistoryAbstractUpdate HistoryAbstractUpdate = new _HistoryAbstractUpdate("c558afb9-4762-470f-843c-91a528cc103b");
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
public static final _HistoryLogout HistoryLogout = new _HistoryLogout("ee4bf603-a15e-4f7d-904f-585e0593b069");
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
public final CIAttribute Creator = new CIAttribute(this, "Creator");
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
public final CIAttribute Created = new CIAttribute(this, "Created");
src/main/efaps/ESJP/org/efaps/esjp/common/AbstractCommon_Base.java
The method getStatusListFromProperties() has an NPath complexity of 760
protected List<Status> getStatusListFromProperties(final Parameter _parameter,
Position literals first in String comparisons
if (statusStr.equals("*")) {
The method getQueryBldrFromPropertiesInternal() has an NPath complexity of 1049249
protected QueryBuilder getQueryBldrFromPropertiesInternal(final Parameter _parameter,
Avoid really long methods.
protected QueryBuilder getQueryBldrFromPropertiesInternal(final Parameter _parameter,
src/main/efaps/ESJP/org/efaps/esjp/common/jasperreport/EFapsTextReport_Base.java
A switch statement does not contain a break
switch (_columnDef.getType()) {
src/main/efaps/ESJP/org/efaps/esjp/common/uiform/Field_Base.java
Avoid really long classes.
public abstract class Field_Base
Use equals() to compare object references.
pos.setSelected(ordinal == selected);
The method getOptionListFieldValue() has an NPath complexity of 107712
public Return getOptionListFieldValue(final Parameter _parameter)
src/main/efaps/ESJP/org/efaps/esjp/common/uitable/MultiPrint_Base.java
Avoid empty if statements
} else if (_lstParts.get(_dir).startsWith("linkfrom")) {
More
Previous Next