Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼9.09ms] Passed 4 tests
This is a short check of server-side resources used by All in One Addons For WPBakery Page Builder (formerly Visual Composer)
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 39.55 ▼2.25 |
Dashboard /wp-admin | 3.45 ▲0.14 | 47.14 ▼6.09 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 48.56 ▼8.40 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.14 | 92.06 ▼19.60 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 39.92 ▲2.52 |
Server storage [IO: ▲5.24MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 276 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
All in One 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,839 ▲104 | 13.24 ▼1.13 | 1.98 ▼0.88 | 40.78 ▼12.33 |
Dashboard /wp-admin | 2,223 ▲35 | 4.85 ▼0.02 | 109.44 ▼15.10 | 42.58 ▼4.08 |
Posts /wp-admin/edit.php | 2,105 ▲9 | 2.00 ▼0.04 | 40.66 ▼2.40 | 38.09 ▼2.40 |
Add New Post /wp-admin/post-new.php | 1,527 ▲13 | 17.77 ▲0.15 | 609.15 ▼84.45 | 52.88 ▼5.43 |
Media Library /wp-admin/upload.php | 1,402 ▲17 | 4.27 ▲0.03 | 102.31 ▼15.31 | 45.02 ▼4.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 15× GET requests to PHP files return non-empty strings (only 10 are shown):
- > /wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/pricing-templates/style1.php
- > /wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/team-templates/style7.php
- > /wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/team-templates/style3.php
- > /wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/pricing-templates/style2.php
- > /wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/team-templates/style2.php
- > /wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/team-templates/style6.php
- > /wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/pricing-templates/style4.php
- > /wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/team-templates/style4.php
- > /wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/team-templates/style8.php
- > /wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/team-templates/style10.php
- 192× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: team_member_border_style in wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/team-templates/style7.php on line 4
- > PHP Notice
Undefined variable: table_price in wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/pricing-templates/style2.php on line 11
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/tabs-templates/tab-design-7.php on line 4
- > PHP Notice
Undefined variable: active in wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/pricing-templates/style3.php on line 2
- > PHP Notice
Undefined variable: team_custom_class in wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/team-templates/style4.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function do_shortcode() in wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/tabs-templates/tab-design-5-bottom.php:3
- > PHP Notice
Undefined variable: table_price in wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/pricing-templates/style5.php on line 16
- > PHP Fatal error
Uncaught Error: Call to undefined function do_shortcode() in wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/tabs-templates/tab-design-8.php:12
- > PHP Warning
array_combine() expects parameter 1 to be array, null given in wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/tabs-templates/tab-design-1-left.php on line 4
- > PHP Notice
Undefined variable: team_member_designation in wp-content/plugins/all-in-one-visual-composer-addons/includes/ult-shortcodes/team-templates/style7.php on line 27
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in all-in-one-visual-composer-addons/assets to your readme.txt
- Tags: You are using too many tags: 18 tag instead of maximum 10
all-in-one-visual-composer-addons/index.php 85% from 13 tests
The primary PHP file in "All in One Addons For WPBakery Page Builder (formerly Visual Composer)" version 1.2 is used by WordPress to initiate all plugin functionality
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("all-in-one-visual-composer-addons.php" instead of "index.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin72,193 lines of code in 222 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 127 | 2,883 | 852 | 61,822 |
SVG | 7 | 1 | 0 | 6,242 |
PHP | 80 | 414 | 195 | 3,893 |
JavaScript | 8 | 123 | 20 | 236 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 3.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 25 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 25 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 29 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 5 | 17.24% |
▷ Protected methods | 24 | 82.76% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
33 PNG files occupy 0.12MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/order-list-icon.png | 2.32KB | 1.05KB | ▼ 54.87% |
icons/youtube-icon.png | 2.13KB | 0.82KB | ▼ 61.25% |
icons/blockquote-icon.png | 2.79KB | 1.49KB | ▼ 46.61% |
icons/content-card-icon.png | 3.44KB | 1.80KB | ▼ 47.69% |
icons/carousel-child-copy.png | 5.97KB | 2.69KB | ▼ 54.94% |