Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.02MB] [CPU: ▼290.45ms] Passed 4 tests
Analyzing server-side resources used by Advanced Pricing Addon For Wp Bakery
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 52.86 ▼1.97 |
Dashboard /wp-admin | 3.41 ▲0.01 | 34.23 ▼2.60 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 37.69 ▼0.36 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 104.79 ▼1,148.75 |
Media Library /wp-admin/upload.php | 3.30 ▼0.00 | 22.87 ▼8.46 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 6 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Pricing Addon For Wp Bakery
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,804 ▲60 | 15.98 ▼0.02 | 7.11 ▲0.29 | 2.73 ▲0.36 |
Dashboard /wp-admin | 2,892 ▲34 | 5.97 ▼0.22 | 123.39 ▼7.54 | 152.55 ▼13.20 |
Posts /wp-admin/edit.php | 2,688 ▼0 | 3.22 ▼0.01 | 62.09 ▼3.12 | 138.02 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,661 ▼50 | 16.95 ▼3.77 | 433.12 ▲2.33 | 153.32 ▼2.80 |
Media Library /wp-admin/upload.php | 1,698 ▼3 | 5.52 ▼0.04 | 147.19 ▲7.94 | 195.88 ▲10.44 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The plugin uninstalled completely, with no zombie files or tables
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/advanced-pricing-addon-wpbakery/advanced-pricing-addon-wpbakery.php
- > /wp-content/plugins/advanced-pricing-addon-wpbakery/inc/advanced-pricing-vc-module.php
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: addon, easysoftonic, pricing table, visual composer module, wp bakery...
advanced-pricing-addon-wpbakery/advanced-pricing-addon-wpbakery.php 92% from 13 tests
The main PHP script in "Advanced Pricing Addon For Wp Bakery" version 1.0 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 154 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Success! There were no dangerous 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
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
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% |