open-learning-exchange/planet

View on GitHub
src/app/shared/user.service.ts

Summary

Maintainability
B
5 hrs
Test Coverage

UserService has 27 functions (exceeds 20 allowed). Consider refactoring.
Open

@Injectable({
  providedIn: 'root'
})
export class UserService {
  private user: any = { name: '' };
Severity: Minor
Found in src/app/shared/user.service.ts - About 3 hrs to fix

    File user.service.ts has 254 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import { Injectable } from '@angular/core';
    import { CouchService } from './couchdb.service';
    import { catchError, switchMap, map, tap } from 'rxjs/operators';
    import { of, Observable, Subject, BehaviorSubject, forkJoin } from 'rxjs';
    import { findDocuments } from '../shared/mangoQueries';
    Severity: Minor
    Found in src/app/shared/user.service.ts - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status