Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- The plugin cannot be installed
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method HP_Simple_SKU::activate_hp_sku_var_generator() should not be called statically
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.29ms] Passed 4 tests
An overview of server-side resources used by Simple SKU Generator
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 41.81 ▲5.70 |
Dashboard /wp-admin | 3.31 ▲0.00 | 47.01 ▼1.44 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 42.47 ▼1.04 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.32 ▲0.54 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.78 ▼3.22 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 8 new files
Database: 2 new tables, 6 new options
New tables |
---|
wp_woo_sku1 |
wp_woo_sku2 |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Simple SKU Generator
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲54 | 13.23 ▼1.40 | 1.81 ▲0.20 | 44.75 ▲0.38 |
Dashboard /wp-admin | 2,203 ▲11 | 4.84 ▼0.13 | 101.69 ▼4.19 | 37.93 ▼3.53 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.02 | 33.99 ▲0.24 | 32.32 ▼2.48 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.33 ▼4.86 | 626.09 ▼92.69 | 53.23 ▼28.83 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▲0.03 | 95.48 ▼6.46 | 42.10 ▼4.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-includes/class-wp-hook.php+310
Non-static method HP_Simple_SKU::uninstall_hp_sku_var_generator() should not be called statically
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
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
Even though no errors were found, 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 | This is just a short smoke test looking for browser issues
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
These attributes need your attention:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4, #5, #6, #7, #8 in simple-sku-generator/assets to your readme.txt
- Donate link: Please fix this invalid URI: "N/A"
simple-sku-generator/hp-sku-var-generator.php 92% from 13 tests
The main file in "Simple SKU Generator" v. 1.3.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("simple-sku-generator.php" instead of "hp-sku-var-generator.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin1,016 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 204 | 225 | 564 |
PHP | 2 | 35 | 35 | 440 |
CSS | 1 | 13 | 1 | 12 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 1.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 10 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 10 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.02MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/icon.png | 20.63KB | 0.63KB | ▼ 96.93% |