Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.21MB] [CPU: ▲0.99ms] Passed 4 tests
Analyzing server-side resources used by GoUrl Paid Memberships Pro - Bitcoin Payment Gateway Addon
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 42.39 ▼5.81 |
Dashboard /wp-admin | 3.52 ▲0.22 | 48.23 ▼7.86 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 55.20 ▲11.62 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.21 | 107.60 ▲23.20 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 36.80 ▲6.03 |
Server storage [IO: ▲0.54MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 25 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by GoUrl Paid Memberships Pro - Bitcoin Payment Gateway Addon
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.34 ▼1.08 | 1.98 ▼0.30 | 43.08 ▼0.58 |
Dashboard /wp-admin | 2,209 ▲21 | 4.89 ▲0.01 | 97.75 ▼10.93 | 39.77 ▲0.80 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.02 ▲0.01 | 43.48 ▲9.60 | 40.14 ▲7.00 |
Add New Post /wp-admin/post-new.php | 1,536 ▲2 | 23.06 ▼0.11 | 689.21 ▲18.00 | 63.75 ▲6.20 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.13 ▼0.13 | 104.76 ▲9.57 | 45.91 ▲2.77 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (Bitcoin Payments Gateway for Paid Memberships Pro - Options), #2 (Paid Memberships Pro Bitcoin Payment Page), #3 (Bitcoin Payment for Paid Memberships Pro Received Successfully), #4 (Paid Memberships Pro Edit Order Page), #5 (Optional - You can place your membership in Bitcoins/Altcoins directly), #6 (Optional Free or Reduced-price Trial Period in Paid Memberships Pro with Bitcoins), #7 (Multiple gateways (Paypal, Stripe, etc + GoUrl Bitcoin/Altcoins))
- Tags: You are using too many tags: 23 tag instead of maximum 10
gourl-bitcoin-paid-memberships-pro/gourl_paidmembershipspro.php 85% from 13 tests
This is the main PHP file of "GoUrl Paid Memberships Pro - Bitcoin Payment Gateway Addon" version 1.1.8, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 574 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("gourl-bitcoin-paid-memberships-pro.php" instead of "gourl_paidmembershipspro.php")
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
Success! There were no dangerous files found in this plugin1,418 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 329 | 178 | 805 |
PO File | 2 | 140 | 155 | 558 |
Markdown | 1 | 30 | 0 | 47 |
HTML | 1 | 2 | 0 | 8 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 173.00 |
▷ Minimum class complexity | 173.00 |
▷ Maximum class complexity | 173.00 |
Average method complexity | 8.48 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 57.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 | 23 | |
▷ Static methods | 21 | 91.30% |
▷ Public methods | 23 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 3 | 75.00% |
▷ Anonymous functions | 1 | 25.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
18 PNG files occupy 0.44MB with 0.13MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/crypto.png | 6.50KB | 3.16KB | ▼ 51.45% |
images/check.png | 17.36KB | 1.86KB | ▼ 89.30% |
screenshot-4.png | 25.64KB | 24.79KB | ▼ 3.31% |
screenshot-2.png | 46.72KB | 45.31KB | ▼ 3.02% |
screenshot-7.png | 39.12KB | 36.84KB | ▼ 5.83% |