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.13MB] [CPU: ▼6.62ms] Passed 4 tests
Analyzing server-side resources used by Bubble Menu - circle floating menu
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 39.20 ▲0.96 |
Dashboard /wp-admin | 3.43 ▲0.13 | 44.43 ▼7.43 |
Posts /wp-admin/edit.php | 3.54 ▲0.19 | 48.54 ▲0.20 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 81.68 ▼20.22 |
Media Library /wp-admin/upload.php | 3.35 ▲0.13 | 36.16 ▲3.52 |
Bubble Menu /wp-admin/admin.php?page=bubble-menu | 3.44 | 33.82 |
All Plugins /wp-admin/admin.php?page=wow-company | 3.32 | 31.35 |
Server storage [IO: ▲5.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 144 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_wow_bmp |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Bubble Menu - circle floating menu
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲116 | 14.25 ▼0.10 | 1.87 ▲0.22 | 41.97 ▼0.84 |
Dashboard /wp-admin | 2,252 ▲78 | 5.54 ▼0.10 | 87.42 ▼5.45 | 40.46 ▲1.22 |
Posts /wp-admin/edit.php | 2,163 ▲60 | 2.03 ▲0.05 | 38.78 ▲2.74 | 33.46 ▼2.45 |
Add New Post /wp-admin/post-new.php | 1,548 ▲7 | 23.31 ▲0.30 | 654.87 ▲44.45 | 53.48 ▼8.74 |
Media Library /wp-admin/upload.php | 1,466 ▲72 | 4.22 ▼0.14 | 98.72 ▲0.62 | 42.50 ▲1.04 |
Bubble Menu /wp-admin/admin.php?page=bubble-menu | 1,128 | 2.21 | 47.55 | 50.91 |
All Plugins /wp-admin/admin.php?page=wow-company | 923 | 2.00 | 26.55 | 41.79 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie tables detected upon uninstall: 1 table
- wp_wow_bmp
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bubble-menu/admin/settings/options/menu.php:134
- > PHP Notice
Undefined variable: icons_new in wp-content/plugins/bubble-menu/admin/settings/options/clone.php on line 17
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/bubble-menu/admin/settings/options/clone.php:42
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (Admin panel), #2 (Contacts block), #3 (Skype menu)
bubble-menu/bubble-menu.php Passed 13 tests
The main PHP file in "Bubble Menu - circle floating menu" ver. 3.1.1 adds more information about the plugin and also serves as the entry point for this plugin
40 characters long description:
Creating awesome circle menu with icons.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin30,070 lines of code in 80 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 18 | 4,683 | 164 | 11,961 |
SVG | 4 | 0 | 0 | 9,571 |
PHP | 32 | 566 | 597 | 5,998 |
JavaScript | 12 | 224 | 421 | 1,348 |
Sass | 14 | 187 | 1 | 1,192 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 18.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 2.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 2 | 40.00% |
Methods | 51 | |
▷ Static methods | 3 | 5.88% |
▷ Public methods | 43 | 84.31% |
▷ Protected methods | 1 | 1.96% |
▷ Private methods | 7 | 13.73% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 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.13MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/about/image/icon.png | 121.88KB | 28.08KB | ▼ 76.96% |
admin/assets/img/logo.png | 7.70KB | 2.31KB | ▼ 69.97% |