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.02MB] [CPU: ▼5.03ms] Passed 4 tests
A check of server-side resources used by WP Ionic Icons
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.83 ▲6.32 | 1,171,962.79 ▲1,171,920.16 |
Dashboard /wp-admin | 3.37 ▼0.02 | 52.58 ▼16.48 |
Posts /wp-admin/edit.php | 3.48 ▲0.08 | 48.86 ▲0.26 |
Add New Post /wp-admin/post-new.php | 5.95 ▲0.02 | 90.80 ▼9.03 |
Media Library /wp-admin/upload.php | 3.29 ▲0.02 | 38.79 ▲5.14 |
Server storage [IO: ▲4.54MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 4,075 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WP Ionic Icons: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,959 ▲198 | 14.28 ▼0.07 | 31.52 ▲29.71 | 48.56 ▲4.50 |
Dashboard /wp-admin | 2,200 ▲23 | 5.64 ▲0.06 | 97.79 ▲7.05 | 45.44 ▲5.76 |
Posts /wp-admin/edit.php | 2,099 ▼1 | 2.00 ▼0.01 | 34.30 ▼2.04 | 36.78 ▼1.58 |
Add New Post /wp-admin/post-new.php | 1,528 ▼3 | 23.19 ▼0.02 | 686.04 ▲29.93 | 61.01 ▲6.05 |
Media Library /wp-admin/upload.php | 1,402 ▲8 | 4.10 ▼0.11 | 103.00 ▲6.62 | 46.98 ▲1.55 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/wp-ionic-icons/wp-ionic-icons.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots require images: #1 (Shortcodes), #2 (Shortcodes result), #3 (Menu), #4 (Widget)
wp-ionic-icons/wp-ionic-icons.php 92% from 13 tests
The entry point to "WP Ionic Icons" version 2.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 145 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
Success! There were no dangerous files found in this plugin21,812 lines of code in 1,853 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 3 | 0 | 0 | 11,051 |
JavaScript | 47 | 86 | 751 | 3,357 |
SVG | 1,790 | 0 | 0 | 3,135 |
HTML | 1 | 2 | 0 | 2,717 |
TypeScript | 8 | 0 | 407 | 1,394 |
CSS | 3 | 37 | 9 | 104 |
PHP | 1 | 16 | 13 | 54 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
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 | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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.13MB with 0.09MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 45.98KB | 17.23KB | ▼ 62.53% |
screenshot-1.png | 90.38KB | 30.63KB | ▼ 66.12% |