Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.03ms] Passed 4 tests
Analyzing server-side resources used by Mega Addons For WPBakery Page Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 45.65 ▲6.68 |
Dashboard /wp-admin | 3.32 ▲0.02 | 44.52 ▼5.62 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 48.39 ▼2.62 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 82.56 ▼14.68 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 35.67 ▲2.79 |
Server storage [IO: ▲4.81MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 234 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
vc_save_data |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Mega Addons For WPBakery Page Builder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲84 | 13.22 ▼1.36 | 1.70 ▼0.13 | 39.24 ▼7.40 |
Dashboard /wp-admin | 2,244 ▲56 | 4.88 ▼1.02 | 98.50 ▼12.02 | 40.23 ▼1.28 |
Posts /wp-admin/edit.php | 2,127 ▲38 | 2.03 ▲0.02 | 41.10 ▼1.09 | 35.38 ▼2.83 |
Add New Post /wp-admin/post-new.php | 1,555 ▲22 | 23.29 ▲0.18 | 659.58 ▲11.66 | 57.62 ▲1.48 |
Media Library /wp-admin/upload.php | 1,423 ▲35 | 4.23 ▲0.02 | 94.75 ▼3.35 | 40.81 ▼3.57 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-posts
- vc_save_data
- db_upgraded
- widget_theysaidso_widget
- 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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 36× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/mega-addons-for-visual-composer/render/statcounter.php
- > /wp-content/plugins/mega-addons-for-visual-composer/render/accordion_father.php
- > /wp-content/plugins/mega-addons-for-visual-composer/render/advanceprice.php
- > /wp-content/plugins/mega-addons-for-visual-composer/render/tm_carousel_son.php
- > /wp-content/plugins/mega-addons-for-visual-composer/render/team-profile/style2.php
- > /wp-content/plugins/mega-addons-for-visual-composer/render/countdown.php
- > /wp-content/plugins/mega-addons-for-visual-composer/render/headings.php
- > /wp-content/plugins/mega-addons-for-visual-composer/render/creativelink.php
- > /wp-content/plugins/mega-addons-for-visual-composer/render/timeline_son.php
- > /wp-content/plugins/mega-addons-for-visual-composer/render/image_swap.php
- 13× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/mega-addons-for-visual-composer/render/price-table/price1.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/mega-addons-for-visual-composer/render/price-table/price4.php:1
- > PHP Notice
Undefined variable: member_clr in wp-content/plugins/mega-addons-for-visual-composer/render/team-profile/style4.php on line 2
- > PHP Notice
Undefined variable: member_visibility in wp-content/plugins/mega-addons-for-visual-composer/render/team-profile/style1.php on line 1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/mega-addons-for-visual-composer/render/team-profile/style8.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/mega-addons-for-visual-composer/render/team-profile/style4.php:52
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/mega-addons-for-visual-composer/includes/settings.php:3
- > PHP Notice
Undefined variable: member_visibility in wp-content/plugins/mega-addons-for-visual-composer/render/team-profile/style4.php on line 5
- > PHP Notice
Undefined variable: member_visibility in wp-content/plugins/mega-addons-for-visual-composer/render/team-profile/style3.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/mega-addons-for-visual-composer/render/price-table/price2.php:1
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 20 tag instead of maximum 10
mega-addons-for-visual-composer/index.php 92% from 13 tests
"Mega Addons For WPBakery Page Builder" version 4.3.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("mega-addons-for-visual-composer.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin55,640 lines of code in 154 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 40 | 4,004 | 621 | 22,495 |
PHP | 47 | 908 | 218 | 10,910 |
SVG | 6 | 1 | 12 | 9,050 |
Sass | 18 | 507 | 34 | 4,669 |
LESS | 18 | 504 | 55 | 4,627 |
JavaScript | 25 | 1,302 | 1,098 | 3,889 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 10.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 55.00 |
Average method complexity | 7.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 49.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 36 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 14 | 24.56% |
▷ Protected methods | 43 | 75.44% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.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
57 PNG files occupy 0.22MB with 0.17MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
icons/filtergallery.png | 3.96KB | 0.64KB | ▼ 83.72% |
css/images/shadow-top-forward.png | 2.78KB | 0.56KB | ▼ 79.70% |
icons/memberprofile.png | 4.25KB | 0.88KB | ▼ 79.40% |
icons/infobox.png | 5.69KB | 1.28KB | ▼ 77.44% |
icons/int-banner2.png | 3.59KB | 0.56KB | ▼ 84.31% |