Aam-Digital/ndb-core

View on GitHub
src/app/core/database/pouch-database.ts

Summary

Maintainability
B
4 hrs
Test Coverage
B
89%

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

@Injectable()
export class PouchDatabase extends Database {
  /**
   * Small helper function which creates a database with in-memory PouchDB initialized
   */
Severity: Minor
Found in src/app/core/database/pouch-database.ts - About 2 hrs to fix

    File pouch-database.ts has 251 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    /*
     *     This file is part of ndb-core.
     *
     *     ndb-core is free software: you can redistribute it and/or modify
     *     it under the terms of the GNU General Public License as published by
    Severity: Minor
    Found in src/app/core/database/pouch-database.ts - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status