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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.83ms] Passed 4 tests
Analyzing server-side resources used by WPSSO Product Metadata (aka Custom Fields) for WooCommerce SEO - MPN, ISBN, GTIN, UPC, EAN, Global Identifiers
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 37.07 ▼5.88 |
Dashboard /wp-admin | 3.34 ▼0.01 | 48.36 ▼10.57 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 44.50 ▼2.58 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 90.06 ▼12.27 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.79 ▲2.10 |
Server storage [IO: ▲0.25MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 31 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for WPSSO Product Metadata (aka Custom Fields) for WooCommerce SEO - MPN, ISBN, GTIN, UPC, EAN, Global Identifiers
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,802 ▲51 | 14.18 ▼0.22 | 1.70 ▼1.28 | 45.25 ▼22.11 |
Dashboard /wp-admin | 2,207 ▲27 | 5.47 ▼0.20 | 88.39 ▼12.32 | 39.47 ▼7.53 |
Posts /wp-admin/edit.php | 2,112 ▲9 | 2.00 ▲0.05 | 36.44 ▲0.41 | 36.27 ▼0.42 |
Add New Post /wp-admin/post-new.php | 1,538 ▲12 | 23.22 ▲0.22 | 660.82 ▲68.22 | 54.49 ▲0.53 |
Media Library /wp-admin/upload.php | 1,415 ▲12 | 4.14 ▼0.05 | 96.64 ▼6.27 | 42.61 ▼0.65 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following
- 14× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/wpsso-wc-metadata/lib/search.php
- > /wp-content/plugins/wpsso-wc-metadata/lib/filters-upgrade.php
- > /wp-content/plugins/wpsso-wc-metadata/wpsso-wc-metadata.php
- > /wp-content/plugins/wpsso-wc-metadata/lib/filters-messages.php
- > /wp-content/plugins/wpsso-wc-metadata/lib/filters-options.php
- > /wp-content/plugins/wpsso-wc-metadata/lib/submenu/wc-metadata.php
- > /wp-content/plugins/wpsso-wc-metadata/lib/filters.php
- > /wp-content/plugins/wpsso-wc-metadata/lib/config.php
- > /wp-content/plugins/wpsso-wc-metadata/lib/abstract/com/add-on.php
- > /wp-content/plugins/wpsso-wc-metadata/lib/woocommerce.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
9 plugin tags: global identifier, mpn, isbn, upc, custom fields...
wpsso-wc-metadata/wpsso-wc-metadata.php Passed 13 tests
The entry point to "WPSSO Product Metadata (aka Custom Fields) for WooCommerce SEO - MPN, ISBN, GTIN, UPC, EAN, Global Identifiers" version 4.0.0 is a PHP file that has certain tags in its header comment area
117 characters long description:
MPN, ISBN, GTIN, GTIN-8, UPC, EAN, GTIN-14, net dimensions, and fluid volume for WooCommerce products and variations.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,894 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 663 | 288 | 1,583 |
PO File | 1 | 49 | 49 | 132 |
Markdown | 1 | 26 | 0 | 86 |
JavaScript | 2 | 38 | 7 | 63 |
HTML | 2 | 32 | 0 | 30 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.52 |
Average class complexity | 19.75 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 79.00 |
Average method complexity | 4.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 12 | |
▷ Abstract classes | 2 | 16.67% |
▷ Concrete classes | 10 | 83.33% |
▷ Final classes | 0 | 0.00% |
Methods | 72 | |
▷ Static methods | 11 | 15.28% |
▷ Public methods | 55 | 76.39% |
▷ Protected methods | 5 | 6.94% |
▷ Private methods | 12 | 16.67% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
2 PNG files occupy 0.07MB with 0.05MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon-128x128.png | 19.40KB | 6.85KB | ▼ 64.71% |
images/icon-256x256.png | 51.41KB | 16.45KB | ▼ 68.01% |