84% force-post-seo-content-checklist

Code Review | Force Post SEO Content Checklist

WordPress plugin Force Post SEO Content Checklist scored 84% from 54 tests.

About plugin

  • Plugin page: force-post-seo-co...
  • Plugin version: 1.0
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.0-5.4.2
  • WordPress version: 6.3.1
  • First release: Jul 6, 2020
  • Latest release: Jul 6, 2020
  • Number of updates: 5
  • Update frequency: every 0.6 days
  • Top authors: royartitex (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active / 350 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
Install script ran successfully

Server metrics [RAM: ▼0.01MB] [CPU: ▼5.41ms] Passed 4 tests

This is a short check of server-side resources used by Force Post SEO Content Checklist
This plugin has minimal impact on server resources
PageMemory (MB)CPU Time (ms)
Home /3.46 ▲0.0036.68 ▼2.27
Dashboard /wp-admin3.31 ▲0.0045.15 ▼6.73
Posts /wp-admin/edit.php3.36 ▲0.0047.03 ▲0.72
Add New Post /wp-admin/post-new.php5.83 ▼0.0586.19 ▼13.35
Media Library /wp-admin/upload.php3.23 ▲0.0040.89 ▲9.88

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

Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
widget_theysaidso_widget
db_upgraded
theysaidso_admin_options

Browser metrics Passed 4 tests

Force Post SEO Content Checklist: an overview of browser usage
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,800 ▲6514.44 ▼0.131.77 ▲0.0540.81 ▲0.40
Dashboard /wp-admin2,209 ▲184.83 ▼1.07103.25 ▼3.8738.84 ▼1.83
Posts /wp-admin/edit.php2,089 ▼02.02 ▲0.0039.31 ▲5.3735.17 ▲1.24
Add New Post /wp-admin/post-new.php1,688 ▲17122.16 ▲4.49680.78 ▲22.5037.61 ▼15.32
Media Library /wp-admin/upload.php1,388 ▼04.14 ▼0.06111.85 ▲6.1643.80 ▼0.44

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

🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
  • This plugin did not uninstall successfully, leaving 6 options in the database
    • widget_theysaidso_widget
    • widget_recent-comments
    • can_compress_scripts
    • widget_recent-posts
    • db_upgraded
    • theysaidso_admin_options

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
Even though no errors were found, this is by no means an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
  • 1× PHP files trigger server errors when accessed directly:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/force-post-seo-content-checklist/force-post-seo-content-checklist.php:17

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

readme.txt 94% from 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
  • Contributors: The plugin contributors field is missing
You can take inspiration from this readme.txt

force-post-seo-content-checklist/force-post-seo-content-checklist.php 92% from 13 tests

Analyzing the main PHP file in "Force Post SEO Content Checklist" version 1.0
Please take the time to fix the following:
  • Domain Path: The domain path folder does not exist ("/languages")

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Success! There were no dangerous files found in this plugin11 lines of code in 3 files:
LanguageFilesBlank linesComment linesLines of code
PHP231310
JavaScript1001

PHP code Passed 2 tests

Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
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%
Functions1
▷ Named functions1100.00%
▷ Anonymous functions00.00%
Constants2
▷ Global constants2100.00%
▷ Class constants00.00%
▷ Public constants00.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin