Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.74ms] Passed 4 tests
An overview of server-side resources used by Pricing Tables For WPBakery Page Builder (formerly Visual Composer)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 39.89 ▲0.43 |
Dashboard /wp-admin | 3.34 ▲0.04 | 49.01 ▲1.59 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 45.50 ▼1.60 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 95.85 ▲4.22 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 33.41 ▲2.55 |
Server storage [IO: ▲1.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 18 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Pricing Tables For WPBakery Page Builder (formerly Visual Composer)
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.14 ▼1.26 | 1.90 ▲0.20 | 44.25 ▲0.47 |
Dashboard /wp-admin | 2,206 ▲18 | 4.89 ▼0.01 | 111.48 ▼2.44 | 42.81 ▲0.54 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.01 ▼0.02 | 41.57 ▲2.71 | 37.16 ▼0.67 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 23.08 ▲4.97 | 665.37 ▲61.79 | 49.40 ▲0.21 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.16 ▼0.07 | 94.92 ▼7.36 | 42.66 ▼1.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
Please fix the following items
- 5× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/pricing-tables-for-visual-composer/templates/style3.php
- > /wp-content/plugins/pricing-tables-for-visual-composer/templates/style2.php
- > /wp-content/plugins/pricing-tables-for-visual-composer/templates/style1.php
- > /wp-content/plugins/pricing-tables-for-visual-composer/templates/style4.php
- > /wp-content/plugins/pricing-tables-for-visual-composer/templates/style5.php
- 38× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: table_title in wp-content/plugins/pricing-tables-for-visual-composer/templates/style4.php on line 9
- > PHP Notice
Undefined variable: active in wp-content/plugins/pricing-tables-for-visual-composer/templates/style4.php on line 10
- > PHP Notice
Undefined variable: table_show_button in wp-content/plugins/pricing-tables-for-visual-composer/templates/style1.php on line 18
- > PHP Notice
Undefined variable: table_price in wp-content/plugins/pricing-tables-for-visual-composer/templates/style2.php on line 11
- > PHP Notice
Undefined variable: table_price_period in wp-content/plugins/pricing-tables-for-visual-composer/templates/style4.php on line 14
- > PHP Notice
Undefined variable: content in wp-content/plugins/pricing-tables-for-visual-composer/templates/style4.php on line 18
- > PHP Notice
Undefined variable: active in wp-content/plugins/pricing-tables-for-visual-composer/templates/style4.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pricing-tables-for-visual-composer/plugin.class.php:14
- > PHP Notice
Undefined variable: table_price in wp-content/plugins/pricing-tables-for-visual-composer/templates/style5.php on line 16
- > PHP Notice
Undefined variable: active in wp-content/plugins/pricing-tables-for-visual-composer/templates/style5.php on line 10
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 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
These attributes need to be fixed:
- Tags: You are using too many tags: 11 tag instead of maximum 10
pricing-tables-for-visual-composer/index.php 85% from 13 tests
The entry point to "Pricing Tables For WPBakery Page Builder (formerly Visual Composer)" version 1.4 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("pricing-tables-for-visual-composer.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,656 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 685 |
CSS | 3 | 19 | 5 | 587 |
PHP | 7 | 63 | 30 | 380 |
JavaScript | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 1.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3.00 |
Average method complexity | 1.40 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ 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
PNG images were not found in this plugin