Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.30MB] [CPU: ▼1.29ms] Passed 4 tests
An overview of server-side resources used by ButtonZ - Elementor Addon
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 44.25 ▼0.60 |
Dashboard /wp-admin | 3.64 ▲0.33 | 52.65 ▼0.14 |
Posts /wp-admin/edit.php | 3.69 ▲0.33 | 54.61 ▲4.08 |
Add New Post /wp-admin/post-new.php | 6.16 ▲0.27 | 91.12 ▼7.79 |
Media Library /wp-admin/upload.php | 3.50 ▲0.27 | 40.79 ▲3.38 |
Server storage [IO: ▲2.02MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 62 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by ButtonZ - Elementor Addon
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲63 | 14.36 ▼0.27 | 2.30 ▲0.53 | 47.23 ▲2.47 |
Dashboard /wp-admin | 2,227 ▲47 | 5.55 ▼0.13 | 89.47 ▲3.58 | 38.32 ▼2.35 |
Posts /wp-admin/edit.php | 2,138 ▲41 | 2.17 ▲0.20 | 40.09 ▲3.53 | 35.30 ▼0.09 |
Add New Post /wp-admin/post-new.php | 1,561 ▲35 | 23.15 ▼0.02 | 664.68 ▼30.08 | 55.70 ▼5.74 |
Media Library /wp-admin/upload.php | 1,435 ▲35 | 4.22 ▲0.02 | 110.68 ▼1.58 | 49.74 ▲1.18 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 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 Passed 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 SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: elementor widget, button, button hover effects, addons, elementor
buttonz/buttonz.php Passed 13 tests
"ButtonZ - Elementor Addon" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
97 characters long description:
ButtonZ is a powerful plugin for creating any kind of button that you can imagine with Elementor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected17,636 lines of code in 41 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 11 | 473 | 198 | 8,958 |
SVG | 5 | 0 | 0 | 5,031 |
PHP | 17 | 600 | 809 | 2,914 |
JSON | 4 | 0 | 0 | 436 |
Markdown | 2 | 80 | 0 | 243 |
JavaScript | 2 | 2 | 0 | 54 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 27.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 70.00 |
Average method complexity | 2.96 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 136 | |
▷ Static methods | 8 | 5.88% |
▷ Public methods | 98 | 72.06% |
▷ Protected methods | 9 | 6.62% |
▷ Private methods | 29 | 21.32% |
Functions | 12 | |
▷ Named functions | 10 | 83.33% |
▷ Anonymous functions | 2 | 16.67% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
1 PNG file occupies 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon.png | 14.13KB | 4.70KB | ▼ 66.72% |