AlexAegis/loreplotter

View on GitHub
src/app/lore/component/dialog/export.component.ts

Summary

Maintainability
A
3 hrs
Test Coverage

Function importDatabase has 63 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public importDatabase(): void {
        this.databaseService.database$
            .pipe(
                take(1),
                switchMap(db =>
Severity: Major
Found in src/app/lore/component/dialog/export.component.ts - About 2 hrs to fix

    Function downloadTextures has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public downloadTextures(): void {
            this.databaseService.database$
                .pipe(
                    take(1),
                    switchMap(db => db.lore.find().$.pipe(take(1))),
    Severity: Minor
    Found in src/app/lore/component/dialog/export.component.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status