Ontica/Empiria.Land.Intranet

View on GitHub

Showing 53 of 516 total issues

RecordingActCreatorComponent has 34 functions (exceeds 20 allowed). Consider refactoring.
Open

@Component({
  selector: 'emp-land-recording-act-creator',
  templateUrl: './recording-act-creator.component.html',
  styles: [`
    .searcher-item-container {

    File recording-act-creator.component.ts has 347 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /**
     * @license
     * Copyright (c) La Vía Óntica SC, Ontica LLC and contributors. All rights reserved.
     *
     * See LICENSE.txt in the project root for complete license information.

      RecordingDataService has 32 functions (exceeds 20 allowed). Consider refactoring.
      Open

      @Injectable()
      export class RecordingDataService {
      
        constructor(private http: HttpService) { }
      
      
      Severity: Minor
      Found in src/app/data-services/recording.data.service.ts - About 4 hrs to fix

        DateRangePickerComponent has 30 functions (exceeds 20 allowed). Consider refactoring.
        Open

        @Component({
          selector: 'emp-ng-date-range-picker',
          templateUrl: 'date-range-picker.component.html',
          styleUrls: ['date-range-picker.component.scss'],
          providers: [

          DateStringLibrary has 30 functions (exceeds 20 allowed). Consider refactoring.
          Open

          export class DateStringLibrary {
          
            static validateDateValue(obj: any): Date {
              if (!obj) {
                return null;
          Severity: Minor
          Found in src/app/core/data-types/date-string-library.ts - About 3 hrs to fix

            FileControlComponent has 29 functions (exceeds 20 allowed). Consider refactoring.
            Open

            @Component({
              selector: 'emp-ng-file-control',
              templateUrl: './file-control.component.html',
              styleUrls: ['./file-control.component.scss'],
            })
            Severity: Minor
            Found in src/app/shared/form-controls/file-control/file-control.component.ts - About 3 hrs to fix

              File transaction.ts has 299 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              /**
               * @license
               * Copyright (c) La Vía Óntica SC, Ontica LLC and contributors. All rights reserved.
               *
               * See LICENSE.txt in the project root for complete license information.
              Severity: Minor
              Found in src/app/models/transaction.ts - About 3 hrs to fix

                CertificateCreatorComponent has 26 functions (exceeds 20 allowed). Consider refactoring.
                Open

                @Component({
                  selector: 'emp-land-certificate-creator',
                  templateUrl: './certificate-creator.component.html',
                })
                export class CertificateCreatorComponent implements OnInit, OnChanges, OnDestroy {
                Severity: Minor
                Found in src/app/views/certificate-emission/certificate-creator.component.ts - About 3 hrs to fix

                  MonthPickerComponent has 26 functions (exceeds 20 allowed). Consider refactoring.
                  Open

                  @Component({
                    selector: 'emp-ng-month-picker',
                    templateUrl: 'month-picker.component.html',
                    styleUrls: ['month-picker.component.scss'],
                    changeDetection: ChangeDetectionStrategy.OnPush,

                    ESignMainPageComponent has 26 functions (exceeds 20 allowed). Consider refactoring.
                    Open

                    @Component({
                      selector: 'emp-land-e-sign-main-page',
                      templateUrl: './e-sign-main-page.component.html',
                    })
                    export class ESignMainPageComponent implements OnInit, OnDestroy {

                      File date-string-library.ts has 289 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      /**
                       * @license
                       * Copyright (c) La Vía Óntica SC, Ontica LLC and contributors. All rights reserved.
                       *
                       * See LICENSE.txt in the project root for complete license information.
                      Severity: Minor
                      Found in src/app/core/data-types/date-string-library.ts - About 2 hrs to fix

                        TransactionDataService has 25 functions (exceeds 20 allowed). Consider refactoring.
                        Open

                        @Injectable()
                        export class TransactionDataService {
                        
                          constructor(private http: HttpService) { }
                        
                        
                        Severity: Minor
                        Found in src/app/data-services/transaction.data.service.ts - About 2 hrs to fix

                          TransactionsMainPageComponent has 24 functions (exceeds 20 allowed). Consider refactoring.
                          Open

                          @Component({
                            selector: 'emp-land-transactions-main-page',
                            templateUrl: './transactions-main-page.component.html'
                          })
                          export class TransactionsMainPageComponent implements OnInit, OnDestroy {

                            File certificate-creator.component.ts has 271 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            /**
                             * @license
                             * Copyright (c) La Vía Óntica SC, Ontica LLC and contributors. All rights reserved.
                             *
                             * See LICENSE.txt in the project root for complete license information.
                            Severity: Minor
                            Found in src/app/views/certificate-emission/certificate-creator.component.ts - About 2 hrs to fix

                              RecordingBookSelectorComponent has 23 functions (exceeds 20 allowed). Consider refactoring.
                              Open

                              @Component({
                                selector: 'emp-land-recording-book-selector',
                                templateUrl: './recording-book-selector.component.html',
                              })
                              export class RecordingBookSelectorComponent implements OnInit, OnChanges, OnDestroy {

                                AccessControlViewerComponent has 22 functions (exceeds 20 allowed). Consider refactoring.
                                Open

                                @Component({
                                  selector: 'emp-ng-access-control-viewer',
                                  templateUrl: './access-control-viewer.component.html',
                                })
                                export class AccessControlViewerComponent implements OnInit {

                                  AccessControlDataService has 21 functions (exceeds 20 allowed). Consider refactoring.
                                  Open

                                  @Injectable()
                                  export class AccessControlDataService {
                                  
                                    constructor(private http: HttpService) { }
                                  
                                  
                                  Severity: Minor
                                  Found in src/app/data-services/_access-control.data.service.ts - About 2 hrs to fix

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

                                      applyEffects(effectType: EffectType, params?: any): void {
                                    
                                        let transactionList = null;
                                    
                                        switch (effectType) {
                                    Severity: Minor
                                    Found in src/app/presentation/land/transaction.presentation.handler.ts - About 1 hr to fix

                                      Function select has 47 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                        select<U>(selectorType: SelectorType, params?: any): EmpObservable<U> {
                                          let provider: () => any;
                                      
                                          switch (selectorType) {
                                      
                                      

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

                                          onTransactionHeaderEvent(event: EventInfo): void {
                                            if (this.submitted) {
                                              return;
                                            }
                                        
                                        
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language