Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.06MB] [CPU: ▼6.62ms] Passed 4 tests
Server-side resources used by Bitcoin Address
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.07 | 38.20 ▼3.82 |
Dashboard /wp-admin | 3.42 ▲0.08 | 51.29 ▼13.67 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 48.57 ▼0.74 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 91.75 ▼8.25 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 42.08 ▲0.24 |
Bitcoin Address Log /wp-admin/options-general.php?page=bitcoin_address_log_page | 3.26 | 36.97 |
Bitcoin Address /wp-admin/options-general.php?page=bitcoin_address_options_page | 3.23 | 35.26 |
Server storage [IO: ▲0.38MB] [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: 76 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_bitcoin_address_log |
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
abd_libs_version |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
bitcoin_address_version |
Browser metrics Passed 4 tests
Bitcoin Address: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲48 | 13.27 ▼1.50 | 1.68 ▼0.41 | 41.81 ▼0.75 |
Dashboard /wp-admin | 2,229 ▲23 | 4.85 ▼1.05 | 102.87 ▲0.02 | 36.69 ▼10.60 |
Posts /wp-admin/edit.php | 2,108 ▲8 | 2.12 ▲0.14 | 37.82 ▼3.28 | 31.86 ▼5.59 |
Add New Post /wp-admin/post-new.php | 1,551 ▲2 | 22.97 ▼0.11 | 718.39 ▼6.92 | 64.93 ▼44.26 |
Media Library /wp-admin/upload.php | 1,411 ▲11 | 4.14 ▼0.02 | 116.39 ▲1.92 | 47.93 ▼1.72 |
Bitcoin Address Log /wp-admin/options-general.php?page=bitcoin_address_log_page | 928 | 2.02 | 26.92 | 30.91 |
Bitcoin Address /wp-admin/options-general.php?page=bitcoin_address_options_page | 851 | 2.14 | 25.65 | 28.50 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- The uninstall procedure failed, leaving 1 table in the database
- wp_bitcoin_address_log
- Zombie WordPress options were found after uninstall: 8 options
- abd_libs_version
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- bitcoin_address_version
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- > GET request to /wp-admin/options-general.php?page=bitcoin_address_options_page
- > 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_address_options_page
- > 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 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please take a closer look at the following
- 45× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'abd_meta_option' not found in wp-content/plugins/bitcoin-address/includes/abd_libs/abstract.class.abd_multiple_choice_meta_option.inc.php:13
- > PHP Fatal error
Uncaught Error: Class 'abd_single_choice_option' not found in wp-content/plugins/bitcoin-address/includes/abd_libs/class.abd_select_option.inc.php:11
- > PHP Fatal error
Uncaught Error: Class 'abd_option' not found in wp-content/plugins/bitcoin-address/includes/abd_libs/class.abd_text_option.inc.php:11
- > PHP Fatal error
Uncaught Error: Class 'abd_text_meta_option' not found in wp-content/plugins/bitcoin-address/includes/abd_libs/class.abd_textarea_meta_option.inc.php:12
- > PHP Fatal error
Uncaught Error: Class 'abd_option' not found in wp-content/plugins/bitcoin-address/includes/abd_libs/abstract.class.abd_multiple_choice_option.inc.php:13
- > PHP Fatal error
Uncaught Error: Class 'abd_ground_floor' not found in wp-content/plugins/bitcoin-address/includes/abd_libs/class.abd_section.inc.php:11
- > PHP Fatal error
Uncaught Error: Class 'abd_multiple_choice_option' not found in wp-content/plugins/bitcoin-address/includes/abd_libs/class.abd_check_option.inc.php:11
- > PHP Fatal error
Uncaught Error: Class 'abd_option' not found in wp-content/plugins/bitcoin-address/includes/abd_libs/class.abd_upload_option.inc.php:11
- > PHP Fatal error
Uncaught Error: Class 'abd_single_choice_meta_option' not found in wp-content/plugins/bitcoin-address/includes/abd_libs/class.abd_radio_meta_option.inc.php:11
- > PHP Fatal error
Uncaught Error: Class 'abd_option' not found in wp-content/plugins/bitcoin-address/includes/abd_libs/class.abd_color_picker_option.inc.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== bitcoin-address ===
)
bitcoin-address/bitcoin_address.php 92% from 13 tests
The main file in "Bitcoin Address" v. 0.8.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("bitcoin-address.php" instead of "bitcoin_address.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected7,034 lines of code in 58 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 53 | 1,576 | 1,467 | 6,691 |
CSS | 2 | 33 | 64 | 307 |
PO File | 1 | 9 | 14 | 29 |
JavaScript | 2 | 0 | 13 | 7 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 18.13 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 233.00 |
Average method complexity | 3.34 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 68 | |
▷ Abstract classes | 8 | 11.76% |
▷ Concrete classes | 60 | 88.24% |
▷ Final classes | 0 | 0.00% |
Methods | 500 | |
▷ Static methods | 133 | 26.60% |
▷ Public methods | 442 | 88.40% |
▷ Protected methods | 28 | 5.60% |
▷ Private methods | 30 | 6.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 44 | |
▷ Global constants | 35 | 79.55% |
▷ Class constants | 9 | 20.45% |
▷ Public constants | 9 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
14 compressed PNG files occupy 0.03MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/abd_libs/css/images/ui-bg_glass_65_ffffff_1x400.png | 0.10KB | 0.10KB | ▼ 5.71% |
includes/abd_libs/css/images/ui-icons_ef8c08_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/abd_libs/css/images/ui-bg_glass_100_fdf5ce_1x400.png | 0.12KB | 0.16KB | 0.00% |
includes/abd_libs/css/images/ui-icons_ffd27a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/abd_libs/css/images/ui-bg_diagonals-thick_20_666666_40x40.png | 0.25KB | 0.15KB | ▼ 37.45% |