Showing 4,841 of 7,782 total issues
Method setModel
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void setModel(TreeModel<?> model) {
if (model != null) {
if (!(model instanceof TreeSelectableModel))
throw new UiException(model.getClass() + " must implement " + TreeSelectableModel.class);
Method onListDataChange
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings("rawtypes")
private void onListDataChange(ListDataEvent event) {
int type = event.getType();
// ZK-4549: should ignore before handling sorting
if (getAttribute(Attributes.BEFORE_MODEL_ITEMS_RENDERED) != null
Function d3_scale_linear
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_scale_linear(domain, range, interpolate, clamp) {
var output,
input;
function rescale() {
Function remove
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
remove: function( elem, types, handler, selector, mappedTypes ) {
var j, origCount, tmp,
events, t, handleObj,
special, handlers, type, namespaces, origType,
Function configFromISO
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function configFromISO(config) {
var i,
l,
string = config._i,
match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),
Function _doCmds
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function _doCmds(sid?: string): void { //called by mount.js, too
for (var fn: (() => void) | undefined; fn = doCmdFns.shift();)
fn();
var ex: Error | undefined, j = 0, rid = responseId;
File ELProcessor.java
has 253 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
File Captcha.java
has 253 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* Captcha.java
Purpose:
Description:
File SaveFormBindingImpl.java
has 252 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* SaveFormBindingImpl.java
Purpose:
Description:
Method myLocate
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static final Object
myLocate(String file, Locale locale, Locator locator, boolean asStream) {
if (locale == null)
locale = Locales.getCurrent();
Method setValue
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void setValue(ELContext context, Object base, Object property,
Object value) {
if (context == null) {
throw new NullPointerException();
}
Method LambdaExpression
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
final public void LambdaExpression() throws ParseException {
/*@bgen(jjtree) LambdaExpression */
AstLambdaExpression jjtn000 = new AstLambdaExpression(JJTLAMBDAEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
Method importFileName
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void importFileName() throws SuspendNotAllowedException, InterruptedException {
final Window w = new Window();
w.setTitle("Import File Name");
w.setWidth("300px");
w.setClosable(true);
Method splitListenAnnotationValues
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static String[][] splitListenAnnotationValues(String str) {
List<String[]> result = new ArrayList<String[]>();
int len = str.length();
boolean inSqBracket = false;
boolean inQuote = false;
Method init
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings("deprecation")
public void init() throws ServletException {
final ServletConfig config = getServletConfig();
String param = config.getInitParameter("log-level");
if (param != null && param.length() > 0) {
Method init
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void init(final Page page, final boolean evalHeaders) {
final PageCtrl pageCtrl = (PageCtrl) page;
pageCtrl.init(new PageConfig() {
public String getId() {
return _id;
Method onListModelDataChange
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings("unchecked")
private void onListModelDataChange(ListDataEvent event) {
final ListModel<?> model = event.getModel();
int type = event.getType();
int index0 = event.getIndex0();
Function buildFragment
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function buildFragment( elems, context, scripts, selection, ignored ) {
var elem, tmp, tag, wrap, attached, j,
fragment = context.createDocumentFragment(),
nodes = [],
i = 0,
Function panel$mold$
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function panel$mold$(out, skipper) {
var uuid = this.uuid,
title = this.getTitle(),
caption = this.caption,
btnRenderer = zul.wgt.ButtonRenderer,
Function str
has 51 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function str(key, holder) {
// Produce a string from holder[key].
var i, // The loop counter.