Java Examples for org.apache.wicket.MarkupContainer

The following java examples will help you to understand the usage of org.apache.wicket.MarkupContainer. These source code samples are taken from different open source projects.

Example 1
Project: enhanced-wickettester-master  File: EnhancedWicketTester.java View source code
public static <T extends Component, R> R visitComponentTree(final MarkupContainer root, final ComponentMatcher<T, R> matcher) {
    final R res = Visits.visitChildren(root, new IVisitor<T, R>() {

        @Override
        public void component(final T component, final IVisit<R> visit) {
            final R result = matcher.match(component);
            if (result != null) {
                visit.stop(result);
            }
        }
    });
    return res;
}
Example 2
Project: wicket-master  File: ComponentQueueingTest.java View source code
/**
	 * https://issues.apache.org/jira/browse/WICKET-6361
	 */
@Test
public void dequeueComponentsOnInitialization() {
    TestPage p = new TestPage();
    p.setPageMarkup("<p wicket:id='a'><p wicket:id='b'><p wicket:id='c'></p></p></p>");
    MarkupContainer a = new A(), b = new B(), c = new C();
    //components are queued before their nested container is added to the page.
    //this caused a "Detach called on component...while it had a non-empty queue" before WICKET-6361 was fixed
    b.queue(c);
    a.add(b);
    p.add(a);
    tester.startPage(p);
}
Example 3
Project: xsm-master  File: Profile.java View source code
public void layout() {
    super.layout();
    UserData user = getXSMSession().getUser();
    add(new BookmarkablePageLink("edit-profile", EditProfile.class));
    add(new BookmarkablePageLink("edit-password", EditPassword.class));
    setDefaultModel(new CompoundPropertyModel(user));
    add(new Label("name"));
    MarkupContainer link = new ExternalLink("email", user.getEmail());
    link.add(new Label("label", user.getEmail()));
    add(link);
    link = new ExternalLink("homepage", user.getHomepage());
    link.add(new Label("label", user.getHomepage()));
    add(link);
    add(new Label("avatar"));
    add(new Label("note"));
}
Example 4
Project: obiba-commons-master  File: AjaxEditableLabel.java View source code
/**
   * Create a new form component instance to serve as editor.
   *
   * @param parent The parent component
   * @param componentId Id that should be used by the component
   * @param model The model
   * @return The editor
   */
protected Component newLabel(MarkupContainer parent, String componentId, IModel<?> model) {
    Label label = new Label(componentId, model) {

        private static final long serialVersionUID = 1L;

        @Override
        protected void onComponentTagBody(MarkupStream markupStream, ComponentTag openTag) {
            if (getDefaultModelObject() == null) {
                replaceComponentTagBody(markupStream, openTag, defaultNullLabel());
            } else {
                super.onComponentTagBody(markupStream, openTag);
            }
        }
    };
    label.setOutputMarkupId(true);
    label.add(new LabelAjaxBehavior("onclick"));
    return label;
}
Example 5
Project: projectforge-webapp-master  File: WicketUtils.java View source code
/**
   * Add JavaScript function showDeleteEntryQuestionDialog(). Depending on BaseDao.isHistorizable() a delete or mark-as-deleted question
   * will be displayed. Usage in markup: <script wicket:id="showDeleteEntryQuestionDialog">[...]</script>
   * @param parent
   * @param dao
   */
public static void addShowDeleteRowQuestionDialog(final MarkupContainer parent, final BaseDao<?> dao) {
    final StringBuffer buf = new StringBuffer();
    buf.append("function showDeleteEntryQuestionDialog() {\n").append("  return window.confirm('");
    if (dao.isHistorizable() == true) {
        buf.append(parent.getString("question.markAsDeletedQuestion"));
    } else {
        buf.append(parent.getString("question.deleteQuestion"));
    }
    buf.append("');\n}\n");
    parent.add(new Label("showDeleteEntryQuestionDialog", buf.toString()).setEscapeModelStrings(false).add(AttributeModifier.replace("type", "text/javascript")));
}
Example 6
Project: servoy-client-master  File: WebCellBasedView.java View source code
public void add(IPersist element, final Component comp) {
    Component listItemChild = comp;
    if (!isListViewMode()) {
        Component component = elementToColumnIdentifierComponent.values().iterator().next();
        if (component instanceof IComponent && comp instanceof IScriptableProvider) {
            IScriptable so = ((IScriptableProvider) comp).getScriptObject();
            if (so instanceof IRuntimeComponent) {
                IRuntimeComponent ic = (IRuntimeComponent) so;
                ic.setSize(ic.getWidth(), ((IComponent) component).getSize().height);
                ic.setLocation(ic.getLocationX(), visibleRowIndex * ic.getHeight());
            }
        }
        if (element instanceof ISupportName) {
            String elementName = ((ISupportName) element).getName();
            if ((elementName != null) && (elementName.trim().length() > 0) || WebCellBasedView.this.addHeaders) {
                // this column's cells can be made invisible (and <td> tag is the one that has to change)
                // so we will link this <td> to a wicket component
                listItemChild = new CellContainer(comp);
                listItemChild.setOutputMarkupPlaceholderTag(true);
                ((MarkupContainer) listItemChild).add(comp);
            }
        }
    } else {
        // if anchoring add wrapper to the listItemChild
        if (!(cellview instanceof Portal) && useAnchors && (((element instanceof Field) && WebAnchoringHelper.needsWrapperDivForAnchoring((Field) element)) || (element instanceof Bean) || ((element instanceof GraphicalComponent) && ComponentFactory.isButton((GraphicalComponent) element)))) {
            listItemChild = WebAnchoringHelper.getWrapperComponent(comp, (IFormElement) element, listStartY, formBodySize, isLeftToRightOrientation, isListViewMode());
        }
    }
    cellToElement.put(comp, element);
    listItemContainer.add(listItemChild);
    setUpComponent(comp, rec, compColor, compFgColor, compFont, listItemBorder, visibleRowIndex);
}
Example 7
Project: ComplexEventProcessingPlatform-master  File: WarnOnExitForm.java View source code
@Override
public MarkupContainer add(Component... childs) {
    super.add(childs);
    for (Component component : childs) {
        if (component instanceof Button) {
            component.add(new AttributeAppender("onclick", new Model("dontConfirm()"), ";"));
        } else if (component instanceof FormComponent) {
            component.add(new AttributeAppender("onChange", new Model("setDirty()"), ";"));
        }
    }
    return this;
}
Example 8
Project: isis-master  File: PageAbstract.java View source code
////////////////////////////////////////////////////////////////
// bookmarked pages
////////////////////////////////////////////////////////////////
/**
     * Convenience for subclasses
     */
protected void addBookmarkedPages(final MarkupContainer container) {
    Component bookmarks = getComponentFactoryRegistry().createComponent(ComponentType.BOOKMARKED_PAGES, ID_BOOKMARKED_PAGES, getBookmarkedPagesModel());
    container.add(bookmarks);
    bookmarks.add(new Behavior() {

        @Override
        public void onConfigure(Component component) {
            super.onConfigure(component);
            PageParameters parameters = getPageParameters();
            component.setVisible(parameters.get(PageParametersUtils.ISIS_NO_HEADER_PARAMETER_NAME).isNull());
        }
    });
}
Example 9
Project: korok-master  File: GroupHierarchy.java View source code
@Override
protected Component newContentComponent(final String id, final IModel<Group> model) {
    return new Folder<Group>(id, this, model) {

        private static final long serialVersionUID = 1L;

        @Override
        protected MarkupContainer newLinkComponent(final String id, final IModel<Group> model) {
            final Group group = model.getObject();
            return new BookmarkablePageLink<ShowGroup>(id, ShowGroup.class, new PageParameters().add("id", group.getId()));
        }
    };
}
Example 10
Project: owsi-core-parent-master  File: AbstractGenericItemListPanel.java View source code
@Override
protected MarkupContainer getActionLink(String id, IModel<? extends T> itemModel) {
    MarkupContainer actionLink = AbstractGenericItemListPanel.this.getActionLink(id, itemModel);
    if (!isActionAvailable()) {
        getActionLinkHidden().setVisible(false);
        return new InvisibleLink<Void>(id);
    } else {
        boolean actionVisible = actionLink.isVisible();
        actionLink.setVisible(actionVisible);
        getActionLinkHidden().setVisible(!actionVisible);
    }
    return actionLink;
}
Example 11
Project: sakai-cle-master  File: PropertyEditableColumnDropdown.java View source code
/**
	 * @see IColumn#newCell(MarkupContainer, String, TreeNode, int)
	 */
