HEX
Server: LiteSpeed
System: Linux cde4.duelhost.dk 4.18.0-553.34.1.lve.el8.x86_64 #1 SMP Thu Jan 9 16:30:32 UTC 2025 x86_64
User: dmhkjfau (1027)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/dmhkjfau/public_html/wp-content/plugins/wp-seopress/src/Helpers/ContentAnalysis.php
<?php // phpcs:ignore

namespace SEOPress\Helpers;

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * ContentAnalysis
 */
abstract class ContentAnalysis {
	/**
	 * The getData function.
	 *
	 * @return array
	 */
	public static function getData() { // phpcs:ignore -- TODO: check if method is outside this class before renaming.
		$data = array(
			'all_canonical'      => array(
				'title'  => __( 'Canonical URL', 'wp-seopress' ),
				'impact' => 'good',
				'desc'   => null,
			),
			'schemas'            => array(
				'title'  => __( 'Structured data types', 'wp-seopress' ),
				'impact' => 'good',
				'desc'   => null,
			),
			'old_post'           => array(
				'title'  => __( 'Last modified date', 'wp-seopress' ),
				'impact' => 'good',
				'desc'   => null,
			),
			'keywords_permalink' => array(
				'title'  => __( 'Keywords in permalink', 'wp-seopress' ),
				'impact' => null,
				'desc'   => null,
			),
			'headings'           => array(
				'title'  => __( 'Headings', 'wp-seopress' ),
				'impact' => 'good',
				'desc'   => null,
			),
			'meta_title'         => array(
				'title'  => __( 'Meta title', 'wp-seopress' ),
				'impact' => null,
				'desc'   => null,
			),
			'meta_desc'          => array(
				'title'  => __( 'Meta description', 'wp-seopress' ),
				'impact' => null,
				'desc'   => null,
			),
			'social'             => array(
				'title'  => __( 'Social meta tags', 'wp-seopress' ),
				'impact' => 'good',
				'desc'   => null,
			),
			'robots'             => array(
				'title'  => __( 'Meta robots', 'wp-seopress' ),
				'impact' => 'good',
				'desc'   => null,
			),
			'img_alt'            => array(
				'title'  => __( 'Alternative texts of images', 'wp-seopress' ),
				'impact' => 'good',
				'desc'   => null,
			),
			'nofollow_links'     => array(
				'title'  => __( 'NoFollow Links', 'wp-seopress' ),
				'impact' => 'good',
				'desc'   => null,
			),
			'outbound_links'     => array(
				'title'  => __( 'Outbound Links', 'wp-seopress' ),
				'impact' => 'good',
				'desc'   => null,
			),
			'internal_links'     => array(
				'title'  => __( 'Internal Links', 'wp-seopress' ),
				'impact' => 'good',
				'desc'   => null,
			),
			'content_depth'      => array(
				'title'  => __( 'Content depth', 'wp-seopress' ),
				'impact' => 'good',
				'desc'   => null,
			),
			'heading_hierarchy'  => array(
				'title'  => __( 'Heading structure', 'wp-seopress' ),
				'impact' => 'good',
				'desc'   => null,
			),
			'content_media'      => array(
				'title'  => __( 'Media in content', 'wp-seopress' ),
				'impact' => 'good',
				'desc'   => null,
			),
			'content_structure'  => array(
				'title'  => __( 'Content readability', 'wp-seopress' ),
				'impact' => 'good',
				'desc'   => null,
			),
		);

		return apply_filters( 'seopress_get_content_analysis_data', $data );
	}
}