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
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼301.57ms] Passed 4 tests
Analyzing server-side resources used by Featured Image Sharpen Up
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 56.51 ▲5.39 |
Dashboard /wp-admin | 3.42 ▲0.01 | 33.55 ▲0.84 |
Posts /wp-admin/edit.php | 3.65 ▲0.01 | 38.10 ▼0.00 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 92.25 ▼1,207.05 |
Media Library /wp-admin/upload.php | 3.30 ▲0.01 | 22.71 ▼0.05 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 15 new files
Database: no new tables, 1 new option
New WordPress options |
---|
featured_image_sharpen_up_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Featured Image Sharpen Up
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,894 ▲139 | 16.75 ▲1.04 | 9.85 ▲3.50 | 2.13 ▼0.69 |
Dashboard /wp-admin | 2,895 ▲34 | 6.13 ▲0.00 | 115.91 ▼17.10 | 155.51 ▲1.64 |
Posts /wp-admin/edit.php | 2,694 ▲6 | 3.23 ▼0.00 | 62.77 ▼2.21 | 138.83 ▼3.49 |
Add New Post /wp-admin/post-new.php | 1,661 ▼7 | 16.86 ▼1.47 | 406.48 ▲4.78 | 154.08 ▼3.13 |
Media Library /wp-admin/upload.php | 1,701 ▲3 | 5.54 ▲0.03 | 140.27 ▲5.62 | 188.19 ▲7.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 1 option
- featured_image_sharpen_up_version
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
5 plugin tags: plugin, svg, lazy load, images, page speed
featured-image-sharpen-up/featured-image-sharpen-up.php 85% from 13 tests
The main PHP file in "Featured Image Sharpen Up" ver. 1.0.1 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 156 characters long)
- Requires at least: The required version number did not match the one declared in readme.txt ("3.9" instead of "4.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin320 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 66 | 225 | 173 |
JavaScript | 3 | 9 | 11 | 86 |
JSON | 2 | 0 | 0 | 40 |
Markdown | 1 | 9 | 0 | 14 |
LESS | 1 | 0 | 0 | 6 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.73 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 11 | 73.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 26.67% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
There are no PNG files in this plugin