public Component newCell(MarkupContainer parent, String id, TreeNode node, int level) {
    if (!((NodeModel) ((DefaultMutableTreeNode) node).getUserObject()).isNodeEditable()) {
        return new EditablePanelEmpty(id);
    }
    if (DelegatedAccessConstants.TYPE_ACCESS_SHOPPING_PERIOD_USER == type) {
        if (!((NodeModel) ((DefaultMutableTreeNode) node).getUserObject()).getNodeShoppingPeriodAdmin()) {
            return new EditablePanelEmpty(id);
        }
    }
    if (((NodeModel) ((DefaultMutableTreeNode) node).getUserObject()).isDirectAccess()) {
        return new EditablePanelDropdown(id, new PropertyModel(node, getPropertyExpression()), (NodeModel) ((DefaultMutableTreeNode) node).getUserObject(), node, roleMap, type, subAdminRoles);
    } else {
        return new EditablePanelDropdownText(id, new PropertyModel(node, getPropertyExpression()), (NodeModel) ((DefaultMutableTreeNode) node).getUserObject(), node, roleMap, type);
    }
}
Example 12
Project: wicket-dnd-master  File: DropTarget.java View source code
private Location readLocation(Request request) {
    String id = getComponent().getRequest().getRequestParameters().getParameterValue("component").toString();
    Component component = MarkupIdVisitor.getComponent((MarkupContainer) getComponent(), id);
    Anchor anchor = Anchor.valueOf(request.getRequestParameters().getParameterValue("anchor").toString());
    return new Location(component, anchor);
}
Example 13
Project: ehour-master  File: TimesheetPanel.java View source code
private void setSubmitActions(Form<?> form, MarkupContainer parent, final Timesheet timesheet) {
    // default submit
    SubmitButton submitButton = new SubmitButton("submitButton", form, timesheet);
    submitButton.setOutputMarkupId(true);
    submitButton.setMarkupId("submit");
    parent.add(submitButton);
    // reset, should fetch the original contents
    AjaxButton resetButton = new AjaxButton("resetButton", form) {

        private static final long serialVersionUID = 1L;

        @Override
        protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
            // basically fake a week click
            EventPublisher.publishAjaxEvent(this, new AjaxEvent(TimesheetAjaxEventType.WEEK_NAV));
        }

        @Override
        protected void onError(AjaxRequestTarget target, Form<?> form) {
        // reset doesn't error
        }

        @Override
        protected void updateAjaxAttributes(AjaxRequestAttributes attributes) {
            super.updateAjaxAttributes(attributes);
            List<IAjaxCallListener> callListeners = attributes.getAjaxCallListeners();
            callListeners.add(new JavaScriptConfirmation(new ResourceModel("timesheet.confirmReset")));
            callListeners.add(new LoadingSpinnerDecorator());
        }

        @Override
        public boolean isVisible() {
            return !timesheet.isAllLocked();
        }
    };
    resetButton.setDefaultFormProcessing(false);
    parent.add(resetButton);
}
Example 14
Project: geoserver-master  File: AbstractDataAccessPage.java View source code
@Override
protected void onUpdate(AjaxRequestTarget target) {
    // see if the namespace param is tied to a NamespacePanel and save it
    if (!namespaceLookupOccurred) {
        // search for the panel
        Component paramsPanel = AbstractDataAccessPage.this.get("dataStoreForm:parametersPanel");
        namespacePanel = findNamespacePanel((MarkupContainer) paramsPanel);
        // if the panel is not there search for the parameter and build a model around it
        if (namespacePanel == null) {
            final IModel model = paramsForm.getModel();
            final DataStoreInfo info = (DataStoreInfo) model.getObject();
            final Catalog catalog = getCatalog();
            final ResourcePool resourcePool = catalog.getResourcePool();
            DataAccessFactory dsFactory;
            try {
                dsFactory = resourcePool.getDataStoreFactory(info);
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
            final Param[] dsParams = dsFactory.getParametersInfo();
            for (Param p : dsParams) {
                if ("namespace".equals(p.getName())) {
                    final IModel paramsModel = new PropertyModel(model, "connectionParameters");
                    namespaceModel = new NamespaceParamModel(paramsModel, "namespace");
                    break;
                }
            }
        }
        namespaceLookupOccurred = true;
    }
    // get the namespace
    WorkspaceInfo ws = (WorkspaceInfo) wsDropDown.getModelObject();
    String prefix = ws.getName();
    NamespaceInfo namespaceInfo = getCatalog().getNamespaceByPrefix(prefix);
    if (namespacePanel != null) {
        // update the GUI
        namespacePanel.setDefaultModelObject(namespaceInfo);
        target.add(namespacePanel.getFormComponent());
    } else if (namespaceModel != null) {
        // update the model directly
        namespaceModel.setObject(namespaceInfo);
    // target.add(AbstractDataAccessPage.this);
    }
}
Example 15
Project: JDave-master  File: SelectionSpec.java View source code
public Selection<Component> create() {
    selector = mock(Selector.class);
    searchContext = mock(MarkupContainer.class);
    returnedComponent = mock(Component.class);
    return selection = new Selection<Component>(Component.class) {

        @Override
        protected Selector newSelector() {
            return selector;
        }
    };
}
Example 16
Project: ontopia-master  File: InstancePage.java View source code
private void createFunctionBoxes(MarkupContainer parent, String id) {
    parent.add(new FunctionBoxesPanel(id) {

        @Override
        protected List<Component> getFunctionBoxesList(String id) {
            List<Component> list = new ArrayList<Component>();
            if (getTopicTypeModel().getTopicType() != null) {
                list.add(new TopicTypesFunctionBoxPanel(id, getTopicModel(), getTopicTypeModel(), getFieldsViewModel()));
                list.add(new ViewsFunctionBoxPanel(id, getTopicModel(), getTopicTypeModel(), getFieldsViewModel()));
                Topic topic = getTopicModel().getTopic();
                if (topic.isTopicType()) {
                    list.add(new LinkFunctionBoxPanel(id) {

                        @Override
                        protected Component getLabel(String id) {
                            return new Label(id, new ResourceModel("view.instances.of.this.type"));
                        }

                        @Override
                        protected Component getLink(String id) {
                            TopicMap tm = getTopicMapModel().getTopicMap();
                            Topic tt = getTopicModel().getTopic();
                            Map<String, String> pageParametersMap = new HashMap<String, String>();
                            pageParametersMap.put("topicMapId", tm.getId());
                            pageParametersMap.put("topicId", tt.getId());
                            return new OntopolyBookmarkablePageLink(id, InstancesPage.class, new PageParameters(pageParametersMap), tt.getName());
                        }
                    });
                }
                list.add(new LinkFunctionBoxPanel(id) {

                    @Override
                    protected Component getLabel(String id) {
                        return new Label(id, new ResourceModel("view.instances.of.same.type"));
                    }

                    @Override
                    protected Component getLink(String id) {
                        TopicMap tm = getTopicMapModel().getTopicMap();
                        TopicType tt = getTopicTypeModel().getTopicType();
                        Map<String, String> pageParametersMap = new HashMap<String, String>();
                        pageParametersMap.put("topicMapId", tm.getId());
                        pageParametersMap.put("topicId", tt.getId());
                        return new OntopolyBookmarkablePageLink(id, InstancesPage.class, new PageParameters(pageParametersMap), tt.getName());
                    }
                });
                list.add(new LinkFunctionBoxPanel(id) {

                    @Override
                    public boolean isVisible() {
                        return true;
                    }

                    @Override
                    protected Component getLabel(String id) {
                        return new Label(id, new ResourceModel("edit.type.of.this.instance"));
                    }

                    @Override
                    protected Component getLink(String id) {
                        TopicMap tm = getTopicMapModel().getTopicMap();
                        TopicType tt = getTopicTypeModel().getTopicType();
                        Map<String, String> pageParametersMap = new HashMap<String, String>();
                        pageParametersMap.put("topicMapId", tm.getId());
                        pageParametersMap.put("topicId", tt.getId());
                        pageParametersMap.put("ontology", "true");
                        //TODO direct link to correct instance page
                        return new OntopolyBookmarkablePageLink(id, InstancePage.class, new PageParameters(pageParametersMap), tt.getName());
                    }
                });
            }
            OntopolySession session = (OntopolySession) Session.get();
            if (!topicModel.getTopic().isSystemTopic() || session.isAdministrationEnabled()) {
                if (getTopicTypeModel().getTopicType() != null) {
                    // add box for creating new instances of this topic
                    if (topicModel.getTopic().isTopicType()) {
                        TopicType topicType = new TopicType(topicModel.getTopic().getTopicIF(), getTopicMapModel().getTopicMap());
                        if (!topicType.isAbstract() && !topicType.isReadOnly()) {
                            list.add(new CreateInstanceFunctionBoxPanel(id, getTopicMapModel()) {

                                @Override
                                protected Class<? extends Page> getInstancePageClass() {
                                    return InstancePage.class;
                                }

                                @Override
                                protected IModel<String> getTitleModel() {
                                    return new ResourceModel("instances.create.text");
                                }

                                @Override
                                protected Topic createInstance(TopicMap topicMap, String name) {
                                    TopicType topicType = new TopicType(topicModel.getTopic().getTopicIF(), getTopicMapModel().getTopicMap());
                                    return topicType.createInstance(name);
                                }

                                @Override
                                public boolean isVisible() {
                                    return !isReadOnlyPage();
                                }
                            });
                        }
                    }
                    // add box for creating a copy of this topic or new instance of the same type
                    list.add(new CreateOrCopyInstanceFunctionBoxPanel(id, getTopicModel(), getTopicTypeModel()) {

                        @Override
                        public boolean isVisible() {
                            return !isReadOnlyPage();
                        }
                    });
                    list.add(new FunctionBoxPanel(id) {

                        @Override
                        public boolean isVisible() {
                            return !isReadOnlyPage();
                        }

                        @Override
                        protected List<List<Component>> getFunctionBoxComponentList(String id) {
                            Label label = new Label(id, new ResourceModel("change.type.instance"));
                            TopicModel<TopicType> selectedModel = new TopicModel<TopicType>(null, TopicModel.TYPE_TOPIC_TYPE);
                            final boolean isOntologyType = topicModel.getTopic().isOntologyTopic();
                            AvailableTopicTypesModel choicesModel = new AvailableTopicTypesModel(topicModel) {

                                @Override
                                protected boolean filter(Topic o) {
                                    // if current topic is an ontology topic then include ontology types
                                    if (isOntologyType && o.isOntologyType())
                                        return true;
                                    AbstractOntopolyPage page = (AbstractOntopolyPage) getPage();
                                    return page.filterTopic(o);
                                }
                            };
                            TopicDropDownChoice<TopicType> choice = new TopicDropDownChoice<TopicType>(id, selectedModel, choicesModel) {

                                @Override
                                protected void onModelChanged() {
                                    super.onModelChanged();
                                    TopicType selectedTopicType = (TopicType) getModelObject();
                                    Topic topic = topicModel.getTopic();
                                    TopicType currentTopicType = getTopicTypeModel().getTopicType();
                                    if (topic.getTopicTypes().contains(currentTopicType)) {
                                        // Only replace current topic type if it still is an existing type of the current topic. 
                                        // This can actually happen if the user uses the back button in the browser.
                                        topic.addTopicType(selectedTopicType);
                                        topic.removeTopicType(currentTopicType);
                                    }
                                    Map<String, String> pageParametersMap = new HashMap<String, String>();
                                    pageParametersMap.put("topicMapId", topic.getTopicMap().getId());
                                    pageParametersMap.put("topicId", topic.getId());
                                    pageParametersMap.put("topicTypeId", selectedTopicType.getId());
                                    setResponsePage(InstancePage.class, new PageParameters(pageParametersMap));
                                }
                            };
                            choice.add(new AjaxFormComponentUpdatingBehavior("onchange") {

                                @Override
                                protected void onUpdate(AjaxRequestTarget target) {
                                }
                            });
                            List<Component> heading = Arrays.asList(new Component[] { label });
                            List<Component> box = Arrays.asList(new Component[] { choice });
                            List<List<Component>> result = new ArrayList<List<Component>>(2);
                            result.add(heading);
                            result.add(box);
                            return result;
                        }
                    });
                    if (session.isAdministrationEnabled()) {
                        list.add(new AddOrRemoveTypeFunctionBoxPanel(id, topicModel) {

                            @Override
                            public boolean isVisible() {
                                return !isReadOnlyPage();
                            }
                        });
                    }
                    if (getTopicModel().getTopic().isAssociationType()) {
                        list.add(new AssociationTransformFunctionBoxPanel(id, topicModel) {

                            @Override
                            public boolean isVisible() {
                                return !isReadOnlyPage();
                            }
                        });
                    }
                    if (!topicModel.getTopic().isTopicMap()) {
                        list.add(new DeleteTopicFunctionBoxPanel(id) {

                            @Override
                            public boolean isVisible() {
                                return !isReadOnlyPage();
                            }

                            @Override
                            public TopicModel<Topic> getTopicModel() {
                                return InstancePage.this.getTopicModel();
                            }

                            @Override
                            public void onDeleteConfirmed(Topic _topic) {
                                Topic topic = (Topic) _topic;
                                TopicMap topicMap = topic.getTopicMap();
                                TopicType topicType = getTopicTypeModel().getTopicType();
                                Map<String, String> pageParametersMap = new HashMap<String, String>();
                                pageParametersMap.put("topicMapId", topicMap.getId());
                                pageParametersMap.put("topicId", topicType.getId());
                                setResponsePage(InstancesPage.class, new PageParameters(pageParametersMap));
                            }
                        });
                    }
                }
            }
            list.add(new OmnigatorLinkFunctionBoxPanel(id) {

                @Override
                protected String getTopicMapId() {
                    return getTopicMapModel().getTopicMap().getId();
                }

                @Override
                protected String getTopicId() {
                    Topic tt = getTopicModel().getTopic();
                    return tt.getId();
                }
            });
            list.add(new VizigatorLinkFunctionBoxPanel(id) {

                @Override
                protected String getTopicMapId() {
                    return getTopicMapModel().getTopicMap().getId();
                }

                @Override
                protected String getTopicId() {
                    Topic tt = getTopicModel().getTopic();
                    return tt.getId();
                }
            });
            return list;
        }
    });
}
Example 17
Project: Orienteer-master  File: AbstractMetaPanel.java View source code
@SuppressWarnings("unchecked")
public static <C> IMetaContext<C> getMetaContext(Component component) {
    return (IMetaContext<C>) component.visitParents(MarkupContainer.class, new IVisitor<MarkupContainer, IMetaContext<C>>() {

        @Override
        public void component(MarkupContainer object, IVisit<IMetaContext<C>> visit) {
            visit.stop((IMetaContext<C>) object);
        }
    }, new ClassVisitFilter(IMetaContext.class));
}
Example 18
Project: wicket-examples-master  File: SigninExamplesPanel.java View source code
protected Component newSigninFormPanel(final String id, final IModel<SignInWithRedirectionModel<Page>> model) {
    final SigninFormPanel<SignInWithRedirectionModel<Page>> signFormPanel = new SigninFormPanel<SignInWithRedirectionModel<Page>>(id, new CompoundPropertyModel<>(model)) {

        /** The Constant serialVersionUID. */
        private static final long serialVersionUID = 1L;

        /**
			 * {@inheritDoc}
			 */
        @Override
        protected Button newButton(final String id) {
            final Button button = super.newButton(id);
            button.add(Wrappers.FORM_GROUP_ELEMENT).add(new JqueryStatementsBehavior().add(new BuildableChainableStatement.Builder().label("wrap").args(JsUtils.quotes("<div class=\"col-sm-offset-" + SigninExamplesPanel.this.labelSize + " col-sm-" + SigninExamplesPanel.this.inputSize + "\"></div>")).build()));
            button.add(new AttributeAppender("class", " btn btn-default"));
            return button;
        }

        /**
			 * {@inheritDoc}
			 */
        @Override
        protected Form<?> newForm(final String id, final IModel<?> model) {
            final Form<?> form = super.newForm(id, model);
            form.add(new AttributeAppender("class", " form-horizontal"));
            return form;
        }

        /**
			 * {@inheritDoc}
			 */
        @Override
        protected MarkupContainer newPasswordForgottenLink(final String id, final IModel<SignInWithRedirectionModel<Page>> model) {
            final MarkupContainer passwordForgottenLink = super.newPasswordForgottenLink(id, model);
            passwordForgottenLink.add(new AttributeAppender("class", " btn btn-link"));
            return passwordForgottenLink;
        }

        /**
			 * {@inheritDoc}
			 */
        @Override
        protected Component newSigninPanel(final String id, final IModel<SignInWithRedirectionModel<Page>> model) {
            final SigninPanel<SignInWithRedirectionModel<Page>> signinPanel = new SigninPanel<SignInWithRedirectionModel<Page>>(id, model) {

                /**
					 * The serialVersionUID
					 */
                private static final long serialVersionUID = 1L;

                /**
					 * {@inheritDoc}
					 */
                @Override
                @SuppressWarnings("unchecked")
                protected Component newEmailTextField(final String id, final IModel<SignInWithRedirectionModel<Page>> model) {
                    final LabeledEmailTextFieldPanel<String, SignInWithRedirectionModel<Page>> emailTextField = (LabeledEmailTextFieldPanel<String, SignInWithRedirectionModel<Page>>) super.newEmailTextField(id, model);
                    emailTextField.add(new AttributeAppender("class", " form-group"));
                    emailTextField.getEmailTextField().add(new JqueryStatementsBehavior().add(new BuildableChainableStatement.Builder().label("wrap").args(JsUtils.quotes("<div class=\"col-sm-" + SigninExamplesPanel.this.inputSize + "\"></div>")).build())).add(new AttributeAppender("class", " form-control"));
                    emailTextField.getLabelComponent().add(new AttributeAppender("class", " control-label col-sm-" + SigninExamplesPanel.this.labelSize));
                    return emailTextField;
                }

                /**
					 * {@inheritDoc}
					 */
                @Override
                protected LabeledPasswordTextFieldPanel<String, SignInWithRedirectionModel<Page>> newPasswordTextField(final String id, final IModel<SignInWithRedirectionModel<Page>> model) {
                    final LabeledPasswordTextFieldPanel<String, SignInWithRedirectionModel<Page>> pwTextField = super.newPasswordTextField(id, model);
                    pwTextField.add(new AttributeAppender("class", " form-group"));
                    pwTextField.getPasswordTextField().add(new JqueryStatementsBehavior().add(new BuildableChainableStatement.Builder().label("wrap").args(JsUtils.quotes("<div class=\"col-sm-" + SigninExamplesPanel.this.inputSize + "\"></div>")).build())).add(new AttributeAppender("class", " form-control"));
                    pwTextField.getLabelComponent().add(new AttributeAppender("class", " control-label col-sm-" + SigninExamplesPanel.this.labelSize));
                    return pwTextField;
                }
            };
            return signinPanel;
        }

        @Override
        protected void onError(AjaxRequestTarget target, Form<?> form) {
            SigninExamplesPanel.this.onError(target, form);
        }

        /**
			 * {@inheritDoc}
			 */
        @Override
        protected void onPasswordForgotten(final AjaxRequestTarget target, final Form<?> form) {
            SigninExamplesPanel.this.onPasswordForgotten(target, form);
        }

        /**
			 * {@inheritDoc}
			 */
        @Override
        protected void onSignin(final AjaxRequestTarget target, final Form<?> form) {
            SigninExamplesPanel.this.onSignin(target, form);
        }
    };
    return signFormPanel;
}
Example 19
Project: gitblit-master  File: TicketPage.java View source code
protected void addUserAttributions(MarkupContainer container, Change entry, int avatarSize) {
    UserModel commenter = app().users().getUserModel(entry.author);
    if (commenter == null) {
        // unknown user
        container.add(new AvatarImage("changeAvatar", entry.author, entry.author, null, avatarSize, false).setVisible(avatarSize > 0));
        container.add(new Label("changeAuthor", entry.author.toLowerCase()));
    } else {
        // known user
        container.add(new AvatarImage("changeAvatar", commenter.getDisplayName(), commenter.emailAddress, avatarSize > 24 ? "gravatar-round" : null, avatarSize, true).setVisible(avatarSize > 0));
        container.add(new LinkPanel("changeAuthor", null, commenter.getDisplayName(), UserPage.class, WicketUtils.newUsernameParameter(commenter.username)));
    }
}
Example 20
Project: brix-cms-master  File: MarkupHelper.java View source code
@Override
void postprocessTagAttributes(Tag tag, Map<String, String> attributes) {
    // if during rendering we have a ComponentTag
    if (tag instanceof ComponentTag && tag.getType() != Tag.Type.CLOSE) {
        ComponentTag componentTag = (ComponentTag) tag;
        String id = getComponentID(componentTag);
        // check if the component already is in hierarchy
        if (getExistingComponents().contains(id)) {
            // just put the wicket:id attribute to component tag
            attributes.put("wicket:id", id);
            components.add(id);
        } else {
            // otherwise we need to create the component instance
            Component c = componentTag.getComponent(id, component.getModel());
            if (c != null) {
                attributes.put("wicket:id", id);
                components.add(id);
                ((MarkupContainer) component).add(c);
            }
        }
    }
}
Example 21
Project: jaulp.wicket-master  File: ModalDialogFragmentPanel.java View source code
/**
	 * Factory method for creating a new {@link Component} to open the {@link ModalWindow}. This
	 * method is invoked in the constructor from the derived classes and can be overridden so users
	 * can provide their own version of a new {@link Component} to open the {@link ModalWindow}.
	 *
	 * @param id
	 *            the wicket id
	 * @param model
	 *            the model
	 * @return the new {@link Component} to open the {@link ModalWindow}.
	 */
protected MarkupContainer newOpenModalLink(final String id, final IModel<T> model) {
    return new AjaxLink<Void>(id) {

        /** The Constant serialVersionUID. */
        private static final long serialVersionUID = 1L;

        /**
			 * {@inheritDoc}
			 */
        @Override
        public void onClick(final AjaxRequestTarget target) {
            ModalDialogFragmentPanel.this.onShow(target);
        }
    };
}
Example 22
Project: kryo-serializers-master  File: WicketTest.java View source code
/**
     * Tests that MarkupContainer.ChildList is serialized/deserialized correctly.
     * It needs ReflectionFactory support, ReferenceFieldSerializer as default
     * serializer and the FieldSerializer for MarkupContainer.ChildList (instead of
     * default CollectionSerializer).
     * 
     * @throws Exception
     */
@Test(enabled = true)
public void testMarkupContainerChildList() throws Exception {
    final MarkupContainer markupContainer = new WebMarkupContainer("foo");
    markupContainer.add(new Label("label1", "foo"));
    markupContainer.add(new Label("label", "hello"));
    final byte[] serialized = serialize(_kryo, markupContainer);
    final MarkupContainer deserialized = deserialize(_kryo, serialized, markupContainer.getClass());
    KryoTest.assertDeepEquals(deserialized, markupContainer);
}
Example 23
Project: nocket-master  File: SynchronizerHelper.java View source code
/**
	 * Let the Ajax response update all components in all forms. Will be used by
	 * ajax buttons.
	 * 
	 * @param ctx
	 * @param target
	 */
public static void updateAllFormsFromPage(DMDWebGenPageContext ctx, final AjaxRequestTarget target) {
    MarkupContainer root = findRoot(ctx.getPage());
    root.visitChildren(new IVisitor<Component, Object>() {

        @Override
        public void component(Component object, IVisit<Object> visit) {
            if (object instanceof Form || object instanceof ModalWindow || object instanceof TabbedPanel) {
                Component component = object;
                target.add(component);
            }
            IModel<?> defaultModel = object.getDefaultModel();
            if (defaultModel instanceof TouchedListenerModelWrapper<?>) {
                try {
                    ((TouchedListenerModelWrapper<?>) defaultModel).preserveState(object);
                } catch (Exception e) {
                }
            }
        }
    });
    Component feedback = ctx.getComponentRegistry().getComponent(FeedbackElement.DEFAULT_WICKET_ID);
    if (feedback != null) {
        target.add(feedback);
    }
}
Example 24
Project: openengsb-master  File: PropertyEditableColumn.java View source code
@SuppressWarnings("serial")
@Override
public Component newCell(MarkupContainer parent, String id, TreeNode node, int level) {
    DefaultMutableTreeNode fieldNode = (DefaultMutableTreeNode) node;
    final ModelBean userObject = (ModelBean) fieldNode.getUserObject();
    if (Pattern.matches("/domain/.+/defaultConnector/id", userObject.getKey())) {
        return new DropDownPanel(id, new PropertyModel<String>(node, getPropertyExpression()), new LoadableDetachableModel<List<String>>() {

            @Override
            protected List<String> load() {
                return getServices(userObject.getKey());
            }
        });
    }
    return new EditablePanel(id, new PropertyModel<String>(node, getPropertyExpression()));
}
Example 25
Project: swu-master  File: ModelDetachedChecker.java View source code
private void checkPage(IRequestablePage requestablePage) {
    if (requestablePage instanceof MarkupContainer) {
        ((MarkupContainer) requestablePage).visitChildren(new IVisitor<Component, Object>() {

            @Override
            public void component(Component object, IVisit<Object> visit) {
                checkFieldsForModels(object, object);
            }
        });
    }
}
Example 26
Project: webanno-master  File: LogoutPanel.java View source code
@SuppressWarnings("serial")
private void commonInit() {
    add(new Label("username").setDefaultModel(new Model<String>(SecurityContextHolder.getContext().getAuthentication().getName())));
    add(new StatelessLink<Void>("logout") {

        @Override
        public void onClick() {
            AuthenticatedWebSession.get().signOut();
            getSession().invalidate();
            setResponsePage(getApplication().getHomePage());
        }
    });
    add(new MarkupContainer("logoutTimer") {

        @Override
        protected void onConfigure() {
            super.onConfigure();
            setVisible(getAutoLogoutTime() > 0);
        }
    });
}
Example 27
Project: artifact-listener-master  File: ArtifactDeprecationFormPopupPanel.java View source code
@Override
protected Component createBody(String wicketId) {
    DelegatedMarkupPanel body = new DelegatedMarkupPanel(wicketId, ArtifactDeprecationFormPopupPanel.class);
    form = new Form<Artifact>("form", getModel());
    body.add(form);
    final MarkupContainer relatedArtifactContainer = new WebMarkupContainer("relatedArtifactContainer");
    relatedArtifactContainer.setOutputMarkupId(true);
    form.add(relatedArtifactContainer);
    final ArtifactDropDownChoice relatedArtifactField = new ArtifactDropDownChoice("relatedArtifact", BindingModel.of(form.getModel(), Binding.artifact().relatedArtifact()), new ArtifactSelect2AjaxAdapter(ArtifactDropDownChoice.CHOICE_RENDERER) {

        private static final long serialVersionUID = 1L;

        @Override
        public List<Artifact> getChoices(int start, int count, String term) {
            List<Artifact> choices = super.getChoices(start, count, term);
            choices.remove(getModelObject());
            return choices;
        }
    });
    relatedArtifactField.setLabel(new ResourceModel("artifact.deprecation.field.relatedArtifact"));
    relatedArtifactContainer.add(relatedArtifactField);
    ArtifactDeprecationStatusDropDownChoice deprecatedField = new ArtifactDeprecationStatusDropDownChoice("deprecationStatus", BindingModel.of(form.getModel(), Binding.artifact().deprecationStatus()));
    deprecatedField.setWidth(DropDownChoiceWidth.SMALL);
    deprecatedField.setLabel(new ResourceModel("artifact.deprecation.field.deprecationStatus"));
    relatedArtifactField.add(new AjaxInputPrerequisiteEnabledBehavior<ArtifactDeprecationStatus>(deprecatedField).setObjectValidPredicate(PREDICATE).setRefreshParent(true));
    form.add(deprecatedField);
    return body;
}
Example 28
Project: atricore-idbus-master  File: IdBusRelativePathPrefixHandler.java View source code
public Component resolve(final MarkupContainer container, final MarkupStream markupStream, final ComponentTag tag) {
    if ((tag != null) && (tag.getId().startsWith(WICKET_RELATIVE_PATH_PREFIX_CONTAINER_ID))) {
        String id = WICKET_RELATIVE_PATH_PREFIX_CONTAINER_ID + container.getPage().getAutoIndex();
        // that contains a label.
        return new TransparentWebMarkupContainer(id);
    }
    return null;
}
Example 29
Project: dcm4chee-wizard-master  File: CreateOrEditForwardRulePage.java View source code
private MarkupContainer addCancelButton(final ModalWindow window, final ExtendedForm form) {
    return form.add(new AjaxFallbackButton("cancel", new ResourceModel("cancelBtn"), form) {

        private static final long serialVersionUID = 1L;

        @Override
        protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
            window.close(target);
        }

        @Override
        protected void onError(AjaxRequestTarget arg0, Form<?> arg1) {
        }
    }.setDefaultFormProcessing(false));
}
Example 30
Project: elpaaso-core-master  File: PaasWicketTester.java View source code
/* Lookup for a Component from its id or its full path */
public String lookupPath(final MarkupContainer markupContainer, final String path) {
    // try to look it up directly
    if (markupContainer.get(path) != null)
        return path;
    // if that fails, traverse the component hierarchy looking for it
    final List<Component> candidates = new ArrayList<Component>();
    markupContainer.visitChildren(new IVisitor<Component, List<Component>>() {

        Set<Component> visited = new HashSet<Component>();

        @Override
        public void component(Component c, IVisit<List<Component>> visit) {
            if (!visited.contains(c)) {
                visited.add(c);
                if (c.getId().equals(path)) {
                    candidates.add(c);
                } else {
                    if (c.getPath().endsWith(path)) {
                        candidates.add(c);
                    }
                }
            }
        }
    });
    // if its unambiguous, then return the full path
    if (candidates.isEmpty()) {
        fail("path: '" + path + "' not found for " + Classes.simpleName(markupContainer.getClass()));
        return null;
    } else if (candidates.size() == 1) {
        String pathToContainer = markupContainer.getPath();
        String pathToComponent = candidates.get(0).getPath();
        return pathToComponent.replaceFirst(pathToContainer + ":", "");
    } else {
        String message = "path: '" + path + "' is ambiguous for " + Classes.simpleName(markupContainer.getClass()) + ". Possible candidates are: ";
        for (Component c : candidates) {
            message += "[" + c.getPath() + "]";
        }
        fail(message);
        return null;
    }
}
Example 31
Project: jabylon-master  File: PropertyListPanel.java View source code
protected void fillStatusColumn(PropertyPair propertyPair, Collection<Review> reviewCollection, MarkupContainer container) {
    IStatus status = calculateRowStatus(propertyPair);
    if (status.getSeverity() == IStatus.WARNING)
        container.add(new AttributeModifier("class", "warning"));
    else if (status.getSeverity() == IStatus.ERROR)
        container.add(new AttributeModifier("class", "error"));
    Collection<Review> reviews = reviewCollection;
    if (reviews == null || reviews.isEmpty())
        reviews = createInMemoryReview(propertyPair);
    RepeatingView view = new RepeatingView("reviews");
    DateFormat formatter = SimpleDateFormat.getDateTimeInstance(SimpleDateFormat.SHORT, SimpleDateFormat.SHORT, getSession().getLocale());
    for (Review review : reviews) {
        if (review.getState() == ReviewState.INVALID || review.getState() == ReviewState.RESOLVED)
            continue;
        Label label = new Label(view.newChildId(), review.getReviewType());
        label.add(new AttributeAppender("class", getLabelClass(review)));
        StringBuilder title = new StringBuilder();
        if (review.getMessage() != null)
            title.append(review.getMessage());
        if (review.getCreated() > 0) {
            if (title.length() > 0)
                //add a linebreak
                title.append("\n");
            title.append(formatter.format(new Date(review.getCreated())));
        }
        if (title.length() > 0)
            label.add(new AttributeModifier("title", title.toString()));
        view.add(label);
    }
    container.add(view);
}
Example 32
Project: nextreports-server-master  File: AbstractDestinationPanel.java View source code
@Override
public void onOk(AjaxRequestTarget target) {
    super.onOk(target);
    if (NextServerSession.get().isDemo()) {
        error(getString("ActionContributor.Run.destination.demo"));
        target.add(getFeedbackPanel());
        return;
    }
    MarkupContainer p = AbstractDestinationPanel.this.getParent();
    while (!(p instanceof DestinationsPanel)) {
        p = p.getParent();
    }
    List<Destination> destinations = ((DestinationsPanel) p).getDestinations();
    for (Destination d : destinations) {
        if (d.equals(destination)) {
            // edit
            continue;
        }
        if (d.getName().equals(destination.getName())) {
            error(getString("ActionContributor.Run.destination.unique") + " : '" + destination.getName() + "'");
            target.add(getFeedbackPanel());
            return;
        }
    }
    onSave(target);
}
Example 33
Project: org.ops4j.pax.wicket-master  File: AbstractPaxWicketInjector.java View source code
/**
     * <p>isBoundaryClass.</p>
     *
     * @param clazz a {@link java.lang.Class} object.
     * @return a boolean.
     */
