SiLeBAT/FSK-Lab

View on GitHub

Showing 6,856 of 14,752 total issues

Function _setOption has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    _setOption: function( key, value ) {
        var isDraggable, isResizable,
            uiDialog = this.uiDialog;

        if ( key === "dialogClass" ) {

Function initUI has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  function initUI() {

    function createMetadataList(parameter) {

      const formatProperty = (name, value) => value ? `<li><b>${name}</b>: ${value}</li>` : '';

Function 42 has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

},{}],42:[function(require,module,exports){
'use strict';

module.exports = function (data, opts) {
    if (!opts) opts = {};

Function wrapper has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      function wrapper() {
        // Avoid `arguments` object use disqualifying optimizations by
        // converting it to an array before providing it to other functions.
        var length = arguments.length,
            index = length,

Function serialize has 49 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function serialize(components) {
    var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

    var protocol = options.iri ? IRI_PROTOCOL : URI_PROTOCOL;
    var uriTokens = [];

Method retrieveProduct has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public Product retrieveProduct(Row row) {

        // Check first mandatory properties
        if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing product name");

Method retrieveProduct has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public Product retrieveProduct(Row row) {

        // Check first mandatory properties
        if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing product name");

Method retrieveProduct has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public Product retrieveProduct(Row row) {

        // Check first mandatory properties
        if (row.getCell(K).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing product name");

Method retrieveProduct has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public Product retrieveProduct(Row row) {

        // Check first mandatory properties
        if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing product name");

Method retrieveProduct has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public PredictiveModelScopeProduct retrieveProduct(Row row) {

        // Check first mandatory properties
        if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing product name");

Method retrieveProduct has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public Product retrieveProduct(Row row) {

        // Check first mandatory properties
        if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing product name");

Method retrieveProduct has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public Product retrieveProduct(Row row) {

        // Check first mandatory properties
        if (row.getCell(K).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing product name");

Method retrieveProduct has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public Product retrieveProduct(Row row) {

        // Check first mandatory properties
        if (row.getCell(K).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing product name");

Method retrieveProduct has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private PredictiveModelScopeProduct retrieveProduct(Row row) {

        // Check first mandatory properties
        if (row.getCell(L).getCellTypeEnum() != CellType.STRING) {
            throw new IllegalArgumentException("Missing product name");

Method retrieveProduct has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public Product retrieveProduct(Row row) {

        // Check first mandatory properties
        if (row.getCell(L).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing product name");

Method retrieveProduct has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public Product retrieveProduct(Row row) {

        // Check first mandatory properties
        if (row.getCell(K).getCellType() != Cell.CELL_TYPE_STRING) {
            throw new IllegalArgumentException("Missing product name");

Method setValueAt has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        @SuppressWarnings("unchecked")
        @Override
        public void setValueAt(Object aValue, int rowIndex, int columnIndex) {
            switch (columnIndex) {
            case 0:

Method getDiff has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private HashMap<Integer, HashMap<String, Object[]>> getDiff(PmmXmlDoc inputDoc, PmmXmlDoc outputDoc) {
        HashMap<Integer, HashMap<String, Object[]>> result = new HashMap<>();
           Javers javers = JaversBuilder.javers().build();

           /*

Method initGUI has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private void initGUI() {
        String error = "";

        joinerBox.removeActionListener(this);
        joinerBox.setSelectedItem(set.getJoinType());

Method actionPerformed has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @Override
    public void actionPerformed(ActionEvent e) {
        if (e.getSource() == okButton) {
            DoNotUseToNull(mappings);
            DoNotUseToNull(paramErrors);
Severity
Category
Status
Source
Language