luyadev/luya-module-admin

View on GitHub

Showing 331 of 503 total issues

Function withAngular has a Cognitive Complexity of 438 (exceeds 5 allowed). Consider refactoring.
Open

(function withAngular(angular, navigator) {
 
'use strict';
 
var A_DAY_IN_MILLISECONDS = 86400000
Severity: Minor
Found in src/resources/vendorlibs/angularjs-datepicker/angular-datepicker.js - About 1 wk to fix

File formdirectives.js has 2127 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/** ZAA ANGULAR FORM INPUT DIRECTIVES */
 
 
/**
* @ngdoc directive
Severity: Major
Found in src/resources/js/formdirectives.js - About 5 days to fix

    Function withAngular has 786 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    (function withAngular(angular, navigator) {
     
    'use strict';
     
    var A_DAY_IN_MILLISECONDS = 86400000
    Severity: Major
    Found in src/resources/vendorlibs/angularjs-datepicker/angular-datepicker.js - About 3 days to fix

      File directives.js has 1434 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      /**
      * Directive to generate e chart diagrams.
      *
      * uses echarts.js component.
      *
      Severity: Major
      Found in src/resources/js/directives.js - About 3 days to fix

        Function datepickerDirective has 658 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        , datepickerDirective = function datepickerDirective($window, $compile, $locale, $filter, $interpolate, $timeout) {
         
        var linkingFunction = function linkingFunction($scope, element, attr) {
         
        $scope.today = new Date();
        Severity: Major
        Found in src/resources/vendorlibs/angularjs-datepicker/angular-datepicker.js - About 3 days to fix

          Function linkingFunction has 633 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          var linkingFunction = function linkingFunction($scope, element, attr) {
           
          $scope.today = new Date();
           
          //get child input
          Severity: Major
          Found in src/resources/vendorlibs/angularjs-datepicker/angular-datepicker.js - About 3 days to fix

            File controllers.js has 1093 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

             
             
            zaa.controller("DefaultDashboardObjectController", ['$scope', '$http', '$sce', function($scope, $http, $sce) {
             
            $scope.data;
            Severity: Major
            Found in src/resources/js/controllers.js - About 2 days to fix

              Function controller has 417 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function ($scope, $http, $filter, $timeout, $q, HtmlStorage, cfpLoadingBar, Upload, ServiceFoldersData, ServiceFilesData, LuyaLoading, AdminToastService, ServiceFoldersDirectoryId, ServiceAdminTags, ServiceQueueWaiting) {
               
              // ServiceFoldersData inheritance
               
              $scope.foldersData = ServiceFoldersData.data;
              Severity: Major
              Found in src/resources/js/directives.js - About 2 days to fix

                File angular-datepicker.js has 789 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                /*global angular document navigator*/
                (function withAngular(angular, navigator) {
                 
                'use strict';
                 
                 
                Severity: Major
                Found in src/resources/vendorlibs/angularjs-datepicker/angular-datepicker.js - About 1 day to fix

                  File admin.php has 508 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  <?php
                   
                  return [
                  'language_name' => 'Русский',
                  'button_save' => 'Сохранить',
                  Severity: Major
                  Found in src/messages/ru/admin.php - About 1 day to fix

                    File admin.php has 508 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    <?php
                     
                    return [
                    'language_name' => 'Português',
                    'button_save' => 'Salvar',
                    Severity: Major
                    Found in src/messages/pt/admin.php - About 1 day to fix

                      File admin.php has 507 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      <?php
                       
                      return [
                      /** Start::No translation **/
                      'layout_debug_assetmanager_forcecopy' => 'AssetManager forceCopy',
                      Severity: Major
                      Found in src/messages/fr/admin.php - About 1 day to fix

                        File admin.php has 507 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        <?php
                         
                        return [
                        'language_name' => 'Ελληνικά',
                        'button_save' => 'Αποθήκευση',
                        Severity: Major
                        Found in src/messages/el/admin.php - About 1 day to fix

                          File admin.php has 507 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          <?php
                           
                          return [
                          'language_name' => 'Bahasa',
                          'button_save' => 'Simpan',
                          Severity: Major
                          Found in src/messages/id/admin.php - About 1 day to fix

                            File admin.php has 507 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            <?php
                             
                            return [
                            'language_name' => 'Việt Nam',
                            'button_save' => 'Lưu',
                            Severity: Major
                            Found in src/messages/vi/admin.php - About 1 day to fix

                              File admin.php has 507 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              <?php
                               
                              return [
                              'language_name' => 'فارسی',
                              'button_save' => 'ذخیره',
                              Severity: Major
                              Found in src/messages/fa/admin.php - About 1 day to fix

                                File admin.php has 507 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                <?php
                                 
                                return [
                                'language_name' => 'Українська',
                                'button_save' => 'Зберегти',
                                Severity: Major
                                Found in src/messages/ua/admin.php - About 1 day to fix

                                  File admin.php has 507 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  <?php
                                   
                                  return [
                                  'language_name' => 'ภาษาไทย',
                                  'button_save' => 'บันทึก',
                                  Severity: Major
                                  Found in src/messages/th/admin.php - About 1 day to fix

                                    File admin.php has 507 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    <?php
                                     
                                    return [
                                    'language_name' => 'Türkçe',
                                    'button_save' => 'Kaydet',
                                    Severity: Major
                                    Found in src/messages/tr/admin.php - About 1 day to fix

                                      File admin.php has 507 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      <?php
                                       
                                      return [
                                      'language_name' => 'Български',
                                      'button_save' => 'Запазване',
                                      Severity: Major
                                      Found in src/messages/bg/admin.php - About 1 day to fix
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language