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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.15ms] Passed 4 tests
Analyzing server-side resources used by Riipay for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.82 ▼8.92 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.06 ▼9.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.28 ▲0.09 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 94.94 ▲3.12 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 36.28 ▲2.13 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Riipay for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.27 ▼0.10 | 1.59 ▼0.54 | 41.81 ▼1.19 |
Dashboard /wp-admin | 2,189 ▲9 | 5.49 ▼0.09 | 86.34 ▼9.52 | 37.65 ▲0.44 |
Posts /wp-admin/edit.php | 2,103 ▼0 | 1.98 ▲0.02 | 39.77 ▲1.32 | 40.14 ▲4.36 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 18.37 ▼4.81 | 640.10 ▼34.08 | 62.11 ▼5.32 |
Media Library /wp-admin/upload.php | 1,403 ▲3 | 4.17 ▼0.02 | 98.78 ▼8.13 | 41.56 ▼6.72 |
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
It is recommended to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Looking good! No server-side errors or output on direct access of PHP files
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 Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: woocommerce, malaysia, ecommerce, payment gateway, riipay
riipay-for-woocommerce/index.php 85% from 13 tests
The primary PHP file in "Riipay for WooCommerce" version 1.0.19 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("4.4" instead of "3.2")
- Main file name: The principal plugin file should be the same as the plugin slug ("riipay-for-woocommerce.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected889 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 172 | 71 | 859 |
Markdown | 1 | 22 | 0 | 25 |
JavaScript | 1 | 0 | 1 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 46.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 3.20 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 41 | |
▷ Static methods | 1 | 2.44% |
▷ Public methods | 38 | 92.68% |
▷ Protected methods | 1 | 2.44% |
▷ Private methods | 2 | 4.88% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 1 | 20.00% |
▷ Class constants | 4 | 80.00% |
▷ Public constants | 4 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin