Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- This plugin did not install gracefully
- > Parse error in wp-content/plugins/woopaymu-woocommerce-ipaymu-gateway/index.php+148
syntax error, unexpected 'new' (T_NEW)
Server metrics [RAM: ▲0.00MB] [CPU: ▼10.18ms] Passed 4 tests
An overview of server-side resources used by Woopaymu Woocommerce Ipaymu indonesia payment Gateway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 37.69 ▼7.35 |
Dashboard /wp-admin | 3.31 ▲0.00 | 41.97 ▼7.74 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.98 ▼1.07 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 83.13 ▼24.56 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.65 ▲0.72 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Woopaymu Woocommerce Ipaymu indonesia payment Gateway
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.47 ▲0.16 | 1.77 ▼0.26 | 38.17 ▼3.50 |
Dashboard /wp-admin | 2,209 ▲21 | 5.85 ▼0.02 | 99.85 ▼1.70 | 40.46 ▼1.84 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 1.97 ▼0.09 | 36.12 ▼5.47 | 29.66 ▼7.63 |
Add New Post /wp-admin/post-new.php | 1,533 ▲11 | 23.15 ▼0.12 | 586.36 ▼76.56 | 58.44 ▲8.30 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.20 ▲0.04 | 95.43 ▼7.31 | 39.94 ▼6.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
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
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Parse error
syntax error, unexpected 'new' (T_NEW) in wp-content/plugins/woopaymu-woocommerce-ipaymu-gateway/index.php on line 148
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots do not have images: #1 (The setting gateway, enter your api key here.), #2 (This is how the plugin in action, the buyer will send to ipaymu to complete payment.)
- Plugin Name: "Plugin Name" should be replaced with the name of your plugin on the first line (
=== woopaymu-woocommerce-ipaymu-gateway ===
)
woopaymu-woocommerce-ipaymu-gateway/index.php 92% from 13 tests
"Woopaymu Woocommerce Ipaymu indonesia payment Gateway" version 1.1.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("woopaymu-woocommerce-ipaymu-gateway.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected200 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 85 | 79 | 200 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.15 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 12 | 92.31% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.69% |
Functions | 2 | |
▷ Named functions | 2 | 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
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/ipaymu_badge.png | 4.48KB | 2.33KB | ▼ 48.05% |