serp-spider/search-engine-google

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

Summary

Maintainability
A
1 hr
Test Coverage

Method parse has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function parse(GoogleDom $dom, \DomElement $node, IndexedResultSet $resultSet)
    {

        $item = new BaseResult(NaturalResultType::TWEETS_CAROUSEL, [

Severity: Minor
Found in src/Parser/Evaluated/Rule/Natural/TweetsCarouselZ1m.php - About 1 hr to fix

    Avoid too many return statements within this method.
    Open

                    return null;
    Severity: Major
    Found in src/Parser/Evaluated/Rule/Natural/TweetsCarouselZ1m.php - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status