Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼5.05ms] Passed 4 tests
Analyzing server-side resources used by ThePlus Addons For WPBakery Page Builder (formerly Visual Composer)
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 35.65 ▼3.80 |
Dashboard /wp-admin | 3.31 ▼0.04 | 45.89 ▼15.04 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.13 ▲0.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.84 ▼1.54 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.99 ▲1.67 |
Server storage [IO: ▲3.26MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 281 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
ThePlus Addons For WPBakery Page Builder (formerly Visual Composer): an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.41 ▼0.83 | 1.53 ▼0.22 | 39.39 ▼2.63 |
Dashboard /wp-admin | 2,218 ▲36 | 5.89 ▲1.00 | 110.31 ▼10.01 | 44.11 ▲0.11 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.04 ▼0.01 | 40.05 ▲1.55 | 35.58 ▼1.40 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 23.44 ▲0.16 | 660.55 ▲16.35 | 56.93 ▲0.08 |
Media Library /wp-admin/upload.php | 1,403 ▲15 | 4.16 ▼0.08 | 97.23 ▼2.08 | 42.20 ▲0.29 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/the-plus-visual-composer-addons/post-type/metabox/tests/phpunit/includes/bootstrap.php
- 43× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Notice
Undefined variable: style in wp-content/plugins/the-plus-visual-composer-addons/vc_elements/vc_param/button_css.php on line 17
- > PHP Notice
Undefined variable: style in wp-content/plugins/the-plus-visual-composer-addons/vc_elements/vc_param/button_css.php on line 14
- > PHP Notice
Undefined variable: style in wp-content/plugins/the-plus-visual-composer-addons/vc_elements/vc_param/button_css.php on line 23
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/the-plus-visual-composer-addons/vc_elements/map_shortcodes/tp_video_player.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/the-plus-visual-composer-addons/vc_elements/map_shortcodes/tp_empty_space.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/the-plus-visual-composer-addons/post-type/cmb2-conditionals.php:217
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/the-plus-visual-composer-addons/post-type/includes.php:2
- > PHP Notice
Undefined variable: style in wp-content/plugins/the-plus-visual-composer-addons/vc_elements/vc_param/button_css.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/the-plus-visual-composer-addons/vc_elements/vc_param/vc_param.php:35
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/the-plus-visual-composer-addons/vc_elements/map_shortcodes/tp_social_share.php:6
- > PHP Notice
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 issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2, #4, #5 in the-plus-visual-composer-addons/assets to your readme.txt
- Tags: You are using too many tags: 11 tag instead of maximum 10
the-plus-visual-composer-addons/theplus_addon.php 92% from 13 tests
This is the main PHP file of "ThePlus Addons For WPBakery Page Builder (formerly Visual Composer)" version 2.0.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("the-plus-visual-composer-addons.php" instead of "theplus_addon.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin36,802 lines of code in 150 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 1,689 | 1,359 | 20,760 |
CSS | 13 | 350 | 193 | 8,426 |
SVG | 79 | 207 | 77 | 4,469 |
JavaScript | 16 | 364 | 468 | 3,050 |
Bourne Shell | 1 | 15 | 4 | 59 |
Markdown | 1 | 14 | 0 | 38 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
The following items need your attention
- Method cyclomatic complexity has to be reduced to less than 100 (currently 106)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 22.47 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 136.00 |
Average method complexity | 5.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 106.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 58 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 58 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 266 | |
▷ Static methods | 35 | 13.16% |
▷ Public methods | 244 | 91.73% |
▷ Protected methods | 22 | 8.27% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.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
66 PNG files occupy 0.23MB with 0.10MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
post-type/metabox/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
vc_elements/images/soical-share/ts-social-style-2.png | 3.04KB | 2.03KB | ▼ 33.29% |
vc_elements/images/soical-share/ts-social-style-5.png | 6.51KB | 3.11KB | ▼ 52.24% |
vc_elements/images/soical-share/ts-social-style-8.png | 8.31KB | 4.23KB | ▼ 49.15% |
vc_elements/images/before_after/vertical.png | 6.30KB | 4.11KB | ▼ 34.74% |