Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.03MB] [CPU: ▼2.95ms] Passed 4 tests
This is a short check of server-side resources used by Improvely for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.26 ▼2.83 |
Dashboard /wp-admin | 3.33 ▲0.03 | 48.57 ▼3.36 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 44.91 ▼0.67 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 81.94 ▼4.95 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 37.60 ▲1.71 |
Improvely /wp-admin/options-general.php?page=improvely-config | 3.22 | 30.82 |
Improvely /wp-admin/index.php?page=improvely-display | 3.22 | 36.07 |
Server storage [IO: ▲0.42MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 5 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Improvely for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,817 ▲71 | 13.17 ▼1.08 | 4.77 ▲2.91 | 42.26 ▼1.59 |
Dashboard /wp-admin | 2,220 ▲29 | 5.83 ▼0.07 | 105.63 ▼21.53 | 39.16 ▼20.25 |
Posts /wp-admin/edit.php | 2,105 ▲13 | 2.01 ▼0.01 | 35.45 ▲0.14 | 36.04 ▲3.45 |
Add New Post /wp-admin/post-new.php | 1,548 ▲29 | 23.16 ▲0.27 | 582.94 ▼104.27 | 57.63 ▲1.65 |
Media Library /wp-admin/upload.php | 1,405 ▲20 | 4.21 ▲0.06 | 99.13 ▼5.62 | 45.13 ▼1.78 |
Improvely /wp-admin/options-general.php?page=improvely-config | 891 | 2.17 | 23.94 | 32.92 |
Improvely /wp-admin/index.php?page=improvely-display | 765 | 2.07 | 23.37 | 23.27 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 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
Please fix the following items
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/improvely-for-woocommerce/improvely.php:14
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/index.php?page=improvely-display
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28609 "jQuery.Deferred exception: Cannot set properties of null (setting 'onload')" "TypeError: Cannot set properties of null (setting 'onload')\n at resizeImprovelyInit (/wp-admin/index.php?page=improvely-display:51:66)\n at HTMLDocument.\u003Canonymous> (/wp-admin/index.php?page=improvely-display:8:80)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1:2:27292)" undefined
- > GET request to /wp-admin/index.php?page=improvely-display
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils&ver=6.3.1 1:28721 Uncaught TypeError: Cannot set properties of null (setting 'onload')
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Add an image for screenshot #1 (Example Report)
improvely-for-woocommerce/improvely.php 85% from 13 tests
The primary PHP file in "Improvely for WooCommerce" version 1.8 is used by WordPress to initiate all plugin functionality
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("improvely-for-woocommerce.php" instead of "improvely.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 233 characters long)
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
No dangerous file extensions were detected168 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 44 | 8 | 168 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
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 | 8 | |
▷ Named functions | 8 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.41MB with 0.25MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 77.67KB | 29.01KB | ▼ 62.66% |
banner.png | 160.75KB | 76.67KB | ▼ 52.31% |
install.png | 185.90KB | 66.45KB | ▼ 64.25% |