• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Yoast / wordpress-seo / ede6fd7c0b60c6046f5ca05162944c7a397d5d8b

20 Nov 2024 03:11PM UTC coverage: 54.21% (-2.9%) from 57.113%
ede6fd7c0b60c6046f5ca05162944c7a397d5d8b

Pull #21847

github

web-flow
Merge 428b097d7 into 74d330cc7
Pull Request #21847: Create API endpoints for SEO and readability scores

7593 of 13666 branches covered (55.56%)

Branch coverage included in aggregate %.

0 of 303 new or added lines in 24 files covered. (0.0%)

29764 of 55246 relevant lines covered (53.88%)

41542.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/dashboard/domain/scores/seo-scores/abstract-seo-score.php
1
<?php
2
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
3
// phpcs:disable Yoast.NamingConventions.NamespaceName.MaxExceeded
4
namespace Yoast\WP\SEO\Dashboard\Domain\Scores\SEO_Scores;
5

6
use Yoast\WP\SEO\Dashboard\Domain\Scores\Abstract_Score;
7

8
/**
9
 * Abstract class for an SEO score.
10
 */
11
abstract class Abstract_SEO_Score extends Abstract_Score implements SEO_Scores_Interface {
12

13
        /**
14
         * Gets the key of the SEO score that is used when filtering on the posts page.
15
         *
16
         * @return string The name of the SEO score that is used when filtering on the posts page.
17
         */
NEW
18
        public function get_filter_key(): string {
×
NEW
19
                return 'seo_filter';
×
20
        }
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc