Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.38ms] Passed 4 tests
This is a short check of server-side resources used by Classic Addons - WPBakery Page Builder
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 39.89 ▲3.39 |
Dashboard /wp-admin | 3.33 ▲0.02 | 48.16 ▼0.01 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 43.28 ▼4.16 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 85.52 ▼11.42 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 33.06 ▼1.91 |
Server storage [IO: ▲0.91MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 139 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
caw_settings |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
caw_settings_update_status |
Browser metrics Passed 4 tests
An overview of browser requirements for Classic Addons - WPBakery Page Builder
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,836 ▲65 | 13.56 ▼0.84 | 1.78 ▼0.35 | 42.95 ▲1.24 |
Dashboard /wp-admin | 2,245 ▲57 | 4.84 ▼0.05 | 109.13 ▲2.59 | 43.16 ▲0.66 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.06 ▲0.05 | 36.04 ▼5.86 | 34.14 ▼3.09 |
Add New Post /wp-admin/post-new.php | 1,561 ▲33 | 23.47 ▲5.29 | 683.19 ▲36.37 | 55.13 ▲2.87 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.22 ▼0.15 | 100.28 ▼1.92 | 45.19 ▲1.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- caw_settings
- caw_settings_update_status
- can_compress_scripts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/classic-addons-wpbakery-page-builder-addons/addons/info-table/settings.php:6
- > PHP Fatal error
Uncaught Error: Class 'WPBakeryShortCode' not found in wp-content/plugins/classic-addons-wpbakery-page-builder-addons/addons/testimonial-slider-item/testimonial-slider-item.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/classic-addons-wpbakery-page-builder-addons/addons/interactive-banner/settings.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function shortcode_atts() in wp-content/plugins/classic-addons-wpbakery-page-builder-addons/templates/component/icon.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/classic-addons-wpbakery-page-builder-addons/addons/info-box/settings.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/classic-addons-wpbakery-page-builder-addons/classic-addons-wpbakery-page-builder.php:29
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
9 plugin tags: builder, elements, addons, wpbakery, bakery...
classic-addons-wpbakery-page-builder-addons/classic-addons-wpbakery-page-builder.php 77% from 13 tests
The main PHP script in "Classic Addons - WPBakery Page Builder" version 2.0 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("classic-addons-wpbakery-page-builder-addons.php" instead of "classic-addons-wpbakery-page-builder.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
No dangerous file extensions were detected20,654 lines of code in 112 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 24 | 491 | 344 | 11,208 |
PHP | 68 | 613 | 441 | 4,777 |
JavaScript | 19 | 1,311 | 158 | 4,656 |
SVG | 1 | 1 | 0 | 13 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 8.95 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 4.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 60.47% |
▷ Protected methods | 17 | 39.53% |
▷ Private methods | 0 | 0.00% |
Functions | 20 | |
▷ Named functions | 20 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
20 PNG files occupy 0.08MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
addons/info-table/info-table.png | 3.40KB | 1.74KB | ▼ 48.79% |
addons/testimonial-slider-item/testimonial-slider-item.png | 6.73KB | 2.90KB | ▼ 56.90% |
addons/logo-carousel/logo-carousel.png | 3.75KB | 1.81KB | ▼ 51.73% |
addons/flip-book/images/arrow_prev.png | 5.40KB | 3.38KB | ▼ 37.39% |
addons/flip-box/flip-box.png | 4.00KB | 2.06KB | ▼ 48.33% |