Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.49MB] [CPU: ▲0.06ms] Passed 4 tests
Analyzing server-side resources used by Supreme Modules Lite - Divi Theme, Extra Theme and Divi Builder
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.97 ▲0.51 | 47.14 ▲6.44 |
Dashboard /wp-admin | 3.86 ▲0.52 | 54.37 ▼6.93 |
Posts /wp-admin/edit.php | 3.91 ▲0.56 | 56.42 ▲12.61 |
Add New Post /wp-admin/post-new.php | 6.36 ▲0.47 | 88.52 ▼4.52 |
Media Library /wp-admin/upload.php | 3.70 ▲0.47 | 40.96 ▲5.25 |
Server storage [IO: ▲2.68MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 136 new files
Database: no new tables, 10 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
dsm_general |
db_upgraded |
dsm_settings_social_media |
widget_recent-posts |
widget_theysaidso_widget |
dsm_theme_builder |
dsm_settings_misc |
can_compress_scripts |
Browser metrics Passed 4 tests
Supreme Modules Lite - Divi Theme, Extra Theme and Divi Builder: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,996 ▲225 | 14.74 ▲0.01 | 1.60 ▼0.33 | 38.17 ▼6.65 |
Dashboard /wp-admin | 2,398 ▲227 | 6.38 ▲0.72 | 110.69 ▲15.24 | 35.70 ▼2.50 |
Posts /wp-admin/edit.php | 2,329 ▲229 | 3.57 ▲1.54 | 51.96 ▲12.43 | 29.98 ▼1.82 |
Add New Post /wp-admin/post-new.php | 1,709 ▲172 | 22.27 ▲4.11 | 592.05 ▼45.34 | 34.04 ▼42.02 |
Media Library /wp-admin/upload.php | 1,464 ▲70 | 4.33 ▲0.11 | 86.55 ▼11.73 | 41.88 ▼4.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall successfully, leaving 10 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- dsm_settings_misc
- widget_recent-comments
- dsm_general
- dsm_theme_builder
- theysaidso_admin_options
- db_upgraded
- dsm_settings_social_media
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 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/supreme-modules-for-divi/public/partials/dsm-supreme-modules-for-divi-public-display.php
- > /wp-content/plugins/supreme-modules-for-divi/admin/partials/dsm-supreme-modules-for-divi-admin-display.php
- 75× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/supreme-modules-for-divi/includes/modules/BusinessHours/BusinessHours.php:3
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/supreme-modules-for-divi/includes/modules/Lottie/Lottie.php:3
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/supreme-modules-for-divi/includes/modules/ImageAccordion/ImageAccordion.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/supreme-modules-for-divi/includes/templates/page-template-404.php:6
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/supreme-modules-for-divi/includes/modules/CalderaForms/includes/button/field.php on line 17
- > PHP Notice
Undefined variable: field_name in wp-content/plugins/supreme-modules-for-divi/includes/modules/CalderaForms/includes/dropdown/field.php on line 8
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/supreme-modules-for-divi/includes/modules/ImageAccordionChild/ImageAccordionChild.php:3
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/supreme-modules-for-divi/includes/modules/Menu/Menu.php:3
- > PHP Fatal error
Uncaught Error: Class 'ET_Builder_Module' not found in wp-content/plugins/supreme-modules-for-divi/includes/modules/Shapes/Shapes.php:3
- > PHP Notice
Undefined variable: field in wp-content/plugins/supreme-modules-for-divi/includes/modules/CalderaForms/includes/button/field.php on line 11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 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
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5 in supreme-modules-for-divi/assets to your readme.txt
supreme-modules-for-divi/supreme-modules-for-divi.php 92% from 13 tests
The entry point to "Supreme Modules Lite - Divi Theme, Extra Theme and Divi Builder" version 2.5.3 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
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
Success! There were no dangerous files found in this plugin30,119 lines of code in 122 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 54 | 1,779 | 1,941 | 18,982 |
CSS | 25 | 1,601 | 98 | 10,197 |
JavaScript | 21 | 12 | 33 | 442 |
PO File | 1 | 135 | 181 | 313 |
SVG | 21 | 0 | 0 | 185 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please tend to the following items
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 137)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 39.16 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 151.00 |
Average method complexity | 5.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 137.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 38 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 38 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 277 | |
▷ Static methods | 7 | 2.53% |
▷ Public methods | 268 | 96.75% |
▷ Protected methods | 1 | 0.36% |
▷ Private methods | 8 | 2.89% |
Functions | 14 | |
▷ Named functions | 10 | 71.43% |
▷ Anonymous functions | 4 | 28.57% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin