autowp/autowp-frontend

View on GitHub
src/grpc/spec.pbsc.ts

Summary

Maintainability
F
3 mos
Test Coverage

Showing 17 of 17 total issues

File spec.pbsc.ts has 4165 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/* tslint:disable */
/* eslint-disable */
// @ts-nocheck
//
// THIS IS A GENERATED FILE
Severity: Major
Found in src/grpc/spec.pbsc.ts - About 1 wk to fix

    ItemsClient has 43 functions (exceeds 20 allowed). Consider refactoring.
    Open

    @Injectable({ providedIn: 'any' })
    export class ItemsClient {
    private client: GrpcClient<any>;
     
    /**
    Severity: Minor
    Found in src/grpc/spec.pbsc.ts - About 5 hrs to fix

      `` has 42 functions (exceeds 20 allowed). Consider refactoring.
      Open

      $raw = {
      /**
      * Unary call: /goautowp.Items/GetItemOfDay
      *
      * @param requestMessage Request message
      Severity: Minor
      Found in src/grpc/spec.pbsc.ts - About 5 hrs to fix

        PicturesClient has 35 functions (exceeds 20 allowed). Consider refactoring.
        Open

        @Injectable({ providedIn: 'any' })
        export class PicturesClient {
        private client: GrpcClient<any>;
         
        /**
        Severity: Minor
        Found in src/grpc/spec.pbsc.ts - About 4 hrs to fix

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

          $raw = {
          /**
          * Unary call: /goautowp.Pictures/View
          *
          * @param requestMessage Request message
          Severity: Minor
          Found in src/grpc/spec.pbsc.ts - About 4 hrs to fix

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

            export class AutowpClient {
            private client: GrpcClient<any>;
             
            /**
            * Raw RPC implementation for each service client method.
            Severity: Major
            Found in src/grpc/spec.pbsc.ts and 2 other locations - About 2 wks to fix
            src/grpc/spec.pbsc.ts on lines 1467..1892
            src/grpc/spec.pbsc.ts on lines 3890..4315

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

            export class CommentsClient {
            private client: GrpcClient<any>;
             
            /**
            * Raw RPC implementation for each service client method.
            Severity: Major
            Found in src/grpc/spec.pbsc.ts and 2 other locations - About 2 wks to fix
            src/grpc/spec.pbsc.ts on lines 57..482
            src/grpc/spec.pbsc.ts on lines 1467..1892

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

            export class UsersClient {
            private client: GrpcClient<any>;
             
            /**
            * Raw RPC implementation for each service client method.
            Severity: Major
            Found in src/grpc/spec.pbsc.ts and 2 other locations - About 2 wks to fix
            src/grpc/spec.pbsc.ts on lines 57..482
            src/grpc/spec.pbsc.ts on lines 3890..4315

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

            export class MessagingClient {
            private client: GrpcClient<any>;
             
            /**
            * Raw RPC implementation for each service client method.
            Severity: Major
            Found in src/grpc/spec.pbsc.ts and 1 other location - About 1 wk to fix
            src/grpc/spec.pbsc.ts on lines 1051..1291

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

            export class TrafficClient {
            private client: GrpcClient<any>;
             
            /**
            * Raw RPC implementation for each service client method.
            Severity: Major
            Found in src/grpc/spec.pbsc.ts and 1 other location - About 1 wk to fix
            src/grpc/spec.pbsc.ts on lines 5721..5961

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

            export class StatisticsClient {
            private client: GrpcClient<any>;
             
            /**
            * Raw RPC implementation for each service client method.
            Severity: Major
            Found in src/grpc/spec.pbsc.ts and 3 other locations - About 3 days to fix
            src/grpc/spec.pbsc.ts on lines 954..1046
            src/grpc/spec.pbsc.ts on lines 3793..3885
            src/grpc/spec.pbsc.ts on lines 6063..6155

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

            export class ArticlesClient {
            private client: GrpcClient<any>;
             
            /**
            * Raw RPC implementation for each service client method.
            Severity: Major
            Found in src/grpc/spec.pbsc.ts and 3 other locations - About 3 days to fix
            src/grpc/spec.pbsc.ts on lines 3793..3885
            src/grpc/spec.pbsc.ts on lines 5966..6058
            src/grpc/spec.pbsc.ts on lines 6063..6155

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

            export class MostsClient {
            private client: GrpcClient<any>;
             
            /**
            * Raw RPC implementation for each service client method.
            Severity: Major
            Found in src/grpc/spec.pbsc.ts and 3 other locations - About 3 days to fix
            src/grpc/spec.pbsc.ts on lines 954..1046
            src/grpc/spec.pbsc.ts on lines 5966..6058
            src/grpc/spec.pbsc.ts on lines 6063..6155

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

            export class DonationsClient {
            private client: GrpcClient<any>;
             
            /**
            * Raw RPC implementation for each service client method.
            Severity: Major
            Found in src/grpc/spec.pbsc.ts and 3 other locations - About 3 days to fix
            src/grpc/spec.pbsc.ts on lines 954..1046
            src/grpc/spec.pbsc.ts on lines 3793..3885
            src/grpc/spec.pbsc.ts on lines 5966..6058

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

            export class TextClient {
            private client: GrpcClient<any>;
             
            /**
            * Raw RPC implementation for each service client method.
            Severity: Major
            Found in src/grpc/spec.pbsc.ts and 2 other locations - About 1 day to fix
            src/grpc/spec.pbsc.ts on lines 4320..4375
            src/grpc/spec.pbsc.ts on lines 4380..4435

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

            export class MapClient {
            private client: GrpcClient<any>;
             
            /**
            * Raw RPC implementation for each service client method.
            Severity: Major
            Found in src/grpc/spec.pbsc.ts and 2 other locations - About 1 day to fix
            src/grpc/spec.pbsc.ts on lines 4320..4375
            src/grpc/spec.pbsc.ts on lines 6160..6215

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

            export class LogClient {
            private client: GrpcClient<any>;
             
            /**
            * Raw RPC implementation for each service client method.
            Severity: Major
            Found in src/grpc/spec.pbsc.ts and 2 other locations - About 1 day to fix
            src/grpc/spec.pbsc.ts on lines 4380..4435
            src/grpc/spec.pbsc.ts on lines 6160..6215

            There are no issues that match your filters.

            Category
            Status