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.01MB] [CPU: ▼5.64ms] Passed 4 tests
This is a short check of server-side resources used by Bitcoin Cash ETH PayPal Credit Cards Paywall
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 39.34 ▼6.12 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.12 ▼2.92 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.48 ▲0.43 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 89.94 ▼13.96 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 39.80 ▲2.08 |
Bitcoin Paywall /wp-admin/options-general.php?page=bitcoin_paywall | 3.18 | 32.55 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_recent-posts |
bitcoin_paywall_option_name |
bitcoin_paywall_option_name3 |
bitcoin_paywall_option_name4 |
can_compress_scripts |
bitcoin_paywall_option_name2 |
widget_recent-comments |
db_upgraded |
bitcoin_paywall_option_name5 |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
Bitcoin Cash ETH PayPal Credit Cards Paywall: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲33 | 13.20 ▼1.36 | 1.93 ▼0.18 | 43.12 ▼4.86 |
Dashboard /wp-admin | 2,207 ▲16 | 5.83 ▲0.94 | 106.95 ▲0.78 | 40.43 ▲0.46 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 1.97 ▲0.01 | 39.90 ▲1.81 | 35.70 ▼5.71 |
Add New Post /wp-admin/post-new.php | 1,517 ▼2 | 17.48 ▼5.52 | 669.28 ▼16.66 | 70.62 ▲9.66 |
Media Library /wp-admin/upload.php | 1,389 ▲4 | 4.13 ▼0.10 | 109.96 ▼9.08 | 46.86 ▲0.72 |
Bitcoin Paywall /wp-admin/options-general.php?page=bitcoin_paywall | 935 | 2.16 | 26.03 | 33.48 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 12 options in the database
- theysaidso_admin_options
- bitcoin_paywall_option_name5
- bitcoin_paywall_option_name3
- bitcoin_paywall_option_name4
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- bitcoin_paywall_option_name2
- can_compress_scripts
- bitcoin_paywall_option_name6
- ...
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=bitcoin_paywall
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=bitcoin_paywall
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bitcoin-paywall/wp-bitcoinpaywall.php:48
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 90% 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:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4, #5 in bitcoin-paywall/assets to your readme.txt
bitcoin-paywall/wp-bitcoinpaywall.php 85% from 13 tests
The principal PHP file in "Bitcoin Cash ETH PayPal Credit Cards Paywall" v. 2.9 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 183 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("bitcoin-paywall.php" instead of "wp-bitcoinpaywall.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected179 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 53 | 30 | 110 |
HTML | 1 | 26 | 0 | 69 |
PHP code Passed 2 tests
This is a very shot review 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.24 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
No PNG images were found in this plugin