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
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼7.88ms] Passed 4 tests
An overview of server-side resources used by Simpl Pay-in-3 for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.26 ▼4.81 |
Dashboard /wp-admin | 3.33 ▲0.03 | 46.86 ▼14.23 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 47.54 ▼4.07 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 93.06 ▼7.41 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.58 ▼5.05 |
Server storage [IO: ▲1.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 33 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Simpl Pay-in-3 for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,795 ▲34 | 14.34 ▲0.13 | 1.64 ▼0.06 | 38.89 ▼0.31 |
Dashboard /wp-admin | 2,201 ▲27 | 5.62 ▲0.05 | 88.80 ▼3.49 | 39.09 ▼5.36 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 2.01 ▲0.02 | 36.03 ▲0.35 | 38.27 ▲3.16 |
Add New Post /wp-admin/post-new.php | 1,541 ▲15 | 18.49 ▼4.96 | 637.80 ▼22.55 | 63.91 ▲10.46 |
Media Library /wp-admin/upload.php | 1,409 ▲9 | 4.19 ▲0.07 | 97.11 ▼21.87 | 41.70 ▼4.49 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though everything seems fine, this is not 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
The following issues need your attention
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WC_Payment_Gateway' not found in wp-content/plugins/simpl-pay-in-3-for-woocommerce/admin/class-simpl-pay-in-3-for-woocommerce-gateway.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5, #6, #7, #8 in simpl-pay-in-3-for-woocommerce/assets to your readme.txt
simpl-pay-in-3-for-woocommerce/simpl-pay-in-3-for-woocommerce.php Passed 13 tests
The principal PHP file in "Simpl Pay-in-3 for WooCommerce" v. 1.2.5 is loaded by WordPress automatically on each request
93 characters long description:
Enable your users to pay for their orders in 3 simple payments by Simpl. Easy and convenient.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,981 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 240 | 732 | 1,192 |
JavaScript | 1 | 63 | 109 | 514 |
CSS | 1 | 38 | 36 | 235 |
SVG | 3 | 0 | 1 | 24 |
Bourne Shell | 1 | 1 | 0 | 12 |
Markdown | 1 | 4 | 0 | 4 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 18.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 3.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.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 | 55 | |
▷ Static methods | 2 | 3.64% |
▷ Public methods | 50 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 9.09% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
No PNG images were found in this plugin