KennethanCeyer/browser-detect

View on GitHub
src/detector.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function checkOs has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private checkOs(): BrowserDetectInfo {
        return os
            .map(definition => {
                const name = (<OsDefinitionInterface>definition).name || <string>definition;
                const pattern = this.getOsPattern(definition);
Severity: Minor
Found in src/detector.ts - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status