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.00MB] [CPU: ▼9.44ms] Passed 4 tests
Server-side resources used by WPB Elementor Addons
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.36 ▲3.29 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.81 ▼0.50 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 41.83 ▼6.66 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.59 ▼27.89 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.08 ▼2.70 |
Server storage [IO: ▲2.23MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 51 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WPB Elementor Addons: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲83 | 13.31 ▼1.30 | 1.94 ▲0.20 | 45.17 ▲3.60 |
Dashboard /wp-admin | 2,207 ▲16 | 5.83 ▲0.91 | 101.89 ▲1.85 | 39.74 ▼1.96 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.01 ▼0.01 | 34.19 ▼8.05 | 35.87 ▼0.27 |
Add New Post /wp-admin/post-new.php | 1,523 ▼19 | 23.24 ▲4.98 | 667.05 ▲56.15 | 58.80 ▲3.92 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.22 ▲0.01 | 94.45 ▼4.23 | 41.32 ▼1.52 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
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
There were no browser issues 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
Attributes that need to be fixed:
- Tags: There are too many tags (19 tag instead of maximum 10)
wpb-elementor-addons/main.php 92% from 13 tests
"WPB Elementor Addons" version 1.0.8.9's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wpb-elementor-addons.php" instead of "main.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected17,532 lines of code in 40 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 22 | 1,806 | 1,474 | 12,438 |
CSS | 9 | 132 | 132 | 3,272 |
PO File | 1 | 451 | 686 | 931 |
SVG | 1 | 0 | 0 | 492 |
JavaScript | 7 | 50 | 75 | 399 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 94.00 |
Average method complexity | 3.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 212 | |
▷ Static methods | 2 | 0.94% |
▷ Public methods | 147 | 69.34% |
▷ Protected methods | 37 | 17.45% |
▷ Private methods | 28 | 13.21% |
Functions | 26 | |
▷ Named functions | 24 | 92.31% |
▷ Anonymous functions | 2 | 7.69% |
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
4 PNG files occupy 0.12MB with 0.03MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/puzzle.png | 6.80KB | 4.73KB | ▼ 30.47% |
assets/img/facebook.png | 1.84KB | 1.87KB | 0.00% |
assets/images/video-thum.png | 106.01KB | 40.11KB | ▼ 62.17% |
assets/images/placeholder.png | 6.12KB | 6.54KB | 0.00% |