Showing 5,004 of 5,012 total issues
EntityIndexer
has 58 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class EntityIndexer implements Runnable {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
private static final boolean DEBUG = UtilProperties.getPropertyAsBoolean("entityindexing", "entity.indexer.debug", false);
private static final int LOG_LEVEL = Debug.getLevelFromString(UtilProperties.getPropertyValue("entityindexing", "entity.indexer.log.level", "info"));
ICalConverter
has 58 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class ICalConverter {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
protected static final String partyIdXParamName = "X-ORG-APACHE-OFBIZ-PARTY-ID";
protected static final ProdId prodId = new ProdId("-//Apache OFBiz//Work Effort Calendar//EN");
ModelViewEntity
has 57 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@SuppressWarnings("serial")
public class ModelViewEntity extends ModelEntity {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
private static final Map<String, String> functionPrefixMap;
ElementWrapper
has 57 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public static abstract class ElementWrapper implements Element {
protected final Element element;
// Constructors
SimpleMethod
has 56 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public final class SimpleMethod extends MiniLangElement {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
private static final String err_resource = "MiniLangErrorUiLabels";
private static final String[] DEPRECATED_ATTRIBUTES = {"parameter-map-name", "locale-name", "delegator-name", "security-name", "dispatcher-name", "user-login-name"};
ServiceUtil
has 56 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public final class ServiceUtil {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
public static final String resource = "ServiceErrorUiLabels"; // SCIPIO: 2018-08-29: keep public for backward-compat
private static final Map<String, Object> SUCCESS_READ_ONLY = Collections.unmodifiableMap(returnMessage(ModelService.RESPOND_SUCCESS, null)); // SCIPIO
FreeMarkerWorker
has 56 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public final class FreeMarkerWorker {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
public static final Version version = Configuration.VERSION_2_3_32;
CommonWorkerArgs
has 56 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@SuppressWarnings("unchecked")
public static class CommonWorkerArgs<T extends CommonWorkerArgs<T>> {
// context
final Delegator delegator;
final CmsEntityInfo entityInfo;
ProductStoreWorker
has 56 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public final class ProductStoreWorker {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
private static final Map<String, String> defaultProductStoreEmailScreenLocation; // SCIPIO: made final and unmodifiable
PropertyMessage
has 55 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@SuppressWarnings("serial")
public abstract class PropertyMessage implements Serializable {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
ArtifactInfoGatherer
has 53 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public final class ArtifactInfoGatherer implements ModelWidgetVisitor, ModelActionVisitor {
private final ArtifactInfoContext infoContext;
public ArtifactInfoGatherer(ArtifactInfoContext infoContext) {
RequestSetupWorker
has 53 methods (exceeds 20 allowed). Consider refactoring. Open
Open
protected static class RequestSetupWorker extends SetupWorker {
private StaticSetupWorker staticWorker;
private HttpServletRequest request;
private Delegator delegator = null;
RequestLinkUtil
has 52 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public final class RequestLinkUtil {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
private static final Pattern jsessionIdPat = Pattern.compile("((;jsessionid=)([^\\?#]*))");
CmsEntityInfo
has 51 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class CmsEntityInfo {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
public static final String CMS_ENTITY_BASE_PKG = "com.ilscipio.scipio.cms";
ProductSearchSession
has 51 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class ProductSearchSession {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
// SCIPIO: NOTE: 2018-11-27: All LinkedList changed to ArrayList (a few may have been already ArrayList).
WeightPackageSession
has 51 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@SuppressWarnings("serial")
public class WeightPackageSession implements Serializable {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
ImageType
has 50 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@SuppressWarnings("serial")
public class ImageType implements Serializable {
/*
* *************************************************************
ProductDataReader
has 50 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class ProductDataReader {
static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
public static final ProductDataReader DEFAULT = new ProductDataReader();
SolrDocBuilder
has 49 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class SolrDocBuilder {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
protected static final Factory DEFAULT_FACTORY = new Factory();
protected static final Factory CONFIGURED_FACTORY = readConfiguredFactory();
CatalogWorker
has 49 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public final class CatalogWorker {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
private CatalogWorker () {}