Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼8.98ms] Passed 4 tests
A check of server-side resources used by Pricing Table For WPBakery Page Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.77 ▼7.62 |
Dashboard /wp-admin | 3.31 ▲0.01 | 43.82 ▼7.29 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 43.06 ▼2.66 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 80.86 ▼18.36 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 36.73 ▲3.62 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 25 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
Checking browser requirements for Pricing Table For WPBakery Page Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲73 | 13.17 ▼1.22 | 1.78 ▲0.04 | 44.99 ▼0.26 |
Dashboard /wp-admin | 2,226 ▲38 | 5.88 ▼0.15 | 99.40 ▼20.03 | 39.73 ▼4.62 |
Posts /wp-admin/edit.php | 2,106 ▲20 | 2.03 ▲0.04 | 38.09 ▼0.22 | 31.97 ▼0.14 |
Add New Post /wp-admin/post-new.php | 1,534 ▲1 | 22.90 ▼0.40 | 652.59 ▲3.58 | 56.08 ▼0.33 |
Media Library /wp-admin/upload.php | 1,408 ▲26 | 4.25 ▲0.07 | 96.31 ▼2.79 | 43.27 ▲1.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
- 8× PHP files output text when accessed directly:
- > /wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price2.php
- > /wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price4.php
- > /wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price8.php
- > /wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price1.php
- > /wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price6.php
- > /wp-content/plugins/price-table-for-wpbakery-page-builder/render/price.php
- > /wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price7.php
- > /wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price5.php
- 90× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: btn_text in wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price1.php on line 24
- > PHP Notice
Undefined variable: btn_url in wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price2.php on line 15
- > PHP Notice
Undefined variable: offer_bg in wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price1.php on line 4
- > PHP Notice
Undefined variable: price_amount in wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price4.php on line 8
- > PHP Notice
Undefined variable: content in wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price2.php on line 12
- > PHP Notice
Undefined variable: top_bg in wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price7.php on line 18
- > PHP Notice
Undefined variable: btn_text in wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price5.php on line 15
- > PHP Notice
Undefined variable: top_bg in wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price1.php on line 2
- > PHP Notice
Undefined variable: btn_url in wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price6.php on line 15
- > PHP Notice
Undefined variable: content in wp-content/plugins/price-table-for-wpbakery-page-builder/render/includes/price8.php on line 12
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Too many tags (16 tag instead of maximum 10); only the first 5 tags are used in your directory listing
price-table-for-wpbakery-page-builder/index.php 92% from 13 tests
The main PHP script in "Pricing Table For WPBakery Page Builder" version 2.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("price-table-for-wpbakery-page-builder.php" instead of "index.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
There were no executable files found in this plugin4,137 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 2 | 0 | 0 | 2,690 |
CSS | 2 | 54 | 45 | 1,069 |
PHP | 10 | 36 | 27 | 378 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.11 |
Average class complexity | 5.50 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 83.33% |
▷ Protected methods | 1 | 16.67% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/price.png | 3.97KB | 0.85KB | ▼ 78.65% |