Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.78MB] [CPU: ▲2.53ms] Passed 4 tests
Server-side resources used by Divi Torque Lite - Divi Theme and Extra Theme
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.27 ▲0.81 | 38.33 ▼2.48 |
Dashboard /wp-admin | 4.09 ▲0.78 | 49.35 ▼1.34 |
Posts /wp-admin/edit.php | 4.13 ▲0.77 | 53.66 ▲7.94 |
Add New Post /wp-admin/post-new.php | 6.67 ▲0.78 | 106.94 ▲19.10 |
Media Library /wp-admin/upload.php | 4.01 ▲0.78 | 41.78 ▲5.98 |
Popups /wp-admin/edit.php?post_type=brainaddons-popup | 4.05 | 38.34 |
Options /wp-admin/admin.php?page=addons-for-divi | 3.81 | 29.33 |
Server storage [IO: ▲5.44MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 216 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
dt-version |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Divi Torque Lite - Divi Theme and Extra Theme
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,974 ▲202 | 13.53 ▼0.79 | 11.19 ▲9.10 | 40.57 ▼3.62 |
Dashboard /wp-admin | 2,235 ▲61 | 5.56 ▼0.02 | 97.01 ▼3.74 | 78.30 ▲32.19 |
Posts /wp-admin/edit.php | 2,163 ▲63 | 2.13 ▲0.11 | 40.95 ▲0.97 | 35.90 ▼1.49 |
Add New Post /wp-admin/post-new.php | 1,647 ▲121 | 23.54 ▲0.45 | 591.04 ▼60.97 | 91.64 ▲30.05 |
Media Library /wp-admin/upload.php | 1,452 ▲55 | 4.16 ▼0.05 | 95.96 ▼2.65 | 72.17 ▲30.86 |
Popups /wp-admin/edit.php?post_type=brainaddons-popup | 1,136 | 1.93 | 37.94 | 31.31 |
Options /wp-admin/admin.php?page=addons-for-divi | 28 | 0.41 | 0.07 | 3.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- dt-version
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
The following issues need your attention
- 66× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Cannot access self:: when no class scope is active in wp-content/plugins/addons-for-divi/includes/deprecated/admin/view/admin-templates.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/addons-for-divi/includes/metabox/view/display-conditions.php:3
- > PHP Notice
Undefined variable: show_date in wp-content/plugins/addons-for-divi/includes/modules/PostList/templates/list-content.php on line 39
- > PHP Fatal error
Uncaught Error: Class 'BA_Builder_Module' not found in wp-content/plugins/addons-for-divi/includes/modules/IconBox/IconBox.php:2
- > PHP Fatal error
Uncaught Error: Class 'BA_Builder_Module_Type_PostBased' not found in wp-content/plugins/addons-for-divi/includes/modules/PostList/PostList.php:2
- > PHP Fatal error
Uncaught Error: Class 'BA_Builder_Module' not found in wp-content/plugins/addons-for-divi/includes/modules/Cf7Styler/Cf7Styler.php:3
- > PHP Fatal error
Uncaught Error: Class 'BA_Builder_Module' not found in wp-content/plugins/addons-for-divi/includes/modules/ImageCompare/ImageCompare.php:2
- > PHP Notice
Undefined variable: show_thumb in wp-content/plugins/addons-for-divi/includes/modules/PostList/templates/list-content.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/addons-for-divi/includes/special-notices.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function DiviTorque\\add_action() in wp-content/plugins/addons-for-divi/includes/deprecated/customizer/customizer.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/edit.php?post_type=brainaddons-popup
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: $(...).select2 is not a function" "TypeError: $(...).select2 is not a function\n at HTMLDocument.\u003Canonymous> (/wp-admin/edit.php?post_type=brainaddons-popup:54:35)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/edit.php?post_type=brainaddons-popup
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: $(...).select2 is not a function
- > GET request to /wp-admin/admin.php?page=addons-for-divi
- > Network (severe)
wp-admin/admin.php?page=addons-for-divi - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
6 plugin tags: divi carousel, divi module, divi, divi theme, divi popup...
addons-for-divi/addons-for-divi.php Passed 13 tests
The principal PHP file in "Divi Torque Lite - Divi Theme and Extra Theme" v. 3.6.6 is loaded by WordPress automatically on each request
50 characters long description:
Powerful divi modules to create powerful websites.
Code Analysis Passed 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 detected62,905 lines of code in 202 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 81 | 3,937 | 591 | 34,916 |
JSX | 32 | 1,070 | 200 | 9,199 |
CSS | 47 | 1,239 | 118 | 8,470 |
JavaScript | 34 | 617 | 690 | 6,119 |
PO File | 1 | 1,868 | 34,487 | 3,931 |
XML | 1 | 1 | 0 | 175 |
SVG | 5 | 0 | 0 | 89 |
JSON | 1 | 0 | 0 | 6 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 23.97 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 251.00 |
Average method complexity | 3.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 3 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 58 | |
▷ Abstract classes | 1 | 1.72% |
▷ Concrete classes | 57 | 98.28% |
▷ Final classes | 1 | 1.75% |
Methods | 431 | |
▷ Static methods | 53 | 12.30% |
▷ Public methods | 370 | 85.85% |
▷ Protected methods | 50 | 11.60% |
▷ Private methods | 11 | 2.55% |
Functions | 47 | |
▷ Named functions | 32 | 68.09% |
▷ Anonymous functions | 15 | 31.91% |
Constants | 9 | |
▷ Global constants | 6 | 66.67% |
▷ Class constants | 3 | 33.33% |
▷ Public constants | 3 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected