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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.16MB] [CPU: ▼4.27ms] Passed 4 tests
Analyzing server-side resources used by SKU generator for Woocommerce by ATR
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 40.31 ▼3.99 |
Dashboard /wp-admin | 3.47 ▲0.16 | 53.46 ▲2.08 |
Posts /wp-admin/edit.php | 3.58 ▲0.22 | 48.55 ▲1.34 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 86.01 ▼16.51 |
Media Library /wp-admin/upload.php | 3.39 ▲0.16 | 39.22 ▲4.79 |
ATR rand sku Woo /wp-admin/options-general.php?page=atr_random_sku_for_woocommerce_settings | 3.37 | 36.57 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
atr_random_sku_for_woocommerce_version |
Browser metrics Passed 4 tests
Checking browser requirements for SKU generator for Woocommerce by ATR
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲14 | 14.34 ▼0.19 | 1.47 ▼0.53 | 41.71 ▼3.86 |
Dashboard /wp-admin | 2,206 ▲32 | 5.63 ▼0.03 | 91.07 ▼3.30 | 38.69 ▼5.82 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.05 ▲0.04 | 37.04 ▼4.60 | 35.12 ▲0.00 |
Add New Post /wp-admin/post-new.php | 1,536 ▲10 | 23.43 ▼0.27 | 688.82 ▲14.45 | 63.34 ▲12.31 |
Media Library /wp-admin/upload.php | 1,411 ▲14 | 4.19 ▲0.03 | 112.21 ▲8.74 | 46.98 ▲2.86 |
ATR rand sku Woo /wp-admin/options-general.php?page=atr_random_sku_for_woocommerce_settings | 982 | 2.11 | 25.83 | 29.30 |
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
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- atr_random_sku_for_woocommerce_version
- widget_recent-posts
- widget_recent-comments
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 everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Congratulations! This plugin passed the SRP test
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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
4 plugin tags: sku generator, sku, product sku, woocommerce
atr-random-sku-for-woocommerce/atr-random-sku-for-woocommerce.php 92% from 13 tests
The primary PHP file in "SKU generator for Woocommerce by ATR" version 2.0.1 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 178 characters long)
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
No dangerous file extensions were detected771 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 205 | 387 | 639 |
PO File | 1 | 21 | 23 | 67 |
JavaScript | 1 | 7 | 5 | 43 |
CSS | 1 | 3 | 9 | 22 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 28.67 |
▷ Minimum class complexity | 21.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 3.24 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 37 | |
▷ Static methods | 2 | 5.41% |
▷ Public methods | 35 | 94.59% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.41% |
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
All PNG images should be compressed to minimize bandwidth usage for end users
PNG images were not found in this plugin