10% healthy-site-seo

Code Review | Healthy Site SEO

WordPress plugin Healthy Site SEO scored10%from 54 tests.

About plugin

  • Plugin page: healthy-site-seo
  • Plugin version: 1.5.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.3-5.5
  • WordPress version: 6.3.1
  • First release: Feb 14, 2014
  • Latest release: Apr 15, 2020
  • Number of updates: 18
  • Update frequency: every 125.2 days
  • Top authors: MMDeveloper (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /2,549 total downloads

Benchmarks

Plugin footprint 58% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
  • Install procedure validation failed for this plugin
    • > Deprecated in wp-content/plugins/healthy-site-seo/healthy-site-seo.php+241
    Methods with the same name as their class will not be constructors in a future version of PHP; HealthySiteMenu has a deprecated constructor

Server metrics [RAM: ▲0.06MB] [CPU: ▼1.19ms] Passed 4 tests

A check of server-side resources used by Healthy Site SEO
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.51 ▲0.0535.15 ▼8.01
Dashboard /wp-admin3.37 ▲0.0747.62 ▲1.78
Posts /wp-admin/edit.php3.49 ▲0.1350.88 ▲1.08
Add New Post /wp-admin/post-new.php5.95 ▲0.0694.39 ▲0.38
Media Library /wp-admin/upload.php3.30 ▲0.0739.13 ▲6.84
Install Plugins /wp-admin/themes.php?page=install-required-plugins3.2530.03

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

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_theysaidso_widget
db_upgraded
can_compress_scripts
widget_recent-comments
widget_recent-posts

Browser metrics Passed 4 tests

An overview of browser requirements for Healthy Site SEO
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,993 ▲25813.22 ▼1.135.33 ▲3.5139.83 ▼2.90
Dashboard /wp-admin2,355 ▲1675.84 ▼0.0599.91 ▼3.9748.38 ▲4.22
Posts /wp-admin/edit.php2,261 ▲1722.18 ▲0.2041.51 ▲3.4043.77 ▲8.79
Add New Post /wp-admin/post-new.php1,676 ▲14323.44 ▲0.33643.18 ▼57.5355.02 ▼1.46
Media Library /wp-admin/upload.php1,548 ▲1604.27 ▲0.0897.65 ▼11.0849.07 ▲0.59
Install Plugins /wp-admin/themes.php?page=install-required-plugins1,5712.2125.4529.21

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
  • Zombie WordPress options were found after uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-comments
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options

Smoke tests 50% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
    • > GET request to /wp-admin/themes.php?page=install-required-plugins
    • > User deprecated in wp-includes/functions.php+5463
    Function screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/themes.php?page=install-required-plugins
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.

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
Please take a closer look at the following
  • 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/healthy-site-seo/includes/plugin-activation.php:164
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/healthy-site-seo/includes/plugin-activation.php:164

User-side errors Passed 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
  • Donate link: Please fix this invalid URI: ""
You can look at the official readme.txt

healthy-site-seo/healthy-site-seo.php Passed 13 tests

The entry point to "Healthy Site SEO" version 1.5.2 is a PHP file that has certain tags in its header comment area
128 characters long description:
Makes sure that you install and activate certain plugins to make your site secure, optimised and improve your overall SEO score.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin1,361 lines of code in 4 files:
LanguageFilesBlank linesComment linesLines of code
PHP44068041,361

PHP code Passed 2 tests

Cyclomatic complexity and code structure are the fingerprint of this plugin
No complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.46
Average class complexity30.43
▷ Minimum class complexity3.00
▷ Maximum class complexity108.00
Average method complexity5.29
▷ Minimum method complexity1.00
▷ Maximum method complexity38.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes7
▷ Abstract classes00.00%
▷ Concrete classes7100.00%
▷ Final classes228.57%
Methods48
▷ Static methods24.17%
▷ Public methods4287.50%
▷ Protected methods612.50%
▷ Private methods00.00%
Functions7
▷ Named functions7100.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
PNG images were not found in this plugin