Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.12MB] [CPU: ▼10.17ms] Passed 4 tests
A check of server-side resources used by Custom Icons for Elementor
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 40.46 ▼6.87 |
Dashboard /wp-admin | 3.43 ▲0.09 | 50.21 ▼17.82 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 49.32 ▼0.86 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.15 | 87.27 ▼15.00 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 36.33 ▼1.00 |
Custom Icons /wp-admin/admin.php?page=elementor-custom-icons | 3.53 | 37.51 |
Server storage [IO: ▲0.23MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Custom Icons for Elementor
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 13.47 ▼1.21 | 1.88 ▼0.10 | 45.46 ▲3.17 |
Dashboard /wp-admin | 2,228 ▲25 | 4.88 ▼0.98 | 110.66 ▼8.50 | 40.42 ▼3.14 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.05 ▲0.02 | 43.07 ▲4.79 | 34.89 ▼1.02 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.45 ▲5.93 | 668.76 ▼23.43 | 57.84 ▼2.58 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.28 ▲0.04 | 96.63 ▼16.52 | 41.09 ▼7.49 |
Custom Icons /wp-admin/admin.php?page=elementor-custom-icons | 1,343 | 2.06 | 25.10 | 48.98 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin cannot be uninstalled
- > Warning in wp-content/plugins/custom-icons-for-elementor/uninstall.php+48
unlink(wp-content/uploads/elementor_icons_files/merged-icons-font.css): No such file or directory
- Zombie WordPress options detected upon uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
4 plugin tags: elementor, icons, fontello, icon fonts
custom-icons-for-elementor/elementor-custom-icons.php 92% from 13 tests
The entry point to "Custom Icons for Elementor" version 0.3.1 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("custom-icons-for-elementor.php" instead of "elementor-custom-icons.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,703 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 272 | 237 | 741 |
CSS | 1 | 73 | 7 | 491 |
PO File | 2 | 42 | 43 | 165 |
SVG | 1 | 40 | 27 | 165 |
JavaScript | 1 | 51 | 5 | 141 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.46 |
Average class complexity | 31.67 |
▷ Minimum class complexity | 23.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 4.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 26 | |
▷ Static methods | 2 | 7.69% |
▷ Public methods | 17 | 65.38% |
▷ Protected methods | 5 | 19.23% |
▷ Private methods | 4 | 15.38% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/font.png | 0.30KB | 0.23KB | ▼ 23.87% |
assets/pp-acceptance-large.png | 4.31KB | 2.11KB | ▼ 50.94% |