Benchmarks
Plugin footprint Passed 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.11MB] [CPU: ▼185.33ms] Passed 4 tests
A check of server-side resources used by Admin Icons Manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.84 ▲0.01 | 22.03 ▼0.97 |
Dashboard /wp-admin | 3.09 ▲0.02 | 30.01 ▼7.35 |
Posts /wp-admin/edit.php | 3.21 ▲0.10 | 28.62 ▲0.94 |
Add New Post /wp-admin/post-new.php | 4.98 ▼0.46 | 54.66 ▼730.28 |
Media Library /wp-admin/upload.php | 2.99 ▼0.01 | 20.35 ▼2.72 |
Server storage [IO: ▲6.30MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 45 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Admin Icons Manager
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,938 ▲337 | 18.22 ▲2.17 | 5.42 ▲0.47 | 77.48 ▲1.26 |
Dashboard /wp-admin | 3,204 ▲309 | 8.65 ▲2.49 | 149.10 ▲16.77 | 162.92 ▼11.95 |
Posts /wp-admin/edit.php | 3,050 ▲307 | 5.36 ▲2.13 | 92.01 ▲23.96 | 149.85 ▲6.67 |
Add New Post /wp-admin/post-new.php | 2,373 ▼1,331 | 18.23 ▼0.48 | 374.77 ▼94.99 | 164.29 ▲0.31 |
Media Library /wp-admin/upload.php | 1,833 ▲84 | 6.31 ▲0.80 | 114.78 ▼34.04 | 183.59 ▲0.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled successfully, without leaving any zombie files or tables
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 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
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > 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 shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in admin-icons-manager/assets to your readme.txt
admin-icons-manager/ai-manager.php 77% from 13 tests
"Admin Icons Manager" version 1.0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
- Domain Path: The domain path is invalid: folder "/languages" does not exist
- Main file name: The principal plugin file should be the same 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 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected72,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
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
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
All PNG images should be compressed to minimize bandwidth usage for end users
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/CregoTech.png | 6.24KB | 3.16KB | ▼ 49.39% |
images/no-photo.png | 7.52KB | 3.89KB | ▼ 48.25% |