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: ▼3.84ms] Passed 4 tests
Analyzing server-side resources used by Image Converter With Order
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 40.36 ▼2.79 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.82 ▼2.20 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.76 ▼4.67 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.95 ▼5.68 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 38.65 ▲4.16 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
Image Converter With Order: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▲0.08 | 1.77 ▼0.15 | 43.29 ▼5.44 |
Dashboard /wp-admin | 2,206 ▲18 | 4.86 ▼0.21 | 116.81 ▲0.72 | 43.80 ▼0.24 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 2.03 ▲0.04 | 33.82 ▼2.16 | 34.99 ▲3.43 |
Add New Post /wp-admin/post-new.php | 1,533 ▼9 | 23.44 ▲5.31 | 658.96 ▲22.61 | 47.92 ▼0.25 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.15 ▼0.06 | 93.78 ▼6.83 | 40.58 ▼0.88 |
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
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
No output text or server-side errors detected on direct access of PHP files
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 86% from 29 tests
readme.txt 94% 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:
- Screenshots: These screenshots do not have images: #1 (Admin Screen), #2 (Product Screen), #3 (Cart page Preview), #4 (Checkout page preview), #5 (Thanks you page preview)
image-converter-with-order/image-converter-with-order.php 77% from 13 tests
The principal PHP file in "Image Converter With Order" v. 1.0 is loaded by WordPress automatically on each request
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 188 characters long)
- Requires at least: Required version number should use periods and dots only (ex. "7.0" instead of "WP 4.5")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin335 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 46 | 179 | 267 |
CSS | 2 | 1 | 1 | 55 |
JavaScript | 1 | 3 | 1 | 13 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 10.67 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 22.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 1 | 33.33% |
Methods | 27 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 25 | 92.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 7.41% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.16MB with 0.09MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 16.79KB | 9.06KB | ▼ 46.02% |
screenshot-3.png | 24.85KB | 9.85KB | ▼ 60.39% |
screenshot-5.png | 31.00KB | 12.57KB | ▼ 59.45% |
screenshot-2.png | 63.12KB | 20.31KB | ▼ 67.82% |
screenshot-4.png | 27.37KB | 10.76KB | ▼ 60.69% |