Chalarangelo/30-seconds-of-code

View on GitHub
src/astro/components/Omnisearch.js

Summary

Maintainability
A
1 hr
Test Coverage

Function searchByKeyphrase has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  searchByKeyphrase(keyphrase) {
    let q = keyphrase.toLowerCase().trim();
    if (q.length <= 1) return [];
    let results = [];
    if (q.length) {
Severity: Minor
Found in src/astro/components/Omnisearch.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status