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.03MB] [CPU: ▼5.59ms] Passed 4 tests
Analyzing server-side resources used by RAPay - Bank dan e-Money Indonesia
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 34.91 ▼6.73 |
Dashboard /wp-admin | 3.34 ▲0.03 | 45.97 ▼6.13 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 49.78 ▲6.59 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.03 | 84.60 ▼15.81 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 36.59 ▲6.30 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for RAPay - Bank dan e-Money Indonesia
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.48 ▼0.08 | 1.79 ▲0.02 | 41.71 ▼2.76 |
Dashboard /wp-admin | 2,203 ▲15 | 5.77 ▼0.04 | 107.18 ▼12.94 | 40.14 ▼2.57 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 1.99 ▲0.00 | 41.75 ▼0.84 | 36.88 ▲0.16 |
Add New Post /wp-admin/post-new.php | 1,533 ▲3 | 23.10 ▲4.93 | 682.00 ▲49.71 | 59.38 ▲4.16 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.20 ▲0.00 | 93.67 ▼11.59 | 41.06 ▼1.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
- Screenshots: Add descriptions for screenshots #1, #2, #3 in toko-ibest-bank-indonesia-for-woocommerce/assets to your readme.txt
toko-ibest-bank-indonesia-for-woocommerce/beipgw.php 85% from 13 tests
The primary PHP file in "RAPay - Bank dan e-Money Indonesia" version 3.0.2 is used by WordPress to initiate all plugin functionality
The following require your attention:
- Description: Please don't use more than 140 characters for the plugin description (currently 157 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("toko-ibest-bank-indonesia-for-woocommerce.php" instead of "beipgw.php")
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
Good job! No executable or dangerous file extensions detected4,780 lines of code in 29 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 1,275 | 712 | 4,780 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 20.70 |
▷ Minimum class complexity | 13.00 |
▷ Maximum class complexity | 21.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 27 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 27 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 188 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 161 | 85.64% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 27 | 14.36% |
Functions | 6 | |
▷ Named functions | 6 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
27 PNG files occupy 0.09MB with 0.02MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bank/assets/logo-bca.png | 2.86KB | 2.07KB | ▼ 27.53% |
bank/assets/logo-allo-bank.png | 4.05KB | 2.75KB | ▼ 32.06% |
e-money/assets/logo-shopeepay.png | 1.79KB | 1.84KB | 0.00% |
e-money/assets/logo-dana.png | 2.08KB | 1.50KB | ▼ 28.03% |
bank/assets/logo-jenius.png | 3.85KB | 2.76KB | ▼ 28.38% |