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
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.35ms] Passed 4 tests
A check of server-side resources used by Pay with LINE Pay
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 39.98 ▲2.39 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.03 ▼10.15 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.81 ▲1.14 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 82.01 ▼20.63 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.36 ▲0.25 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Pay with LINE Pay: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.62 ▼0.04 | 1.74 ▲0.08 | 44.80 ▲0.88 |
Dashboard /wp-admin | 2,198 ▲27 | 5.62 ▲0.03 | 94.48 ▲3.00 | 43.02 ▲1.10 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.99 ▲0.00 | 36.03 ▼1.81 | 36.04 ▲0.89 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.61 ▲0.52 | 700.53 ▲22.52 | 55.56 ▲3.64 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.21 ▼0.04 | 105.41 ▲3.98 | 44.42 ▲0.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
Congratulations! This plugin passed the SRP test
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: payment, line, line pay, woocommerce, taiwan...
wpbr-linepay-tw/wpbr-linepay-tw.php 92% from 13 tests
Analyzing the main PHP file in "Pay with LINE Pay" version 1.1.4
You should first fix the following items:
- Requires at least: The required version number did not match the one declared in readme.txt ("5.9" instead of "3.0.0")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Everything looks great! No dangerous files found in this plugin1,281 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 9 | 314 | 638 | 985 |
PO File | 1 | 60 | 72 | 153 |
JavaScript | 1 | 14 | 6 | 64 |
Markdown | 1 | 19 | 0 | 36 |
YAML | 1 | 0 | 0 | 28 |
CSS | 2 | 1 | 0 | 15 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 13.14 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 2.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 1 | 14.29% |
Methods | 55 | |
▷ Static methods | 11 | 20.00% |
▷ Public methods | 40 | 72.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 15 | 27.27% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 44 | |
▷ Global constants | 4 | 9.09% |
▷ Class constants | 40 | 90.91% |
▷ Public constants | 40 | 100.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/images/linepay-logo.png | 2.01KB | 1.17KB | ▼ 42.12% |