89% plugin-compatibility-checker

Code Review | Plugin Compatibility Checker

WordPress plugin Plugin Compatibility Checker scored89%from 54 tests.

About plugin

  • Plugin page: plugin-compatibil...
  • Plugin version: 2.5.9
  • PHP compatiblity: 5.6+
  • PHP version: 7.4.16
  • WordPress compatibility: 4.0-6.4
  • WordPress version: 6.3.1
  • First release: Aug 20, 2020
  • Latest release: Nov 30, 2023
  • Number of updates: 39
  • Update frequency: every 30.7 days
  • Top authors: dineshpilani05 (100%)

Code review

54 tests

User reviews

4 reviews

Install metrics

2,000+ active /17,679 total downloads

Benchmarks

Plugin footprint 82% 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.03MB] [CPU: ▼2.42ms] 75% from 4 tests

Analyzing server-side resources used by Plugin Compatibility Checker
It is recommended to improve the following
  • CPU: Total CPU usage must kept under 500.00ms (currently 2,759.32ms on /wp-admin/admin.php?page=PCC_Check)
PageMemory (MB)CPU Time (ms)
Home /3.50 ▲0.0435.81 ▼4.55
Dashboard /wp-admin3.35 ▲0.0051.11 ▼7.60
Posts /wp-admin/edit.php3.40 ▲0.0449.42 ▲3.68
Add New Post /wp-admin/post-new.php5.93 ▲0.0496.29 ▲0.69
Media Library /wp-admin/upload.php3.27 ▲0.0434.91 ▲1.79
System Info /wp-admin/admin.php?page=websiteinfo3.2430.72
Plugin Compatibility Checker /wp-admin/admin.php?page=PCC_Check3.482,759.32

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

A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options
widget_recent-posts
can_compress_scripts
db_upgraded
widget_theysaidso_widget
widget_recent-comments
theysaidso_admin_options

Browser metrics Passed 4 tests

A check of browser resources used by Plugin Compatibility Checker
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,838 ▲6614.30 ▼0.051.92 ▲0.0339.85 ▼4.05
Dashboard /wp-admin2,221 ▲405.65 ▼0.0184.28 ▼19.7137.98 ▼6.19
Posts /wp-admin/edit.php2,126 ▲232.03 ▲0.0938.06 ▼6.2936.42 ▲2.19
Add New Post /wp-admin/post-new.php1,545 ▲1023.29 ▲4.86654.52 ▲61.1255.71 ▼6.13
Media Library /wp-admin/upload.php1,426 ▲324.15 ▼0.0394.18 ▼2.1741.88 ▲0.12
System Info /wp-admin/admin.php?page=websiteinfo1,0251.9922.6239.85
Plugin Compatibility Checker /wp-admin/admin.php?page=PCC_Check9632.0125.4080.80

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

🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
  • Zombie WordPress options detected upon uninstall: 6 options
    • widget_recent-comments
    • widget_theysaidso_widget
    • db_upgraded
    • widget_recent-posts
    • theysaidso_admin_options
    • can_compress_scripts

Smoke tests Passed 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test

SRP Passed 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
Congratulations! This plugin passed the SRP test

User-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found

Optimizations

Plugin configuration 97% from 29 tests

readme.txt 94% from 16 tests

The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed: You can take inspiration from this readme.txt

plugin-compatibility-checker/plugin-compatibility-checker.php Passed 13 tests

"Plugin Compatibility Checker" version 2.5.9's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
102 characters long description:
Check Your Plugin are compatibale uptop which version of WordPress, before preforming WordPress Update

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected355 lines of code in 5 files:
LanguageFilesBlank linesComment linesLines of code
PHP215122288
CSS27636
JavaScript17031

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity43.00
▷ Minimum class complexity43.00
▷ Maximum class complexity43.00
Average method complexity11.50
▷ Minimum method complexity1.00
▷ Maximum method complexity42.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods4
▷ Static methods250.00%
▷ Public methods4100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions0
▷ Named functions00.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