Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼1.44ms] Passed 4 tests
Server-side resources used by Easy FIBOS pay
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 35.56 ▼5.15 |
Dashboard /wp-admin | 3.36 ▲0.05 | 48.69 ▲0.49 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 48.14 ▼3.93 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 93.49 ▲2.83 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 36.14 ▲2.84 |
Fo支付设置 /wp-admin/options-general.php?page=_foez_pay_settings | 3.24 | 29.83 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Easy FIBOS pay
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.29 ▼1.27 | 1.65 ▼0.02 | 43.90 ▼1.95 |
Dashboard /wp-admin | 2,210 ▲22 | 5.02 ▼0.83 | 110.25 ▲2.22 | 43.12 ▼0.22 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▼0.01 | 40.22 ▲2.43 | 39.03 ▲7.62 |
Add New Post /wp-admin/post-new.php | 1,539 ▲3 | 23.50 ▲0.07 | 645.02 ▼60.33 | 50.64 ▼6.88 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.21 ▲0.01 | 95.74 ▼10.14 | 46.21 ▲2.89 |
Fo支付设置 /wp-admin/options-general.php?page=_foez_pay_settings | 788 | 2.06 | 24.95 | 68.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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 applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 1× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-easy-fibos-pay/wp-easy-fibos-pay.php:68
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
1 plugin tags: payment
wp-easy-fibos-pay/wp-easy-fibos-pay.php 92% from 13 tests
The principal PHP file in "Easy FIBOS pay" v. 0.3 is loaded by WordPress automatically on each request
The following require your attention:
- Requires at least: Required version must be the same as the one declared in readme.txt ("4.6" instead of "5.1")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected273 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 105 | 111 | 273 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 11 | 78.57% |
▷ Anonymous functions | 3 | 21.43% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
3 PNG files occupy 0.68MB with 0.47MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-3.png | 87.37KB | 30.22KB | ▼ 65.42% |
assets/screenshot-1.png | 68.94KB | 23.70KB | ▼ 65.63% |
assets/screenshot-2.png | 540.74KB | 126.28KB | ▼ 76.65% |