Benchmarks
Plugin footprint 82% 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.44MB] [CPU: ▲2.12ms] 75% from 4 tests
Analyzing server-side resources used by WP and Divi Icons
It is recommended to improve the following
- CPU: Try to keep total CPU usage under 500.00ms (currently 563.95ms on /wp-admin/admin.php?page=ds-icon-expansion)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.91 ▲0.45 | 46.27 ▲4.02 |
Dashboard /wp-admin | 3.74 ▲0.43 | 51.94 ▲2.55 |
Posts /wp-admin/edit.php | 3.85 ▲0.49 | 55.09 ▲7.30 |
Add New Post /wp-admin/post-new.php | 6.34 ▲0.45 | 91.27 ▼5.41 |
Media Library /wp-admin/upload.php | 3.66 ▲0.43 | 42.17 ▲8.91 |
WP and Divi Icons /wp-admin/admin.php?page=ds-icon-expansion | 3.71 | 563.95 |
Server storage [IO: ▲4.88MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 434 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
agsdi_eth_icons |
agsdi_fo_icons |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
agsdi_version |
Browser metrics Passed 4 tests
Checking browser requirements for WP and Divi Icons
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲145 | 13.59 ▼0.80 | 10.39 ▲8.55 | 40.31 ▼4.21 |
Dashboard /wp-admin | 2,211 ▲31 | 5.71 ▲0.06 | 98.51 ▲0.97 | 43.22 ▼7.00 |
Posts /wp-admin/edit.php | 2,095 ▼8 | 2.23 ▲0.27 | 39.64 ▼3.02 | 38.65 ▲4.21 |
Add New Post /wp-admin/post-new.php | 6,230 ▲4,704 | 19.29 ▼3.57 | 886.36 ▲236.40 | 37.26 ▼15.36 |
Media Library /wp-admin/upload.php | 1,420 ▲26 | 4.18 ▼0.03 | 88.11 ▼7.21 | 42.11 ▼0.01 |
WP and Divi Icons /wp-admin/admin.php?page=ds-icon-expansion | 1,648 | 2.19 | 32.83 | 88.31 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 9 options
- can_compress_scripts
- agsdi_eth_icons
- widget_recent-comments
- agsdi_version
- agsdi_fo_icons
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=ds-icon-expansion
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/ai-image-generator-lab): failed to open dir: No such file or directory
- > GET request to /wp-admin/admin.php?page=ds-icon-expansion
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/wp-layouts): failed to open dir: No such file or directory
- > GET request to /wp-admin/admin.php?page=ds-icon-expansion
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/product-sales-report-for-woocommerce): failed to open dir: No such file or directory
- > GET request to /wp-admin/admin.php?page=ds-icon-expansion
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/export-order-items-for-woocommerce): failed to open dir: No such file or directory
- > GET request to /wp-admin/admin.php?page=ds-icon-expansion
- > Warning in wp-admin/includes/plugin.php+294
opendir(wp-content/plugins/shortcodes-for-divi): failed to open dir: No such file or directory
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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-and-divi-icons/includes/divi-modules.php:4
- > PHP Fatal error
Uncaught Error: Class 'AGS_Divi_Icons' not found in wp-content/plugins/wp-and-divi-icons/admin/admin.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #3, #4, #5, #6, #7 in wp-and-divi-icons/assets to your readme.txt
- Screenshots: These screenshots require images: #1 (WP and Divi Icons' icon insertion dialog in the WordPress editor), #2 (The "Insert icon" button in the WordPress editor toolbar)
wp-and-divi-icons/wp-and-divi-icons.php 92% from 13 tests
The primary PHP file in "WP and Divi Icons" version 2.0.8 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin57,698 lines of code in 416 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 37,949 |
JavaScript | 19 | 852 | 634 | 5,244 |
CSS | 21 | 861 | 427 | 4,816 |
SVG | 338 | 300 | 15 | 4,581 |
Sass | 21 | 483 | 54 | 2,148 |
PHP | 10 | 493 | 440 | 1,896 |
Markdown | 3 | 296 | 0 | 1,055 |
YAML | 1 | 1 | 1 | 9 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 39.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 4.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 40.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 55 | |
▷ Static methods | 34 | 61.82% |
▷ Public methods | 50 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 9.09% |
Functions | 9 | |
▷ Named functions | 7 | 77.78% |
▷ Anonymous functions | 2 | 22.22% |
Constants | 12 | |
▷ Global constants | 1 | 8.33% |
▷ Class constants | 11 | 91.67% |
▷ Public constants | 11 | 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
There are no PNG files in this plugin