Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼8.47ms] Passed 4 tests
An overview of server-side resources used by Custom Elementor Icons
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 39.29 ▼2.56 |
Dashboard /wp-admin | 3.47 ▲0.13 | 46.81 ▼22.41 |
Posts /wp-admin/edit.php | 3.58 ▲0.23 | 50.04 ▼0.63 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.19 | 88.91 ▼8.26 |
Media Library /wp-admin/upload.php | 3.39 ▲0.17 | 38.09 ▲4.90 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Elementor Icons
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,826 ▲80 | 13.67 ▼1.08 | 1.95 ▲0.30 | 39.22 ▼4.76 |
Dashboard /wp-admin | 2,232 ▲44 | 5.43 ▲0.52 | 128.22 ▲11.98 | 41.50 ▼5.49 |
Posts /wp-admin/edit.php | 2,114 ▲25 | 2.55 ▲0.58 | 41.92 ▲5.68 | 37.99 ▼0.60 |
Add New Post /wp-admin/post-new.php | 1,536 ▲1 | 17.94 ▼5.03 | 606.12 ▼31.35 | 65.51 ▲14.48 |
Media Library /wp-admin/upload.php | 1,414 ▲29 | 4.78 ▲0.60 | 105.17 ▲4.65 | 43.63 ▲1.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 3× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_textdomain_loaded() in wp-content/plugins/custom-elementor-icons/includes/init.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html_e() in wp-content/plugins/custom-elementor-icons/templates/icon-manager.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/custom-elementor-icons/includes/item-announcements.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: elementor, elementor icon, fontello, icon, elementor custom icons...
custom-elementor-icons/custom-elementor-icons.php Passed 13 tests
The entry point to "Custom Elementor Icons" version 1.0.5 is a PHP file that has certain tags in its header comment area
120 characters long description:
Custom Elementor Icons is a free WordPress plugin allowing its users to upload unlimited custom icons to their websites.
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
There were no executable files found in this plugin821 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 134 | 164 | 675 |
JavaScript | 1 | 0 | 0 | 142 |
JSON | 1 | 0 | 0 | 3 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 13.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 3.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 33 | |
▷ Static methods | 11 | 33.33% |
▷ Public methods | 21 | 63.64% |
▷ Protected methods | 12 | 36.36% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 4 | 100.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin