Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▲461.38ms] 75% from 4 tests
Analyzing server-side resources used by Balcomsoft Elementor Addons
The following require your attention
- Extra CPU: Extra CPU usage should be kept under 200.00ms (currently 461.38ms on /wp-admin/upload.php)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 49.36 ▲6.92 |
Dashboard /wp-admin | 3.43 ▲0.13 | 1,896.83 ▲1,844.03 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 661.24 ▲609.60 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.06 | 708.93 ▲607.47 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 658.82 ▲621.52 |
Server storage [IO: ▲0.43MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Balcomsoft Elementor Addons: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,872 ▲101 | 13.66 ▼0.86 | 1.59 ▼0.54 | 45.38 ▼2.40 |
Dashboard /wp-admin | 2,264 ▲76 | 5.91 ▲0.03 | 100.28 ▼10.93 | 79.43 ▲40.74 |
Posts /wp-admin/edit.php | 2,122 ▲33 | 2.03 ▲0.03 | 36.63 ▼1.19 | 35.32 ▲0.96 |
Add New Post /wp-admin/post-new.php | 1,551 ▲17 | 22.98 ▼0.14 | 594.18 ▼97.16 | 54.95 ▲1.79 |
Media Library /wp-admin/upload.php | 1,413 ▲22 | 4.26 ▲0.01 | 106.41 ▼7.22 | 46.66 ▼0.46 |
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 does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function Bsoft\\add_action() in wp-content/plugins/balcomsoft-elementor-addons/includes/class-bsoft-elementor-widgets.php:43
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/balcomsoft-elementor-addons/includes/ad-banner.php:44
- > 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 93% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
6 plugin tags: templates, balcomsoft, elementor, elementor elements, widgets...
balcomsoft-elementor-addons/balcomsoft-elementor-addons.php 85% from 13 tests
"Balcomsoft Elementor Addons" version 1.1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin5,713 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 305 | 365 | 5,276 |
CSS | 7 | 8 | 11 | 285 |
JavaScript | 1 | 27 | 2 | 152 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 101)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 42.33 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 102.00 |
Average method complexity | 3.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 101.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 44 | |
▷ Static methods | 2 | 4.55% |
▷ Public methods | 27 | 61.36% |
▷ Protected methods | 16 | 36.36% |
▷ Private methods | 1 | 2.27% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 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
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/widgets/placeholders/placeholder-image-horizontal.png | 1.04KB | 1.16KB | 0.00% |
assets/images/widgets/placeholders/placeholder-image.png | 2.46KB | 2.61KB | 0.00% |
assets/images/widgets/placeholders/placeholder-user.png | 19.92KB | 5.74KB | ▼ 71.20% |