src/app/catalogue/matcher.ts
Showing 2 of 2 total issues
Function cataloguePathMatcher
has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring. Open
Open
export function cataloguePathMatcher(url: UrlSegment[]) { if (url.length <= 0) { return null; }
- Read upRead up
Function cataloguePathMatcher
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function cataloguePathMatcher(url: UrlSegment[]) { if (url.length <= 0) { return null; }