Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.20ms] Passed 4 tests
Analyzing server-side resources used by Advanced Pricing Addon For Wp Bakery
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.20 ▼3.65 |
Dashboard /wp-admin | 3.31 ▼0.03 | 50.71 ▼18.71 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.13 ▲3.11 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.67 ▼10.72 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.88 ▲0.30 |
Server storage [IO: ▲0.04MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Advanced Pricing Addon For Wp Bakery
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,848 ▲87 | 13.18 ▼1.19 | 2.10 ▲0.07 | 39.66 ▼9.32 |
Dashboard /wp-admin | 2,218 ▲12 | 5.81 ▼0.08 | 97.10 ▼10.58 | 37.39 ▼0.07 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.03 ▲0.03 | 35.53 ▼1.36 | 34.78 ▼3.86 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 22.86 ▼0.41 | 635.19 ▼2.77 | 60.25 ▲13.52 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.23 ▲0.02 | 107.21 ▼2.34 | 50.63 ▲6.81 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
The following issues need your attention
- 2× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/advanced-pricing-addon-wpbakery/inc/advanced-pricing-vc-module.php
- > /wp-content/plugins/advanced-pricing-addon-wpbakery/advanced-pricing-addon-wpbakery.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% 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
9 plugin tags: easy softonic, visual composer module, easysoftonic, addon, js composer...
advanced-pricing-addon-wpbakery/advanced-pricing-addon-wpbakery.php 92% from 13 tests
"Advanced Pricing Addon For Wp Bakery" version 1.0'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:
- Description: The description should be shorter than 140 characters (currently 154 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin687 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 38 | 38 | 398 |
CSS | 1 | 26 | 7 | 289 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 27.00 |
▷ Minimum class complexity | 27.00 |
▷ Maximum class complexity | 27.00 |
Average method complexity | 7.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 26.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/module-icon.png | 2.20KB | 1.13KB | ▼ 48.56% |
assets/images/menuicon.png | 1.29KB | 0.67KB | ▼ 48.30% |