Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
You still need to fix the following installer errors
- The plugin cannot be installed
- > Warning in wp-content/plugins/gourl-bitcoin-payment-gateway-paid-downloads-membership/gourl.php+6820
chmod(): No such file or directory
Server metrics [RAM: ▲2.63MB] [CPU: ▲6.69ms] Passed 4 tests
An overview of server-side resources used by GoUrl Bitcoin Payment Gateway & Paid Downloads & Membership
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.21 ▲2.75 | 76.63 ▲38.57 |
Dashboard /wp-admin | 6.23 ▲2.89 | 71.21 ▲4.01 |
Posts /wp-admin/edit.php | 6.23 ▲2.88 | 65.25 ▲9.86 |
Add New Post /wp-admin/post-new.php | 7.91 ▲2.02 | 93.02 ▼15.87 |
Media Library /wp-admin/upload.php | 6.23 ▲3.00 | 66.33 ▲28.75 |
Add New File /wp-admin/admin.php?page=gourlfile | 6.23 | 54.34 |
• Summary /wp-admin/admin.php?page=gourl | 6.23 | 70.43 |
Contacts /wp-admin/admin.php?page=gourlcontact | 6.23 | 20.62 |
• Pay-Per-Product /wp-admin/admin.php?page=gourlproducts | 6.23 | 57.44 |
Premium Users /wp-admin/admin.php?page=gourlpaypermembership_users | 6.23 | 56.32 |
• Pay-Per-Membership /wp-admin/admin.php?page=gourlpaypermembership | 6.23 | 58.59 |
________________ /wp-admin/admin.php?page=gourlpaypermembership_user | 6.23 | 54.56 |
Settings /wp-admin/admin.php?page=gourlsettings | 6.23 | 51.78 |
• All Payments /wp-admin/admin.php?page=gourlpayments | 6.23 | 60.82 |
Add-ons /wp-admin/admin.php?page=gourladdons | 6.23 | 18.41 |
Server storage [IO: ▲13.05MB] [DB: ▲0.01MB] 67% from 3 tests
A short overview of filesystem and database impact
It is recommended to fix the following issues
- Illegal file modification detected: 4 files (7.48KB) outside of "wp-content/plugins/gourl-bitcoin-payment-gateway-paid-downloads-membership/" and "wp-content/uploads/"
- (new file) wp-content/plugins/gourl-php/index.html
- (new file) wp-content/plugins/gourl-php/gourl.hash
- (new file) wp-content/plugins/gourl-php/gourl_ipn.php
- (new file) wp-content/plugins/gourl-php/.htaccess
Filesystem: 512 new files
Database: 4 new tables, 34 new options
New tables |
---|
crypto_payments |
crypto_membership |
crypto_products |
crypto_files |
New WordPress options |
---|
widget_recent-comments |
gourlmonetaryunitpublic_key |
gourlmonetaryunitprivate_key |
gourlvertcoinprivate_key |
gourlpotcoinpublic_key |
gourlbitcoinsvpublic_key |
gourlprev_version |
gourldashprivate_key |
gourlversion |
db_upgraded |
... |
Browser metrics Passed 4 tests
Checking browser requirements for GoUrl Bitcoin Payment Gateway & Paid Downloads & Membership
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,877 ▲131 | 13.31 ▼1.27 | 1.85 ▲0.01 | 43.36 ▼2.44 |
Dashboard /wp-admin | 2,266 ▲81 | 5.90 ▼0.00 | 113.47 ▲6.05 | 88.03 ▲42.61 |
Posts /wp-admin/edit.php | 2,163 ▲71 | 2.13 ▲0.08 | 36.27 ▼5.16 | 34.02 ▼2.79 |
Add New Post /wp-admin/post-new.php | 1,575 ▲56 | 21.58 ▼1.56 | 790.51 ▲108.74 | 78.91 ▲16.90 |
Media Library /wp-admin/upload.php | 1,457 ▲75 | 4.23 ▲0.02 | 101.07 ▼10.89 | 70.44 ▲22.70 |
Add New File /wp-admin/admin.php?page=gourlfile | 2,100 | 5.80 | 118.30 | 158.75 |
• Summary /wp-admin/admin.php?page=gourl | 2,520 | 4.82 | 93.84 | 187.90 |
Contacts /wp-admin/admin.php?page=gourlcontact | 2,514 | 4.84 | 99.94 | 107.07 |
• Pay-Per-Product /wp-admin/admin.php?page=gourlproducts | 1,385 | 2.30 | 27.18 | 37.56 |
Premium Users /wp-admin/admin.php?page=gourlpaypermembership_users | 1,148 | 2.20 | 24.76 | 37.42 |
• Pay-Per-Membership /wp-admin/admin.php?page=gourlpaypermembership | 3,126 | 10.35 | 205.43 | 131.80 |
________________ /wp-admin/admin.php?page=gourlpaypermembership_user | 992 | 2.21 | 24.26 | 31.91 |
Settings /wp-admin/admin.php?page=gourlsettings | 1,799 | 1.71 | 26.86 | 80.12 |
• All Payments /wp-admin/admin.php?page=gourlpayments | 1,289 | 2.15 | 24.68 | 38.53 |
Add-ons /wp-admin/admin.php?page=gourladdons | 2,520 | 4.85 | 89.18 | 69.57 |
Uninstaller [IO: ▲1.83MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie tables were found after uninstall: 4 tables
- crypto_payments
- crypto_files
- crypto_products
- crypto_membership
- The uninstall procedure has failed, leaving 34 options in the database
- gourlpeercoinprivate_key
- gourlreddcoinprivate_key
- gourldogecoinprivate_key
- gourlvertcoinpublic_key
- gourlbitcoinprivate_key
- widget_theysaidso_widget
- gourlbitcoincashpublic_key
- gourlspeedcoinprivate_key
- gourlvertcoinprivate_key
- theysaidso_admin_options
- ...
Smoke tests Passed 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)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: Please reduce the number of tags, currently 102 tag instead of maximum 10
- Screenshots: Please add images for these screenshots: #1 (GoUrl Bitcoin Plugin Summary Page), #2 (What Makes Us Unique), #3 (Free Bitcoin Gateway Addons), #4 (Plugin General Settings Page - place free Private/Public keys from Gourl.io and activate bitcoin/cryptocoin payments), #5 (All Payments Page - list of all received payments), #6 (Pay-Per-Membership Settings Page - sell Premium Access to Your Webpages/Videos), #7 (Example Pay-Per-Membership locked page), #8 (Example Pay-Per-View locked page), #9 (Pay-Per-Product Page - list of all paid payments), #10 (Pay-Per-Product New Record Page - add new product for sale), #11 (Example Pay-Per-Product - selling product online), #12 (Example Pay-Per-Download - selling file online), #13 (Pay-Per-Download Page - list of all paid files)
gourl-bitcoin-payment-gateway-paid-downloads-membership/gourl_wordpress.php 77% from 13 tests
"GoUrl Bitcoin Payment Gateway & Paid Downloads & Membership" version 1.6.5's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Description: Please keep the plugin description shorter than 140 characters (currently 397 characters long)
- Requires at least: Required version must match the one declared in readme.txt ("3.5" instead of "2.1.0")
- Main file name: The principal plugin file should be the same as the plugin slug ("gourl-bitcoin-payment-gateway-paid-downloads-membership.php" instead of "gourl_wordpress.php")
Code Analysis 95% from 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 detected128,480 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 28 | 169 | 305 | 113,780 |
PO File | 3 | 1,952 | 2,069 | 7,285 |
PHP | 4 | 2,892 | 1,445 | 7,043 |
JavaScript | 4 | 72 | 36 | 247 |
Markdown | 2 | 61 | 0 | 93 |
HTML | 4 | 8 | 0 | 32 |
PHP code 0% from 2 tests
A short review of cyclomatic complexity and code structure
These items need your attention
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 1,451)
- Method cyclomatic complexity should be reduced to less than 100 (currently 117)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.57 |
Average class complexity | 316.50 |
▷ Minimum class complexity | 28.00 |
▷ Maximum class complexity | 1,451.00 |
Average method complexity | 14.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 117.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 1 | 16.67% |
Methods | 140 | |
▷ Static methods | 4 | 2.86% |
▷ Public methods | 103 | 73.57% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 37 | 26.43% |
Functions | 40 | |
▷ Named functions | 40 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 14 | |
▷ Global constants | 14 | 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
443 compressed PNG files occupy 6.45MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/flags/AIA.png | 0.63KB | 0.73KB | 0.00% |
images/flags/ARG.png | 0.49KB | 0.69KB | 0.00% |
images/flags/GBR.png | 0.58KB | 0.65KB | 0.00% |
images/dir/images/_img02.png | 31.96KB | 10.53KB | ▼ 67.04% |
images/flags/WLF.png | 0.54KB | 0.65KB | 0.00% |