AlexAegis/loreplotter

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

Summary

Maintainability
A
2 hrs
Test Coverage

Function onKeyDown has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    @HostListener('window:keydown', ['$event'])
    public onKeyDown($event: KeyboardEvent): void {
        if (document.activeElement.tagName !== 'INPUT') {
            switch ($event.code) {
                case 'Space':
Severity: Major
Found in src/app/lore/lore.component.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status