Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.26ms] Passed 4 tests
A check of server-side resources used by pl8app Cryptocurrency BEP20 Payment Gateway For Restropress
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 35.75 ▼9.16 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.37 ▼1.78 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 47.80 ▲5.60 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 81.20 ▼7.72 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 35.02 ▼2.38 |
Server storage [IO: ▲4.72MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 64 new files
Database: 3 new tables, 7 new options
New tables |
---|
wp_pl8app_rpr_pro_payments |
wp_pl8app_rpr_pro_hd_addresses |
wp_pl8app_rpr_pro_carousel |
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
pl8app_rpr_pro_redux_options |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by pl8app Cryptocurrency BEP20 Payment Gateway For Restropress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.22 ▼1.16 | 5.11 ▲2.64 | 39.87 ▼4.38 |
Dashboard /wp-admin | 2,209 ▲57 | 5.86 ▲0.26 | 97.85 ▼15.80 | 38.66 ▼2.89 |
Posts /wp-admin/edit.php | 2,089 ▲18 | 2.00 ▲0.01 | 38.93 ▲0.48 | 32.87 ▼3.84 |
Add New Post /wp-admin/post-new.php | 1,533 ▲19 | 23.08 ▲5.38 | 669.74 ▼23.42 | 55.17 ▼2.72 |
Media Library /wp-admin/upload.php | 1,391 ▼0 | 4.21 ▼0.02 | 98.06 ▼6.82 | 42.89 ▲0.25 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- pl8app_rpr_pro_redux_options
Smoke tests 75% from 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 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 4× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/pl8app-cryptocurrency-bep20-payment-gateway-for-restropress/src/pl8app_rpr_Hooks.php:245
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pl8app-cryptocurrency-bep20-payment-gateway-for-restropress/pl8app-cryptocurrency-bep20-payment-gateway-for-restropress.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/pl8app-cryptocurrency-bep20-payment-gateway-for-restropress/src/pl8app_rpr_Admin.php:20
- > PHP Fatal error
Uncaught Error: Class 'pl8app_rpr_Cryptocurrencies' not found in wp-content/plugins/pl8app-cryptocurrency-bep20-payment-gateway-for-restropress/src/pl8app_rpr_Gateway.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 25 tag instead of maximum 10
pl8app-cryptocurrency-bep20-payment-gateway-for-restropress/pl8app-cryptocurrency-bep20-payment-gateway-for-restropress.php Passed 13 tests
The entry point to "pl8app Cryptocurrency BEP20 Payment Gateway For Restropress" version 1.0 is a PHP file that has certain tags in its header comment area
59 characters long description:
pl8app Cryptocurrency BEP20 Payment Gateway For RestroPress
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
Success! There were no dangerous files found in this plugin23,751 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 4 | 1 | 1 | 9,571 |
PHP | 29 | 2,580 | 1,594 | 8,352 |
CSS | 5 | 1,566 | 11 | 4,892 |
JavaScript | 7 | 58 | 49 | 936 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 34.88 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 233.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 40 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 40 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 411 | |
▷ Static methods | 234 | 56.93% |
▷ Public methods | 377 | 91.73% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 34 | 8.27% |
Functions | 42 | |
▷ Named functions | 41 | 97.62% |
▷ Anonymous functions | 1 | 2.38% |
Constants | 60 | |
▷ Global constants | 49 | 81.67% |
▷ Class constants | 11 | 18.33% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
5 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/tmp_qrcode.png | 0.87KB | 0.85KB | ▼ 2.26% |
assets/img/1_pay_mm_off.png | 25.77KB | 11.17KB | ▼ 56.67% |
assets/img/1_pay_mm_over.png | 26.63KB | 11.88KB | ▼ 55.39% |
assets/img/pl8app_logo.png | 24.22KB | 3.50KB | ▼ 85.54% |
assets/img/0x_logo_small.png | 0.81KB | 0.67KB | ▼ 17.41% |