84% recommended-site-list-for-seo

Code Review | Recommended Site for SEO

WordPress plugin Recommended Site for SEO scored 84% from 54 tests.

About plugin

  • Plugin page: recommended-site-...
  • Plugin version: 1.0.1
  • PHP version: 7.4.16
  • WordPress compatibility: 3.0.1-3.4
  • WordPress version: 6.3.1
  • First release: Oct 13, 2014
  • Latest release: Oct 13, 2014
  • Number of updates: 5
  • Update frequency: every 0.6 days
  • Top authors: mistermon (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 578 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices

Server metrics [RAM: ▲0.05MB] [CPU: ▼4.89ms] Passed 4 tests

Analyzing server-side resources used by Recommended Site for SEO
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0543.49 ▲3.05
Dashboard /wp-admin3.35 ▲0.0542.09 ▼11.08
Posts /wp-admin/edit.php3.40 ▲0.0541.23 ▼4.99
Add New Post /wp-admin/post-new.php5.93 ▲0.0589.62 ▼5.37
Media Library /wp-admin/upload.php3.27 ▲0.0537.30 ▲1.87
Add New /wp-admin/post-new.php?post_type=recommended_site3.4349.78
Recommended Sites /wp-admin/edit.php?post_type=recommended_site3.3235.63
Types /wp-admin/edit-tags.php?taxonomy=site_types&post_type=recommended_site3.2732.85

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

How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options
mrpage
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Recommended Site for SEO
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,840 ▲10513.24 ▼0.892.18 ▲0.4644.63 ▼0.24
Dashboard /wp-admin2,239 ▲485.90 ▲1.01110.47 ▲3.2441.60 ▼3.10
Posts /wp-admin/edit.php2,125 ▲362.00 ▲0.0134.98 ▲0.6230.78 ▼0.94
Add New Post /wp-admin/post-new.php1,556 ▲4223.34 ▲5.81657.45 ▼20.5152.13 ▼9.88
Media Library /wp-admin/upload.php1,424 ▲334.20 ▲0.0193.60 ▼5.2741.31 ▼5.65
Add New /wp-admin/post-new.php?post_type=recommended_site2,7567.77195.8977.36
Recommended Sites /wp-admin/edit.php?post_type=recommended_site1,1371.9330.3030.84
Types /wp-admin/edit-tags.php?taxonomy=site_types&post_type=recommended_site1,2922.1426.5426.73

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
These items require your attention
  • This plugin does not fully uninstall, leaving 7 options in the database
    • widget_recent-comments
    • widget_recent-posts
    • mrpage
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • theysaidso_admin_options

Smoke tests 75% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected

SRP 50% from 2 tests

🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please take a closer look at the following
  • 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/recommended-site-list-for-seo/recommended-site.php:54

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 93% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
  • Plugin Name: Please specify the plugin name on the first line ( === recommended-site-list-for-seo === )
Please take inspiration from this readme.txt

recommended-site-list-for-seo/recommended-site.php 92% from 13 tests

Analyzing the main PHP file in "Recommended Site for SEO" version 1.0.1
It is important to fix the following:
  • Main file name: Name the main plugin file the same as the plugin slug ("recommended-site-list-for-seo.php" instead of "recommended-site.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 detected114 lines of code in 2 files:
LanguageFilesBlank linesComment linesLines of code
PHP11115107
CSS1007

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity
Average complexity per logical line of code0.10
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%
Functions5
▷ Named functions5100.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
No PNG images were found in this plugin