Showing 4,841 of 7,782 total issues
ELContext
has 21 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public abstract class ELContext {
private Locale locale;
private Map<Class<?>, Object> map;
F86_ZK_3913VM
has 21 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class F86_ZK_3913VM {
private static final List<String> TYPES = Collections.unmodifiableList(Arrays.asList("CODE39", "CODE128", "CODE128A", "CODE128B",
"CODE128C", "EAN13", "EAN8", "EAN5", "EAN2", "UPC", "ITF14", "ITF", "MSI", "MSI10", "MSI11", "MSI1010",
"MSI1010", "MSI1110", "PHARMACODE", "CODABAR", "QR", "pdf417"));
private String _value = "1234";
ClientInfoEvent
has 21 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class ClientInfoEvent extends Event {
private final int _scrnwd, _scrnhgh, _colorDepth;
private final int _dtwd, _dthgh, _dtx, _dty;
private final double _dpr;
private final String _orient, _media;
TrackerNodeImpl
has 21 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class TrackerNodeImpl implements TrackerNode, Serializable {
private static final long serialVersionUID = 1463169907348730644L;
private final Object _script; //script of this node (e.g. firstname or ['firstname'])
private final Map<Object, TrackerNode> _dependents; //kid script -> kid TrackerNode
private final Map<Object, TrackerNode> _brackets; //property -> bracket script
Paging
has 21 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class Paging extends XulElement implements Paginal {
/** # of items per page. */
private int _pgsz = 20;
/** total # of items. */
private int _ttsz = 0;
Groupbox
has 21 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class Groupbox extends XulElement {
private transient Caption _caption;
/** The style used for the content block. */
private String _cntStyle;
/** The style class used for the content block. */
PortletHttpSession
has 21 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class PortletHttpSession implements HttpSession {
private final PortletSession _sess;
public static HttpSession getInstance(PortletSession sess) {
if (sess instanceof HttpSession)
Method getMethod0
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static Method getMethod0(Class<?> clazz, String methodName, Class<?>[] paramTypes, Object[] params) {
Method matchingMethod = null;
if (paramTypes != null) {
try {
matchingMethod = Util.getMethod(clazz, clazz.getMethod(methodName, paramTypes));
Method invoke
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Object invoke(ELContext context, Object base, Object method,
Class<?>[] paramTypes, Object[] params) {
if (context == null) {
throw new NullPointerException();
Method fillShadowHost
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private JSONObject fillShadowHost(Component host) {
JSONObject rootData = fillComponentOnly(host);
JSONArray childrenArray = new JSONArray();
rootData.put("children", childrenArray);
List<AbstractComponent> children = host.getChildren();
Method mergeSubTree
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected void mergeSubTree() {
List<HtmlShadowElement> children = getChildren();
if (children == null || children.isEmpty())
return; // nothing to do.
if (_parent != null) {
Method onEvent0
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void onEvent0(Event event) throws Exception {
//command need to be confirmed shall be execute first!
//must sort the command sequence?
//BUG 619, event may come from children of some component,
Function init
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init = jQuery.fn.init = function( selector, context, root ) {
var match, elem;
// HANDLE: $(""), $(null), $(undefined), $(false)
if ( !selector ) {
Function layoutregion$mold$
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function layoutregion$mold$(out) {
var uuid = this.uuid,
pos = this.getPosition(),
BL = zul.layout.Borderlayout,
noCenter = pos != BL.CENTER,
Method parseMethod
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static final MethodInfo parseMethod(String signature)
throws IllegalSyntaxException {
int len = signature.length();
int j = Strings.skipWhitespaces(signature, 0);
int k = Strings.anyOf(signature, "( \t\n\r", j);
Method lookup
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static Template lookup(Component comp, Component base, String name, Component compBase,
boolean excludeBase) {
if (comp == null)
return null;
Template template = (excludeBase && comp == base) ? null : comp.getTemplate(name);
Method getImplicit
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static Object getImplicit(Page page, Component comp, String name) {
if (comp != null && page == null)
page = getCurrentPage(comp);
if ("log".equals(name))
Method afterHostChildAdded
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void afterHostChildAdded(Component child, int indexOfChild) {
if (log.isDebugEnabled()) {
log.debug("afterHostChildAdded {}, in this shadow {}", child,
ShadowElementsCtrl.getCurrentInfo());
}
Method insertBefore
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public boolean insertBefore(Component newChild, Component refChild) {
if ((newChild instanceof Macro) && ((Macro) newChild).isInline())
return ((Macro) newChild).setInlineParent(this, refChild);
checkParentChild(this, newChild); ///create _chdinf
Method renderProperties
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer) throws java.io.IOException {
super.renderProperties(renderer);
render(renderer, "name", _name);
if (_rows > 0)