Showing 4,841 of 7,782 total issues
Function timer
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
d3.timer = function(callback, delay, then) {
var found = false,
t0,
t1 = d3_timer_queue;
Function ZTAG
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
'ZTAG': function (selector) {
var tag = selector.substring(1);
return function (elem, context, xml, wgt) {
wgt = wgt || zk.Widget.$(elem, {exact: true});
Function d3_layout_forceAccumulate
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function d3_layout_forceAccumulate(quad, alpha, charges) {
var cx = 0,
cy = 0;
quad.charge = 0;
if (!quad.leaf) {
Function attr
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
attr: function( elem, name, value ) {
var ret, hooks,
nType = elem.nodeType;
// Don't get/set attributes on text, comment and attribute nodes
Function _draw
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_draw(opts: EffectMaskOptions, $anchor: zk.JQZK): void {
var maskId = opts.id || 'z_applymask',
progbox = jq(maskId, zk)[0];
if (progbox) return;
Function undoVParent
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
undoVParent(): this {
if (this.hasVParent()) {
var el = this.jq[0],
p = el['z_vp'] as undefined | string,
agt = el['z_vpagt'] as string,
Function _eval
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _eval(wgt: zk.Widget, s: string | null, args: unknown): string | null {
if (s)
for (var j = 0, k: number, l: number, t: string, last = s.length - 1, s2: string | undefined; ;) {
k = s.indexOf('#{', j);
if (k < 0) {
Function _mousewheelX
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mousewheelX(evt: zk.Event, delta: number, deltaX: number, deltaY: number): void {
if (deltaX) {
evt.stop();
var opts = this.opts,
steps = opts.startStep,
Function _mousewheelY
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mousewheelY(evt: zk.Event, delta: number, deltaX: number, deltaY: number): void {
if (deltaY) {
evt.stop();
var opts = this.opts,
steps = opts.startStep,
Function slideOut
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
slideOut(wgt: zk.Widget, opts?: zk.SlideOptions): this {
if (_checkAnimated(this, wgt, opts, 'slideOut'))
return this;
var anchor = opts ? opts.anchor || 't' : 't',
Function create
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
create(context) {
const sourceCode = context.getSourceCode();
function checkAccessModifier(node: ClassMember): void {
// Knowing that `node.accessibility` is not enough; must check with
// `isValidAccessModifier`.
Method expendValue
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private String expendValue(Map labels, String value) {
if (labels != null && value != null) {
int offset = 0;
while (offset < value.length()) {
int start = value.indexOf("${", offset);
Method getLastModified
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public long getLastModified(K src) {
if (src instanceof URL) {
URLConnection conn = null;
try {
URL url = (URL) src;
Method toReadable
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static final String toReadable(long val, String skips) {
if (skips == null) skips = SKIPS;
final int mod = 36 - skips.length();
Method init
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void init(String name, byte[] data) throws IOException {
if (data == null)
throw new IllegalArgumentException("null data");
_name = name;
_data = data;
Method toString
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public String toString(){
StringBuffer sb = new StringBuffer();
switch(type){
case TYPE_VALUE:
sb.append("VALUE(").append(value).append(')');
Method matched
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static boolean matched(Class[] types, Object[] args, boolean loosely) {
if (types.length == args.length) {
final Object[] argcvt = loosely ? new Object[args.length]: args;
boolean cvted = false;
for (int k = args.length;;) {
Method toAttributeName
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static final String toAttributeName(String methodName) {
int len = methodName.length();
if (len < 2)
return null;
Method compare
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings({ "rawtypes", "unchecked" })
private Optional compare(boolean isMax) {
Comparable result = null;
if (iterator.hasNext()) {
Method getOutputStream
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public ServletOutputStream getOutputStream() throws IOException {
if (writer != null) {
throw new IllegalStateException(
"getWriter() has already been called on this response.");