84% feature-status-check

Code Review | Feature Status Check

WordPress plugin Feature Status Check scored84%from 54 tests.

About plugin

  • Plugin page: feature-status-check
  • Plugin version: 1.4
  • PHP compatiblity: 7.0+
  • PHP version: 7.4.16
  • WordPress compatibility: 5.2-6.2
  • WordPress version: 6.3.1
  • First release: Dec 14, 2022
  • Latest release: Apr 17, 2023
  • Number of updates: 15
  • Update frequency: every 8.3 days
  • Top authors: GregRoss (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /673 total downloads

Benchmarks

Plugin footprint 83% from 16 tests

Installer Passed 1 test

🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully

Server metrics [RAM: ▲0.17MB] [CPU: ▼4.86ms] Passed 4 tests

Server-side resources used by Feature Status Check
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.63 ▲0.1738.17 ▼5.84
Dashboard /wp-admin3.47 ▲0.1748.58 ▼1.17
Posts /wp-admin/edit.php3.52 ▲0.1750.69 ▼0.14
Add New Post /wp-admin/post-new.php6.05 ▲0.1793.18 ▼12.30
Media Library /wp-admin/upload.php3.39 ▲0.1739.07 ▲2.03
Status Check /wp-admin/plugins.php?page=fsc_admin_plugins_menu3.4835.56
Status Check /wp-admin/themes.php?page=fsc_admin_appearance_menu3.3934.28
Feature Status Check /wp-admin/options-general.php?page=feature-status-check/feature-status-check.php3.3738.90

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

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

Browser metrics Passed 4 tests

This is an overview of browser requirements for Feature Status Check
Normal browser usage
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,827 ▲6613.68 ▼0.671.68 ▼0.1838.82 ▲1.89
Dashboard /wp-admin2,233 ▲274.85 ▼1.03101.92 ▼4.5239.91 ▼5.37
Posts /wp-admin/edit.php2,115 ▲152.00 ▼0.0141.64 ▲0.7636.76 ▲0.88
Add New Post /wp-admin/post-new.php1,554 ▲1123.22 ▲4.99657.61 ▲2.0864.82 ▲9.51
Media Library /wp-admin/upload.php1,409 ▲64.20 ▼0.0197.23 ▼5.8243.51 ▼3.10
Status Check /wp-admin/plugins.php?page=fsc_admin_plugins_menu8001.8527.2026.00
Status Check /wp-admin/themes.php?page=fsc_admin_appearance_menu7971.7627.1226.85
Feature Status Check /wp-admin/options-general.php?page=feature-status-check/feature-status-check.php1,0291.9035.2246.02

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
  • Zombie WordPress options detected upon uninstall: 7 options
    • can_compress_scripts
    • theysaidso_admin_options
    • db_upgraded
    • widget_theysaidso_widget
    • plugin_status_check
    • widget_recent-comments
    • widget_recent-posts

Smoke tests 75% 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)
Even though everything seems fine, this is not an exhaustive test

SRP 50% from 2 tests

🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
  • 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/feature-status-check/feature-status-check.php:29

User-side errors Passed 1 test

🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected

Optimizations

Plugin configuration Passed 29 tests

readme.txt Passed 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
1 plugin tags: admin plugins themes status

feature-status-check/feature-status-check.php Passed 13 tests

The main PHP script in "Feature Status Check" version 1.4 is automatically included on every request by WordPress
95 characters long description:
Checks to see if the plugins you have on your site are still supported in the plugin directory.

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
No dangerous file extensions were detected1,184 lines of code in 11 files:
LanguageFilesBlank linesComment linesLines of code
PHP6245222762
CSS43425363
JavaScript1165359

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.30
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%
Functions19
▷ Named functions19100.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.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
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant
FileSize - originalSize - compressedSavings
images/logo-250.png5.67KB4.49KB▼ 20.80%