83% fix-sitemap-xml-yoast-seo-for-yandex

Code Review | Fix sitemap.xml Yoast SEO for Yandex

WordPress plugin Fix sitemap.xml Yoast SEO for Yandex scored83%from 54 tests.

About plugin

  • Plugin page: fix-sitemap-xml-y...
  • Plugin version: 1.0
  • PHP version: 7.4.16
  • WordPress compatibility: 4.5-4.7.4
  • WordPress version: 6.3.1
  • First release: May 4, 2017
  • Latest release: May 4, 2017
  • Number of updates: 2
  • Update frequency: N/A
  • Top authors: mojwp (100%)

Code review

54 tests

User reviews

1 review

Install metrics

300+ active /2,978 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully

Server metrics [RAM: ▲0.00MB] [CPU: ▼2.31ms] Passed 4 tests

Server-side resources used by Fix sitemap.xml Yoast SEO for Yandex
Normal server usage
PageMemory (MB)CPU Time (ms)
Home /3.47 ▲0.0037.18 ▼4.02
Dashboard /wp-admin3.31 ▲0.0053.04 ▲3.68
Posts /wp-admin/edit.php3.36 ▲0.0051.09 ▲1.09
Add New Post /wp-admin/post-new.php5.89 ▲0.0085.92 ▼8.89
Media Library /wp-admin/upload.php3.23 ▲0.0037.39 ▲2.58

Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests

Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
widget_recent-comments
db_upgraded
widget_theysaidso_widget
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

This is an overview of browser requirements for Fix sitemap.xml Yoast SEO for Yandex
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲2913.26 ▼1.481.68 ▼0.6942.50 ▼3.36
Dashboard /wp-admin2,209 ▲185.85 ▲0.97112.08 ▲7.6242.92 ▲1.96
Posts /wp-admin/edit.php2,092 ▼02.05 ▲0.0439.81 ▼0.5235.41 ▼1.62
Add New Post /wp-admin/post-new.php1,519 ▲523.26 ▲5.66670.56 ▼10.9759.38 ▲7.75
Media Library /wp-admin/upload.php1,388 ▼04.21 ▲0.00122.31 ▲6.1650.22 ▲1.55

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • widget_theysaidso_widget

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/fix-sitemap-xml-yoast-seo-for-yandex/fyssy.php:13

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side

Optimizations

Plugin configuration 90% from 29 tests

readme.txt Passed 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
4 plugin tags: yoast, xml sitemap, seo, yandex

fix-sitemap-xml-yoast-seo-for-yandex/fyssy.php 77% from 13 tests

The main PHP script in "Fix sitemap.xml Yoast SEO for Yandex" version 1.0 is automatically included on every request by WordPress
The following require your attention:
  • Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
  • Description: Please keep the plugin description shorter than 140 characters (currently 227 characters long)
  • Main file name: Name the main plugin file the same as the plugin slug ("fix-sitemap-xml-yoast-seo-for-yandex.php" instead of "fyssy.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected3 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP11103

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.00
Average class complexity0.00
▷ Minimum class complexity0.00
▷ Maximum class complexity0.00
Average method complexity0.00
▷ Minimum method complexity0.00
▷ Maximum method complexity0.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes0
▷ Abstract classes00.00%
▷ Concrete classes00.00%
▷ Final classes00.00%
Methods0
▷ Static methods00.00%
▷ Public methods00.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin