Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼14.25ms] Passed 4 tests
Server-side resources used by IceCream Elementor Addon
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.35 ▼0.77 |
Dashboard /wp-admin | 3.32 ▼0.03 | 51.68 ▼16.90 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 51.28 ▼6.10 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 85.31 ▼28.95 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 34.66 ▼5.05 |
IceCream Elementor Addon /wp-admin/tools.php?page=icecreameaddon | 3.20 | 32.06 |
Server storage [IO: ▲0.57MB] [DB: ▲0.00MB] 67% from 3 tests
Input-output and database impact of this plugin
Please fix the following
- You have illegally modified 1 file (4.00KB) outside of "wp-content/plugins/icecream-elementor-addon/" and "wp-content/uploads/"
- (new file) wp-content/mgd_mirror/mgd_maximinodotpy-gitdown-test-repository
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by IceCream Elementor Addon
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,844 ▲83 | 14.40 ▲0.03 | 1.94 ▼0.14 | 41.95 ▼1.61 |
Dashboard /wp-admin | 2,225 ▲28 | 4.84 ▼0.03 | 109.31 ▲5.17 | 41.87 ▼4.33 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.02 ▼0.04 | 42.83 ▲2.56 | 36.97 ▼2.71 |
Add New Post /wp-admin/post-new.php | 1,543 ▼2 | 18.24 ▼4.83 | 638.76 ▼0.86 | 55.67 ▲2.51 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.25 ▲0.11 | 99.28 ▼22.96 | 41.57 ▼8.06 |
IceCream Elementor Addon /wp-admin/tools.php?page=icecreameaddon | 833 | 2.02 | 25.12 | 37.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
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 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Tags: There are too many tags (20 tag instead of maximum 10)
icecream-elementor-addon/icecreameaddon.php 85% from 13 tests
"IceCream Elementor Addon" version 1.2.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("icecream-elementor-addon.php" instead of "icecreameaddon.php")
- 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 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin4,466 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 15 | 449 | 12 | 3,966 |
CSS | 11 | 49 | 0 | 382 |
PO File | 1 | 47 | 57 | 110 |
JavaScript | 1 | 0 | 0 | 8 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 9.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 17.00 |
Average method complexity | 1.85 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 96 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 71 | 73.96% |
▷ Protected methods | 25 | 26.04% |
▷ Private methods | 0 | 0.00% |
Functions | 5 | |
▷ Named functions | 5 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.05MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/icon-256x256.png | 31.01KB | 10.62KB | ▼ 65.75% |
assets/icon-128x128.png | 16.88KB | 5.68KB | ▼ 66.36% |