Showing 4,841 of 7,782 total issues
Function adjustCSS
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function adjustCSS( elem, prop, valueParts, tween ) {
var adjusted, scale,
maxIterations = 20,
currentValue = tween ?
function() {
Function access
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
var i = 0,
len = elems.length,
bulk = key == null;
Function stop
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
stop: function( type, clearQueue, gotoEnd ) {
var stopQueue = function( hooks ) {
var stop = hooks.stop;
delete hooks.stop;
stop( gotoEnd );
Function style
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
style: function( elem, name, value, extra ) {
// Don't set styles on text and comment nodes
if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {
return;
Function dispatch
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dispatch: function( nativeEvent ) {
var i, j, ret, matched, handleObj, handlerQueue,
args = new Array( arguments.length ),
Function constructor
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(control: zk.Object & {node?: HTMLElement} | undefined, node: HTMLElement | undefined, opts: DraggableOptions) {
super();
if (!_stackup) {
//IE: if we don't insert stackup at beginning, dragging is slow
_stackup = jq.newStackup(undefined, 'z_ddstkup');
Function _checkBarRequired
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_checkBarRequired(): void {
var cave = this.cave,
scroller = this.scroller,
frozen = this.widget.frozen;
//check if horizontal scroll-bar required
Method NonLiteral
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
final public void NonLiteral() throws ParseException {
if (jj_2_6(5)) {
LambdaExpressionOrInvocation();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
Method getValue
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Object getValue(EvaluationContext ctx) throws ELException {
// Lambda parameters
if (ctx.isLambdaArgument(this.image)) {
return ctx.getLambdaArgument(this.image);
}
Method init
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings("deprecation")
private void init(Window window,String value1,String value2,String value3) {
final Binder binder = new DefaultBinder();
binder.init(window, new MyViewModel(value1,value2,value3), null);
window.setAttribute("vm", binder.getViewModel());
Method doAfterCompose
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void doAfterCompose(Component comp) throws Exception {
super.doAfterCompose(comp);
@SuppressWarnings("unchecked")
Method addForwards
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static void addForwards(Component comp, Object controller, char separator) {
final Class cls = controller.getClass();
final Method[] mtds = cls.getMethods();
for (int j = 0; j < mtds.length; ++j) {
final Method md = mtds[j];
Method injectComponent
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings("unchecked")
private void injectComponent(InjectionFunctor injector, Iterable<Component> comps) {
Class<?> type = injector.getType();
boolean isField = injector instanceof FieldFunctor;
// Array
Method parsePageDirective
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static void parsePageDirective(PageDefinition pgdef, ProcessingInstruction pi, Map<String, String> params)
throws Exception {
for (Map.Entry<String, String> me : pi.parseData().entrySet()) {
final String nm = me.getKey();
final String val = me.getValue();
Method renderProperties
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected void renderProperties(ContentRenderer renderer) throws IOException {
_initialized = true;
render(renderer, "id", _id);
if (_auxinf != null && !_auxinf.visible) //don't call isVisible since it might be overriden (backward compatible)
renderer.render("visible", false);
Method beforeHostChildAdded
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void beforeHostChildAdded(Component child, Component insertBefore, int indexOfInsertBefore) {
if (log.isDebugEnabled()) {
log.debug("beforeHostChildAdded {}, {}, in this shadow {}", child,
insertBefore, ShadowElementsCtrl.getCurrentInfo());
}
Method enableServerPush0
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private boolean enableServerPush0(ServerPush sp, boolean enable) {
if (_sess == null)
throw new IllegalStateException("Server push cannot be enabled in a working thread");
final boolean serverPushAlreadyExists = _spush != null;
Method destroy
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void destroy() {
Visualizer visualizer = null;
try {
if (_desktop != null) {
Execution execution = _desktop.getExecution();
Method sessionTimeout
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void sessionTimeout(HttpServletRequest request, HttpServletResponse response, WebApp wapp, String dtid,
boolean compress) throws ServletException, IOException {
final String sid = request.getHeader("ZK-SID");
if (sid != null) {
//B65-ZK-2464 : Possible XSS Vulnerability in HTTP Header
Method initValidationMessages
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private ValidationMessages initValidationMessages(BindEvaluatorX evalx, Component comp, Binder binder) {
final ComponentCtrl compCtrl = (ComponentCtrl) comp;
final Annotation idanno = compCtrl.getAnnotation(VALIDATION_MESSAGES_ATTR, ID_ANNO);
final Annotation initanno = compCtrl.getAnnotation(VALIDATION_MESSAGES_ATTR, INIT_ANNO);
Object vmessages = null;