Benchmarks
Plugin footprint Passed 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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.03MB] [CPU: ▼140.77ms] Passed 4 tests
Server-side resources used by WooCommerce cse payment gateway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▲0.15 | 40.73 ▲18.01 |
Dashboard /wp-admin | 3.09 ▲0.03 | 52.84 ▲5.35 |
Posts /wp-admin/edit.php | 3.14 ▲0.03 | 45.55 ▼2.98 |
Add New Post /wp-admin/post-new.php | 5.45 ▲0.01 | 92.27 ▼562.38 |
Media Library /wp-admin/upload.php | 3.03 ▲0.03 | 31.66 ▼3.07 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce cse payment gateway
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,679 ▲83 | 16.31 ▲0.54 | 9.40 ▼2.30 | 49.21 ▼0.07 |
Dashboard /wp-admin | 2,973 ▲36 | 5.85 ▼0.16 | 147.35 ▼6.79 | 111.46 ▲5.15 |
Posts /wp-admin/edit.php | 2,739 ▼0 | 2.70 ▼0.01 | 74.89 ▲10.57 | 84.89 ▲0.74 |
Add New Post /wp-admin/post-new.php | 1,683 ▼0 | 18.76 ▲0.00 | 398.88 ▲8.73 | 114.13 ▲3.27 |
Media Library /wp-admin/upload.php | 1,810 ▲3 | 5.01 ▼0.01 | 155.41 ▼4.26 | 118.52 ▼2.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The plugin uninstalled completely, with no zombie files or tables
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 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (CSE PAYMENT admin panel settings.), #2 (Pay with CSE PAYMENT option on checkout page.)
woo-cse-wallet-qr-gateway/woo-cse-wallet-qr-gateway.php Passed 13 tests
The main PHP file in "WooCommerce cse payment gateway" ver. 1.0 adds more information about the plugin and also serves as the entry point for this plugin
54 characters long description:
Add a payment method to WooCommerce using CSE Gateway.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin180 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 46 | 38 | 180 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 8.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 8 | 88.89% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 11.11% |
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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG files were detected