protected boolean isBoundaryClass(Class<?> clazz) {
    if (clazz.equals(WebPage.class) || clazz.equals(Page.class) || clazz.equals(Panel.class) || clazz.equals(MarkupContainer.class) || clazz.equals(Component.class) || clazz.equals(AuthenticatedWebSession.class) || clazz.equals(WebSession.class) || clazz.equals(Session.class) || clazz.equals(Object.class)) {
        return true;
    }
    return false;
}
Example 34
Project: syncope-master  File: AbstractConsoleITCase.java View source code
protected <V extends Serializable> Component findComponentByProp(final String property, final String searchPath, final V key) {
    Component component = TESTER.getComponentFromLastRenderedPage(searchPath);
    return (component instanceof MarkupContainer ? MarkupContainer.class.cast(component) : component.getPage()).visitChildren(ListItem.class, new IVisitor<ListItem<?>, Component>() {

        @Override
        public void component(final ListItem<?> object, final IVisit<Component> visit) {
            try {
                Method getter = PropertyResolver.getPropertyGetter(property, object.getModelObject());
                if (getter != null && getter.invoke(object.getModelObject()).equals(key)) {
                    visit.stop(object);
                }
            } catch (Exception e) {
                LOG.error("Error invoke method", e);
            }
        }
    });
}
Example 35
Project: wicket-jade-master  File: JadePanel.java View source code
@Override
public IResourceStream getMarkupResourceStream(MarkupContainer container, Class<?> containerClass) {
    // load the jade template
    JadeTemplate template = null;
    try {
        template = getTemplate(containerClass);
    } catch (IOException e) {
        onException(e);
    }
    // evaluate the jade template
    if (htmlMarkup == null) {
        htmlMarkup = Jade4J.render(template, getModelObject());
    }
    //  create the markup (string)
    StringBuffer buffer = new StringBuffer();
    buffer.append("<wicket:panel>");
    buffer.append(htmlMarkup);
    buffer.append("</wicket:panel>");
    return new StringResourceStream(buffer.toString());
}
Example 36
Project: wicket-web-action-master  File: BindVoidMethodToAction.java View source code
@Test
public void boundActionWithAjaxParameterShouldExecuteMethodWithAjaxContext() {
    TestClass bindable = WebBinding.bindable(TestClass.class);
    WebBinding.bindAction(testAction()).when(bindable).onAjax(null);
    context = null;
    target = null;
    bindable.onAjax(new AjaxRequestTarget() {

        @Override
        public Integer getPageId() {
            return null;
        }

        @Override
        public boolean isPageInstanceCreated() {
            return false;
        }

        @Override
        public Integer getRenderCount() {
            return null;
        }

        @Override
        public Class<? extends IRequestablePage> getPageClass() {
            return null;
        }

        @Override
        public PageParameters getPageParameters() {
            return null;
        }

        @Override
        public void respond(final IRequestCycle requestCycle) {
        }

        @Override
        public void detach(final IRequestCycle requestCycle) {
        }

        @Override
        public ILogData getLogData() {
            return null;
        }

        @Override
        public void add(final Component component, final String markupId) {
        }

        @Override
        public void add(final Component... components) {
        }

        @Override
        public void addChildren(final MarkupContainer parent, final Class<?> childCriteria) {
        }

        @Override
        public void addListener(final IListener listener) {
        }

        @Override
        public void appendJavaScript(final CharSequence javascript) {
        }

        @Override
        public void prependJavaScript(final CharSequence javascript) {
        }

        @Override
        public void registerRespondListener(final ITargetRespondListener listener) {
        }

        @Override
        public Collection<? extends Component> getComponents() {
            return null;
        }

        @Override
        public void focusComponent(final Component component) {
        }

        @Override
        public IHeaderResponse getHeaderResponse() {
            return null;
        }

        @Override
        public String getLastFocusedElementId() {
            return null;
        }

        @Override
        public Page getPage() {
            return null;
        }
    });
    assertNotNull(context);
    assertNotNull(target);
}
Example 37
Project: wicket_workshop-master  File: AjaxTreePage.java View source code
@Override
protected MarkupContainer newLinkComponent(String id, IModel<DefaultMutableTreeNode> model) {
    // å­?ã?Œã?‚ã‚Œã?°é€šå¸¸ã?®ã‚³ãƒ³ãƒ?ーãƒ?ントã?Œæ??ä¾›ã?™ã‚‹ãƒ•ã‚©ãƒ«ãƒ€ãƒªãƒ³ã‚¯ã€?å­?ã?Œç„¡ã?‘ã‚Œã?°çµ‚端用ã?®ãƒªãƒ³ã‚¯
    if (getProvider().hasChildren(model.getObject())) {
        return super.newLinkComponent(id, model);
    }
    return new AjaxLink<DefaultMutableTreeNode>(id, model) {

        private static final long serialVersionUID = -7710712071051731986L;

        @Override
        public void onClick(AjaxRequestTarget target) {
            clickedTerminatory.setObject(getDefaultModelObjectAsString());
            target.add(clickedTerminatoryLabel);
        }
    };
}
Example 38
Project: hudson_plugins-master  File: PluginBaseTest.java View source code
protected String createReportXml() {
    StringBuilder sb = new StringBuilder();
    sb.append("<?xml version=\"1.0\"?><testability excellent=\"6\" good=\"3\" needsWork=\"0\" overall=\"40\"><class class=\"com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage\" cost=\"59\"><method cyclomatic=\"48\" global=\"1\" line=\"43\" lod=\"0\" name=\"com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage(org.apache.wicket.PageParameters)\" overall=\"58\"><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"154\" lod=\"0\" method=\"void setDetailedIpLocationInfo(com.ongame.platform.fraud.DetailedIPLocationInfo)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"141\" lod=\"0\" method=\"void setFraudService(com.ongame.platform.fraud.IFraudService)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"43\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.BoFraudBasePage()\" overall=\"4\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"49\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.panels.ExtendedFeedbackPanel(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"65\" lod=\"0\" method=\"com.ongame.platform.fraud.DetailedIPLocationInfo createUnknownIpAddress(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"68\" lod=\"0\" method=\"void addIpInfo()\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"58\" lod=\"0\" method=\"void info(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/></method><method cyclomatic=\"50\" global=\"1\" line=\"76\" lod=\"0\" name=\"void addIpInfo()\" overall=\"60\"><cost cyclomatic=\"9\" global=\"0\" line=\"43\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage(org.apache.wicket.PageParameters)\" overall=\"9\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"154\" lod=\"0\" method=\"void setDetailedIpLocationInfo(com.ongame.platform.fraud.DetailedIPLocationInfo)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"141\" lod=\"0\" method=\"void setFraudService(com.ongame.platform.fraud.IFraudService)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"77\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage$ExtendedPropertyModel(com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage, java.lang.Object, java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/></method><method cyclomatic=\"50\" global=\"1\" line=\"114\" lod=\"0\" name=\"com.ongame.platform.fraud.DetailedIPLocationInfo createUnknownIpAddress(java.lang.String)\" overall=\"60\"><cost cyclomatic=\"9\" global=\"0\" line=\"43\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage(org.apache.wicket.PageParameters)\" overall=\"9\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"154\" lod=\"0\" method=\"void setDetailedIpLocationInfo(com.ongame.platform.fraud.DetailedIPLocationInfo)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"141\" lod=\"0\" method=\"void setFraudService(com.ongame.platform.fraud.IFraudService)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/>");
    sb.append("<cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"114\" lod=\"0\" method=\"com.ongame.platform.fraud.DetailedIPLocationInfo()\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"115\" lod=\"0\" method=\"void setIpAddress(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"117\" lod=\"0\" method=\"void setCountryCode(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"118\" lod=\"0\" method=\"void setCountry(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"119\" lod=\"0\" method=\"void setRegionCode(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"120\" lod=\"0\" method=\"void setRegion(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"121\" lod=\"0\" method=\"void setCity(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"122\" lod=\"0\" method=\"void setPostalCode(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"123\" lod=\"0\" method=\"void setIsp(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"124\" lod=\"0\" method=\"void setConnectionType(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"125\" lod=\"0\" method=\"void setProxy(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/></method><method cyclomatic=\"50\" global=\"1\" line=\"35\" lod=\"0\" name=\"com.ongame.bo.util.wicket.app.BoSession getBoSession()\" overall=\"60\"><cost cyclomatic=\"9\" global=\"0\" line=\"43\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage(org.apache.wicket.PageParameters)\" overall=\"9\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"154\" lod=\"0\" method=\"void setDetailedIpLocationInfo(com.ongame.platform.fraud.DetailedIPLocationInfo)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"141\" lod=\"0\" method=\"void setFraudService(com.ongame.platform.fraud.IFraudService)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/></method><method cyclomatic=\"50\" global=\"1\" line=\"148\" lod=\"0\" name=\"com.ongame.platform.fraud.DetailedIPLocationInfo getDetailedIpLocationInfo()\" overall=\"60\"><cost cyclomatic=\"9\" global=\"0\" line=\"43\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage(org.apache.wicket.PageParameters)\" overall=\"9\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"154\" lod=\"0\" method=\"void setDetailedIpLocationInfo(com.ongame.platform.fraud.DetailedIPLocationInfo)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"141\" lod=\"0\" method=\"void setFraudService(com.ongame.platform.fraud.IFraudService)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/></method><method cyclomatic=\"50\" global=\"1\" line=\"133\" lod=\"0\" name=\"com.ongame.platform.fraud.IFraudService getFraudService()\" overall=\"60\"><cost cyclomatic=\"9\" global=\"0\" line=\"43\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage(org.apache.wicket.PageParameters)\" overall=\"9\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/>");
    sb.append("<cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"154\" lod=\"0\" method=\"void setDetailedIpLocationInfo(com.ongame.platform.fraud.DetailedIPLocationInfo)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"141\" lod=\"0\" method=\"void setFraudService(com.ongame.platform.fraud.IFraudService)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/></method><method cyclomatic=\"50\" global=\"1\" line=\"154\" lod=\"0\" name=\"void setDetailedIpLocationInfo(com.ongame.platform.fraud.DetailedIPLocationInfo)\" overall=\"60\"><cost cyclomatic=\"9\" global=\"0\" line=\"43\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage(org.apache.wicket.PageParameters)\" overall=\"9\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"50\" global=\"1\" line=\"154\" lod=\"0\" method=\"void setDetailedIpLocationInfo(com.ongame.platform.fraud.DetailedIPLocationInfo)\" overall=\"60\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"141\" lod=\"0\" method=\"void setFraudService(com.ongame.platform.fraud.IFraudService)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/></method><method cyclomatic=\"50\" global=\"1\" line=\"141\" lod=\"0\" name=\"void setFraudService(com.ongame.platform.fraud.IFraudService)\" overall=\"60\"><cost cyclomatic=\"9\" global=\"0\" line=\"43\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage(org.apache.wicket.PageParameters)\" overall=\"9\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"154\" lod=\"0\" method=\"void setDetailedIpLocationInfo(com.ongame.platform.fraud.DetailedIPLocationInfo)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"50\" global=\"1\" line=\"141\" lod=\"0\" method=\"void setFraudService(com.ongame.platform.fraud.IFraudService)\" overall=\"60\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/>");
    sb.append("<cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/></method></class><class class=\"com.ongame.bo.bofraud.markup.pages.BoFraudBasePage\" cost=\"56\"><method cyclomatic=\"45\" global=\"1\" line=\"34\" lod=\"0\" name=\"com.ongame.bo.bofraud.markup.pages.BoFraudBasePage()\" overall=\"55\"><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"37\" lod=\"0\" method=\"org.apache.wicket.MarkupContainer add(org.apache.wicket.Component)\" overall=\"3\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"39\" lod=\"0\" method=\"com.ongame.platform.bossologin.Actor getActor()\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"43\" lod=\"0\" method=\"java.lang.String getFirstName()\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"43\" lod=\"1\" overall=\"1\" reason=\"cost from breaking the Law of Demeter\"/><cost cyclomatic=\"0\" global=\"0\" line=\"43\" lod=\"0\" method=\"java.lang.String getLastName()\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"43\" lod=\"1\" overall=\"1\" reason=\"cost from breaking the Law of Demeter\"/></method><method cyclomatic=\"47\" global=\"1\" line=\"30\" lod=\"0\" name=\"com.ongame.bo.util.wicket.app.BoSession getBoSession()\" overall=\"57\"><cost cyclomatic=\"6\" global=\"0\" line=\"34\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.BoFraudBasePage()\" overall=\"6\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/></method></class><class class=\"com.ongame.bo.bofraud.markup.pages.IpLookupPage\" cost=\"55\"><method cyclomatic=\"45\" global=\"1\" line=\"26\" lod=\"0\" name=\"com.ongame.bo.bofraud.markup.pages.IpLookupPage()\" overall=\"55\"><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"77\" lod=\"0\" method=\"void setIpAddress(java.lang.String)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"26\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.BoFraudBasePage()\" overall=\"4\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"27\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.panels.ExtendedFeedbackPanel(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/>");
    sb.append("<cost cyclomatic=\"0\" global=\"0\" line=\"36\" lod=\"0\" method=\"org.apache.wicket.markup.html.form.Button getSubmitButton()\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"38\" lod=\"0\" method=\"com.ongame.bo.util.wicket.session.AccessCheck()\" overall=\"0\" reason=\"cost from calling non-overridable method\"/></method><method cyclomatic=\"41\" global=\"1\" line=\"18\" lod=\"0\" name=\"java.lang.String access$000(com.ongame.bo.bofraud.markup.pages.IpLookupPage)\" overall=\"51\"><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"77\" lod=\"0\" method=\"void setIpAddress(java.lang.String)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/></method><method cyclomatic=\"47\" global=\"1\" line=\"70\" lod=\"0\" name=\"java.lang.String getIpAddress()\" overall=\"57\"><cost cyclomatic=\"6\" global=\"0\" line=\"26\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.IpLookupPage()\" overall=\"6\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"77\" lod=\"0\" method=\"void setIpAddress(java.lang.String)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/></method><method cyclomatic=\"47\" global=\"1\" line=\"52\" lod=\"0\" name=\"org.apache.wicket.markup.html.form.Button getSubmitButton()\" overall=\"57\"><cost cyclomatic=\"6\" global=\"0\" line=\"26\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.IpLookupPage()\" overall=\"6\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"77\" lod=\"0\" method=\"void setIpAddress(java.lang.String)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"52\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.IpLookupPage$1(com.ongame.bo.bofraud.markup.pages.IpLookupPage, java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/>");
    sb.append("</method><method cyclomatic=\"47\" global=\"1\" line=\"77\" lod=\"0\" name=\"void setIpAddress(java.lang.String)\" overall=\"57\"><cost cyclomatic=\"6\" global=\"0\" line=\"26\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.IpLookupPage()\" overall=\"6\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"1\" line=\"1511\" lod=\"0\" method=\"void setFormComponentValuesFromCookies()\" overall=\"11\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"362\" lod=\"0\" method=\"void setHeaders(org.apache.wicket.protocol.http.WebResponse)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"47\" global=\"1\" line=\"77\" lod=\"0\" method=\"void setIpAddress(java.lang.String)\" overall=\"57\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"952\" lod=\"0\" method=\"void setNumericId(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1530\" lod=\"0\" method=\"void setPageMap(org.apache.wicket.IPageMap)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"1543\" lod=\"0\" method=\"void setPageStateless(java.lang.Boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"965\" lod=\"0\" method=\"void setStatelessHint(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/></method></class><class class=\"com.ongame.bo.bofraud.markup.pages.IpLookupPage$1\" cost=\"47\"><method cyclomatic=\"47\" global=\"0\" line=\"52\" lod=\"0\" name=\"com.ongame.bo.bofraud.markup.pages.IpLookupPage$1(com.ongame.bo.bofraud.markup.pages.IpLookupPage, java.lang.String)\" overall=\"47\"><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"129\" lod=\"0\" method=\"org.apache.wicket.markup.html.form.Button setDefaultFormProcessing(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"887\" lod=\"0\" method=\"org.apache.wicket.markup.html.form.FormComponent setLabel(org.apache.wicket.model.IModel)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"926\" lod=\"0\" method=\"org.apache.wicket.markup.html.form.FormComponent setPersistent(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"946\" lod=\"0\" method=\"org.apache.wicket.markup.html.form.FormComponent setRequired(boolean)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"968\" lod=\"0\" method=\"org.apache.wicket.markup.html.form.FormComponent setType(java.lang.Class)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"562\" lod=\"0\" method=\"void setConvertedInput(java.lang.Object)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"90\" lod=\"0\" method=\"void setLabelInternal(org.apache.wicket.model.IModel)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"902\" lod=\"0\" method=\"void setModelValue(java.lang.String)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"913\" lod=\"0\" method=\"void setModelValue(java.lang.String[])\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/></method><method cyclomatic=\"47\" global=\"0\" line=\"56\" lod=\"0\" name=\"void onSubmit()\" overall=\"47\"><cost cyclomatic=\"0\" global=\"0\" line=\"52\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.IpLookupPage$1(com.ongame.bo.bofraud.markup.pages.IpLookupPage, java.lang.String)\" overall=\"0\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"129\" lod=\"0\" method=\"org.apache.wicket.markup.html.form.Button setDefaultFormProcessing(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"887\" lod=\"0\" method=\"org.apache.wicket.markup.html.form.FormComponent setLabel(org.apache.wicket.model.IModel)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"926\" lod=\"0\" method=\"org.apache.wicket.markup.html.form.FormComponent setPersistent(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"946\" lod=\"0\" method=\"org.apache.wicket.markup.html.form.FormComponent setRequired(boolean)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"968\" lod=\"0\" method=\"org.apache.wicket.markup.html.form.FormComponent setType(java.lang.Class)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"562\" lod=\"0\" method=\"void setConvertedInput(java.lang.Object)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"90\" lod=\"0\" method=\"void setLabelInternal(org.apache.wicket.model.IModel)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"902\" lod=\"0\" method=\"void setModelValue(java.lang.String)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"913\" lod=\"0\" method=\"void setModelValue(java.lang.String[])\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"58\" lod=\"0\" method=\"java.lang.String access$000(com.ongame.bo.bofraud.markup.pages.IpLookupPage)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/></method></class><class class=\"com.ongame.bo.bofraud.markup.panels.ExtendedFeedbackPanel\" cost=\"38\"><method cyclomatic=\"38\" global=\"0\" line=\"16\" lod=\"0\" name=\"com.ongame.bo.bofraud.markup.panels.ExtendedFeedbackPanel(java.lang.String)\" overall=\"38\"><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/>");
    sb.append("<cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"238\" lod=\"0\" method=\"void setEscapeMessages(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"249\" lod=\"0\" method=\"void setFilter(org.apache.wicket.feedback.IFeedbackMessageFilter)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"259\" lod=\"0\" method=\"void setMaxMessages(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"270\" lod=\"0\" method=\"void setSortingComparator(java.util.Comparator)\" overall=\"0\" reason=\"implicit cost calling all setters\"/></method><method cyclomatic=\"39\" global=\"0\" line=\"21\" lod=\"0\" name=\"java.lang.String getCSSClass(org.apache.wicket.feedback.FeedbackMessage)\" overall=\"39\"><cost cyclomatic=\"0\" global=\"0\" line=\"16\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.panels.ExtendedFeedbackPanel(java.lang.String)\" overall=\"0\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2594\" lod=\"0\" method=\"org.apache.wicket.Component setComponentBorder(org.apache.wicket.IComponentBorder)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2616\" lod=\"0\" method=\"org.apache.wicket.Component setEnabled(boolean)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2643\" lod=\"0\" method=\"org.apache.wicket.Component setEscapeModelStrings(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3889\" lod=\"0\" method=\"org.apache.wicket.Component setIgnoreAttributeModifier(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2741\" lod=\"0\" method=\"org.apache.wicket.Component setModel(org.apache.wicket.model.IModel)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2815\" lod=\"0\" method=\"org.apache.wicket.Component setModelObject(java.lang.Object)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2855\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupId(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2877\" lod=\"0\" method=\"org.apache.wicket.Component setOutputMarkupPlaceholderTag(boolean)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2914\" lod=\"0\" method=\"org.apache.wicket.Component setRenderBodyOnly(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2965\" lod=\"0\" method=\"org.apache.wicket.Component setVersioned(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"2979\" lod=\"0\" method=\"org.apache.wicket.Component setVisible(boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3844\" lod=\"0\" method=\"void setAuto(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"238\" lod=\"0\" method=\"void setEscapeMessages(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"249\" lod=\"0\" method=\"void setFilter(org.apache.wicket.feedback.IFeedbackMessageFilter)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"3857\" lod=\"0\" method=\"void setFlag(int, boolean)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3877\" lod=\"0\" method=\"void setFlag(short, boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4060\" lod=\"0\" method=\"void setId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"2681\" lod=\"0\" method=\"void setMarkupId(java.lang.String)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"4\" global=\"0\" line=\"2649\" lod=\"0\" method=\"void setMarkupIdImpl(java.lang.Object)\" overall=\"4\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"3906\" lod=\"0\" method=\"void setMarkupStream(org.apache.wicket.markup.MarkupStream)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"259\" lod=\"0\" method=\"void setMaxMessages(int)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"10\" global=\"0\" line=\"2703\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"10\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"3\" global=\"0\" line=\"2782\" lod=\"0\" method=\"void setModelImpl(org.apache.wicket.model.IModel)\" overall=\"3\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"4075\" lod=\"0\" method=\"void setParent(org.apache.wicket.MarkupContainer)\" overall=\"2\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2901\" lod=\"0\" method=\"void setRedirect(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4102\" lod=\"0\" method=\"void setRenderAllowed()\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"4089\" lod=\"0\" method=\"void setRenderAllowed(boolean)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2927\" lod=\"0\" method=\"void setResponsePage(java.lang.Class)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2942\" lod=\"0\" method=\"void setResponsePage(java.lang.Class, org.apache.wicket.PageParameters)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"2954\" lod=\"0\" method=\"void setResponsePage(org.apache.wicket.Page)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"270\" lod=\"0\" method=\"void setSortingComparator(java.util.Comparator)\" overall=\"0\" reason=\"implicit cost calling all setters\"/></method></class><class class=\"com.ongame.bo.bofraud.smapi.Smapi\" cost=\"12\"><method cyclomatic=\"0\" global=\"1\" line=\"21\" lod=\"0\" name=\"com.ongame.bo.bofraud.smapi.Smapi()\" overall=\"10\"><cost cyclomatic=\"0\" global=\"1\" line=\"21\" lod=\"0\" overall=\"10\" reason=\"dependency on global mutable state\"/></method><method cyclomatic=\"0\" global=\"1\" line=\"19\" lod=\"0\" name=\"com.ongame.bo.bofraud.smapi.Smapi()\" overall=\"10\"><cost cyclomatic=\"0\" global=\"1\" line=\"21\" lod=\"0\" method=\"com.ongame.bo.bofraud.smapi.Smapi()\" overall=\"10\" reason=\"implicit cost from static initialization\"/></method><method cyclomatic=\"2\" global=\"1\" line=\"72\" lod=\"0\" name=\"java.lang.String getServiceInfo()\" overall=\"12\"><cost cyclomatic=\"0\" global=\"1\" line=\"21\" lod=\"0\" method=\"com.ongame.bo.bofraud.smapi.Smapi()\" overall=\"10\" reason=\"implicit cost from static initialization\"/><cost cyclomatic=\"0\" global=\"0\" line=\"19\" lod=\"0\" method=\"com.ongame.bo.bofraud.smapi.Smapi()\" overall=\"0\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"73\" lod=\"0\" method=\"java.util.Properties readServiceInfo()\" overall=\"1\" reason=\"cost from calling non-overridable method\"/></method><method cyclomatic=\"6\" global=\"1\" line=\"34\" lod=\"0\" name=\"com.ongame.bo.bofraud.smapi.Smapi newInstance(javax.servlet.ServletConfig)\" overall=\"16\"><cost cyclomatic=\"0\" global=\"1\" line=\"21\" lod=\"0\" method=\"com.ongame.bo.bofraud.smapi.Smapi()\" overall=\"10\" reason=\"implicit cost from static initialization\"/><cost cyclomatic=\"0\" global=\"0\" line=\"34\" lod=\"0\" method=\"com.ongame.bo.bofraud.smapi.Smapi()\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"6\" global=\"0\" line=\"37\" lod=\"0\" method=\"org.springframework.web.context.WebApplicationContext getRequiredWebApplicationContext(javax.servlet.ServletContext)\" overall=\"6\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"38\" lod=\"0\" method=\"java.lang.Object getBean(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"38\" lod=\"1\" overall=\"1\" reason=\"cost from breaking the Law of Demeter\"/><cost cyclomatic=\"0\" global=\"0\" line=\"39\" lod=\"1\" overall=\"1\" reason=\"cost from breaking the Law of Demeter\"/></method><method cyclomatic=\"1\" global=\"1\" line=\"48\" lod=\"0\" name=\"java.lang.String pingDependencies()\" overall=\"11\"><cost cyclomatic=\"0\" global=\"1\" line=\"21\" lod=\"0\" method=\"com.ongame.bo.bofraud.smapi.Smapi()\" overall=\"10\" reason=\"implicit cost from static initialization\"/><cost cyclomatic=\"0\" global=\"0\" line=\"19\" lod=\"0\" method=\"com.ongame.bo.bofraud.smapi.Smapi()\" overall=\"0\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"0\" global=\"0\" line=\"53\" lod=\"0\" method=\"java.util.Properties getServiceInfo()\" overall=\"0\" reason=\"cost from calling non-overridable method\"/><cost cyclomatic=\"0\" global=\"0\" line=\"56\" lod=\"0\" method=\"java.util.Properties getServiceInfo()\" overall=\"0\" reason=\"cost from calling non-overridable method\"/></method><method cyclomatic=\"1\" global=\"1\" line=\"86\" lod=\"0\" name=\"java.util.Properties readServiceInfo()\" overall=\"11\"><cost cyclomatic=\"0\" global=\"1\" line=\"21\" lod=\"0\" method=\"com.ongame.bo.bofraud.smapi.Smapi()\" overall=\"10\" reason=\"implicit cost from static initialization\"/><cost cyclomatic=\"0\" global=\"0\" line=\"19\" lod=\"0\" method=\"com.ongame.bo.bofraud.smapi.Smapi()\" overall=\"0\" reason=\"implicit cost from construction\"/></method></class><class class=\"com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage$ExtendedPropertyModel\" cost=\"2\"><method cyclomatic=\"2\" global=\"0\" line=\"165\" lod=\"0\" name=\"com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage$ExtendedPropertyModel(com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage)\" overall=\"2\"><cost cyclomatic=\"0\" global=\"0\" line=\"133\" lod=\"0\" method=\"void setChainedModel(org.apache.wicket.model.IModel)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"145\" lod=\"0\" method=\"void setObject(java.lang.Object)\" overall=\"2\" reason=\"implicit cost calling all setters\"/></method><method cyclomatic=\"2\" global=\"0\" line=\"170\" lod=\"0\" name=\"com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage$ExtendedPropertyModel(com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage, java.lang.Object, java.lang.String)\" overall=\"2\"><cost cyclomatic=\"0\" global=\"0\" line=\"133\" lod=\"0\" method=\"void setChainedModel(org.apache.wicket.model.IModel)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"145\" lod=\"0\" method=\"void setObject(java.lang.Object)\" overall=\"2\" reason=\"implicit cost calling all setters\"/></method><method cyclomatic=\"3\" global=\"0\" line=\"176\" lod=\"0\" name=\"java.lang.Object getObject()\" overall=\"3\"><cost cyclomatic=\"0\" global=\"0\" line=\"170\" lod=\"0\" method=\"com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage$ExtendedPropertyModel(com.ongame.bo.bofraud.markup.pages.IpLookupResultsPage, java.lang.Object, java.lang.String)\" overall=\"0\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"0\" global=\"0\" line=\"133\" lod=\"0\" method=\"void setChainedModel(org.apache.wicket.model.IModel)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"2\" global=\"0\" line=\"145\" lod=\"0\" method=\"void setObject(java.lang.Object)\" overall=\"2\" reason=\"implicit cost calling all setters\"/></method></class><class class=\"com.ongame.bo.bofraud.WicketApplication\" cost=\"1\"><method cyclomatic=\"1\" global=\"0\" line=\"21\" lod=\"0\" name=\"com.ongame.bo.bofraud.WicketApplication()\" overall=\"1\"><cost cyclomatic=\"1\" global=\"0\" line=\"209\" lod=\"0\" method=\"void set(org.apache.wicket.Application)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"603\" lod=\"0\" method=\"void setApplicationKey(java.lang.String)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"744\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"400\" lod=\"0\" method=\"void setWicketFilter(org.apache.wicket.protocol.http.WicketFilter)\" overall=\"0\" reason=\"implicit cost calling all setters\"/></method><method cyclomatic=\"1\" global=\"0\" line=\"19\" lod=\"0\" name=\"com.ongame.bo.bofraud.WicketApplication()\" overall=\"1\"><cost cyclomatic=\"0\" global=\"0\" line=\"21\" lod=\"0\" method=\"com.ongame.bo.bofraud.WicketApplication()\" overall=\"0\" reason=\"implicit cost from static initialization\"/><cost cyclomatic=\"1\" global=\"0\" line=\"209\" lod=\"0\" method=\"void set(org.apache.wicket.Application)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"603\" lod=\"0\" method=\"void setApplicationKey(java.lang.String)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"744\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"400\" lod=\"0\" method=\"void setWicketFilter(org.apache.wicket.protocol.http.WicketFilter)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"19\" lod=\"0\" method=\"com.ongame.bo.util.wicket.app.BoApplication()\" overall=\"0\" reason=\"cost from calling non-overridable method\"/></method><method cyclomatic=\"1\" global=\"0\" line=\"79\" lod=\"0\" name=\"java.lang.Class getHomePage()\" overall=\"1\"><cost cyclomatic=\"0\" global=\"0\" line=\"21\" lod=\"0\" method=\"com.ongame.bo.bofraud.WicketApplication()\" overall=\"0\" reason=\"implicit cost from static initialization\"/><cost cyclomatic=\"0\" global=\"0\" line=\"19\" lod=\"0\" method=\"com.ongame.bo.bofraud.WicketApplication()\" overall=\"0\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"209\" lod=\"0\" method=\"void set(org.apache.wicket.Application)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"603\" lod=\"0\" method=\"void setApplicationKey(java.lang.String)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"744\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"400\" lod=\"0\" method=\"void setWicketFilter(org.apache.wicket.protocol.http.WicketFilter)\" overall=\"0\" reason=\"implicit cost calling all setters\"/></method><method cyclomatic=\"2\" global=\"0\" line=\"26\" lod=\"0\" name=\"void init()\" overall=\"2\"><cost cyclomatic=\"0\" global=\"0\" line=\"21\" lod=\"0\" method=\"com.ongame.bo.bofraud.WicketApplication()\" overall=\"0\" reason=\"implicit cost from static initialization\"/><cost cyclomatic=\"0\" global=\"0\" line=\"19\" lod=\"0\" method=\"com.ongame.bo.bofraud.WicketApplication()\" overall=\"0\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"1\" global=\"0\" line=\"209\" lod=\"0\" method=\"void set(org.apache.wicket.Application)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"603\" lod=\"0\" method=\"void setApplicationKey(java.lang.String)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"744\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"400\" lod=\"0\" method=\"void setWicketFilter(org.apache.wicket.protocol.http.WicketFilter)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"27\" lod=\"0\" method=\"void initSettings(org.apache.wicket.protocol.http.WebApplication)\" overall=\"1\" reason=\"cost from calling non-overridable method\"/></method><method cyclomatic=\"2\" global=\"0\" line=\"40\" lod=\"0\" name=\"void initSettings(org.apache.wicket.protocol.http.WebApplication)\" overall=\"2\"><cost cyclomatic=\"0\" global=\"0\" line=\"21\" lod=\"0\" method=\"com.ongame.bo.bofraud.WicketApplication()\" overall=\"0\" reason=\"implicit cost from static initialization\"/><cost cyclomatic=\"1\" global=\"0\" line=\"209\" lod=\"0\" method=\"void set(org.apache.wicket.Application)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"603\" lod=\"0\" method=\"void setApplicationKey(java.lang.String)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"744\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"400\" lod=\"0\" method=\"void setWicketFilter(org.apache.wicket.protocol.http.WicketFilter)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"1\" global=\"0\" line=\"40\" lod=\"0\" method=\"void initSettings(org.apache.wicket.protocol.http.WebApplication, org.springframework.context.ApplicationContext)\" overall=\"1\" reason=\"cost from calling non-overridable method\"/></method><method cyclomatic=\"2\" global=\"0\" line=\"54\" lod=\"0\" name=\"void initSettings(org.apache.wicket.protocol.http.WebApplication, org.springframework.context.ApplicationContext)\" overall=\"2\"><cost cyclomatic=\"0\" global=\"0\" line=\"21\" lod=\"0\" method=\"com.ongame.bo.bofraud.WicketApplication()\" overall=\"0\" reason=\"implicit cost from static initialization\"/><cost cyclomatic=\"1\" global=\"0\" line=\"209\" lod=\"0\" method=\"void set(org.apache.wicket.Application)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"603\" lod=\"0\" method=\"void setApplicationKey(java.lang.String)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"744\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"400\" lod=\"0\" method=\"void setWicketFilter(org.apache.wicket.protocol.http.WicketFilter)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"56\" lod=\"0\" method=\"void setUpResourceSettings(org.apache.wicket.protocol.http.WebApplication)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/></method><method cyclomatic=\"1\" global=\"0\" line=\"72\" lod=\"0\" name=\"void setUpResourceSettings(org.apache.wicket.protocol.http.WebApplication)\" overall=\"1\"><cost cyclomatic=\"0\" global=\"0\" line=\"21\" lod=\"0\" method=\"com.ongame.bo.bofraud.WicketApplication()\" overall=\"0\" reason=\"implicit cost from static initialization\"/><cost cyclomatic=\"1\" global=\"0\" line=\"209\" lod=\"0\" method=\"void set(org.apache.wicket.Application)\" overall=\"1\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"603\" lod=\"0\" method=\"void setApplicationKey(java.lang.String)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"744\" lod=\"0\" method=\"void setMetaData(org.apache.wicket.MetaDataKey, java.io.Serializable)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"400\" lod=\"0\" method=\"void setWicketFilter(org.apache.wicket.protocol.http.WicketFilter)\" overall=\"0\" reason=\"implicit cost calling all setters\"/><cost cyclomatic=\"0\" global=\"0\" line=\"74\" lod=\"0\" method=\"com.ongame.bo.bofraud.util.resource.locator.SingleDirectoryResourceStreamLocator()\" overall=\"0\" reason=\"cost from calling non-overridable method\"/></method></class><class class=\"com.ongame.bo.bofraud.util.resource.locator.SingleDirectoryResourceStreamLocator\" cost=\"1\"><method cyclomatic=\"0\" global=\"0\" line=\"11\" lod=\"0\" name=\"com.ongame.bo.bofraud.util.resource.locator.SingleDirectoryResourceStreamLocator()\" overall=\"0\"/><method cyclomatic=\"1\" global=\"0\" line=\"15\" lod=\"0\" name=\"org.apache.wicket.util.resource.IResourceStream locate(java.lang.Class, java.lang.String)\" overall=\"1\"><cost cyclomatic=\"0\" global=\"0\" line=\"11\" lod=\"0\" method=\"com.ongame.bo.bofraud.util.resource.locator.SingleDirectoryResourceStreamLocator()\" overall=\"0\" reason=\"implicit cost from construction\"/><cost cyclomatic=\"0\" global=\"0\" line=\"15\" lod=\"0\" method=\"java.lang.String trimFolders(java.lang.String)\" overall=\"0\" reason=\"cost from calling non-overridable method\"/></method><method cyclomatic=\"0\" global=\"0\" line=\"25\" lod=\"0\" name=\"java.lang.String trimFolders(java.lang.String)\" overall=\"0\"><cost cyclomatic=\"0\" global=\"0\" line=\"11\" lod=\"0\" method=\"com.ongame.bo.bofraud.util.resource.locator.SingleDirectoryResourceStreamLocator()\" overall=\"0\" reason=\"implicit cost from construction\"/></method></class></testability>");
    return sb.toString();
}
Example 39
Project: cyclop-master  File: GridView.java View source code
private void findNext() {
    next = null;
    if (cells != null && cells.hasNext()) {
        next = cells.next();
    } else {
        while (rows.hasNext()) {
            MarkupContainer row = rows.next();
            final Iterator<? extends Component> rawCells;
            rawCells = ((MarkupContainer) row.iterator().next()).iterator();
            cells = Generics.iterator(rawCells);
            if (cells.hasNext()) {
                next = cells.next();
                break;
            }
        }
    }
}
Example 40
Project: elasticgeo-master  File: ElasticConfigurationPanel.java View source code
@Override
void done(AjaxRequestTarget target, LayerInfo layerInfo, ElasticLayerConfiguration layerConfig) {
    _layerInfo = layerInfo;
    _layerConfig = layerConfig;
    try {
        saveLayer((FeatureTypeInfo) getResourceInfo());
    } catch (IOException e) {
        LOGGER.log(Level.SEVERE, e.getMessage(), e);
        error(new ParamResourceModel("creationFailure", this, e).getString());
    }
    MarkupContainer parent = ElasticConfigurationPanel.this.getParent();
    while (!(parent == null || parent instanceof ResourceConfigurationPage)) {
        parent = parent.getParent();
    }
    if (parent != null && parent instanceof ResourceConfigurationPage) {
        ResourceInfo ri = ElasticConfigurationPanel.this.getResourceInfo();
        ((ResourceConfigurationPage) parent).updateResource(ri, target);
    }
    modal.close(target);
}
Example 41
Project: geoserver-2.0.x-master  File: GeoServerStringResourceLoader.java View source code
/**
     * Traverse the component hierarchy up to the Page and add each component class to the list
     * (stack) returned
     * 
     * @param component
     *            The component to evaluate
     * @return The stack of classes
     */
private List getComponentStack(final Component component) {
    // Build the search stack
    final List searchStack = new ArrayList();
    searchStack.add(component.getClass());
    if (!(component instanceof Page)) {
        // Add all the component on the way to the Page
        MarkupContainer container = component.getParent();
        while (container != null) {
            searchStack.add(container.getClass());
            if (container instanceof Page) {
                break;
            }
            container = container.getParent();
        }
    }
    return searchStack;
}
Example 42
Project: geoserver-old-master  File: GeoServerStringResourceLoader.java View source code
/**
     * Traverse the component hierarchy up to the Page and add each component class to the list
     * (stack) returned
     * 
     * @param component
     *            The component to evaluate
     * @return The stack of classes
     */
private List getComponentStack(final Component component) {
    // Build the search stack
    final List searchStack = new ArrayList();
    searchStack.add(component.getClass());
    if (!(component instanceof Page)) {
        // Add all the component on the way to the Page
        MarkupContainer container = component.getParent();
        while (container != null) {
            searchStack.add(container.getClass());
            if (container instanceof Page) {
                break;
            }
            container = container.getParent();
        }
    }
    return searchStack;
}
Example 43
Project: geoserver_trunk-master  File: GeoServerStringResourceLoader.java View source code
/**
     * Traverse the component hierarchy up to the Page and add each component class to the list
     * (stack) returned
     * 
     * @param component
     *            The component to evaluate
     * @return The stack of classes
     */
private List getComponentStack(final Component component) {
    // Build the search stack
    final List searchStack = new ArrayList();
    searchStack.add(component.getClass());
    if (!(component instanceof Page)) {
        // Add all the component on the way to the Page
        MarkupContainer container = component.getParent();
        while (container != null) {
            searchStack.add(container.getClass());
            if (container instanceof Page) {
                break;
            }
            container = container.getParent();
        }
    }
    return searchStack;
}
Example 44
Project: inventi-wicket-master  File: FuzzyComponentResolverUtils.java View source code
/**
     * Inside the given {@code container}, looks for component whose id equals
     * {@code path} or whose path ends with {@code path} with optional
     * intermediaries in the component tree. Search is restricted to the
     * specified {@code componentType}.
     *
     * @return the matching component's path, relative to {@code container}
     * @throws IllegalArgumentException
     *             if it finds zero or more than one macthing component.
     */
public static <T> String findComponentPath(MarkupContainer container, String path, Class<T> componentType) {
    /*
         * T isn't constrained to the Component hierarchy as sometimes we might be searching using
         * an interface such as an IFormSubmitter.
         */
    Component component = container.get(path);
    if (component != null && componentType.isInstance(component)) {
        return path;
    }
    T fuzzyMatch = searchComponentTree(container, path, componentType);
    return getComponentRelativePath(container, assureFuzzyMatchIsAComponent(container, path, fuzzyMatch));
}
Example 45
Project: Wicket---Oracle-Template-master  File: DataMgrPage.java View source code
/**
         *
         * @return
         */
private IColumn[] getColumns() {
    Localizer localizer = getLocalizer();
    List<IColumn> treeTableColumns = new ArrayList<IColumn>();
    treeTableColumns.add(new PropertyTreeColumn(new ColumnLocation(Alignment.MIDDLE, 18, Unit.PROPORTIONAL), localizer.getString("HeaderDataStructureName", this), "userObject.refdataDescr"));
    if (getIsDebugInfoVisible()) {
        treeTableColumns.add(new PropertyRenderableColumn(new ColumnLocation(Alignment.MIDDLE, 8, Unit.PROPORTIONAL), "Required DB Role", "userObject.dbrlCode"));
        treeTableColumns.add(new PropertyRenderableColumn(new ColumnLocation(Alignment.MIDDLE, 8, Unit.PROPORTIONAL), "Data Structure Type", "userObject.rdtCode"));
    }
    if (canConfigureData) {
        treeTableColumns.add(new PropertyRenderableColumn(new ColumnLocation(Alignment.RIGHT, 8, Unit.EM), localizer.getString("HeaderMakeEditable", this), "userObject.editable") {

            private static final long serialVersionUID = 1L;

            /**
                         * @see IColumn#newCell( MarkupContainer, String, TreeNode, int )
                         */
            @Override
            public Component newCell(final MarkupContainer pParent, final String pId, final TreeNode pNode, final int pLevel) {
                return new CheckboxPanel(pId, new PropertyModel<Boolean>(pNode, getPropertyExpression()));
            }

            /**
                         * @see IColumn#newCell( TreeNode, int )
                         */
            public IRenderable newCell(final TreeNode pNode, final int pLevel) {
                return null;
            }
        });
    }
    return treeTableColumns.toArray(new IColumn[0]);
}
Example 46
Project: wicketstuff-security-master  File: SecureComponentHelper.java View source code
/**
	 * Builds an alias string for {@link MarkupContainer}s.
	 * 
	 * @param container
	 * @return an alias
	 */
public static String containerAlias(MarkupContainer container) {
    if (container == null)
        throw new SecurityException("specified markupcontainer is null");
    MarkupContainer parent = container;
    PrependingStringBuffer buffer = new PrependingStringBuffer(150);
    while (parent != null) {
        if (buffer.length() > 0)
            buffer.prepend(PATH_SEPARATOR);
        buffer.prepend(parent.getClass().getName());
        parent = parent.getParent();
    }
    return buffer.toString();
}
Example 47
Project: fiftyfive-wicket-master  File: IterationCssBehavior.java View source code
/**
     * Assume that the component has an immediate parent of {@link ListView}, {@link Loop}, or
     * {@link RepeatingView} and use what we know about those implementations to infer the
     * size of the list that is being iterated. Note that in the case of pagination, this is the
     * size of the visible items (i.e the current page), not the total size that includes other
     * pages.
     * 
     * @throws UnsupportedOperationException if the parent component is not one of the three
     *                                       supported types
     */
protected int getSize(Component component) {
    MarkupContainer parent = component.getParent();
    if (parent instanceof ListView) {
        return ((ListView) parent).getViewSize();
    }
    if (parent instanceof Loop) {
        return ((Loop) parent).getIterations();
    }
    if (parent instanceof RepeatingView) {
        // TODO: more efficent way?
        int size = 0;
        Iterator iter = parent.iterator();
        while (iter.hasNext()) {
            iter.next();
            size++;
        }
        return size;
    }
    throw new IllegalStateException(String.format("Don't know how to find the size of the repeater that contains component " + "%s (%s). " + "Only list.ListItem, list.LoopItem and repeater.Item are supported. " + "Perhaps you attached IterationCssBehavior to the wrong component?", component.getPath(), component.getClass()));
}
Example 48
Project: wicket-web-beans-master  File: BeanForm.java View source code
/**
     * Registers the given component with this form. This is usually called by Fields
     * (for example, see {@link AbstractField}) to add the form behavior to their
     * components.
     * 
     * @param component
     * @param beanModel
     * @param element
     */
public void registerComponent(Component component, BeanPropertyModel beanModel, ElementMetaData element) {
    ComponentPropertyMapping mapping = new ComponentPropertyMapping(beanModel, element);
    componentPropertyMappings.add(mapping);
    // Make sure we don't register ourself twice.
    if (beanModel != null && beanModel.getBeanForm() == null) {
        // Listen for PropertyChangeEvents on this bean, if necessary.
        // TODO When do we unregister?? Maybe a WeakRef to ourself in the listener? Then listener unregisters
        // TODO if we don't exist anymore.
        element.getBeanMetaData().addPropertyChangeListener(beanModel, listener);
        beanModel.setBeanForm(this);
    }
    if (component instanceof MarkupContainer) {
        ((MarkupContainer) component).visitChildren(formVisitor);
    } else {
        component.add(new FormSubmitter("onchange"));
    }
}
Example 49
Project: wicketbuch-wbs-master  File: EditableTreeTablePanel.java View source code
public Component newCell(MarkupContainer parent, String id, final TreeNode node, int level) {
    return new LinkPanel(id, REMOVE, node) {

        @Override
        protected void handle(TreeNode treeNode, AjaxRequestTarget target) {
            // Node
            DefaultMutableTreeNode node = (DefaultMutableTreeNode) treeNode;
            Task nodeTask = (Task) node.getUserObject();
            // Parent
            DefaultMutableTreeNode parent = (DefaultMutableTreeNode) node.getParent();
            Task parentTask = (Task) parent.getUserObject();
            // Entferne den Task aus den Subtaks
            // parentTask.getSubtasks().remove(
            // defaultTreeModel
            // .getIndexOfChild(parent, node));
            // Entfernung des Knotens und neu rendern
            defaultTreeModel.removeNodeFromParent(node);
            tree.modelChanged();
            tree.updateTree(target);
        }

        @Override
        protected boolean show() {
            if (node.getParent() == null) {
                return false;
            }
            return true;
        }
    };
}
Example 50
Project: wicketstuff-jee-web-master  File: JEEWebResolver.java View source code
@Override
public Component resolve(MarkupContainer container, MarkupStream markupStream, ComponentTag tag) {
    if (tag instanceof WicketTag) {
        WicketTag wtag = (WicketTag) tag;
        if ("jsp".equalsIgnoreCase(wtag.getName())) {
            String file = wtag.getAttributes().getString("file");
            if (file == null || file.trim().length() == 0) {
                throw new MarkupException("Wrong format of <wicket:jsp file='/foo.jsp'>: attribute 'file' is missing");
            }
            return new ServletAndJspFileContainer(file, Type.JSP);
        } else if ("jsf".equalsIgnoreCase(wtag.getName())) {
            String file = wtag.getAttributes().getString("file");
            if (file == null || file.trim().length() == 0) {
                throw new MarkupException("Wrong format of <wicket:jsf file='/foo.xhtml'>: attribute 'file' is missing");
            }
            return new ServletAndJspFileContainer(file, Type.JSF);
        } else if ("servlet".equalsIgnoreCase(wtag.getName())) {
            String path = wtag.getAttributes().getString("path");
            if (path == null || path.trim().length() == 0) {
                throw new MarkupException("Wrong format of <wicket:servlet path='/Test'>: attribute 'path' is missing");
            }
            return new ServletAndJspFileContainer(path, Type.SERVLET);
        }
    }
    return null;
}
Example 51
Project: dg-toolkit-master  File: AbstractReportPage.java View source code
/**
         * Implementing getMarkupResourceStream() method to return byte[] data
         * coming from reports generator.
         */
@Override
public IResourceStream getMarkupResourceStream(final MarkupContainer container, final Class<?> containerClass) {
    StringBuilder panelMarkup = new StringBuilder();
    panelMarkup.append("<wicket:panel wicket:id='panel'>");
    ByteArrayOutputStream htmlStreamData = new ByteArrayOutputStream();
    try {
        if (canRenderReport()) {
            generateReport(OutputType.HTML, htmlStreamData);
        }
    } catch (IllegalArgumentExceptionReportProcessingException |  e) {
        e.printStackTrace();
    }
    String content = new String(htmlStreamData.toByteArray());
    panelMarkup.append(content);
    panelMarkup.append("</wicket:panel>");
    return new StringResourceStream(panelMarkup.toString());
}
Example 52
Project: edemocracia-master  File: ComentariosPanel.java View source code
private void initOcultarComentarios() {
    ocultarComentarios = new AjaxLink<Void>("ocultarComentarios") {

        private static final long serialVersionUID = 1L;

        @Override
        public void onClick(AjaxRequestTarget target) {
            MarkupContainer parent = getParent();
            while (parent != null && !(parent instanceof WikiLegisArtigoPanel)) parent = parent.getParent();
            if (parent != null)
                ((WikiLegisArtigoPanel) parent).ocultaComentarios(target);
        }
    };
    add(ocultarComentarios);
}
Example 53
Project: turbo-ninja-master  File: ComponentExpression.java View source code
/**
	 * Search for all {@link org.apache.wicket.Component}s with the given list of expressions in the
	 * given parent with the given class type restriction.
	 *
	 * @param parent
	 *            the parent that will be the start point to search.
	 * @param expressionListIn
	 *            the list with the expressions for the search.
	 * @param typeRestriction
	 *            the class type restriction for the search.
	 * @return all found {@link org.apache.wicket.Component}s in a {@link java.util.List} with the
	 *         given expression in the given parent with the given class type restriction or an
	 *         empty {@link java.util.List} if nothing is found.
	 */
private static List<Component> findComponent(final Component parent, final LinkedList<String> expressionListIn, final Class<? extends Component> typeRestriction) {
    final LinkedList<String> expressionList = new LinkedList<String>(expressionListIn);
    if (expressionList.isEmpty()) {
        if (typeRestriction.isAssignableFrom(parent.getClass())) {
            return Arrays.asList(parent);
        } else {
            return Collections.emptyList();
        }
    } else {
        final String rawFirst = expressionList.getFirst();
        final Collection<Condition> conditions = parseConditions(rawFirst);
        final String first = rawFirst.replaceAll("\\s*\\[.*\\]\\s*", "");
        if (!first.equals(ANY_COMPONENT_RECURSIVE_MATCHER)) {
            expressionList.removeFirst();
            final List<Component> allMatches = getChild(parent, first, conditions);
            if (allMatches.isEmpty()) {
                return Collections.emptyList();
            } else {
                final List<Component> finallyMatchedComponents = new ArrayList<Component>();
                for (final Component aMatch : allMatches) {
                    finallyMatchedComponents.addAll(findComponent(aMatch, expressionList, typeRestriction));
                }
                return finallyMatchedComponents;
            }
        } else if (expressionList.size() == 1) {
            final List<Component> allMatches = new ArrayList<Component>();
            if (parent instanceof MarkupContainer) {
                for (final Component aMatch : getAllChildren((MarkupContainer) parent)) {
                    if (typeRestriction.isAssignableFrom(aMatch.getClass()) && evaluateConditions(conditions, aMatch)) {
                        allMatches.add(aMatch);
                    }
                    allMatches.addAll(findComponent(aMatch, expressionList, typeRestriction));
                }
                return allMatches;
            } else {
                return Collections.emptyList();
            }
        } else {
            final List<Component> allMatches = new ArrayList<Component>();
            final LinkedList<String> fake = new LinkedList<String>();
            fake.add(ANY_COMPONENT_RECURSIVE_MATCHER);
            final List<Component> allPotentialParents = findComponent(parent, fake, Component.class);
            expressionList.removeFirst();
            for (final Component aParent : allPotentialParents) {
                if (evaluateConditions(conditions, aParent)) {
                    allMatches.addAll(findComponent(aParent, expressionList, typeRestriction));
                }
            }
            return allMatches;
        }
    }
}
Example 54
Project: wicket-autowire-master  File: AutoWire.java View source code
public void performInitializeActions(Component component) {
    if (!hasAutoComponentAnnotatedFields) {
        return;
    }
    final IMarkupFragment markup = ((MarkupContainer) component).getMarkup(null);
    if (markup == null) {
        return;
    }
    String key = markup.toString(false);
    Node node = cache.get(key);
    if (node == null) {
        if (log.isTraceEnabled()) {
            log.trace("MARKUP MISS");
        }
        synchronized (AutoWire.class) {
            node = cache.get(key);
            if (node == null) {
                node = getNode(component, markup);
                cache.put(key, node);
            }
        }
    }
    node.lastUsed = System.currentTimeMillis();
    node.initialize(component);
    cleanup();
}
Example 55
Project: patientview-master  File: GenericDemographicsPanel.java View source code
private void init(Patient patient) {
    setOutputMarkupId(true);
    setOutputMarkupPlaceholderTag(true);
    List<Component> nonEditableComponents = new ArrayList<Component>();
    final ProfessionalUser user = (ProfessionalUser) RadarSecuredSession.get().getUser();
    if (patient.getDateReg() == null) {
        patient.setDateReg(new Date());
    }
    // components to update on ajax refresh
    final List<Component> componentsToUpdateList = new ArrayList<Component>();
    // add form
    final IModel<Patient> model = new Model(patient);
    //Error Message
    String message = "Please complete all mandatory fields";
    final LabelMessage labelMessage = new LabelMessage();
    labelMessage.setMessage(message);
    final PropertyModel<LabelMessage> messageModel = new PropertyModel<LabelMessage>(labelMessage, "message");
    // no exist data in patient table, then use the user name to populate.
    if (patient.getSurname() == null || patient.getForename() == null) {
        String name = utilityManager.getUserName(patient.getNhsno());
        if (name != null && !"".equals(name)) {
            // split the user name with a space
            String[] names = name.split(" ");
            if (names != null && names.length >= 2) {
                patient.setForename(name.substring(0, name.indexOf(names[names.length - 1])));
                patient.setSurname(names[names.length - 1]);
            } else {
                patient.setForename(name);
            }
        }
    }
    Form<Patient> form = new Form<Patient>("form", new CompoundPropertyModel(model)) {

        @Override
        protected void onSubmit() {
            Patient patient = getModel().getObject();
            // make sure diagnosis date is after dob
            if (patient.getDateOfGenericDiagnosis() != null && patient.getDateOfGenericDiagnosis().compareTo(patient.getDob()) < 0) {
                get("dateOfGenericDiagnosisContainer:dateOfGenericDiagnosis").error("Your diagnosis date cannot be before your date of birth");
            }
            // Leaving this in, saved to the DB table
            patient.setGeneric(true);
            try {
                /** At this point we either have
                      1) A new patient we would like to register
                      2) A link patient we would like to register
                      3) An existing linked patient we would like to update changes to the Patient table
                      4) An existing patient we would like to update changes to the Patient table **/
                userManager.addPatientUserOrUpdatePatient(patient);
            } catch (RegisterException re) {
                LOGGER.error("Registration Exception", re);
                String message = "Failed to register patient: " + re.getMessage();
                labelMessage.setMessage(message);
                error(message);
            } catch (Exception e) {
                String message = "Error registering new patient to accompany this demographic";
                LOGGER.error("Unknown error", e);
                error(message);
            }
        }
    };
    add(form);
    WebMarkupContainer patientDetail = new PatientDetailPanel("patientDetail", patient, "Demographics");
    patientDetail.setOutputMarkupId(true);
    patientDetail.setOutputMarkupPlaceholderTag(true);
    form.add(patientDetail);
    componentsToUpdateList.add(patientDetail);
    RadarRequiredTextField surname = new RadarRequiredTextField("surname", form, componentsToUpdateList);
    RadarRequiredTextField forename = new RadarRequiredTextField("forename", form, componentsToUpdateList);
    TextField alias = new TextField("surnameAlias");
    RadarRequiredDateTextField dateOfBirth = new RadarRequiredDateTextField("dob", form, componentsToUpdateList);
    form.add(surname, forename, alias, dateOfBirth);
    nonEditableComponents.add(surname);
    nonEditableComponents.add(forename);
    nonEditableComponents.add(dateOfBirth);
    // Sex
    RadarRequiredDropdownChoice sex = new RadarRequiredDropdownChoice("sexModel", patientManager.getSexes(), new ChoiceRenderer<Sex>("type", "id"), form, componentsToUpdateList);
    nonEditableComponents.add(sex);
    // Ethnicity
    DropDownChoice<Ethnicity> ethnicity = new DropDownChoice<Ethnicity>("ethnicity", utilityManager.getEthnicities(), new ChoiceRenderer<Ethnicity>("name", "id"));
    form.add(sex, ethnicity);
    // Address fields
    TextField address1 = new TextField("address1");
    TextField address2 = new TextField("address2");
    TextField address3 = new TextField("address3");
    TextField address4 = new TextField("address4");
    RadarTextFieldWithValidation postcode = new RadarTextFieldWithValidation("postcode", new PatternValidator("[a-zA-Z]{1,2}[0-9][0-9A-Za-z]{0,1} {0,1}[0-9][A-Za-z]{2}$"), form, componentsToUpdateList);
    form.add(address1, address2, address3, address4, postcode);
    nonEditableComponents.add(address1);
    nonEditableComponents.add(address2);
    nonEditableComponents.add(address3);
    nonEditableComponents.add(address4);
    nonEditableComponents.add(postcode);
    // More info
    Label nhsNumber = new Label("nhsno");
    WebMarkupContainer nhsNumberContainer = new WebMarkupContainer("nhsNumberContainer");
    nhsNumberContainer.add(nhsNumber);
    // add new ids section
    final List<Component> addIdComponentsToUpdate = new ArrayList<Component>();
    IModel<AddIdModel> addIdModel = new Model<AddIdModel>(new AddIdModel());
    Form<AddIdModel> addIdForm = new Form<AddIdModel>("addIdForm", new CompoundPropertyModel(addIdModel)) {

        @Override
        protected void onSubmit() {
            AddIdModel idModel = getModel().getObject();
            Patient patient = model.getObject();
            String id = idModel.getId();
            if (idModel.getIdType() != null) {
                if (idModel.getIdType().equals(IdType.CHANNELS_ISLANDS)) {
                    patient.setChannelIslandsId(id);
                }
                if (idModel.getIdType().equals(IdType.HOSPITAL_NUMBER)) {
                    patient.setHospitalnumber(id);
                }
                if (idModel.getIdType().equals(IdType.INDIA)) {
                    patient.setIndiaId(id);
                }
                if (idModel.getIdType().equals(IdType.RENAL_REGISTRY_NUMBER)) {
                    patient.setRrNo(id);
                }
                if (idModel.getIdType().equals(IdType.REPUBLIC_OF_IRELAND)) {
                    patient.setRepublicOfIrelandId(id);
                }
                if (idModel.getIdType().equals(IdType.UK_TRANSPLANT_NUMBER)) {
                    patient.setUktNo(id);
                }
            }
        }
    };
    AjaxSubmitLink addIdSubmit = new AjaxSubmitLink("addIdSubmit") {

        @Override
        protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
            ComponentHelper.updateComponentsIfParentIsVisible(target, addIdComponentsToUpdate);
        }

        @Override
        protected void onError(AjaxRequestTarget target, Form<?> form) {
            ComponentHelper.updateComponentsIfParentIsVisible(target, addIdComponentsToUpdate);
        }
    };
    TextField addIdValue = new TextField("id");
    DropDownChoice addIdType = null;
    // Link patients should not be able to add hospital numbers
    if (!patient.isLinked()) {
        addIdType = new DropDownChoice("idType", Arrays.asList(IdType.HOSPITAL_NUMBER, IdType.RENAL_REGISTRY_NUMBER, IdType.UK_TRANSPLANT_NUMBER, IdType.REPUBLIC_OF_IRELAND, IdType.CHANNELS_ISLANDS, IdType.INDIA), new ChoiceRenderer());
    } else {
        addIdType = new DropDownChoice("idType", Arrays.asList(IdType.RENAL_REGISTRY_NUMBER, IdType.UK_TRANSPLANT_NUMBER, IdType.REPUBLIC_OF_IRELAND, IdType.CHANNELS_ISLANDS, IdType.INDIA), new ChoiceRenderer());
    }
    addIdForm.add(addIdValue, addIdType, addIdSubmit);
    form.add(addIdForm);
    TextField hospitalNumber = new TextField("hospitalnumber");
    WebMarkupContainer hospitalNumberContainer = new WebMarkupContainer("hospitalNumberContainer") {

        @Override
        public boolean isVisible() {
            if (model.getObject().getHospitalnumber() != null) {
                if (!model.getObject().getHospitalnumber().isEmpty()) {
                    return true;
                }
            }
            return false;
        }
    };
    hospitalNumberContainer.add(hospitalNumber);
    nonEditableComponents.add(hospitalNumber);
    TextField renalRegistryNumber = new TextField("rrNo");
    WebMarkupContainer renalRegistryNumberContainer = new WebMarkupContainer("renalRegistryNumberContainer") {

        @Override
        public boolean isVisible() {
            if (model.getObject().getRrNo() != null) {
                if (!model.getObject().getRrNo().isEmpty()) {
                    return true;
                }
            }
            return false;
        }
    };
    renalRegistryNumberContainer.add(renalRegistryNumber);
    TextField ukTransplantNumber = new TextField("uktNo");
    WebMarkupContainer ukTransplantNumberContainer = new WebMarkupContainer("ukTransplantNumberContainer") {

        @Override
        public boolean isVisible() {
            if (model.getObject().getUktNo() != null) {
                if (!model.getObject().getUktNo().isEmpty()) {
                    return true;
                }
            }
            return false;
        }
    };
    ukTransplantNumberContainer.add(ukTransplantNumber);
    // add other generic ids
    TextField republicOfIrelandId = new TextField("republicOfIrelandId");
    WebMarkupContainer republicOfIrelandIdContainer = new WebMarkupContainer("republicOfIrelandIdContainer") {

        @Override
        public boolean isVisible() {
            if (model.getObject().getRepublicOfIrelandId() != null) {
                if (!model.getObject().getRepublicOfIrelandId().isEmpty()) {
                    return true;
                }
            }
            return false;
        }
    };
    republicOfIrelandIdContainer.add(republicOfIrelandId);
    TextField isleOfManId = new TextField("isleOfManId");
    WebMarkupContainer isleOfManIdContainer = new WebMarkupContainer("isleOfManIdContainer") {

        @Override
        public boolean isVisible() {
            if (model.getObject().getIsleOfManId() != null) {
                if (!model.getObject().getIsleOfManId().isEmpty()) {
                    return true;
                }
            }
            return false;
        }
    };
    isleOfManIdContainer.add(isleOfManId);
    TextField channelIslandsId = new TextField("channelIslandsId");
    WebMarkupContainer channelIslandsIdContainer = new WebMarkupContainer("channelIslandsIdContainer") {

        @Override
        public boolean isVisible() {
            if (model.getObject().getChannelIslandsId() != null) {
                if (!model.getObject().getChannelIslandsId().isEmpty()) {
                    return true;
                }
            }
            return false;
        }
    };
    channelIslandsIdContainer.add(channelIslandsId);
    TextField indiaId = new TextField("indiaId");
    WebMarkupContainer indiaIdContainer = new WebMarkupContainer("indiaIdContainer") {

        @Override
        public boolean isVisible() {
            if (model.getObject().getIndiaId() != null) {
                if (!model.getObject().getIndiaId().isEmpty()) {
                    return true;
                }
            }
            return false;
        }
    };
    indiaIdContainer.add(indiaId);
    addIdComponentsToUpdate.add(hospitalNumberContainer);
    addIdComponentsToUpdate.add(renalRegistryNumberContainer);
    addIdComponentsToUpdate.add(ukTransplantNumberContainer);
    addIdComponentsToUpdate.add(republicOfIrelandIdContainer);
    addIdComponentsToUpdate.add(isleOfManIdContainer);
    addIdComponentsToUpdate.add(channelIslandsIdContainer);
    addIdComponentsToUpdate.add(indiaIdContainer);
    for (Component component : Arrays.asList(hospitalNumberContainer, renalRegistryNumberContainer, ukTransplantNumberContainer, republicOfIrelandIdContainer, isleOfManIdContainer, channelIslandsIdContainer, indiaIdContainer)) {
        component.setOutputMarkupPlaceholderTag(true);
    }
    form.add(hospitalNumberContainer, nhsNumberContainer, renalRegistryNumberContainer, ukTransplantNumberContainer);
    form.add(republicOfIrelandIdContainer, isleOfManIdContainer, channelIslandsIdContainer, indiaIdContainer);
    // Consultant and renal unit
    final ClinicianDropDown clinician = new ClinicianDropDown("clinician", user, form.getModelObject());
    form.add(clinician);
    Label sourceUnitCodeLabel = new Label("sourceUnitCodeLabel", "Linked to") {

        @Override
        public boolean isVisible() {
            return model.getObject().isLinked();
        }
    };
    String sourceUnitNameLabelValue = model.getObject().getPatientLinkUnitCode() != null ? utilityManager.getCentre(model.getObject().getPatientLinkUnitCode()).getName() : "";
    Label sourceUnitCode = new Label("sourceUnitCode", sourceUnitNameLabelValue) {

        @Override
        public boolean isVisible() {
            return model.getObject().isLinked();
        }
    };
    form.add(sourceUnitCodeLabel, sourceUnitCode);
    DropDownChoice<Centre> renalUnit = new PatientCentreDropDown("renalUnit", user, patient);
    renalUnit.add(new AjaxFormComponentUpdatingBehavior("onchange") {

        @Override
        protected void onUpdate(AjaxRequestTarget target) {
            Patient patient = model.getObject();
            if (patient != null) {
                clinician.updateCentre(patient.getRenalUnit() != null ? patient.getRenalUnit().getUnitCode() : null);
            }
            // re-render the component
            clinician.clearInput();
            target.add(clinician);
        }
    });
    form.add(renalUnit);
    final IModel<String> consentUserModel = new Model<String>(utilityManager.getUserName(patient.getRadarConsentConfirmedByUserId()));
    final Label tickConsentUser = new Label("radarConsentConfirmedByUserId", consentUserModel) {

        @Override
        public boolean isVisible() {
            return StringUtils.isNotEmpty(consentUserModel.getObject());
        }
    };
    tickConsentUser.setOutputMarkupId(true);
    tickConsentUser.setOutputMarkupPlaceholderTag(true);
    form.add(tickConsentUser);
    final RadarRequiredCheckBox consent = new RadarRequiredCheckBox("consent", form, componentsToUpdateList);
    consent.add(new AjaxFormComponentUpdatingBehavior("onclick") {

        @Override
        protected void onUpdate(AjaxRequestTarget target) {
            target.add(tickConsentUser);
            if (consent.getModel().getObject().equals(Boolean.TRUE)) {
                model.getObject().setRadarConsentConfirmedByUserId(RadarSecuredSession.get().getUser().getUserId());
                consentUserModel.setObject(RadarSecuredSession.get().getUser().getName());
                tickConsentUser.setVisible(true);
            } else {
                tickConsentUser.setVisible(false);
            }
        }
    });
    form.add(consent);
    form.add(new ExternalLink("consentFormsLink", "http://www.rarerenal.org/join/criteria-and-consent/"));
    // add generic fields
    TextField emailAddress = new TextField("emailAddress");
    TextField phone1 = new TextField("telephone1");
    TextField phone2 = new TextField("telephone2");
    nonEditableComponents.add(phone1);
    RadarTextFieldWithValidation mobile = new RadarTextFieldWithValidation("mobile", new PatternValidator(MetaPattern.DIGITS), form, componentsToUpdateList);
    RadarRequiredDropdownChoice genericDiagnosis = new RadarRequiredDropdownChoice("genericDiagnosisModel", genericDiagnosisManager.getByDiseaseGroup(patient.getDiseaseGroup()), new ChoiceRenderer("term", "id"), form, componentsToUpdateList);
    final IModel<Boolean> diagnosisDateVisibility = new Model<Boolean>(Boolean.FALSE);
    final CheckBox diagnosisDateSelect = new CheckBox("diagnosisDateSelect", new Model<Boolean>(Boolean.FALSE));
    model.getObject().setDiagnosisDateSelect(model.getObject().getDiagnosisDateSelect() == Boolean.TRUE);
    diagnosisDateSelect.add(new AjaxFormComponentUpdatingBehavior("onClick") {

        @Override
        protected void onUpdate(AjaxRequestTarget target) {
            diagnosisDateVisibility.setObject(diagnosisDateSelect.getModel().getObject());
            target.add(componentsToUpdateList.toArray(new Component[componentsToUpdateList.size()]));
        }
    });
    RadarRequiredDateTextField dateOfGenericDiagnosis = new RadarRequiredDateTextField("dateOfGenericDiagnosis", form, componentsToUpdateList);
    form.add(diagnosisDateSelect);
    MarkupContainer dateOfGenericDiagnosisContainer = new WebMarkupContainer("dateOfGenericDiagnosisContainer") {

        @Override
        public boolean isVisible() {
            if (diagnosisDateVisibility.getObject()) {
                return false;
            } else {
                return true;
            }
        }
    };
    dateOfGenericDiagnosisContainer.add(dateOfGenericDiagnosis);
    componentsToUpdateList.add(dateOfGenericDiagnosisContainer);
    dateOfGenericDiagnosisContainer.setOutputMarkupId(true);
    dateOfGenericDiagnosisContainer.setOutputMarkupPlaceholderTag(true);
    this.dateOfGenericDiagnosisContainer = dateOfGenericDiagnosisContainer;
    TextArea otherClinicianAndContactInfo = new TextArea("otherClinicianAndContactInfo");
    TextArea comments = new TextArea("comments");
    form.add(emailAddress, phone1, phone2, mobile, genericDiagnosis, dateOfGenericDiagnosisContainer, otherClinicianAndContactInfo, comments);
    RadioGroup<Patient.RRTModality> rrtModalityRadioGroup = new RadioGroup<Patient.RRTModality>("rrtModalityEunm");
    rrtModalityRadioGroup.add(new Radio("hd", new Model(Patient.RRTModality.HD)));
    rrtModalityRadioGroup.add(new Radio("pd", new Model(Patient.RRTModality.PD)));
    rrtModalityRadioGroup.add(new Radio("tx", new Model(Patient.RRTModality.Tx)));
    rrtModalityRadioGroup.add(new Radio("none", new Model(Patient.RRTModality.NONE)));
    form.add(rrtModalityRadioGroup);
    RadarComponentFactory.getSuccessMessageLabel("successMessage", form, componentsToUpdateList);
    RadarComponentFactory.getSuccessMessageLabel("successMessageUp", form, componentsToUpdateList);
    RadarComponentFactory.getMessageLabel("errorMessage", form, messageModel, componentsToUpdateList);
    RadarComponentFactory.getMessageLabel("errorMessageUp", form, messageModel, componentsToUpdateList);
    AjaxSubmitLink ajaxSubmitLinkTop = new AjaxSubmitLink("saveTop") {

        @Override
        protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
            ComponentHelper.updateComponentsIfParentIsVisible(target, componentsToUpdateList);
            target.appendJavaScript(RadarApplication.FORM_IS_DIRTY_FALSE_SCRIPT);
        }

        @Override
        protected void onError(AjaxRequestTarget target, Form<?> form) {
            ComponentHelper.updateComponentsIfParentIsVisible(target, componentsToUpdateList);
        }
    };
    AjaxSubmitLink ajaxSubmitLinkBottom = new AjaxSubmitLink("saveBottom") {

        @Override
        protected void onSubmit(AjaxRequestTarget target, Form<?> form) {
            ComponentHelper.updateComponentsIfParentIsVisible(target, componentsToUpdateList);
            target.appendJavaScript(RadarApplication.FORM_IS_DIRTY_FALSE_SCRIPT);
        }

        @Override
        protected void onError(AjaxRequestTarget target, Form<?> form) {
            ComponentHelper.updateComponentsIfParentIsVisible(target, componentsToUpdateList);
        }
    };
    form.add(ajaxSubmitLinkTop);
    form.add(ajaxSubmitLinkBottom);
    if (patient.isLinked()) {
        for (Component component : nonEditableComponents) {
            component.setEnabled(false);
        }
    }
}
Example 56
Project: jtrac-master  File: ColumnHeading.java View source code
Fragment getFilterUiFragment(MarkupContainer container, User user, Space space, Jtrac jtrac) {
    Fragment fragment = new Fragment("fragParent", "multiSelect", container);
    final Map<String, String> options = field.getOptions();
    JtracCheckBoxMultipleChoice choice = new JtracCheckBoxMultipleChoice("values", new ArrayList(options.keySet()), new IChoiceRenderer() {

        public Object getDisplayValue(Object o) {
            return options.get(o);
        }

        public String getIdValue(Object o, int i) {
            return o.toString();
        }
    });
    fragment.add(choice);
    choice.setModel(new PropertyModel(filterCriteria, "values"));
    return fragment;
}
Example 57
Project: gerrit-gitblit-plugin-master  File: TicketPage.java View source code
protected void addUserAttributions(MarkupContainer container, Change entry, int avatarSize) {
    UserModel commenter = app().users().getUserModel(entry.author);
    if (commenter == null) {
        // unknown user
        container.add(new AvatarImage("changeAvatar", entry.author, entry.author, null, avatarSize, false).setVisible(avatarSize > 0));
        container.add(new Label("changeAuthor", entry.author.toLowerCase()));
    } else {
        // known user
        container.add(new AvatarImage("changeAvatar", commenter.getDisplayName(), commenter.emailAddress, avatarSize > 24 ? "gravatar-round" : null, avatarSize, true).setVisible(avatarSize > 0));
        container.add(new LinkPanel("changeAuthor", null, commenter.getDisplayName(), UserPage.class, WicketUtils.newUsernameParameter(commenter.username)));
    }
}
Example 58
Project: RMT-master  File: MarkupIdVisitor.java View source code
public void component(Component component, IVisit<Void> visit) {
    if (component.getMarkupId().equals(this.id)) {
        this.foundComponent = component;
        visit.stop();
    }
    if (component instanceof MarkupContainer) {
        ((MarkupContainer) component).visitChildren(Component.class, this);
    }
}
Example 59
Project: socialsite-master  File: QuestionsPanel.java View source code
public MarkupContainer getQuestionsContainer() {
    return questionsContainer;
}
Example 60
Project: wicketstuff-merged-resources-master  File: ContributionInjector.java View source code
private MarkupContainer asMarkupContainer(Component component) {
    return (MarkupContainer) component;
}
Example 61
Project: Build-rich-XML-enabled-applications-with-Apache-Cocoon-3.0-and-Apache-Wicket-master  File: PropertyEditableColumn.java View source code
/**
	 * @see IColumn#newCell(MarkupContainer, String, TreeNode, int)
	 */
public Component newCell(MarkupContainer parent, String id, TreeNode node, int level) {
    return new EditablePanel(id, new PropertyModel(node, getPropertyExpression()));
}
Example 62
Project: jabox-master  File: BaseContainersPage.java View source code
@Override
public MarkupContainer removeAll() {
    border.removeAll();
    return this;
}
Example 63
Project: onexus-master  File: OnDomReadyPanel.java View source code
@Override
protected void onEvent(AjaxRequestTarget target) {
    MarkupContainer parent = OnDomReadyPanel.this.getParent();
    Panel newPanel = onDomReadyPanel(OnDomReadyPanel.this.getId());
    newPanel.setOutputMarkupId(true);
    parent.addOrReplace(newPanel);
    target.add(newPanel);
}
Example 64
Project: Katari-master  File: UserPageTest.java View source code
public IResourceStream getMarkupResourceStream(final MarkupContainer container, final Class<?> containerClass) {
    return new StringResourceStream("<html><span wicket:id='edit'></span></html>");
}
Example 65
Project: midpoint-master  File: AbstractObjectTabPanel.java View source code
protected void addPrismPropertyPanel(MarkupContainer parentComponent, String id, QName propertyName) {
    addPrismPropertyPanel(parentComponent, id, new ItemPath(propertyName));
}
Example 66
Project: Databinder-for-Wicket-master  File: SearchPanel.java View source code
@Override
public /** Sets model to search component. */
MarkupContainer setDefaultModel(final IModel model) {
    return search.setDefaultModel(model);
}
Example 67
Project: wicketforge-master  File: WicketPsiUtil.java View source code
/**
     * Returns true if the PsiClass is an instance of a MarkupContainer.
     *
     * @param clazz PsiClass
     * @return true if instance of a MarkupContainer
     */
public static boolean isMarkupContainer(@NotNull final PsiClass clazz) {
    return isInheritor(clazz, "org.apache.wicket.MarkupContainer");
}
Example 68
Project: brix-cms-plugins-master  File: HierarchicalNodeManagerPanel.java View source code
@Override
protected Component newJunctionLink(MarkupContainer parent, String id, Object node) {
    LinkType old = getLinkType();
    setLinkType(LinkType.AJAX);
    Component c = super.newJunctionLink(parent, id, node);
    setLinkType(old);
    return c;
}