Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.11MB] [CPU: ▼7.72ms] Passed 4 tests
Analyzing server-side resources used by AURPAY Paid Memberships Pro (PMP) – Bitcoin Crypto Payment Gateway
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.13 | 38.74 ▼1.48 |
Dashboard /wp-admin | 3.43 ▲0.08 | 49.14 ▼9.76 |
Posts /wp-admin/edit.php | 3.55 ▲0.18 | 46.21 ▼3.61 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 82.94 ▼16.02 |
Media Library /wp-admin/upload.php | 3.36 ▲0.12 | 35.06 ▲0.53 |
Server storage [IO: ▲1.19MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
AURPAY Paid Memberships Pro (PMP) – Bitcoin Crypto Payment Gateway: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 13.92 ▼0.46 | 1.87 ▲0.19 | 44.19 ▲0.43 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▲0.06 | 95.88 ▼1.18 | 41.26 ▲2.05 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▲0.00 | 35.15 ▼1.76 | 33.55 ▼0.17 |
Add New Post /wp-admin/post-new.php | 1,526 ▼8 | 23.19 ▼2.02 | 654.28 ▲0.81 | 56.85 ▼3.88 |
Media Library /wp-admin/upload.php | 1,400 ▲3 | 4.17 ▼0.11 | 96.84 ▼3.20 | 41.85 ▼0.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
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
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
Everything seems fine on the user side
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Please fix the following attributes:
- Tags: There are too many tags (39 tag instead of maximum 10)
aurpay-crypto-payment-for-paid-memberships-pro/aurpay-pmp.php 77% from 13 tests
The entry point to "AURPAY Paid Memberships Pro (PMP) – Bitcoin Crypto Payment Gateway" version 1.0.13 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("aurpay-crypto-payment-for-paid-memberships-pro.php" instead of "aurpay-pmp.php")
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Description: Please don't use more than 140 characters for the plugin description (currently 192 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin1,044 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 156 | 15 | 664 |
CSS | 1 | 41 | 0 | 281 |
SVG | 2 | 0 | 0 | 77 |
JavaScript | 1 | 4 | 1 | 14 |
HTML | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 63.00 |
▷ Minimum class complexity | 63.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 3.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 20 | 90.91% |
▷ Public methods | 22 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 7 | 87.50% |
▷ Anonymous functions | 1 | 12.50% |
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
14 PNG files occupy 0.70MB with 0.51MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/icon.png | 18.52KB | 6.02KB | ▼ 67.48% |
images/stripe.png | 20.76KB | 3.24KB | ▼ 84.41% |
assets/images/img_aurpay-2x.png | 391.65KB | 89.78KB | ▼ 77.08% |
images/creditcards.png | 21.46KB | 3.06KB | ▼ 85.74% |
images/crypto.png | 6.50KB | 3.16KB | ▼ 51.45% |