Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.70MB] [CPU: ▼1.62ms] Passed 4 tests
This is a short check of server-side resources used by White Rabbit All in One Suite
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.70 | 42.75 ▲4.26 |
Dashboard /wp-admin | 3.94 ▲0.64 | 41.87 ▼7.71 |
Posts /wp-admin/edit.php | 4.13 ▲0.77 | 49.12 ▼0.19 |
Add New Post /wp-admin/post-new.php | 6.62 ▲0.73 | 83.76 ▼2.85 |
Media Library /wp-admin/upload.php | 3.94 ▲0.71 | 39.75 ▲6.14 |
Server storage [IO: ▲0.51MB] [DB: ▲0.01MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 30 new files
Database: 3 new tables, 33 new options
New tables |
---|
wp_whiterabbit_import_data |
wp_whiterabbit_posts |
wp_whiterabbit_abandoned_carts |
New WordPress options |
---|
wr_plugin_wordpress_data_import_run |
wr_plugin_wordpress_site_id |
wr_plugin_wordpress_script_token |
wr_general_consumer_secret |
wr_general_enable_gdpr_marketing |
wr_plugin_wordpress_message_log |
wr_general_enabled |
widget_recent-posts |
wr_plugin_wordpress_suite_operation_token |
widget_recent-comments |
... |
Browser metrics Passed 4 tests
Checking browser requirements for White Rabbit All in One Suite
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,155 ▼591 | 13.76 ▼0.55 | 2.21 ▲0.58 | 34.85 ▼6.21 |
Dashboard /wp-admin | 1,527 ▼661 | 5.26 ▼0.64 | 72.94 ▼26.47 | 66.46 ▲23.02 |
Posts /wp-admin/edit.php | 2,109 ▲20 | 2.22 ▲0.21 | 33.26 ▼5.50 | 32.76 ▲0.12 |
Add New Post /wp-admin/post-new.php | 1,542 ▲28 | 23.23 ▲5.57 | 648.70 ▼30.27 | 35.58 ▼18.64 |
Media Library /wp-admin/upload.php | 1,404 ▲22 | 4.17 ▼0.05 | 100.50 ▲3.84 | 43.62 ▲0.59 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
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)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 21× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Warning
include_once(): Failed opening 'ABSPATHwp-includes/pluggable.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/white-rabbit-suite/script/piwik.php on line 9
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/white-rabbit-suite/script/piwik.php on line 9
- > PHP Warning
include_once(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/white-rabbit-suite/script/piwik.php on line 9
- > PHP Warning
require_once(WHITERABBIT_PATHconnector/connector.php): failed to open stream: No such file or directory in wp-content/plugins/white-rabbit-suite/connector/client.php on line 10
- > PHP Warning
Use of undefined constant WHITERABBIT_PATH - assumed 'WHITERABBIT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/white-rabbit-suite/connector/connector.php on line 23
- > PHP Warning
Use of undefined constant WHITERABBIT_PATH - assumed 'WHITERABBIT_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/white-rabbit-suite/connector/cron.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/white-rabbit-suite/install/install-posts.php:210
- > PHP Fatal error
require_once(): Failed opening required 'WHITERABBIT_PATHconnector/connector.php' (include_path='.:/usr/share/php') in wp-content/plugins/white-rabbit-suite/class-admin.php on line 13
- > PHP Warning
include_once(ABSPATHwp-includes/pluggable.php): failed to open stream: No such file or directory in wp-content/plugins/white-rabbit-suite/script/piwik.php on line 9
- > PHP Warning
require_once(WHITERABBIT_PATHconnector/connector.php): failed to open stream: No such file or directory in wp-content/plugins/white-rabbit-suite/class-admin.php on line 13
- > PHP Warning
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 on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
4 plugin tags: order, seo, post, user
white-rabbit-suite/whiterabbit.php 92% from 13 tests
Analyzing the main PHP file in "White Rabbit All in One Suite" version 2.8.5
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("white-rabbit-suite.php" instead of "whiterabbit.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin4,374 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 796 | 524 | 3,974 |
PO File | 1 | 141 | 156 | 330 |
CSS | 2 | 1 | 0 | 53 |
JavaScript | 1 | 5 | 0 | 16 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 55.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 336.00 |
Average method complexity | 7.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 60.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 63 | |
▷ Static methods | 10 | 15.87% |
▷ Public methods | 59 | 93.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.35% |
Functions | 45 | |
▷ Named functions | 44 | 97.78% |
▷ Anonymous functions | 1 | 2.22% |
Constants | 16 | |
▷ Global constants | 5 | 31.25% |
▷ Class constants | 11 | 68.75% |
▷ Public constants | 11 | 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
2 PNG files occupy 0.05MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/white-rabbit-logo-black100x66.png | 4.62KB | 3.17KB | ▼ 31.40% |
images/white-rabbit-logo-black.png | 49.55KB | 23.32KB | ▼ 52.94% |