Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/woo-price-trim-zeros/woocommerce-remove-00trailing-zero.php+12
Constant Woocommerce_Remove_00trailing_Zero already defined
Server metrics [RAM: ▼1.96MB] [CPU: ▼53.40ms] Passed 4 tests
Server-side resources used by Woocommerce Remove 00 Trailing Zero
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.73 ▼35.73 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.41 ▼46.40 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.10 ▼44.27 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.18 ▼87.20 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.60 ▼31.99 |
Server storage [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
Woocommerce Remove 00 Trailing Zero: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲28 | 14.32 ▼0.29 | 2.09 ▼0.07 | 44.14 ▼2.53 |
Dashboard /wp-admin | 2,192 ▲18 | 5.53 ▼0.12 | 81.52 ▼17.53 | 40.20 ▼6.11 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.08 ▲0.14 | 34.93 ▼0.43 | 32.73 ▼5.90 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.60 ▲0.90 | 639.56 ▼39.07 | 47.83 ▼12.85 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.21 ▲0.01 | 95.88 ▼7.72 | 42.53 ▼2.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/woo-price-trim-zeros/woocommerce-remove-00trailing-zero.php+12
Constant Woocommerce_Remove_00trailing_Zero already defined
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/woo-price-trim-zeros/woocommerce-remove-00trailing-zero.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots lack descriptions #1, #2 in woo-price-trim-zeros/assets to your readme.txt
woo-price-trim-zeros/woocommerce-remove-00trailing-zero.php 92% from 13 tests
The main PHP script in "Woocommerce Remove 00 Trailing Zero" version 1.0.0 is automatically included on every request by WordPress
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("woo-price-trim-zeros.php" instead of "woocommerce-remove-00trailing-zero.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
Everything looks great! No dangerous files found in this plugin7 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 2 | 9 | 7 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.00 |
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 | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin