Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.28ms] Passed 4 tests
Analyzing server-side resources used by Full Woo Commerce Admin
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 43.87 ▲1.34 |
Dashboard /wp-admin | 3.40 ▲0.05 | 52.15 ▼17.60 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 51.49 ▲1.62 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 89.24 ▼14.48 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 38.14 ▲3.58 |
Products / Full Admin /wp-admin/edit.php?post_type=product&page=wave-woo-admin-page-products | 3.09 | 24.96 |
Products / Full Admin /wp-admin/admin.php?page=wave-woo-admin-page-woo | 3.27 | 33.34 |
Server storage [IO: ▲2.55MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 94 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Full Woo Commerce Admin: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲61 | 14.35 ▼0.00 | 2.26 ▲0.59 | 44.46 ▲2.02 |
Dashboard /wp-admin | 2,197 ▲20 | 5.55 ▲0.01 | 95.45 ▲6.80 | 43.38 ▲5.25 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 1.97 ▼0.02 | 35.53 ▼5.69 | 33.46 ▼4.00 |
Add New Post /wp-admin/post-new.php | 1,531 ▲5 | 22.94 ▼0.67 | 665.44 ▼25.62 | 49.85 ▼18.59 |
Media Library /wp-admin/upload.php | 1,402 ▲5 | 4.25 ▲0.09 | 103.95 ▼13.04 | 44.64 ▼0.13 |
Products / Full Admin /wp-admin/edit.php?post_type=product&page=wave-woo-admin-page-products | 28 | 0.42 | 0.07 | 3.36 |
Products / Full Admin /wp-admin/admin.php?page=wave-woo-admin-page-woo | 716 | 1.93 | 21.33 | 37.42 |
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
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=wave-woo-admin-page-woo
- > Notice in wp-content/plugins/full-woo-commerce-admin/admin/class-wave-woo-admin.php+147
Undefined variable: output
- 409580 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wave-woo-admin-page-woo
- > Notice in wp-content/plugins/full-woo-commerce-admin/admin/class-wave-woo-admin.php+215
Trying to get property 'term_id' of non-object
- 81916 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wave-woo-admin-page-woo
- > Notice in wp-content/plugins/full-woo-commerce-admin/admin/class-wave-woo-admin.php+214
Trying to get property 'name' of non-object
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/full-woo-commerce-admin/public/partials/plugin-name-public-display.php
- > /wp-content/plugins/full-woo-commerce-admin/admin/partials/plugin-name-admin-display.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=product&page=wave-woo-admin-page-products
- > Network (severe)
wp-admin/edit.php?post_type=product&page=wave-woo-admin-page-products - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add an image for screenshot #1 (woocommerce admin screenshot)
full-woo-commerce-admin/wave-woo-admin.php 85% from 13 tests
Analyzing the main PHP file in "Full Woo Commerce Admin" version 0.9821
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("full-woo-commerce-admin.php" instead of "wave-woo-admin.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin19,463 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 27 | 1,882 | 7,182 | 16,894 |
CSS | 14 | 94 | 162 | 1,561 |
PHP | 13 | 249 | 668 | 724 |
HTML | 1 | 5 | 0 | 106 |
LESS | 1 | 18 | 56 | 79 |
JSON | 2 | 0 | 0 | 55 |
Markdown | 1 | 19 | 0 | 30 |
XML | 14 | 0 | 0 | 14 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 9.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 46.00 |
Average method complexity | 2.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 17 | 35.42% |
▷ Public methods | 42 | 87.50% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 12.50% |
Functions | 3 | |
▷ Named functions | 3 | 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 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.79MB with 0.26MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/js/sophilabs-jquery-counter-7cc91ab/src/jquery.counter-analog2.png | 44.34KB | 42.54KB | ▼ 4.08% |
screenshot-1.png | 656.73KB | 265.93KB | ▼ 59.51% |
admin/js/sophilabs-jquery-counter-7cc91ab/src/jquery.counter-analog.png | 29.77KB | 31.07KB | 0.00% |
admin/js/sophilabs-jquery-counter-7cc91ab/src/jquery.counter-analog3.png | 78.13KB | 23.83KB | ▼ 69.50% |