Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲2.72MB] [CPU: ▲28.51ms] Passed 4 tests
An overview of server-side resources used by Visual Composer Website Builder, Landing Page Builder, Custom Theme Builder, Maintenance Mode & Coming Soon Pages
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.10 ▲2.64 | 67.32 ▲31.19 |
Dashboard /wp-admin | 7.19 ▲3.89 | 85.54 ▲39.06 |
Posts /wp-admin/edit.php | 6.18 ▲2.83 | 76.74 ▲22.23 |
Add New Post /wp-admin/post-new.php | 8.61 ▲2.73 | 124.10 ▲34.27 |
Media Library /wp-admin/upload.php | 5.92 ▲2.69 | 59.78 ▲26.33 |
Font Manager /wp-admin/admin.php?page=vcv-font-manager | 8.21 | 73.71 |
Role Manager /wp-admin/admin.php?page=vcv-role-manager | 8.21 | 70.21 |
System Status /wp-admin/admin.php?page=vcv-system-status | 8.21 | 85.04 |
Headers /wp-admin/admin.php?page=vcv_headers | 8.21 | 83.90 |
Popup Builder /wp-admin/admin.php?page=vcv-custom-site-popups | 8.21 | 77.02 |
License /wp-admin/admin.php?page=vcv-license | 8.21 | 85.74 |
Theme Builder /wp-admin/admin.php?page=vcv-headers-footers | 8.21 | 70.32 |
CSS & JavaScript /wp-admin/admin.php?page=vcv-global-css-js | 8.21 | 74.02 |
★ Activate Premium /wp-admin/admin.php?page=vcv-activate-license | 8.21 | 70.33 |
Global Templates /wp-admin/admin.php?page=vcv_templates | 8.21 | 71.59 |
Server storage [IO: ▲18.96MB] [DB: ▲1.06MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 788 new files
Database: no new tables, 36 new options
New WordPress options |
---|
theysaidso_admin_options |
vcv-settings-gutenberg-editor-enabled |
vcv-system:migration:CustomTemplatesTypeMigration38 |
widget_theysaidso_widget |
vcv-system:migration:settingsMigration220 |
vcv-system:migration:updateGlobalElements115Migration |
vcv-system:migration:licenseMigrationV24 |
vcv-vcv_templates-capabilities-set |
vcv-plugin-activation |
vcv-system:migration:freeMigrationV34 |
... |
Browser metrics Passed 4 tests
Visual Composer Website Builder, Landing Page Builder, Custom Theme Builder, Maintenance Mode & Coming Soon Pages: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,116 ▲330 | 14.29 ▼0.31 | 1.60 ▼0.24 | 28.55 ▼17.08 |
Dashboard /wp-admin | 2,490 ▲313 | 5.70 ▲0.04 | 80.62 ▼7.21 | 72.85 ▲28.98 |
Posts /wp-admin/edit.php | 2,261 ▲164 | 4.59 ▲2.61 | 61.39 ▲26.96 | 43.18 ▲1.78 |
Add New Post /wp-admin/post-new.php | 1,690 ▲164 | 23.60 ▲0.03 | 721.93 ▲30.19 | 48.43 ▼22.26 |
Media Library /wp-admin/upload.php | 1,521 ▲121 | 4.11 ▼0.09 | 98.11 ▼10.36 | 69.70 ▲20.88 |
Font Manager /wp-admin/admin.php?page=vcv-font-manager | 1,225 | 11.68 | 188.00 | 104.04 |
Role Manager /wp-admin/admin.php?page=vcv-role-manager | 1,818 | 11.69 | 194.76 | 104.65 |
System Status /wp-admin/admin.php?page=vcv-system-status | 2,064 | 11.87 | 245.44 | 91.27 |
Headers /wp-admin/admin.php?page=vcv_headers | 1,366 | 11.68 | 174.27 | 69.74 |
Popup Builder /wp-admin/admin.php?page=vcv-custom-site-popups | 1,261 | 11.68 | 227.29 | 63.33 |
License /wp-admin/admin.php?page=vcv-license | 1,994 | 11.69 | 200.19 | 78.33 |
Theme Builder /wp-admin/admin.php?page=vcv-headers-footers | 1,366 | 11.67 | 179.58 | 65.87 |
CSS & JavaScript /wp-admin/admin.php?page=vcv-global-css-js | 1,496 | 13.54 | 243.01 | 149.90 |
★ Activate Premium /wp-admin/admin.php?page=vcv-activate-license | 1,268 | 15.11 | 281.27 | 114.61 |
Global Templates /wp-admin/admin.php?page=vcv_templates | 1,225 | 11.68 | 173.13 | 60.58 |
Uninstaller [IO: ▲0.00MB] [DB: ▲1.06MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 36 options
- vcv-system:migration:mergeArchivesLayoutsMigrationv43
- vcv-hubElements
- vcv-system:migration:defaultElementsMigration36
- db_upgraded
- vcv-settings-gutenberg-editor-enabled
- vcv-system:migration:licenseMigrationV24
- vcv-vcv_tutorials-capability-migration-45
- widget_recent-posts
- vcv-hubAction:updatePosts
- vcv-system:migration:freeMigrationV34
- ...
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
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'VisualComposer\\Framework\\Container' not found in wp-content/plugins/visualcomposer/visualcomposer/Modules/Editors/Frontend/MenuController.php:12
- > PHP Fatal error
Uncaught Error: Class 'VcvEnv' not found in wp-content/plugins/visualcomposer/env.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_print_footer_scripts() in wp-content/plugins/visualcomposer/visualcomposer/resources/views/editor/frontend/footer.php:9
- > PHP Fatal error
Uncaught Error: Call to a member function set() on null in wp-content/plugins/visualcomposer/visualcomposer/resources/views/editor/frontend/header.php:13
- > PHP Notice
Undefined variable: globalsHelper in wp-content/plugins/visualcomposer/visualcomposer/resources/views/editor/frontend/header.php on line 13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vcv_templates
- > Console-api (warning) in index.php?vcv-script=vendor&ver=45.6.0+1:2897490
color-blend: postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vcv_templates
- > Console-api (warning) in index.php?vcv-script=vendor&ver=45.6.0+1:2897490
postcss-functions: postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration
- 10 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=vcv_templates
- > Console-api (warning) in index.php?vcv-script=vendor&ver=45.6.0+1:2897490
postcss-math: postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration
Optimizations
Plugin configuration 93% 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: Please delete some tags, you are using 23 tag instead of maximum 10
visualcomposer/plugin-wordpress.php 92% from 13 tests
The entry point to "Visual Composer Website Builder, Landing Page Builder, Custom Theme Builder, Maintenance Mode & Coming Soon Pages" version 45.6.0 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("visualcomposer.php" instead of "plugin-wordpress.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
No dangerous file extensions were detected41,329 lines of code in 558 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 351 | 5,362 | 8,039 | 34,903 |
JavaScript | 88 | 2,969 | 3,209 | 4,982 |
SVG | 48 | 3 | 34 | 922 |
JSON | 37 | 1 | 0 | 385 |
XML | 5 | 0 | 0 | 92 |
CSS | 29 | 1 | 15 | 45 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 10.89 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 58.00 |
Average method complexity | 2.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 87 | |
Interfaces | 6 | |
Traits | 13 | |
Classes | 273 | |
▷ Abstract classes | 1 | 0.37% |
▷ Concrete classes | 272 | 99.63% |
▷ Final classes | 0 | 0.00% |
Methods | 1,479 | |
▷ Static methods | 25 | 1.69% |
▷ Public methods | 770 | 52.06% |
▷ Protected methods | 704 | 47.60% |
▷ Private methods | 5 | 0.34% |
Functions | 127 | |
▷ Named functions | 20 | 15.75% |
▷ Anonymous functions | 107 | 84.25% |
Constants | 22 | |
▷ Global constants | 22 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
87 compressed PNG files occupy 0.45MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
elements/singleImage/singleImage/public/prev.png | 1.33KB | 1.59KB | 0.00% |
elements/googleFontsHeading/googleFontsHeading/public/google-fonts-thumbnail.png | 2.15KB | 2.18KB | 0.00% |
elements/wpWidgetsDefault/wpWidgetsDefault/public/wordpress-widgets-thumbnail.png | 3.17KB | 3.23KB | 0.00% |
elements/shortcode/shortcode/public/shortcode-preview.png | 0.31KB | 0.31KB | 0.00% |
elements/imageMasonryGallery/imageMasonryGallery/public/prev.png | 1.33KB | 1.59KB | 0.00% |