Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.20MB] [CPU: ▼294.58ms] Passed 4 tests
An overview of server-side resources used by Manager for Icomoon
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.18 | 54.47 ▲3.79 |
Dashboard /wp-admin | 3.64 ▲0.23 | 35.65 ▲2.76 |
Posts /wp-admin/edit.php | 3.87 ▲0.23 | 40.25 ▲1.12 |
Add New Post /wp-admin/post-new.php | 7.15 ▲0.17 | 92.56 ▼1,183.94 |
Media Library /wp-admin/upload.php | 3.58 ▲0.29 | 26.20 ▲1.76 |
Icon list /wp-admin/admin.php?page=managerforicomoon-icons | 5.74 | 32.95 |
Welcome /wp-admin/admin.php?page=managerforicomoon | 5.74 | 27.99 |
Upload /wp-admin/admin.php?page=managerforicomoon-zip | 5.74 | 28.88 |
Settings /wp-admin/admin.php?page=managerforicomoon-settings | 5.74 | 75.06 |
Shortcode /wp-admin/admin.php?page=managerforicomoon-shortcode | 5.74 | 40.93 |
Server storage [IO: ▲1.57MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 41 new files
Database: no new tables, 1 new option
New WordPress options |
---|
managerforicomoon_options |
Browser metrics Passed 4 tests
An overview of browser requirements for Manager for Icomoon
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,039 ▲285 | 22.40 ▲6.74 | 6.72 ▲0.61 | 2.70 ▲0.02 |
Dashboard /wp-admin | 3,130 ▲276 | 12.04 ▲5.71 | 254.09 ▲112.67 | 192.21 ▲28.66 |
Posts /wp-admin/edit.php | 2,957 ▲269 | 11.01 ▲7.77 | 115.83 ▲53.83 | 156.39 ▲11.66 |
Add New Post /wp-admin/post-new.php | 1,726 ▲15 | 16.06 ▼5.49 | 309.15 ▼149.01 | 157.25 ▲2.79 |
Media Library /wp-admin/upload.php | 1,957 ▲259 | 12.93 ▲7.41 | 169.75 ▲24.99 | 205.69 ▲17.29 |
Icon list /wp-admin/admin.php?page=managerforicomoon-icons | 16,557 | 10.31 | 123.26 | 269.24 |
Welcome /wp-admin/admin.php?page=managerforicomoon | 1,384 | 10.10 | 108.50 | 167.04 |
Upload /wp-admin/admin.php?page=managerforicomoon-zip | 1,440 | 10.18 | 108.98 | 193.60 |
Settings /wp-admin/admin.php?page=managerforicomoon-settings | 1,466 | 10.11 | 112.64 | 184.50 |
Shortcode /wp-admin/admin.php?page=managerforicomoon-shortcode | 1,444 | 10.05 | 111.30 | 192.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 1 option
- managerforicomoon_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 7× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function managerForIcomoon\\__() in wp-content/plugins/manager-for-icomoon/html/page.shortcode.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/manager-for-icomoon/html/page.home.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function managerForIcomoon\\settings_fields() in wp-content/plugins/manager-for-icomoon/html/page.settings.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/manager-for-icomoon/html/page.zip.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/manager-for-icomoon/html/page.icons.php:1
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/manager-for-icomoon/html/page.modal.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function managerForIcomoon\\plugin_dir_path() in wp-content/plugins/manager-for-icomoon/managerforicomoon.php:18
- > PHP Fatal error
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 Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
4 plugin tags: manager, icon, font, icomoon
manager-for-icomoon/managerforicomoon.php 85% from 13 tests
The main PHP file in "Manager for Icomoon" ver. 2.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("manager-for-icomoon.php" instead of "managerforicomoon.php")
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 plugin11,359 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
HTML | 1 | 2 | 2 | 6,908 |
CSS | 5 | 100 | 54 | 2,092 |
PHP | 16 | 211 | 74 | 978 |
SVG | 1 | 0 | 0 | 501 |
Sass | 3 | 101 | 0 | 471 |
PO File | 1 | 94 | 127 | 239 |
JavaScript | 3 | 21 | 0 | 169 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 9.90 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 31.00 |
Average method complexity | 2.51 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 59 | |
▷ Static methods | 21 | 35.59% |
▷ Public methods | 57 | 96.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.39% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 15 | |
▷ Global constants | 15 | 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
3 PNG files occupy 0.06MB with 0.03MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo-manager-for-icomoon.png | 52.60KB | 20.00KB | ▼ 61.99% |
img/logo_small.png | 1.18KB | 0.56KB | ▼ 52.44% |
img/logo.png | 6.96KB | 2.96KB | ▼ 57.43% |