Showing 4,841 of 7,782 total issues
Function bind
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function bind(group, groupData) {
var i,
n = group.length,
m = groupData.length,
n0 = Math.min(n, m),
Function add
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
add: function( elem, types, handler, data, selector ) {
var handleObjIn, eventHandle, tmp,
events, t, handleObj,
special, handlers, type, namespaces, origType,
Function unformat
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
unformat(fmt: string, val: string, ignoreLocale: boolean, localizedSymbols?: zk.LocalizedSymbols): {raw: string; divscale: number} {
if (!val) return {raw: val, divscale: 0};
// localized symbols
localizedSymbols = localizedSymbols || {
File DebuggerComposer.java
has 285 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/** DebuggerComposer.java.
Purpose:
Description:
File Property.java
has 285 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* Property.java
Purpose:
Description:
Method render
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void render(final Row row, final Object data, final int index) {
final Rows rows = (Rows) row.getParent();
final Grid grid = (Grid) rows.getParent();
final int size = grid.getModel().getSize();
//B70-ZK-2555: in order to handle dynamic template name
File ListModelSet.java
has 285 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* ListModelSet.java
{{IS_NOTE
Purpose:
File Utils.java
has 285 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* Utils.java
Purpose:
Description:
Function progressbox
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static progressbox(id: string, msg: string, mask?: boolean, icon?: string, opts?: Partial<ProgressboxOptions>): void {
if (mask && zk.Page.contained.length) {
for (var c = zk.Page.contained.length, e = zk.Page.contained[--c]; e; e = zk.Page.contained[--c]) {
if (!e._applyMask)
e._applyMask = new zk.eff.Mask({
Maps
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class Maps {
private static final Logger log = LoggerFactory.getLogger(Maps.class);
/**
* Reads a property list (key and element pairs) from the input stream,
ArraysX
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class ArraysX {
/** Converts an array to a readable string (for debugging purpose).
*/
public final static String toString(Object[] array) {
if (array == null)
AbstractGroup
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public abstract class AbstractGroup extends AbstractItem implements Group {
/** The list of the children. Never null.
*/
protected List<Item> _children;
SimpleCharStream
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
@SuppressWarnings("all") // Ignore warnings in generated code
public class SimpleCharStream
{
/** Whether parser is static. */
public static final boolean staticFlag = false;
WebManager
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class WebManager {
private static final Logger log = LoggerFactory.getLogger(WebManager.class);
/** A context attribute for storing an instance of this class. */
/*package*/ static final String ATTR_WEB_MANAGER = "javax.zkoss.zk.ui.WebManager";
AbstractPage
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public abstract class AbstractPage implements Page, PageCtrl, java.io.Serializable {
private static final Logger log = LoggerFactory.getLogger(AbstractPage.class);
/** The first root component. */
private transient AbstractComponent _firstRoot;
WebApp
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public interface WebApp extends Scope, Locator {
/** Returns the application name, never null.
* Developer can set it to any name that describes his application.
* <p>Default: ZK
*/
Calendar
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class Calendar extends XulElement implements Constrainted {
private ZonedDateTime _value;
private TimeZone _defaultTzone = TimeZones.getCurrent();
private boolean _weekOfYear;
private boolean _showTodayLink = false;
AbstractGroupsModel
has 25 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public abstract class AbstractGroupsModel<D, H, F, E>
implements GroupsModel<D, H, F>, GroupsSelectableModel<E>, java.io.Serializable {
private transient List<GroupsDataListener> _listeners = new LinkedList<GroupsDataListener>();
/** The current selection. */
libbcmath
has 25 functions (exceeds 20 allowed). Consider refactoring. Open
Open
var libbcmath = {
PLUS: "+",
MINUS: "-",
BASE: 10,
scale: 0,
Method render
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void render(final Comboitem item, final Object data, final int index) throws Exception {
final Combobox cb = (Combobox) item.getParent();
final ListModel<?> model = cb.getModel();
final int size = model.getSize();
final Template tm = resolveTemplate(cb, item, data, index, size, "model");