10% seo-content-helper

Code Review | SEO Content Helper

WordPress plugin SEO Content Helper scored10%from 54 tests.

About plugin

  • Plugin page: seo-content-helper
  • Plugin version: 1.2
  • PHP version: 7.4.16
  • WordPress compatibility: 3.5-3.5
  • WordPress version: 6.3.1
  • First release: May 24, 2013
  • Latest release: May 31, 2013
  • Number of updates: 5
  • Update frequency: every 3.8 days
  • Top authors: Jenst (100%)

Code review

54 tests

User reviews

5 reviews

Install metrics

90+ active /8,870 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
  • The plugin cannot be installed
    • > Deprecated in wp-content/plugins/seo-content-helper/options.php+161
    Function create_function() is deprecated

Server metrics [RAM: ▼1.77MB] [CPU: ▼49.48ms] Passed 4 tests

Server-side resources used by SEO Content Helper
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /2.22 ▼1.246.15 ▼35.54
Dashboard /wp-admin2.24 ▼1.067.26 ▼40.51
Posts /wp-admin/edit.php2.24 ▼1.126.90 ▼38.20
Add New Post /wp-admin/post-new.php2.24 ▼3.657.76 ▼83.65
Media Library /wp-admin/upload.php2.24 ▼0.998.06 ▼28.40
SEO Content Helper /wp-admin/options-general.php?page=seo_content_helper_settings2.247.78

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

A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
db_upgraded
widget_recent-posts
theysaidso_admin_options
widget_theysaidso_widget
widget_recent-comments

Browser metrics Passed 4 tests

An overview of browser requirements for SEO Content Helper
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,808 ▲3713.34 ▼1.051.76 ▼0.1441.79 ▼2.97
Dashboard /wp-admin2,208 ▲195.92 ▲1.02120.06 ▲1.1837.91 ▼8.73
Posts /wp-admin/edit.php2,097 ▲82.07 ▲0.0742.52 ▲6.9133.76 ▼3.06
Add New Post /wp-admin/post-new.php6,573 ▲5,05926.11 ▲8.59954.89 ▲265.7369.92 ▲9.41
Media Library /wp-admin/upload.php1,398 ▲104.20 ▲0.08108.05 ▲2.2645.80 ▼1.10
SEO Content Helper /wp-admin/options-general.php?page=seo_content_helper_settings8412.0324.3725.04

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

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • The plugin did not uninstall gracefully
    • > Deprecated in wp-content/plugins/seo-content-helper/options.php+161
    Function create_function() is deprecated
  • Zombie WordPress options detected upon uninstall: 6 options
    • db_upgraded
    • can_compress_scripts
    • widget_theysaidso_widget
    • widget_recent-posts
    • theysaidso_admin_options
    • widget_recent-comments

Smoke tests 25% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
    • > GET request to /wp-admin/options-general.php?page=seo_content_helper_settings
    • > Deprecated in wp-content/plugins/seo-content-helper/options.php+161
    Function create_function() is deprecated
    • > GET request to /wp-admin/options-general.php?page=seo_content_helper_settings
    • > 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/options-general.php?page=seo_content_helper_settings
    • > User deprecated in wp-includes/functions.php+5463
    Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
    • > GET request to /wp-admin/options-general.php?page=seo_content_helper_settings
    • > Notice in wp-content/plugins/seo-content-helper/options.php+110
    Undefined variable: args
  • 2 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=seo_content_helper_settings
    • > Notice in wp-content/plugins/seo-content-helper/ajax.php+13
    Trying to get property 'ID' of non-object

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
Please take a closer look at the following
  • 3× 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/seo-content-helper/options.php:161
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-content-helper/ajax.php:2
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/seo-content-helper/ajax.php:2

User-side errors 0% from 1 test

🔹 Test weight: 20 | This is a shallow check for browser errors
There are user-side issues you should fix
    • > GET request to /wp-admin/options-general.php?page=seo_content_helper_settings
    • > Javascript (severe) in unknown
    /wp-admin/options-general.php?page=seo_content_helper_settings 163:16 Uncaught SyntaxError: Unexpected token '}'

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
  • Contributors: The plugin contributors field is not present
You can take inspiration from this readme.txt

seo-content-helper/seo-content-helper.php Passed 13 tests

"SEO Content Helper" version 1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
77 characters long description:
Helps to write content with search engines in mind, based apon your keywords.

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
There were no executable files found in this plugin1,950 lines of code in 21 files:
LanguageFilesBlank linesComment linesLines of code
PHP10151281,250
LESS97813597
JavaScript11910102
CSS1001

PHP code Passed 2 tests

This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity
Average complexity per logical line of code0.28
Average class complexity15.20
▷ Minimum class complexity3.00
▷ Maximum class complexity43.00
Average method complexity2.82
▷ Minimum method complexity1.00
▷ Maximum method complexity34.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes10
▷ Abstract classes00.00%
▷ Concrete classes10100.00%
▷ Final classes00.00%
Methods78
▷ Static methods00.00%
▷ Public methods78100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions9
▷ Named functions9100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin