Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲5.04MB] [CPU: ▲23.09ms] 75% from 4 tests
An overview of server-side resources used by WPBITS Addons For Elementor Page Builder
Please have a look at the following items
- Extra RAM: Try to keep extra memory usage under 5MB (currently 5.04MB on /wp-admin/admin.php?page=freemius)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.89 ▲5.43 | 65.00 ▲20.45 |
Dashboard /wp-admin | 8.91 ▲5.61 | 69.66 ▲15.56 |
Posts /wp-admin/edit.php | 8.91 ▲5.55 | 78.30 ▲29.07 |
Add New Post /wp-admin/post-new.php | 9.45 ▲3.57 | 124.26 ▲27.29 |
Media Library /wp-admin/upload.php | 8.91 ▲5.68 | 68.89 ▲34.19 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 8.91 | 65.86 |
Server storage [IO: ▲17.69MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 864 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_recent-comments |
fs_debug_mode |
fs_active_plugins |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
fs_accounts |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for WPBITS Addons For Elementor Page Builder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,852 ▲117 | 13.29 ▼1.10 | 1.65 ▼0.16 | 31.51 ▼13.44 |
Dashboard /wp-admin | 2,256 ▲68 | 4.89 ▼1.02 | 108.40 ▼4.68 | 45.02 ▲0.44 |
Posts /wp-admin/edit.php | 2,139 ▲53 | 2.04 ▲0.03 | 41.07 ▲4.56 | 39.48 ▲3.58 |
Add New Post /wp-admin/post-new.php | 1,531 ▼11 | 22.15 ▼1.36 | 656.85 ▼7.46 | 46.12 ▼11.12 |
Media Library /wp-admin/upload.php | 1,441 ▲53 | 4.22 ▼0.01 | 103.62 ▲6.21 | 49.57 ▲8.88 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,100 | 1.69 | 28.02 | 30.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/wpbits-addons-for-elementor/freemius/includes/class-freemius.php+8486
Undefined property: stdClass::$plugins
- Zombie WordPress options detected upon uninstall: 9 options
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- fs_debug_mode
- widget_theysaidso_widget
- fs_active_plugins
- fs_accounts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
Please fix the following
- 44× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/wpbits-addons-for-elementor/includes/cmb2/includes/types/CMB2_Type_File_Base.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_File_Base' not found in wp-content/plugins/wpbits-addons-for-elementor/includes/cmb2/includes/types/CMB2_Type_File.php:13
- > PHP Warning
Use of undefined constant WPBITS_AFE_ABSPATH - assumed 'WPBITS_AFE_ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wpbits-addons-for-elementor/includes/helpers.php on line 176
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Textarea' not found in wp-content/plugins/wpbits-addons-for-elementor/includes/cmb2/includes/types/CMB2_Type_Textarea_Code.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/wpbits-addons-for-elementor/includes/cmb2/includes/types/CMB2_Type_Title.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Text' not found in wp-content/plugins/wpbits-addons-for-elementor/includes/cmb2/includes/types/CMB2_Type_Colorpicker.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/wpbits-addons-for-elementor/includes/cmb2/includes/types/CMB2_Type_Radio.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Multi_Base' not found in wp-content/plugins/wpbits-addons-for-elementor/includes/cmb2/includes/types/CMB2_Type_Select.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Radio' not found in wp-content/plugins/wpbits-addons-for-elementor/includes/cmb2/includes/types/CMB2_Type_Multicheck.php:13
- > PHP Fatal error
Uncaught Error: Class 'CMB2_Type_Base' not found in wp-content/plugins/wpbits-addons-for-elementor/includes/cmb2/includes/types/CMB2_Type_Multi_Base.php:13
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Tags: You are using too many tags: 23 tag instead of maximum 10
wpbits-addons-for-elementor/wpbits-addons-for-elementor.php Passed 13 tests
The primary PHP file in "WPBITS Addons For Elementor Page Builder" version 1.3.4.2 is used by WordPress to initiate all plugin functionality
33 characters long description:
Addons for Elementor Page Builder
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected112,561 lines of code in 535 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 208 | 12,912 | 24,214 | 63,137 |
PO File | 120 | 14,315 | 18,502 | 32,323 |
CSS | 96 | 726 | 1,273 | 12,377 |
JavaScript | 29 | 413 | 659 | 1,722 |
JSON | 69 | 0 | 0 | 1,408 |
Markdown | 4 | 244 | 0 | 842 |
HTML | 1 | 11 | 0 | 489 |
SVG | 8 | 130 | 6 | 263 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
It is recommended to fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.51 |
Average class complexity | 41.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 145 | |
▷ Abstract classes | 11 | 7.59% |
▷ Concrete classes | 134 | 92.41% |
▷ Final classes | 1 | 0.75% |
Methods | 1,999 | |
▷ Static methods | 287 | 14.36% |
▷ Public methods | 1,462 | 73.14% |
▷ Protected methods | 159 | 7.95% |
▷ Private methods | 378 | 18.91% |
Functions | 173 | |
▷ Named functions | 168 | 97.11% |
▷ Anonymous functions | 5 | 2.89% |
Constants | 163 | |
▷ Global constants | 110 | 67.48% |
▷ Class constants | 53 | 32.52% |
▷ Public constants | 53 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
145 compressed PNG files occupy 8.65MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/cmb2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
assets/js/templates/template-images/53.png | 17.86KB | 17.90KB | 0.00% |
assets/js/templates/template-images/large/63.png | 23.05KB | 23.33KB | 0.00% |
assets/js/templates/template-images/17.png | 62.73KB | 66.52KB | 0.00% |
assets/js/templates/template-images/large/34.png | 311.45KB | 311.46KB | 0.00% |