matiasmenares/Nissboard

View on GitHub

Showing 413 of 413 total issues

File jsx-transformer-0.12.2.js has 10992 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/**
* JSXTransformer v0.12.2
*/
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.JSXTransformer=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
/**
Severity: Major
Found in server/public/jsx-transformer-0.12.2.js - About 1 mo to fix

    Function 9 has 6131 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    },{}],9:[function(_dereq_,module,exports){
    /*
    Copyright (C) 2013 Ariya Hidayat <ariya.hidayat@gmail.com>
    Copyright (C) 2013 Thaddee Tyl <thaddee.tyl@gmail.com>
    Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
    Severity: Major
    Found in server/public/jsx-transformer-0.12.2.js - About 1 mo to fix

      Function 2 has 840 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      },{"./fbtransform/visitors":37,"buffer":2,"jstransform":21,"jstransform/visitors/type-syntax":33}],2:[function(_dereq_,module,exports){
      /*!
      * The buffer module from node.js, for the browser.
      *
      * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
      Severity: Major
      Found in server/public/jsx-transformer-0.12.2.js - About 4 days to fix

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

        Severity: Major
        Found in dashboard/api/settings/channels/consult.py and 1 other location - About 2 days to fix
        dashboard/api/settings/channels/obd.py on lines 0..33

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

        Severity: Major
        Found in dashboard/api/settings/channels/obd.py and 1 other location - About 2 days to fix
        dashboard/api/settings/channels/consult.py on lines 0..33

        Identical blocks of code found in 2 locations. Consider refactoring.
        Open

        export default {
        extends: Line,
        mixins: [reactiveProp],
        props: ['options'],
        data () {
        src/components/public/pages/graphs/LineChart.js on lines 4..57

        Identical blocks of code found in 2 locations. Consider refactoring.
        Open

        export default {
        extends: Line,
        mixins: [reactiveProp],
        props: ['options'],
        data () {
        Severity: Major
        Found in src/components/public/pages/graphs/LineChart.js and 1 other location - About 2 days to fix
        src/components/public/pages/settings/channels/output/LinearChart.js on lines 4..57

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

        if (!isLineTerminator(ch.charCodeAt(0))) {
        switch (ch) {
        case 'n':
        cooked += '\n';
        break;
        Severity: Major
        Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 2 days to fix
        server/public/jsx-transformer-0.12.2.js on lines 3066..3136

        Similar blocks of code found in 2 locations. Consider refactoring.
        Open

        if (!ch || !isLineTerminator(ch.charCodeAt(0))) {
        switch (ch) {
        case 'n':
        str += '\n';
        break;
        Severity: Major
        Found in server/public/jsx-transformer-0.12.2.js and 1 other location - About 2 days to fix
        server/public/jsx-transformer-0.12.2.js on lines 3182..3252

        Function 24 has 383 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        },{"../src/utils":22,"./es6-destructuring-visitors":25,"./es6-rest-param-visitors":28,"esprima-fb":9}],24:[function(_dereq_,module,exports){
        /**
        * Copyright 2013 Facebook, Inc.
        *
        * Licensed under the Apache License, Version 2.0 (the "License");
        Severity: Major
        Found in server/public/jsx-transformer-0.12.2.js - About 1 day to fix

          Function 22 has 311 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          },{"./utils":22,"esprima-fb":9,"source-map":10}],22:[function(_dereq_,module,exports){
          /**
          * Copyright 2013 Facebook, Inc.
          *
          * Licensed under the Apache License, Version 2.0 (the "License");
          Severity: Major
          Found in server/public/jsx-transformer-0.12.2.js - About 1 day to fix

            Function 15 has 268 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            },{"amdefine":19}],15:[function(_dereq_,module,exports){
            /* -*- Mode: js; js-indent-level: 2; -*- */
            /*
            * Copyright 2011 Mozilla Foundation and contributors
            * Licensed under the New BSD license. See LICENSE or:
            Severity: Major
            Found in server/public/jsx-transformer-0.12.2.js - About 1 day to fix

              Function 16 has 257 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              },{"./array-set":11,"./base64-vlq":12,"./binary-search":14,"./util":18,"amdefine":19}],16:[function(_dereq_,module,exports){
              /* -*- Mode: js; js-indent-level: 2; -*- */
              /*
              * Copyright 2011 Mozilla Foundation and contributors
              * Licensed under the New BSD license. See LICENSE or:
              Severity: Major
              Found in server/public/jsx-transformer-0.12.2.js - About 1 day to fix

                Function 17 has 247 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                },{"./array-set":11,"./base64-vlq":12,"./util":18,"amdefine":19}],17:[function(_dereq_,module,exports){
                /* -*- Mode: js; js-indent-level: 2; -*- */
                /*
                * Copyright 2011 Mozilla Foundation and contributors
                * Licensed under the New BSD license. See LICENSE or:
                Severity: Major
                Found in server/public/jsx-transformer-0.12.2.js - About 1 day to fix

                  Function 36 has 209 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  },{"jstransform":21,"jstransform/src/utils":22}],36:[function(_dereq_,module,exports){
                  /**
                  * Copyright 2013-2014, Facebook, Inc.
                  * All rights reserved.
                  *
                  Severity: Major
                  Found in server/public/jsx-transformer-0.12.2.js - About 1 day to fix

                    Similar blocks of code found in 2 locations. Consider refactoring.
                    Open

                    if len(cursorObj.execute('SELECT * FROM measure').fetchall()) == 0:
                    #Boost
                    cursorObj.execute("INSERT INTO measure VALUES(1, 'Psi', ' * 0.001) * 14 ) - 14)', ' - 14 ) / 14.504)', 'This sensor substract 14 PSI to pressure', 1)")
                    cursorObj.execute("INSERT INTO measure VALUES(2, 'Bar', ' * 0.001) - 1.0 ))', ' - 1.0 )', 'This sensor substract 1.0 Bar to pressure', 1)")
                    cursorObj.execute("INSERT INTO measure VALUES(3, 'Kilopascal', ' * 0.001) -1.0 ) * 100)', ' - 1.0 )', 'This sensor substract 100 Kilopascal to pressure', 1)")
                    Severity: Major
                    Found in dashboard/core/database.py and 1 other location - About 1 day to fix
                    dashboard/core/database.py on lines 137..148

                    Similar blocks of code found in 2 locations. Consider refactoring.
                    Open

                    if len(cursorObj.execute('SELECT * FROM consult').fetchall()) == 0:
                    cursorObj.execute("INSERT INTO consult VALUES(NULL, 'Temp', '0x08', 'Colant/Water Temperature')")
                    cursorObj.execute("INSERT INTO consult VALUES(NULL, 'MPH', '0x0b', 'Speed in Miles per hours')")
                    cursorObj.execute("INSERT INTO consult VALUES(NULL, 'KPH', '0x0b', 'Speed in kilometers per hours')")
                    cursorObj.execute("INSERT INTO consult VALUES(NULL, 'RPM', '0x00,0x01', 'Rev. Per Minutes')")
                    Severity: Major
                    Found in dashboard/core/database.py and 1 other location - About 1 day to fix
                    dashboard/core/database.py on lines 113..128

                    Function 1 has 200 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.JSXTransformer=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
                    /**
                    * Copyright 2013-2014, Facebook, Inc.
                    * All rights reserved.
                    *
                    Severity: Major
                    Found in server/public/jsx-transformer-0.12.2.js - About 1 day to fix

                      Function 19 has 191 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      },{"amdefine":19}],19:[function(_dereq_,module,exports){
                      (function (process,__filename){
                      /** vim: et:ts=4:sw=4:sts=4
                      * @license amdefine 0.1.0 Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
                      * Available via the MIT or new BSD license.
                      Severity: Major
                      Found in server/public/jsx-transformer-0.12.2.js - About 7 hrs to fix

                        Function amdefine has 184 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function amdefine(module, requireFn) {
                        'use strict';
                        var defineCache = {},
                        loaderCache = {},
                        alreadyCalled = false,
                        Severity: Major
                        Found in server/public/jsx-transformer-0.12.2.js - About 7 hrs to fix
                          Severity
                          Category
                          Status
                          Source
                          Language