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

Yoast / wordpress-seo / 329e7257b699570577e9617a4ea672714686da15

26 Jan 2026 07:52AM UTC coverage: 52.923% (-0.4%) from 53.35%
329e7257b699570577e9617a4ea672714686da15

Pull #22888

github

web-flow
Merge 00d428c6c into ff2f33de1
Pull Request #22888: Add integration tests for analytics adapter

8393 of 15825 branches covered (53.04%)

Branch coverage included in aggregate %.

32383 of 61223 relevant lines covered (52.89%)

47097.05 hits per line

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

0.0
/src/dashboard/infrastructure/endpoints/setup-steps-tracking-endpoint.php
1
<?php
2

3
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
4
namespace Yoast\WP\SEO\Dashboard\Infrastructure\Endpoints;
5

6
use Exception;
7
use Yoast\WP\SEO\Dashboard\Domain\Endpoint\Endpoint_Interface;
8
use Yoast\WP\SEO\Dashboard\User_Interface\Tracking\Setup_Steps_Tracking_Route;
9

10
/**
11
 * Represents the setup steps tracking endpoint.
12
 */
13
class Setup_Steps_Tracking_Endpoint implements Endpoint_Interface {
14

15
        /**
16
         * Gets the name.
17
         *
18
         * @return string
19
         */
20
        public function get_name(): string {
×
21
                return 'setupStepsTracking';
×
22
        }
23

24
        /**
25
         * Gets the namespace.
26
         *
27
         * @return string
28
         */
29
        public function get_namespace(): string {
×
30
                return Setup_Steps_Tracking_Route::ROUTE_NAMESPACE;
×
31
        }
32

33
        /**
34
         * Gets the route.
35
         *
36
         * @throws Exception If the route prefix is not overwritten this throws.
37
         * @return string
38
         */
39
        public function get_route(): string {
×
40
                return Setup_Steps_Tracking_Route::ROUTE_PREFIX;
×
41
        }
42

43
        /**
44
         * Gets the URL.
45
         *
46
         * @return string
47
         */
48
        public function get_url(): string {
×
49
                return \rest_url( $this->get_namespace() . $this->get_route() );
×
50
        }
51
}
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

© 2026 Coveralls, Inc