Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼1.83ms] Passed 4 tests
Server-side resources used by Isizer - image size manager
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 46.31 ▼2.64 |
Dashboard /wp-admin | 3.33 ▲0.02 | 53.32 ▼0.97 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 57.35 ▲3.72 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 87.26 ▼6.72 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 43.15 ▲3.01 |
Isizer /wp-admin/options-general.php?page=isizer | 3.22 | 35.78 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Isizer - image size manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲36 | 14.48 ▲0.17 | 1.74 ▼0.26 | 43.68 ▼1.49 |
Dashboard /wp-admin | 2,206 ▲35 | 5.65 ▲0.07 | 84.56 ▼13.32 | 38.75 ▼5.95 |
Posts /wp-admin/edit.php | 2,116 ▲16 | 2.05 ▲0.04 | 36.69 ▲1.40 | 32.70 ▼2.41 |
Add New Post /wp-admin/post-new.php | 1,535 ▲4 | 23.43 ▲0.29 | 704.72 ▲38.81 | 53.01 ▲3.08 |
Media Library /wp-admin/upload.php | 1,416 ▲16 | 4.17 ▼0.14 | 109.10 ▲12.43 | 47.23 ▲1.87 |
Isizer /wp-admin/options-general.php?page=isizer | 933 | 2.09 | 28.59 | 32.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Please fix the following attributes:
- Screenshots: Please a description for screenshot #1 in isizer/assets to your readme.txt
- Donate link: Invalid url: ""
isizer/isizer.php 92% from 13 tests
"Isizer - image size manager" version 1.0.1'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:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.0" instead of "5.1")
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
No dangerous file extensions were detected690 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 181 | 309 | 534 |
CSS | 1 | 25 | 0 | 143 |
JavaScript | 1 | 4 | 14 | 12 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 14.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 2.66 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 3 | 7.14% |
▷ Public methods | 38 | 90.48% |
▷ Protected methods | 1 | 2.38% |
▷ Private methods | 3 | 7.14% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 7 | |
▷ Global constants | 4 | 57.14% |
▷ Class constants | 3 | 42.86% |
▷ Public constants | 3 | 100.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
No PNG files were detected