serp-spider/search-engine-google

View on GitHub
src/Parser/Evaluated/Rule/Adwords/Shopping.php

Summary

Maintainability
A
1 hr
Test Coverage

Method parseItem has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function parseItem(GoogleDom $googleDOM, \DOMNode $node)
    {

        return new BaseResult(AdwordsResultType::SHOPPING_GROUP_PRODUCT, [
            'title' => function () use ($googleDOM, $node) {
Severity: Minor
Found in src/Parser/Evaluated/Rule/Adwords/Shopping.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status