Showing 10,536 of 10,536 total issues

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

            meta_result = {"id": row[0],
                           "name": row[1],
                           "uuid": row[2],
                           "area": row[3],
                           "is_input_counted": bool(row[4]),
Severity: Major
Found in myems-api/core/shopfloor.py and 1 other location - About 6 hrs to fix
myems-api/core/shopfloor.py on lines 2534..2549

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 105.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

                line.title = _('Base Period Cumulative Efficiency') + ' / ' \
                    + _('Reporting Period Cumulative Efficiency') + ' - ' \
                    + reporting_period_data['names'][i] + "-" \
                    + reporting_period_data['numerator_names'][i] \
                    + " (" + reporting_period_data['numerator_units'][i] + ")"
Severity: Major
Found in myems-api/excelexporters/combinedequipmentefficiency.py and 1 other location - About 6 hrs to fix
myems-api/excelexporters/combinedequipmentefficiency.py on lines 906..910

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 105.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

                line.title = _('Base Period Cumulative Efficiency') + ' / ' \
                    + _('Reporting Period Cumulative Efficiency') + ' - ' \
                    + reporting_period_data['names'][i] + "-" \
                    + reporting_period_data['denominator_names'][i] \
                    + " (" + reporting_period_data['denominator_units'][i] + ")"
Severity: Major
Found in myems-api/excelexporters/combinedequipmentefficiency.py and 1 other location - About 6 hrs to fix
myems-api/excelexporters/combinedequipmentefficiency.py on lines 873..877

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 105.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

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

            meta_result = {"id": row[0],
                           "name": row[1],
                           "uuid": row[2],
                           "area": row[3],
                           "is_input_counted": bool(row[4]),
Severity: Major
Found in myems-api/core/shopfloor.py and 1 other location - About 6 hrs to fix
myems-api/core/shopfloor.py on lines 1973..1988

Duplicated Code

Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

Tuning

This issue has a mass of 105.

We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

Refactorings

Further Reading

Function init has 164 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function init(plot) {
        plot.hooks.processOptions.push(function (plot, options) {
            $.each(plot.getAxes(), function(axisName, axis) {

                var opts = axis.options;
Severity: Major
Found in myems-admin/js/plugins/flot/jquery.flot.time.js - About 6 hrs to fix

    Function renderCalendar has 164 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            renderCalendar: function (calendar, selected, minDate, maxDate, side) {
    
                var html = '<div class="calendar-date">';
                html += '<table class="table-condensed">';
                html += '<thead>';
    Severity: Major
    Found in myems-admin/js/plugins/daterangepicker/daterangepicker.js - About 6 hrs to fix

      Function on_get has 164 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          def on_get(req, resp):
              if 'API-KEY' not in req.headers or \
                      not isinstance(req.headers['API-KEY'], str) or \
                      len(str.strip(req.headers['API-KEY'])) == 0:
                  access_control(req)
      Severity: Major
      Found in myems-api/reports/energystoragepowerstationdetails.py - About 6 hrs to fix

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

        const CardDropdown = () => (
          <UncontrolledDropdown className="text-sans-serif btn-reveal-trigger">
            <DropdownToggle color="link" size="sm" className="btn-reveal text-600">
              <FontAwesomeIcon icon="ellipsis-h" className="fs--2" />
            </DropdownToggle>
        Severity: Major
        Found in myems-web/src/components/MyEMS/Store/CardDropdown.js and 4 other locations - About 6 hrs to fix
        myems-web/src/components/MyEMS/Microgrid/CardDropdown.js on lines 5..19
        myems-web/src/components/MyEMS/Shopfloor/CardDropdown.js on lines 5..19
        myems-web/src/components/MyEMS/Tenant/CardDropdown.js on lines 5..19
        myems-web/src/components/dashboard-alt/CardDropdown.js on lines 5..19

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

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

        const CardDropdown = () => (
          <UncontrolledDropdown className="text-sans-serif btn-reveal-trigger">
            <DropdownToggle color="link" size="sm" className="btn-reveal text-600">
              <FontAwesomeIcon icon="ellipsis-h" className="fs--2" />
            </DropdownToggle>
        Severity: Major
        Found in myems-web/src/components/MyEMS/Shopfloor/CardDropdown.js and 4 other locations - About 6 hrs to fix
        myems-web/src/components/MyEMS/Microgrid/CardDropdown.js on lines 5..19
        myems-web/src/components/MyEMS/Store/CardDropdown.js on lines 5..19
        myems-web/src/components/MyEMS/Tenant/CardDropdown.js on lines 5..19
        myems-web/src/components/dashboard-alt/CardDropdown.js on lines 5..19

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

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

            function computeForwardSlotSegs(levels) {
                var i, level;
                var j, seg;
                var k;
        
        
        Severity: Major
        Found in myems-admin/js/plugins/fullcalendar/fullcalendar.min.js and 1 other location - About 6 hrs to fix
        myems-admin/js/plugins/fullcalendar/fullcalendar.js on lines 6478..6495

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

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

        const CardDropdown = () => (
          <UncontrolledDropdown className="text-sans-serif btn-reveal-trigger">
            <DropdownToggle color="link" size="sm" className="btn-reveal text-600">
              <FontAwesomeIcon icon="ellipsis-h" className="fs--2" />
            </DropdownToggle>
        Severity: Major
        Found in myems-web/src/components/dashboard-alt/CardDropdown.js and 4 other locations - About 6 hrs to fix
        myems-web/src/components/MyEMS/Microgrid/CardDropdown.js on lines 5..19
        myems-web/src/components/MyEMS/Shopfloor/CardDropdown.js on lines 5..19
        myems-web/src/components/MyEMS/Store/CardDropdown.js on lines 5..19
        myems-web/src/components/MyEMS/Tenant/CardDropdown.js on lines 5..19

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

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

        function computeForwardSlotSegs(levels) {
            var i, level;
            var j, seg;
            var k;
        
        
        Severity: Major
        Found in myems-admin/js/plugins/fullcalendar/fullcalendar.js and 1 other location - About 6 hrs to fix
        myems-admin/js/plugins/fullcalendar/fullcalendar.min.js on lines 4394..4411

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

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

        const CardDropdown = () => (
          <UncontrolledDropdown className="text-sans-serif btn-reveal-trigger">
            <DropdownToggle color="link" size="sm" className="btn-reveal text-600">
              <FontAwesomeIcon icon="ellipsis-h" className="fs--2" />
            </DropdownToggle>
        Severity: Major
        Found in myems-web/src/components/MyEMS/Tenant/CardDropdown.js and 4 other locations - About 6 hrs to fix
        myems-web/src/components/MyEMS/Microgrid/CardDropdown.js on lines 5..19
        myems-web/src/components/MyEMS/Shopfloor/CardDropdown.js on lines 5..19
        myems-web/src/components/MyEMS/Store/CardDropdown.js on lines 5..19
        myems-web/src/components/dashboard-alt/CardDropdown.js on lines 5..19

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

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

        const CardDropdown = () => (
          <UncontrolledDropdown className="text-sans-serif btn-reveal-trigger">
            <DropdownToggle color="link" size="sm" className="btn-reveal text-600">
              <FontAwesomeIcon icon="ellipsis-h" className="fs--2" />
            </DropdownToggle>
        Severity: Major
        Found in myems-web/src/components/MyEMS/Microgrid/CardDropdown.js and 4 other locations - About 6 hrs to fix
        myems-web/src/components/MyEMS/Shopfloor/CardDropdown.js on lines 5..19
        myems-web/src/components/MyEMS/Store/CardDropdown.js on lines 5..19
        myems-web/src/components/MyEMS/Tenant/CardDropdown.js on lines 5..19
        myems-web/src/components/dashboard-alt/CardDropdown.js on lines 5..19

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

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

            (function() {
        
                if (opt('weekends') === false) {
                    hiddenDays.push(0, 6); // 0=sunday, 6=saturday
                }
        Severity: Major
        Found in myems-admin/js/plugins/fullcalendar/fullcalendar.js and 1 other location - About 6 hrs to fix
        myems-admin/js/plugins/fullcalendar/fullcalendar.min.js on lines 4867..4889

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

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

        app.controller('ModalAddMicrogridCtrl', function($scope, $uibModalInstance,params) {
        
            $scope.operation = "SETTING.ADD_MICROGRID";
            $scope.costcenters=params.costcenters;
            $scope.contacts=params.contacts;
        myems-admin/app/controllers/settings/energystoragepowerstation/energystoragepowerstation.controller.js on lines 300..316

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

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

                (function() {
        
                    if (opt('weekends') === false) {
                        hiddenDays.push(0, 6); // 0=sunday, 6=saturday
                    }
        Severity: Major
        Found in myems-admin/js/plugins/fullcalendar/fullcalendar.min.js and 1 other location - About 6 hrs to fix
        myems-admin/js/plugins/fullcalendar/fullcalendar.js on lines 7158..7180

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

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

        app.controller('ModalAddEnergyStoragePowerStationCtrl', function($scope, $uibModalInstance,params) {
            $scope.operation = "SETTING.ADD_ENERGY_STORAGE_POWER_STATION";
            $scope.costcenters=params.costcenters;
            $scope.contacts=params.contacts;
            $scope.svgs=params.svgs;
        myems-admin/app/controllers/settings/microgrid/microgrid.controller.js on lines 299..316

        Duplicated Code

        Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

        Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

        When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

        Tuning

        This issue has a mass of 166.

        We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

        The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

        If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

        See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

        Refactorings

        Further Reading

        File highcharts-ng.js has 439 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        if (typeof module !== 'undefined' && typeof exports !== 'undefined' && module.exports === exports){
          module.exports = 'highcharts-ng';
        }
        
        (function () {
        Severity: Minor
        Found in myems-admin/js/angular-highcharts/highcharts-ng.js - About 6 hrs to fix

          Function init has 162 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

              value: function init() {
                var _this3 = this;
          
                // In case it isn't set already
                if (this.element.tagName === "form") {
          Severity: Major
          Found in myems-admin/js/plugins/dropzone/dropzone.js - About 6 hrs to fix
            Severity
            Category
            Status
            Source
            Language