Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/wpbase-cache/wpbase-cache-admin.php+223
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.06MB] [CPU: ▲1.80ms] Passed 4 tests
A check of server-side resources used by WPBase Cache
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.05 | 46.97 ▲10.27 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.31 ▲0.21 |
Posts /wp-admin/edit.php | 3.42 ▲0.06 | 46.18 ▼1.43 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 120.30 ▲34.70 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 33.22 ▼1.85 |
WPBase /wp-admin/options-general.php?page=wpbasecache | 3.25 | 34.42 |
Server storage [IO: ▲0.58MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
wpbase_cache_options |
wpbase_check_site |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
wpbase_req_cache_new |
Browser metrics Passed 4 tests
A check of browser resources used by WPBase Cache
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,818 ▲29 | 14.74 ▲0.00 | 1.60 ▼0.04 | 43.51 ▼0.82 |
Dashboard /wp-admin | 2,221 ▲15 | 5.84 ▲0.99 | 96.19 ▼3.20 | 38.02 ▼2.52 |
Posts /wp-admin/edit.php | 2,107 ▲21 | 2.05 ▲0.08 | 35.77 ▲0.77 | 36.91 ▲6.34 |
Add New Post /wp-admin/post-new.php | 1,539 ▲5 | 23.26 ▲0.04 | 624.41 ▼35.30 | 48.45 ▼10.13 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.23 ▲0.03 | 94.99 ▼5.98 | 41.27 ▼7.72 |
WPBase /wp-admin/options-general.php?page=wpbasecache | 824 | 2.05 | 26.66 | 29.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-posts
- theysaidso_admin_options
- wpbase_req_cache_new
- db_upgraded
- wpbase_cache_options
- can_compress_scripts
- widget_theysaidso_widget
- wpbase_check_site
- widget_recent-comments
Smoke tests 50% 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 0% 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
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/wpbase-cache/includes/admin-page.php
- > /wp-content/plugins/wpbase-cache/views.php
- 6× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wpbase-cache/includes/diagnostics.php:13
- > PHP Notice
Undefined index: post_id in wp-content/plugins/wpbase-cache/views.php on line 2
- > PHP Notice
Undefined index: view_meta in wp-content/plugins/wpbase-cache/views.php on line 3
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI' not found in wp-content/plugins/wpbase-cache/includes/wp-cli-commands.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/wpbase-cache/wpbase-cache-admin.php:221
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/wpbase-cache/includes/servers-list.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Donate link: Please fix this invalid URI: ""
wpbase-cache/wpbase-cache.php Passed 13 tests
"WPBase Cache" version 5.5.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
121 characters long description:
Custom WordPress Caching plugin for WPOven Hosted Sites which uses all caches on varnish, nginx, php-fpm stack and Redis.
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
There were no executable files found in this plugin11,207 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 2,903 | 7,310 | 11,173 |
CSS | 2 | 7 | 0 | 34 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 5.48 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 287.00 |
Average method complexity | 2.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 22 | |
Interfaces | 25 | |
Traits | 0 | |
Classes | 253 | |
▷ Abstract classes | 10 | 3.95% |
▷ Concrete classes | 243 | 96.05% |
▷ Final classes | 1 | 0.41% |
Methods | 1,023 | |
▷ Static methods | 26 | 2.54% |
▷ Public methods | 772 | 75.46% |
▷ Protected methods | 215 | 21.02% |
▷ Private methods | 36 | 3.52% |
Functions | 47 | |
▷ Named functions | 27 | 57.45% |
▷ Anonymous functions | 20 | 42.55% |
Constants | 36 | |
▷ Global constants | 11 | 30.56% |
▷ Class constants | 25 | 69.44% |
▷ Public constants | 25 | 100.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 were not PNG files found in your plugin