Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.77ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce GST Plugin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 38.29 ▼10.40 |
Dashboard /wp-admin | 3.31 ▼0.04 | 43.78 ▼13.75 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 45.68 ▼10.00 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 88.47 ▼8.93 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.98 ▼1.32 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
WooCommerce GST Plugin: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲21 | 14.18 ▼0.22 | 1.81 ▼0.59 | 45.06 ▲2.07 |
Dashboard /wp-admin | 2,201 ▲27 | 5.64 ▲0.03 | 87.20 ▼4.05 | 42.02 ▲1.65 |
Posts /wp-admin/edit.php | 2,106 ▲3 | 2.07 ▲0.12 | 40.25 ▼1.76 | 39.06 ▲3.46 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 23.31 ▲0.26 | 619.53 ▲4.24 | 64.44 ▲7.58 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.19 ▼0.03 | 97.31 ▼16.88 | 44.69 ▼1.53 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Please fix the following attributes:
- Screenshots: These screenshots require images: #1 (GST Setting Option), #2 (Tax Slab), #3 (Additional Tax Classes)
- Tags: You are using too many tags: 16 tag instead of maximum 10
woo-gst/woocommerce-gst-addon.php 85% from 13 tests
The main PHP script in "WooCommerce GST Plugin" version 1.5 is automatically included on every request by WordPress
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.0" instead of "3.0.0")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("woo-gst.php" instead of "woocommerce-gst-addon.php")
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
Success! There were no dangerous files found in this plugin383 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 162 | 88 | 371 |
CSS | 1 | 1 | 0 | 12 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 9 | 56.25% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 6 | 85.71% |
▷ Anonymous functions | 1 | 14.29% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
4 PNG files occupy 0.13MB with 0.09MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 52.58KB | 14.71KB | ▼ 72.02% |
images/info.png | 1.13KB | 0.28KB | ▼ 75.69% |
screenshot-1.png | 28.84KB | 11.00KB | ▼ 61.85% |
screenshot-3.png | 51.07KB | 19.66KB | ▼ 61.49% |