serp-spider/search-engine-google

View on GitHub
src/Parser/Evaluated/Rule/Natural/AnswerBox.php

Summary

Maintainability
A
1 hr
Test Coverage

Method parseNode has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function parseNode(GoogleDom $dom, \DOMElement $node)
    {
        return [
            'title'   => function () use ($dom, $node) {
                $aTag = $dom->cssQuery('.rc .r a', $node)
Severity: Minor
Found in src/Parser/Evaluated/Rule/Natural/AnswerBox.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status