Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼6.86ms] Passed 4 tests
Analyzing server-side resources used by Admin Icons Manager
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.11 | 42.75 ▲0.36 |
Dashboard /wp-admin | 3.44 ▲0.13 | 54.66 ▼2.07 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 54.89 ▲4.93 |
Add New Post /wp-admin/post-new.php | 5.56 ▼0.33 | 78.99 ▼25.34 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 37.24 ▼0.40 |
Server storage [IO: ▲6.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by Admin Icons Manager
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,986 ▲225 | 15.36 ▲1.36 | 1.78 ▲0.11 | 46.85 ▲2.50 |
Dashboard /wp-admin | 2,389 ▲212 | 6.73 ▲1.09 | 132.45 ▲40.17 | 42.42 ▼1.06 |
Posts /wp-admin/edit.php | 2,323 ▲223 | 3.71 ▲1.76 | 61.72 ▲16.36 | 35.26 ▼2.24 |
Add New Post /wp-admin/post-new.php | 1,578 ▲40 | 21.30 ▼1.73 | 670.56 ▼19.68 | 36.65 ▼22.53 |
Media Library /wp-admin/upload.php | 1,457 ▲57 | 4.73 ▲0.52 | 98.30 ▼10.04 | 42.44 ▼4.81 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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
Please take a closer look at the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/admin-icons-manager/ai-manager.php:28
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Tags: You are using too many tags: 11 tag instead of maximum 10
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in admin-icons-manager/assets to your readme.txt
admin-icons-manager/ai-manager.php 77% from 13 tests
The entry point to "Admin Icons Manager" version 1.0.2 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: It is recommended to name the main PHP file as the plugin slug ("admin-icons-manager.php" instead of "ai-manager.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin72,763 lines of code in 23 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 56,793 |
SVG | 4 | 0 | 12 | 9,080 |
CSS | 9 | 2,043 | 86 | 5,071 |
HTML | 1 | 570 | 0 | 1,209 |
PHP | 3 | 301 | 84 | 583 |
JavaScript | 4 | 18 | 39 | 27 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 15.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 3.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.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 | 15 | |
▷ Static methods | 14 | 93.33% |
▷ Public methods | 15 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 12 | |
▷ Global constants | 12 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ 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
2 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/no-photo.png | 7.52KB | 3.89KB | ▼ 48.25% |
images/CregoTech.png | 6.24KB | 3.16KB | ▼ 49.39% |