68% seo-ready-links

Code Review | SEO Ready Links Export

WordPress plugin SEO Ready Links Export scored 68% from 54 tests.

About plugin

  • Plugin page: seo-ready-links
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-4.6.1
  • WordPress version: 5.8.1
  • First release: Jun 25, 2015
  • Latest release: Oct 10, 2016
  • Number of updates: 82
  • Update frequency: every 5.9 days
  • Top authors: UltraNoodle (100%)

Code review

54 tests

User reviews

3 reviews

Install metrics

30+ active / 1,597 total downloads

Benchmarks

Plugin footprint 65% from 16 tests

Installer Passed 1 test

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

Server metrics [RAM: ▼0.87MB] [CPU: ▼170.39ms] Passed 4 tests

Server-side resources used by SEO Ready Links Export
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /2.88 ▲0.1646.03 ▲19.18
Dashboard /wp-admin2.78 ▼0.2827.91 ▼16.97
Posts /wp-admin/edit.php2.78 ▼0.3325.62 ▼20.28
Add New Post /wp-admin/post-new.php2.78 ▼2.6525.57 ▼626.20
Media Library /wp-admin/upload.php2.78 ▼0.2324.15 ▼18.11

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

A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 48 new files
Database: no new tables, 1 new option
New WordPress options
SEO ReadyLinks

Browser metrics Passed 4 tests

An overview of browser requirements for SEO Ready Links Export
This plugin has a minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /3,708 ▲7115.78 ▲0.188.21 ▲0.1052.80 ▲1.71
Dashboard /wp-admin2,978 ▲475.86 ▼0.09143.43 ▼12.82121.83 ▲3.47
Posts /wp-admin/edit.php2,741 ▲52.70 ▲0.0069.19 ▲3.3492.89 ▼10.22
Add New Post /wp-admin/post-new.php1,673 ▲5819.16 ▼2.34382.57 ▲93.54111.53 ▲4.24
Media Library /wp-admin/upload.php1,815 ▲85.03 ▼0.02146.18 ▼8.36127.09 ▼12.19
SEO Ready Links /wp-admin/ready_links.php260.900.0510.18

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

🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
  • This plugin did not uninstall without warnings or errors
    • > User deprecated in wp-includes/functions.php+5495
    has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
  • The uninstall procedure has failed, leaving 1 option in the database
    • SEO ReadyLinks

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
  • 10× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Warning
      Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/seo-ready-links/root/ready-links/ready_links.php on line 19
    • > PHP Warning
      Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/seo-ready-links/ready_links.php on line 19
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-ready-links/ready_links.php:22
    • > PHP Fatal error
      Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/seo-ready-links/root/ready-links/ready_links_ready_links.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-ready-links/ready_links.php:22
    • > PHP Fatal error
      Uncaught Error: Call to undefined function screen_icon() in wp-content/plugins/seo-ready-links/ready_links_ready_links.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-ready-links/root/ready-links/ready_links.php:22
    • > PHP Warning
      Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/seo-ready-links/ready_links.php on line 19
    • > PHP Warning
      Use of undefined constant WP_PLUGIN_URL - assumed 'WP_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/seo-ready-links/root/ready-links/ready_links.php on line 19
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-ready-links/root/ready-links/ready_links.php:22

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
    • > GET request to /wp-admin/ready_links.php
    • > Network (severe)
    wp-admin/ready_links.php - Failed to load resource: the server responded with a status of 404 (Not Found)

Optimizations

Plugin configuration 93% from 29 tests

readme.txt Passed 16 tests

The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
3 plugin tags: seo, links, anchor

seo-ready-links/index.php 85% from 13 tests

"SEO Ready Links Export" version 1.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
  • Description: The description should be shorter than 140 characters (currently 396 characters long)
  • Main file name: Please rename the main PHP file in this plugin to the plugin slug ("seo-ready-links.php" instead of "index.php")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin2,678 lines of code in 8 files:
LanguageFilesBlank linesComment linesLines of code
JavaScript1152651,760
PHP622022644
CSS12359274

PHP code Passed 2 tests

This is a very shot review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity
Average complexity per logical line of code0.33
Average class complexity48.00
▷ Minimum class complexity48.00
▷ Maximum class complexity48.00
Average method complexity2.62
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes2
▷ Abstract classes00.00%
▷ Concrete classes2100.00%
▷ Final classes00.00%
Methods58
▷ Static methods00.00%
▷ Public methods58100.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

All PNG images should be compressed to minimize bandwidth usage for end users
10 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant
FileSize - originalSize - compressedSavings
static/images/logo.png1.98KB1.60KB▼ 19.34%
root/ready-links/static/images/rss.png1.28KB1.38KB0.00%
static/images/how-to.png2.30KB1.73KB▼ 24.71%
static/images/rss.png1.28KB1.38KB0.00%
root/ready-links/static/images/bug.png2.07KB1.72KB▼ 17.12%