Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼3.82ms] Passed 4 tests
Analyzing server-side resources used by Squad Modules Lite - Advanced Divi Modules for Divi Theme, Extra Theme and Divi Builder
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 35.15 ▼3.12 |
Dashboard /wp-admin | 3.40 ▲0.09 | 46.47 ▼5.06 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 51.32 ▲3.88 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 85.85 ▼10.71 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.61 ▲3.63 |
Server storage [IO: ▲2.95MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 140 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
disq-settings |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for Squad Modules Lite - Advanced Divi Modules for Divi Theme, Extra Theme and Divi Builder
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲82 | 14.41 ▲0.20 | 1.82 ▲0.39 | 41.11 ▲0.68 |
Dashboard /wp-admin | 2,247 ▲73 | 5.61 ▲0.04 | 92.90 ▲1.91 | 40.21 ▼3.79 |
Posts /wp-admin/edit.php | 2,154 ▲54 | 2.04 ▲0.03 | 40.41 ▲5.85 | 34.39 ▼3.66 |
Add New Post /wp-admin/post-new.php | 1,575 ▲49 | 25.19 ▲2.27 | 615.50 ▲10.09 | 61.74 ▲14.87 |
Media Library /wp-admin/upload.php | 1,457 ▲54 | 4.30 ▲0.12 | 103.15 ▲0.54 | 43.01 ▼1.76 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for 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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 69× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/squad-modules-for-divi/admin/Plugin_Row_Meta.php
- > /wp-content/plugins/squad-modules-for-divi/includes/modules/BusinessHoursChild/BusinessHoursChild.php
- > /wp-content/plugins/squad-modules-for-divi/includes/modules/BusinessHours/BusinessHours.php
- > /wp-content/plugins/squad-modules-for-divi/SquadModules.php
- > /wp-content/plugins/squad-modules-for-divi/admin/Menu.php
- > /wp-content/plugins/squad-modules-for-divi/includes/manager/Rest_API_Routes.php
- > /wp-content/plugins/squad-modules-for-divi/includes/base/BuilderModule/Traits/Field_Definition.php
- > /wp-content/plugins/squad-modules-for-divi/admin/Assets.php
- > /wp-content/plugins/squad-modules-for-divi/includes/base/BuilderIntegrationAPI.php
- > /wp-content/plugins/squad-modules-for-divi/includes/utils/Helper.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
8 plugin tags: divi module, divi page builder, divi theme, divi builder, divi...
squad-modules-for-divi/squad-modules-for-divi.php 92% from 13 tests
The main PHP file in "Squad Modules Lite - Advanced Divi Modules for Divi Theme, Extra Theme and Divi Builder" ver. 1.4.6 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Requires PHP: The required version number must match the one declared in readme.txt ("5.6" instead of "5.6.40")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected24,744 lines of code in 127 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 85 | 2,133 | 4,950 | 24,402 |
XML | 1 | 0 | 0 | 297 |
SVG | 21 | 0 | 0 | 21 |
JavaScript | 16 | 2 | 27 | 19 |
CSS | 4 | 0 | 0 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 12.70 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 155.00 |
Average method complexity | 2.89 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 36 | |
Interfaces | 0 | |
Traits | 7 | |
Classes | 62 | |
▷ Abstract classes | 8 | 12.90% |
▷ Concrete classes | 54 | 87.10% |
▷ Final classes | 1 | 1.85% |
Methods | 449 | |
▷ Static methods | 53 | 11.80% |
▷ Public methods | 286 | 63.70% |
▷ Protected methods | 100 | 22.27% |
▷ Private methods | 63 | 14.03% |
Functions | 16 | |
▷ Named functions | 1 | 6.25% |
▷ Anonymous functions | 15 | 93.75% |
Constants | 6 | |
▷ Global constants | 6 | 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
4 compressed PNG files occupy 0.02MB
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
build/admin/images/divi-squad-menu-active.png | 4.18KB | 4.17KB | 0.26% |
build/admin/images/divi-squad-menu-default.png | 4.37KB | 4.36KB | 0.16% |
build/admin/images/divi-squad-default.png | 4.06KB | 4.07KB | 0.00% |
build/admin/images/divi-squad-menu-focus.png | 4.26KB | 4.25KB | 0.11% |