SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Function sync has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Backbone.sync = function(method, model, options) {
    var type = methodMap[method];

    // Default options, unless specified.
    _.defaults(options || (options = {}), {

Function baseUniq has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function baseUniq(array, iteratee) {
      var index = -1,
          indexOf = getIndexOf(),
          length = array.length,
          isCommon = indexOf === baseIndexOf,

Function updateNavArrows has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        updateNavArrows: function(){
            if (!this._allow_update)
                return;

            var d = new Date(this.viewDate),

Function activate has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Tab.prototype.activate = function (element, container, callback) {
    var $active    = container.find('> .active')
    var transition = callback
      && $.support.transition
      && ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length)

Method insertEstModel has 12 arguments (exceeds 4 allowed). Consider refactoring.
Open

    private int insertEstModel(String name, final int condId, final int modelId, final Double rms, final Double rsquared, final Double aic, final Double bic, final int responseId,
            Integer qualityScore, Boolean isChecked, Integer workflowID, String comment) {

Method getFunctionSamplePoints has 12 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public double[][] getFunctionSamplePoints(String paramX, String paramY,
            String unitX, String unitY, String transformX, String transformY,
            double minX, double maxX, double minY, double maxY,
            Map<String, Integer> choice, List<String> warnings)

Method getInverseFunctionSamplePoints has 12 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public double[][] getInverseFunctionSamplePoints(String paramX,
            String paramY, String unitX, String unitY, String transformX,
            String transformY, double minX, double maxX, double minY,
            double maxY, Map<String, Integer> choice, List<String> warnings)

Method eIsSet has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public boolean eIsSet(int featureID) {
        switch (featureID) {
            case MetadataPackage.PARAMETER__PARAMETER_ID:
                return PARAMETER_ID_EDEFAULT == null ? parameterID != null : !PARAMETER_ID_EDEFAULT.equals(parameterID);

Method writeSettingsToVariables has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void writeSettingsToVariables() {
        
        set.setSelectedIDs(selectionPanel.getSelectedIDs());
        set.setColors(selectionPanel.getColors());
        set.setShapes(selectionPanel.getShapes());

Method openPDF has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void openPDF() {
        try {
            if (fileBytes != null && fileName != null) {
                Runnable runnable = new Runnable() {
                    @Override

Method initConn has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public boolean initConn(final Connection conn) {
        boolean result = false;
        if (DBKernel.mainFrame != null) DBKernel.mainFrame.setTopTable(this);
        if (conn != null) {
            this.setConnection(conn);
Severity: Minor
Found in org.hsh.bfr.db/src/org/hsh/bfr/db/gui/dbtable/MyDBTable.java - About 1 hr to fix

Method creatRelationList has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private void creatRelationList(String relation, JoinerViewValue joinerProxyValue,
      List<JoinRelation> joinerRelation)
      throws InvalidSettingsException, JsonParseException, JsonMappingException, IOException {
    if (StringUtils.isNotBlank(relation)) {
      joinerProxyValue.joinRelations = relation;

Method performExecute has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  @Override
  protected PortObject[] performExecute(PortObject[] inObjects, ExecutionContext exec)
      throws IOException, CanceledExecutionException, InvalidSettingsException {

    final String nameWithID = NodeContext.getContext().getNodeContainer().getNameWithID();

Method toXmlElement has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public Element toXmlElement() {        
        Element ret = new Element(ELEMENT_TIMESERIES);        
        try {        
            if (getCondId() != null) {

Method testStudySample has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public void testStudySample() throws IOException, EncryptedDocumentException, InvalidFormatException {

        final Workbook workbook = WorkbookFactory.create(new File("files/QMRA_Listeria.xlsx"));
        final Sheet sheet0 = workbook.getSheetAt(0);

Method testConvertStudy has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Test
    public void testConvertStudy() {

        Study study;
        {

Method getDataPoints has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private LinkedList<DataPoint> getDataPoints(LinkedList<ConcentrationData> concs, LinkedList<ConditionsData> conds) {

        // Gets time values
        List<Integer> timeValues = new LinkedList<>();
        for (ConcentrationData conc : concs) {

Method initR has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  private void initR() throws RException {
    try {
      String rHome = PreferenceInitializer.getR3Provider().getRHome();

      // FIXME: Workaround for Linux server in BfR. If R home is not configure then

Function inMathMode has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function inMathMode(source, state, endModeSeq) {
      if (source.eatSpace()) {
        return null;
      }
      if (endModeSeq && source.match(endModeSeq)) {
Severity: Minor
Found in de.bund.bfr.knime.js/js-lib/codemirror-5.49.2/mode/stex/stex.js - About 1 hr to fix

Function token has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      token: function(stream, state) {
        var m;
        if (state.state == "top") {
          if (stream.sol() && (m = stream.match(/^-----BEGIN (.*)?-----\s*$/))) {
            state.state = "headers";
Severity
Category
Status
Source
Language