Showing 4,841 of 7,782 total issues
Method myGetAcsObj
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static final AccessibleObject
myGetAcsObj(Class<?> cls, String name, Class<?>[] argTypes, int flags)
throws NoSuchMethodException {
//try public set/get
final String decoratedName =
Method loadDati
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public BugOasiTreeNode<BugFormModel> loadDati(
BugOasiTreeNode<BugFormModel> parent)
{
BugFormModel row=null;
/* --------------------------------------- */
Method loadProperites
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void loadProperites(ServletContext context) {
try {
BufferedReader bufReader = new BufferedReader(
new InputStreamReader(context.getResourceAsStream(PATH + CONFIG)));
String prop = null;
Method doSuspend0
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void doSuspend0(Object mutex) throws InterruptedException {
// if (log.finerable()) log.finer("Suspend event processing; "+_proc);
if (mutex == null)
throw new IllegalArgumentException("null mutex");
if (isIdle())
Method initViewModel
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private Object initViewModel(BindEvaluatorX evalx, Component comp) {
final ComponentCtrl compCtrl = (ComponentCtrl) comp;
final Annotation idanno = compCtrl.getAnnotation(VIEW_MODEL_ATTR, ID_ANNO);
final Annotation initanno = compCtrl.getAnnotation(VIEW_MODEL_ATTR, INIT_ANNO);
String vmname = null;
Method getValue
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Object getValue(ELContext ctx, Object base, Object property) throws PropertyNotFoundException, ELException {
Object value = null;
if (base == null) {
if (_pathResolver == null) {
_pathResolver = new PathELResolver(); // init
Consider simplifying this complex logical expression. Open
Open
if (ZKBIND1_ANNO.equals(nm) || ZKBIND2_ANNO.equals(nm) || BIND_ANNO.equals(nm)
|| LOAD_ANNO.equals(nm) || SAVE_ANNO.equals(nm) || VALIDATOR_ANNO.equals(nm)
|| REFERENCE_ANNO.equals(nm) || CONVERTER_ANNO.equals(nm) || TEMPLATE_ANNO.equals(nm)
|| INIT_ANNO.equals(nm)) {
continue;
Method render
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public String render(final Component owner, final Object data, final int index) throws Exception {
final int size = ((Selectbox) owner).getModel().getSize();
final Template tm = resolveTemplate(owner, owner, data, index, size, "model");
if (tm == null) {
return Objects.toString(data);
Consider simplifying this complex logical expression. Open
Open
if (cc == '/' || cc == '\\' || cc == '.' || cc == ':' || cc == '?' || cc == '&' || cc == '=' || cc == '%' || cc == '#' || cc == ' ')
return false;
Method renderProperties
has 50 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);
setChildPage(null);
render(renderer, "comment", _comment);
Consider simplifying this complex logical expression. Open
Open
if (!ignore)
ignore = (cc < '0' || cc > '9') && cc != DECIMAL && cc != MINUS && cc != '+'
&& (Character.isWhitespace(cc) || cc == GROUPING || cc == ')'
|| (fmt != null && fmt.indexOf(cc) >= 0));
Function pie
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
d3.layout.pie = function() {
var value = Number,
sort = null,
startAngle = 0,
endAngle = 2 * Math.PI;
Function format
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
d3.format = function(specifier) {
var match = d3_format_re.exec(specifier),
fill = match[1] || " ",
sign = match[3] || "",
zfill = match[5],
Consider simplifying this complex logical expression. Open
Open
if ( ( mappedTypes || origType === handleObj.origType ) &&
( !handler || handler.guid === handleObj.guid ) &&
( !tmp || tmp.test( handleObj.namespace ) ) &&
( !selector || selector === handleObj.selector ||
selector === "**" && handleObj.selector ) ) {
Consider simplifying this complex logical expression. Open
Open
if (!ignore)
ignore = (cc < '0' || cc > '9')
&& cc != zkDecimal && cc != zkMinus && cc != '+'
&& (zUtl.isChar(cc, {whitespace: 1}) || cc == zkGrouping
|| cc == ')' || (fmt && fmt.indexOf(cc) >= 0));
Function _draw
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_draw(point: zk.Offset, evt?: zk.Event): void {
var node = this.node!,
$node = zk(node),
pos = $node.cmOffset(),
opts = this.opts;
Method toJSONString
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static String toJSONString(Object value){
if(value == null)
return "null";
if(value instanceof String)
Method And
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
final public void And() throws ParseException {
Equality();
label_8:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
Method Or
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
final public void Or() throws ParseException {
And();
label_7:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
Method parseConfigXml
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void parseConfigXml(Configuration config) {
boolean syscfgLoaded;
boolean syscfgLoadedConfig;
synchronized (ConfigParser.class) {
syscfgLoaded = _syscfgLoaded;