Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼10.70ms] Passed 4 tests
Server-side resources used by Woo Image SEO
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 35.11 ▼12.54 |
Dashboard /wp-admin | 3.35 ▲0.00 | 45.07 ▼16.03 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 45.17 ▼2.83 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 88.61 ▼11.38 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 30.84 ▼1.51 |
Woo Image SEO /wp-admin/admin.php?page=woo_image_seo | 3.25 | 32.63 |
Server storage [IO: ▲0.41MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 45 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
woo_image_seo |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Woo Image SEO
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲43 | 14.70 ▲0.57 | 1.72 ▲0.03 | 36.82 ▼6.85 |
Dashboard /wp-admin | 2,195 ▲24 | 5.57 ▼0.05 | 89.87 ▼9.76 | 40.37 ▼7.74 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.04 | 39.30 ▲2.75 | 34.90 ▼2.62 |
Add New Post /wp-admin/post-new.php | 1,532 ▲6 | 23.52 ▲0.27 | 642.11 ▼36.27 | 53.42 ▲2.23 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.16 ▼0.02 | 98.35 ▲0.83 | 42.84 ▲0.91 |
Woo Image SEO /wp-admin/admin.php?page=woo_image_seo | 1,697 | 2.02 | 24.98 | 53.25 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 7 options
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- woo_image_seo
Smoke tests Passed 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 Passed 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
No output text or server-side errors detected on direct access of PHP files
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% 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
Please fix the following attributes:
- Screenshots: Add descriptions for screenshots #1, #2, #3 in woo-image-seo/assets to your readme.txt
woo-image-seo/woo-image-seo.php Passed 13 tests
The principal PHP file in "Woo Image SEO" v. 1.4.2 is loaded by WordPress automatically on each request
99 characters long description:
Boost your WooCommerce SEO by automatically adding alt tags and title attributes to product images.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected1,574 lines of code in 32 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 26 | 179 | 115 | 772 |
CSS | 3 | 60 | 24 | 377 |
PO File | 2 | 148 | 170 | 318 |
JavaScript | 1 | 34 | 8 | 107 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 15 | 62.50% |
▷ Anonymous functions | 9 | 37.50% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
5 PNG files occupy 0.11MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/attribute-builder-help-1.png | 11.12KB | 6.24KB | ▼ 43.84% |
assets/paypal-donate.png | 15.77KB | 8.47KB | ▼ 46.30% |
assets/force-help.png | 54.39KB | 60.00KB | 0.00% |
assets/attribute-builder-default.png | 10.17KB | 5.04KB | ▼ 50.47% |
assets/attribute-builder-help-2.png | 26.09KB | 13.41KB | ▼ 48.61% |