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.00MB] [CPU: ▼11.05ms] Passed 4 tests
This is a short check of server-side resources used by WooCommerce Installments
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 37.91 ▼14.75 |
Dashboard /wp-admin | 3.31 ▼0.03 | 45.87 ▼15.07 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.18 ▲1.27 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 88.24 ▼14.50 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.26 ▲0.11 |
Server storage [IO: ▲0.13MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
WooCommerce Installments: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲68 | 14.40 ▲0.05 | 2.03 ▲0.11 | 41.93 ▼3.56 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.13 | 95.26 ▲11.82 | 41.13 ▲5.68 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.06 | 37.01 ▼2.80 | 44.16 ▲7.16 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 22.86 ▼0.72 | 634.63 ▲4.06 | 53.49 ▲2.07 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.26 ▲0.07 | 95.39 ▼3.27 | 41.68 ▼0.84 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check 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 | 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 server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/woocommerce-installments/woocommerce-installments.php:133
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (Catalog page.), #2 (Product page.), #3 (Cart page.)
woocommerce-installments/woocommerce-installments.php Passed 13 tests
The main file in "WooCommerce Installments" v. 1.0.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
56 characters long description:
This plugin appends installments into the product price.
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 plugin151 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 15 | 9 | 109 |
Markdown | 1 | 24 | 0 | 42 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
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 | 9 | |
▷ Named functions | 9 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.12MB with 0.08MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 68.47KB | 25.83KB | ▼ 62.28% |
assets/screenshot-3.png | 16.85KB | 5.53KB | ▼ 67.18% |
assets/screenshot-2.png | 39.95KB | 11.96KB | ▼ 70.07% |