Benchmarks
Plugin footprint 65% 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: ▲4.62MB] [CPU: ▲21.81ms] Passed 4 tests
A check of server-side resources used by Ultimate Divi Modules Suite - Divi Sumo Lite
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 8.49 ▲5.03 | 66.38 ▲27.61 |
Dashboard /wp-admin | 8.51 ▲5.21 | 67.51 ▲22.65 |
Posts /wp-admin/edit.php | 8.51 ▲5.16 | 68.77 ▲20.30 |
Add New Post /wp-admin/post-new.php | 8.96 ▲3.07 | 119.57 ▲16.67 |
Media Library /wp-admin/upload.php | 8.51 ▲5.28 | 65.14 ▲33.40 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 8.51 | 52.72 |
Server storage [IO: ▲3.50MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 189 new files
Database: no new tables, 10 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
fs_active_plugins |
widget_theysaidso_widget |
fs_accounts |
theysaidso_admin_options |
can_compress_scripts |
fs_debug_mode |
widget_recent-posts |
fs_gdpr |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ultimate Divi Modules Suite - Divi Sumo Lite
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲104 | 13.14 ▼1.25 | 1.81 ▼0.06 | 31.60 ▼16.70 |
Dashboard /wp-admin | 2,242 ▲57 | 5.85 ▼0.00 | 100.31 ▼4.49 | 39.53 ▼1.52 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.01 ▼0.05 | 39.00 ▼4.17 | 32.95 ▼3.30 |
Add New Post /wp-admin/post-new.php | 1,537 ▲4 | 23.09 ▼0.02 | 638.34 ▲13.45 | 56.17 ▲5.70 |
Media Library /wp-admin/upload.php | 1,427 ▲42 | 4.24 ▲0.06 | 96.63 ▼2.40 | 44.42 ▲2.91 |
Freemius Debug [v.2.4.3] /wp-admin/admin.php?page=freemius | 1,074 | 1.71 | 25.48 | 30.07 |
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
Please fix the following items
- The plugin did not uninstall gracefully
- > Notice in wp-content/plugins/sumo-divi-modules/freemius/includes/class-freemius.php+8575
Undefined property: stdClass::$plugins
- Zombie WordPress options were found after uninstall: 10 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- fs_debug_mode
- widget_recent-comments
- fs_active_plugins
- fs_accounts
- fs_gdpr
- widget_recent-posts
Smoke tests 75% 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 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
Please take a closer look at the following
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/sumo-divi-modules/includes/modules/facebook-page/fields.php:7
- > PHP Fatal error
Uncaught Error: Class 'DiviExtension' not found in wp-content/plugins/sumo-divi-modules/includes/Sumo.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/sumo-divi-modules/includes/modules/facebook-button/fields.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sumo-divi-modules/admin/sumo-admin-page.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/sumo-divi-modules/includes/modules/dual-button/fields.php:7
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #10, #11, #12, #2, #3, #4, #5, #6, #7, #8, #9 in sumo-divi-modules/assets to your readme.txt
sumo-divi-modules/divi-sumo-lite.php 77% from 13 tests
Analyzing the main PHP file in "Ultimate Divi Modules Suite - Divi Sumo Lite" version 1.0.6
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
- Domain Path: The domain path folder does not exist ("/languages")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("sumo-divi-modules.php" instead of "divi-sumo-lite.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected37,358 lines of code in 148 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 126 | 8,106 | 16,211 | 36,819 |
Markdown | 1 | 68 | 0 | 214 |
JavaScript | 5 | 34 | 59 | 196 |
CSS | 15 | 14 | 0 | 102 |
JSON | 1 | 0 | 0 | 27 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Class cyclomatic complexity should be reduced to less than 1000 (currently 2,911)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 75.56 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 2,911.00 |
Average method complexity | 4.84 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 86.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 59 | |
▷ Abstract classes | 2 | 3.39% |
▷ Concrete classes | 57 | 96.61% |
▷ Final classes | 0 | 0.00% |
Methods | 1,177 | |
▷ Static methods | 173 | 14.70% |
▷ Public methods | 836 | 71.03% |
▷ Protected methods | 15 | 1.27% |
▷ Private methods | 326 | 27.70% |
Functions | 97 | |
▷ Named functions | 97 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 123 | |
▷ Global constants | 98 | 79.67% |
▷ Class constants | 25 | 20.33% |
▷ Public constants | 25 | 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
2 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |