Benchmarks
Plugin footprint 23% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- Install procedure validation failed for this plugin
- > Warning in wp-content/plugins/simple-bitcoin-faucets/bonds/bonds.php+15
include_once(wp-content/plugins/bonds_extra/bonds_extra.php): failed to open stream: No such file or directory
Server metrics [RAM: ▼2.13MB] [CPU: ▼341.76ms] Passed 4 tests
This is a short check of server-side resources used by Bitcoin Satoshi Tools : Faucets, Visitor Rewarder, Satoshi Games, Referral Program
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.24 ▼1.27 | 5.66 ▼45.30 |
Dashboard /wp-admin | 2.26 ▼1.15 | 5.41 ▼27.39 |
Posts /wp-admin/edit.php | 2.26 ▼1.38 | 6.62 ▼31.43 |
Add New Post /wp-admin/post-new.php | 2.26 ▼4.71 | 5.38 ▼1,262.93 |
Media Library /wp-admin/upload.php | 2.26 ▼1.04 | 4.35 ▼21.16 |
Bitcoin Satoshi Tools /wp-admin/options-general.php?page=simple-bitcoin-faucets | 2.26 | 6.22 |
Server storage [IO: ▲4.56MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 192 new files
Database: 3 new tables, 1 new option
New tables |
---|
wp_sb_Keys |
wp_sb_Blocks |
wp_sb_Bonds |
New WordPress options |
---|
sfbg_sb_bonds_db_version |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Bitcoin Satoshi Tools : Faucets, Visitor Rewarder, Satoshi Games, Referral Program
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,801 ▲79 | 15.90 ▲0.22 | 6.40 ▼0.37 | 2.69 ▼0.02 |
Dashboard /wp-admin | 2,897 ▲36 | 6.10 ▼0.04 | 121.55 ▼18.18 | 156.77 ▼9.40 |
Posts /wp-admin/edit.php | 2,693 ▼1 | 3.25 ▲0.01 | 63.50 ▼3.51 | 141.47 ▼6.82 |
Add New Post /wp-admin/post-new.php | 1,636 ▼116 | 16.51 ▼5.08 | 423.65 ▼43.59 | 164.14 ▼3.81 |
Media Library /wp-admin/upload.php | 1,700 ▼1 | 5.51 ▲0.02 | 142.59 ▼1.80 | 184.16 ▼2.62 |
Bitcoin Satoshi Tools /wp-admin/options-general.php?page=simple-bitcoin-faucets | 5,516 | 5.18 | 207.51 | 350.45 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall without warnings or errors
- > Warning in wp-content/plugins/simple-bitcoin-faucets/bonds/bonds.php+15
include_once(wp-content/plugins/bonds_extra/bonds_extra.php): failed to open stream: No such file or directory
- Zombie tables were found after uninstall: 3 tables
- wp_sb_Blocks
- wp_sb_Keys
- wp_sb_Bonds
- This plugin did not uninstall successfully, leaving 1 option in the database
- sfbg_sb_bonds_db_version
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=simple-bitcoin-faucets
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/simple-bitcoin-faucets/bonds/bonds.php+15
include_once(wp-content/plugins/bonds_extra/bonds_extra.php): failed to open stream: No such file or directory
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=simple-bitcoin-faucets
- > POST request to /wp-admin/admin-ajax.php
- > Warning in wp-content/plugins/simple-bitcoin-faucets/bonds/bonds.php+15
include_once(): Failed opening 'wp-content/plugins/bonds_extra/bonds_extra.php' for inclusion (include_path='.:/usr/share/php')
- > GET request to /wp-admin/options-general.php?page=simple-bitcoin-faucets
- > Notice in wp-content/plugins/simple-bitcoin-faucets/bonds/bonds.php+494
Undefined variable: ret
- > GET request to /wp-admin/options-general.php?page=simple-bitcoin-faucets
- > Warning in wp-content/plugins/simple-bitcoin-faucets/sbf_admin_faucets.php+46
Use of undefined constant fid - assumed 'fid' (this will throw an Error in a future version of PHP)
SRP 0% from 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
Please fix the following
- 21× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/simple-bitcoin-faucets/templates/templatePCA_RU.php
- > /wp-content/plugins/simple-bitcoin-faucets/templates/templatePCD_EN.php
- > /wp-content/plugins/simple-bitcoin-faucets/templates/templatePCA_EN.php
- > /wp-content/plugins/simple-bitcoin-faucets/templates/templatePCD_RU.php
- > /wp-content/plugins/simple-bitcoin-faucets/templates/template1.php
- > /wp-content/plugins/simple-bitcoin-faucets/lines/lines_was.php
- > /wp-content/plugins/simple-bitcoin-faucets/templates/template3.php
- > /wp-content/plugins/simple-bitcoin-faucets/templates/templatePCP_EN.php
- > /wp-content/plugins/simple-bitcoin-faucets/templates/template5.php
- > /wp-content/plugins/simple-bitcoin-faucets/videopoker/cm_withdraw.php
- 69× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
include_once(_bottom_ads.php): failed to open stream: No such file or directory in wp-content/plugins/simple-bitcoin-faucets/2048/index.php on line 123
- > PHP Warning
include_once(_right_ads.php): failed to open stream: No such file or directory in wp-content/plugins/simple-bitcoin-faucets/lines/lines_was.php on line 262
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/simple-bitcoin-faucets/sbf_admin_minesweeper.php:4
- > PHP Warning
include_once(): Failed opening '_right_ads.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/simple-bitcoin-faucets/lines/lines.php on line 90
- > PHP Notice
Undefined index: vp_s_minimum_initial_bonus in wp-content/plugins/simple-bitcoin-faucets/videopoker/cm_withdraw.php on line 8
- > PHP Notice
Undefined index: vp_s_maximum_deposit in wp-content/plugins/simple-bitcoin-faucets/videopoker/cm_withdraw.php on line 12
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/simple-bitcoin-faucets/sbf_admin_paidcontent.php:4
- > PHP Warning
include_once(): Failed opening '_top_ads.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/simple-bitcoin-faucets/2048/index.php on line 85
- > PHP Warning
include_once(_right_ads.php): failed to open stream: No such file or directory in wp-content/plugins/simple-bitcoin-faucets/minesweeper/index.php on line 122
- > PHP Notice
Undefined index: vp_s_maximum_initial_bonus in wp-content/plugins/simple-bitcoin-faucets/videopoker/cm_withdraw.php on line 9
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: Please add images for these screenshots: #1 (**Basic Bitcoin Faucet for Wordpress** - No banners yet), #2 (**WebSurfer Rewarder Mark** - You can configure size and position.), #3 (**Rewarder configuration** - Changes visualized), #4 (**BlockRain configuration** - Nothing fancy, and you can test the game(play) and Faucets right here.), #5 (**2048 configuration** - To play use your arrow keys to move the tiles, when two tiles with the same number touch, they merge into one.), #6 (**Lines configuration** - AKA "Color Lines"), #7 (**Minesweeper configuration** - Classic), #8 (**Video Poker** - Play mode), #9 (**Video Poker** - Admin mode), #10 (**Bubble Shooter** - Great fun), #11 (**Satohi Bonds** - Satoshi Bond Manager)
- Tags: You are using too many tags: 22 tag instead of maximum 10
simple-bitcoin-faucets/simple-bitcoin-faucets.php Passed 13 tests
The main file in "Bitcoin Satoshi Tools : Faucets, Visitor Rewarder, Satoshi Games, Referral Program" v. 1.7.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
78 characters long description:
Satoshi Bonds, Games, Faucets, Visitor Rewarder, Referral Program, and more...
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
No dangerous file extensions were detected13,881 lines of code in 82 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 43 | 1,278 | 640 | 5,861 |
JavaScript | 24 | 1,165 | 1,144 | 5,832 |
CSS | 13 | 167 | 97 | 1,266 |
PO File | 1 | 299 | 361 | 763 |
Markdown | 1 | 58 | 0 | 159 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.16 |
Average class complexity | 15.00 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 15.00 |
Average method complexity | 1.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.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 | 49 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 49 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 56 | |
▷ Named functions | 56 | 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 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
34 PNG files occupy 1.89MB with 0.85MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
minesweeper/css/smoothness/images/ui-icons_454545_256x240.png | 6.83KB | 4.17KB | ▼ 38.86% |
screenshot-9.png | 578.10KB | 166.93KB | ▼ 71.13% |
blockrain/assets/blocks/custom/leftZag.png | 1.30KB | 0.56KB | ▼ 56.67% |
sbf_lib/bitcoin_64.png | 5.98KB | 2.88KB | ▼ 51.84% |
minesweeper/css/smoothness/images/ui-icons_cd0a0a_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |