Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.87ms] Passed 4 tests
Analyzing server-side resources used by Better Plugin Compatibility Control
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 40.12 ▲1.89 |
Dashboard /wp-admin | 3.34 ▼0.00 | 51.25 ▼9.87 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 50.28 ▲1.10 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 82.35 ▼13.71 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 32.97 ▼0.98 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Better Plugin Compatibility Control: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.22 ▲0.12 | 1.89 ▲0.38 | 43.92 ▲1.86 |
Dashboard /wp-admin | 2,195 ▲18 | 5.51 ▼0.04 | 87.17 ▼1.68 | 39.16 ▲0.75 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.02 ▲0.05 | 35.60 ▼0.77 | 30.04 ▼2.24 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.09 ▼0.04 | 665.52 ▼52.14 | 47.84 ▼8.31 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.18 ▼0.01 | 94.37 ▼10.54 | 41.32 ▼4.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- 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 no errors were found, this is by no means 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
- 2× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Notice
Undefined index: wp_version in wp-content/plugins/better-plugin-compatibility-control/better-plugin-compatibility-control.php on line 46
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/better-plugin-compatibility-control/better-plugin-compatibility-control.php:51
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
8 plugin tags: compatible, plugins, plugin, compatibility, control...
better-plugin-compatibility-control/better-plugin-compatibility-control.php Passed 13 tests
Analyzing the main PHP file in "Better Plugin Compatibility Control" version 6.4.0
138 characters long description:
Adds version compatibility info to the plugins page to inform the admin at a glance if a plugin is compatible with the current WP version.
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
There were no executable files found in this plugin500 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 10 | 90 | 177 | 382 |
PHP | 1 | 44 | 100 | 118 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 26.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 4.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 14.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 1 | 14.29% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin