Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼299.02ms] Passed 4 tests
This is a short check of server-side resources used by Easy Bubble Menu
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 73.48 ▲0.89 |
Dashboard /wp-admin | 3.47 ▲0.05 | 42.69 ▼8.80 |
Posts /wp-admin/edit.php | 3.69 ▲0.05 | 48.14 ▼0.67 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.05 | 117.06 ▼1,187.48 |
Media Library /wp-admin/upload.php | 3.34 ▲0.04 | 46.60 ▲9.53 |
Bubble Menu /wp-admin/admin.php?page=wp_bubble_menu | 3.46 | 33.01 |
History /wp-admin/admin.php?page=wpcm_history | 3.32 | 33.99 |
Server storage [IO: ▲0.60MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 56 new files
Database: 2 new tables, no new options
New tables |
---|
wp_wpcm_menu_links |
wp_wpcm_menu_props |
Browser metrics Passed 4 tests
An overview of browser requirements for Easy Bubble Menu
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,932 ▲210 | 15.79 ▲0.52 | 15.03 ▲6.73 | 2.69 ▼0.20 |
Dashboard /wp-admin | 2,924 ▲63 | 6.18 ▼0.02 | 141.58 ▼28.57 | 221.42 ▲26.50 |
Posts /wp-admin/edit.php | 2,722 ▲31 | 3.11 ▼0.13 | 77.11 ▼1.21 | 162.07 ▼13.04 |
Add New Post /wp-admin/post-new.php | 1,688 ▲48 | 20.63 ▼0.37 | 559.24 ▼8.95 | 245.67 ▲48.52 |
Media Library /wp-admin/upload.php | 1,727 ▲32 | 5.63 ▲0.10 | 163.08 ▼7.07 | 266.29 ▲35.63 |
Bubble Menu /wp-admin/admin.php?page=wp_bubble_menu | 1,844 | 2.79 | 77.44 | 181.80 |
History /wp-admin/admin.php?page=wpcm_history | 1,188 | 2.66 | 63.43 | 130.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- Zombie tables detected upon uninstall: 2 tables
- wp_wpcm_menu_props
- wp_wpcm_menu_links
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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 items
- 4× 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/wp-easy-bubble-menu/core/wpcm_ajax_handler.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/wp-easy-bubble-menu/wp_bubble_menu.php:14
- > PHP Fatal error
Uncaught Error: Call to undefined function get_wpcm_list() in wp-content/plugins/wp-easy-bubble-menu/history.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wp-easy-bubble-menu/wpcm_admin_edit.php:44
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Tags: You are using too many tags: 77 tag instead of maximum 10
wp-easy-bubble-menu/wp_bubble_menu.php 92% from 13 tests
The main PHP script in "Easy Bubble Menu" version 1.4 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-easy-bubble-menu.php" instead of "wp_bubble_menu.php")
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
No dangerous file extensions were detected4,503 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 572 | 19 | 3,040 |
PHP | 4 | 95 | 35 | 769 |
JavaScript | 4 | 41 | 15 | 694 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.92 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 15 | |
▷ Named functions | 15 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
43 PNG files occupy 0.27MB with 0.16MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
css/images/alien.png | 2.01KB | 0.57KB | ▼ 71.82% |
css/images/conatctora.png | 9.51KB | 4.40KB | ▼ 53.74% |
css/images/maincontact.png | 5.26KB | 2.59KB | ▼ 50.75% |
css/images/blue_bubbles.png | 47.37KB | 26.99KB | ▼ 43.03% |
css/images/tshirt.png | 1.69KB | 0.44KB | ▼ 74.02% |