Showing 4,841 of 7,782 total issues
B65_ZK_1840_ViewModel
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class B65_ZK_1840_ViewModel {
private String sequenceStatus;
private String backgroundStatus;
private String manualStatus;
F90_ZK_4375Composer
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class F90_ZK_4375Composer extends SelectorComposer {
@Wire
private Stepbar stepbar;
@Wire
private Label answer;
Selectors
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class Selectors {
/**
* Returns an Iterable that iterates through all Components matched by the
* selector.
DefinitionLoaders
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class DefinitionLoaders {
private static final Logger log = LoggerFactory.getLogger(DefinitionLoaders.class);
/** List<Object[Locator, URL]> */
private static List<Object[]> _addons;
DHtmlUpdateServlet
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class DHtmlUpdateServlet extends HttpServlet {
private static final Logger log = LoggerFactory.getLogger(DHtmlUpdateServlet.class);
private static final String ATTR_UPDATE_SERVLET = "org.zkoss.zk.au.http.updateServlet";
private static final String ATTR_AU_PROCESSORS = "org.zkoss.zk.au.http.auProcessors";
BindComposer
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@SuppressWarnings("rawtypes")
public class BindComposer<T extends Component>
implements Composer<T>, ComposerExt<T>, Serializable, AuService, ComponentActivationListener {
private static final long serialVersionUID = 1463169907348730644L;
MapProxy
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class MapProxy<K, V> implements Map<K, V>, Proxy, FormProxyObject, Serializable {
private static final Logger log = LoggerFactory.getLogger(MapProxy.class);
private Map<K, V> _cache;
private boolean _dirty;
private Map<K, V> _origin;
AnnotateBinderHelper
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class AnnotateBinderHelper {
private final Binder _binder;
public static final String INIT_ANNO = "init";
public static final String BIND_ANNO = "bind";
PropertyBindingHandler
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
Open
/*package*/ class PropertyBindingHandler extends AbstractBindingHandler {
private static final long serialVersionUID = 1L;
private static final Logger _log = LoggerFactory.getLogger(PropertyBindingHandler.class);
ForEach
has 27 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class ForEach extends AbstractAction {
private String _var, _varStatus;
private Object _items;
private int _beg = 0, _end = Integer.MAX_VALUE;
private boolean _trim;
`` has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
Object.assign(jq, {
nodeName(el?: Element, ...tags: string[]): boolean {
var tag = el && el.nodeName ? el.nodeName.toLowerCase() : '',
j = arguments.length;
if (j <= 1)
zUtl
has 27 functions (exceeds 20 allowed). Consider refactoring. Open
Open
export class zUtl { //static methods
//Character
/**
* @returns whether the character is according to its opts.
* @param cc - the character
Method indexOf
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static final int indexOf(Object o, Object element) {
if (o instanceof String) {
return element instanceof String ?
((String)o).indexOf((String)element): -1;
} else if (o instanceof Collection) {
Method addPropertyLoadBindings0
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void addPropertyLoadBindings0(Component comp, String attr, String loadExpr, String[] beforeCmds,
String[] afterCmds, Map<String, Object> bindingArgs, String converterExpr,
Map<String, Object> converterArgs) {
final boolean prompt = isPrompt(beforeCmds, afterCmds);
final BindingExecutionInfoCollector collector = getBindingExecutionInfoCollector();
Method onTreeDataChange
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void onTreeDataChange(TreeDataEvent event) {
final int type = event.getType();
final int[] path = event.getPath();
final Component target = path != null ? getChildByPath(path) : null;
switch (type) {
Function handler
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function handler( event ) {
var orgEvent = event || window.event,
args = slice.call( arguments, 1 ),
delta = 0,
deltaX = 0,
Method parseClientConfig
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static void parseClientConfig(Configuration config, Element conf) {
Integer v = parseInteger(conf, "processing-prompt-delay", POSITIVE_ONLY);
if (v != null)
config.setProcessingPromptDelay(v.intValue());
Method entrySet
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Set<Map.Entry<K, V>> entrySet() {
if (this.entrySet == null) {
this.entrySet = new AbstractSet<Map.Entry<K, V>>() {
public Iterator<Map.Entry<K, V>> iterator() {
return createHashIterator(ENTRIES);
Method setModel
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void setModel(ListModel<?> model) {
//ZK-3514: speed up
if (_model != null && _model != model) {
int threshold = Utils.getIntAttribute(this, "org.zkoss.zul.invalidateThreshold", 10, true);
int diff = Math.abs((model != null ? model.getSize() : 0) - _model.getSize());
Method browserInfo
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static void browserInfo(Map<String, Object> zk, String ua) {
if (ua != null) {
// ZK-1822: In locale Turkish, it can prevent 'I'.toLowerCase becomes 'i' without dot.
ua = ua.toLowerCase(Locale.ENGLISH);
if (_clientId != null) {