Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼4.33ms] Passed 4 tests
A check of server-side resources used by DMS Shortcode Module For Divi
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.62 ▼2.95 |
Dashboard /wp-admin | 3.31 ▲0.01 | 44.73 ▼5.19 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 46.92 ▼4.17 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 94.48 ▼5.00 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 36.83 ▲3.77 |
Server storage [IO: ▲6.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
DMS Shortcode Module For Divi: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.44 ▼0.85 | 1.81 ▼0.05 | 43.44 ▲4.05 |
Dashboard /wp-admin | 2,206 ▲18 | 5.91 ▲0.09 | 107.78 ▼6.10 | 44.66 ▲1.84 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.00 ▼0.00 | 39.57 ▼2.97 | 36.27 ▼2.44 |
Add New Post /wp-admin/post-new.php | 1,533 ▲14 | 23.32 ▲2.16 | 670.11 ▲91.71 | 64.95 ▲10.08 |
Media Library /wp-admin/upload.php | 1,382 ▼9 | 4.23 ▲0.01 | 97.99 ▼5.99 | 41.84 ▼2.16 |
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
The following items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
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 | 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 items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/dms-shortcode-module-for-divi/dms-shortcode-module-fordivi.php
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 Passed 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
8 plugin tags: module, menu, shortcode, divi, mega menu...
dms-shortcode-module-for-divi/dms-shortcode-module-fordivi.php 85% from 13 tests
The main PHP file in "DMS Shortcode Module For Divi" ver. 2.5 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("dms-shortcode-module-for-divi.php" instead of "dms-shortcode-module-fordivi.php")
- Description: Keep the plugin description shorter than 140 characters (currently 200 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected21 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 17 | 21 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
6 PNG files occupy 0.22MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-5.png | 31.43KB | 15.90KB | ▼ 49.41% |
screenshot-4.png | 34.76KB | 17.72KB | ▼ 49.02% |
screenshot-1.png | 45.20KB | 15.64KB | ▼ 65.40% |
screenshot-6.png | 30.80KB | 15.05KB | ▼ 51.15% |
screenshot-3.png | 35.67KB | 17.92KB | ▼ 49.75% |