Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.79ms] Passed 4 tests
An overview of server-side resources used by QuickieBar
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▼0.00 | 29.27 ▼15.07 |
Dashboard /wp-admin | 3.40 ▲0.05 | 55.09 ▼13.00 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 53.41 ▲4.20 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 97.38 ▼3.27 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 40.04 ▲6.06 |
Server storage [IO: ▲0.53MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 56 new files
Database: 3 new tables, 23 new options
New tables |
---|
wp_qb_views |
wp_qb_bars |
wp_qb_conversions |
New WordPress options |
---|
qb_custom_post_type_visibility |
widget_recent-posts |
qb_category_exceptions |
qb_device_visibility |
qb_fixed_compatibility |
qb_archive_page_visibility |
qb_attribution |
widget_recent-comments |
qb_page_visibility |
qb_category_visibility |
... |
Browser metrics Passed 4 tests
Checking browser requirements for QuickieBar
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,912 ▲166 | 13.59 ▼0.72 | 12.51 ▲10.78 | 43.01 ▼0.65 |
Dashboard /wp-admin | 2,210 ▲36 | 5.73 ▲0.14 | 98.81 ▲9.71 | 78.44 ▲35.12 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.27 ▲0.23 | 33.38 ▼7.60 | 33.42 ▼6.85 |
Add New Post /wp-admin/post-new.php | 1,635 ▲104 | 23.66 ▲0.59 | 740.99 ▲29.13 | 37.86 ▼15.06 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.35 ▲0.13 | 109.36 ▼14.84 | 78.23 ▲28.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie tables detected upon uninstall: 3 tables
- wp_qb_bars
- wp_qb_views
- wp_qb_conversions
- This plugin does not fully uninstall, leaving 23 options in the database
- qb_page_exceptions
- theysaidso_admin_options
- qb_post_visibility
- qb_category_exceptions
- qb_visibility
- qb_post_exceptions
- db_upgraded
- widget_recent-comments
- qb_bar_zindex
- qb_attribution
- ...
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)
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 6× 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/quickiebar/admin/controllers/help.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quickiebar/admin/ajax/qb-ajax-handler.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quickiebar/admin/controllers/conversions.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quickiebar/admin/controllers/setup.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quickiebar/admin/controllers/settings.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/quickiebar/admin/controllers/bars.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Tags: Please delete some tags, you are using 12 tag instead of maximum 10
quickiebar/quickiebar.php 92% from 13 tests
The principal PHP file in "QuickieBar" v. 1.8.4 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin9,295 lines of code in 47 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 32 | 165 | 3,034 |
JavaScript | 11 | 531 | 269 | 2,453 |
LESS | 19 | 537 | 108 | 2,223 |
PHP | 7 | 311 | 192 | 943 |
HTML | 5 | 118 | 66 | 583 |
Markdown | 1 | 6 | 0 | 59 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 20.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 3.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 26 | 44.07% |
▷ Public methods | 57 | 96.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.39% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
6 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/menu-icon.png | 1.19KB | 0.64KB | ▼ 46.26% |
public/images/qb-attribution-light.png | 0.37KB | 0.28KB | ▼ 23.62% |
admin/images/ads/sidebar-ad.png | 6.16KB | 2.71KB | ▼ 56.11% |
admin/images/page-icon.png | 0.37KB | 0.30KB | ▼ 20.10% |
admin/images/ads/sidebar-ad-2.png | 5.55KB | 2.32KB | ▼ 58.09% |