Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼0.15ms] Passed 4 tests
An overview of server-side resources used by Bitcoin Online shortcode
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.54 ▼2.65 |
Dashboard /wp-admin | 3.36 ▲0.06 | 46.88 ▲2.94 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 46.64 ▼0.45 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 89.22 ▲3.66 |
Media Library /wp-admin/upload.php | 3.29 ▲0.06 | 35.89 ▼0.42 |
Bitcoin online /wp-admin/options-general.php?page=bitcoin-online | 3.26 | 31.93 |
Server storage [IO: ▲0.11MB] [DB: ▲0.07MB] Passed 3 tests
Filesystem and database footprint
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for Bitcoin Online shortcode
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,054 ▲293 | 14.30 ▼0.05 | 20.32 ▲18.17 | 42.22 ▼7.81 |
Dashboard /wp-admin | 2,199 ▲22 | 5.59 ▲0.01 | 83.64 ▼3.25 | 38.39 ▼2.02 |
Posts /wp-admin/edit.php | 2,104 ▲25 | 2.00 ▼0.04 | 41.87 ▲6.65 | 35.89 ▲1.18 |
Add New Post /wp-admin/post-new.php | 1,531 ▼4 | 23.24 ▲4.93 | 637.10 ▲9.31 | 74.54 ▼12.22 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.19 ▲0.01 | 95.28 ▼1.99 | 43.91 ▲2.72 |
Bitcoin online /wp-admin/options-general.php?page=bitcoin-online | 994 | 2.20 | 36.01 | 30.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
Please take a closer look at the following
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/bitcoin-online/public/views/public.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/bitcoin-online/admin/views/admin.php:20
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=bitcoin-online
- > Network (severe)
wp-content/plugins/bitcoin-online/admin/assets/js/jquery.number.min.js - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/options-general.php?page=bitcoin-online
- > Network (severe)
wp-content/plugins/bitcoin-online/admin/assets/js/admin.js?ver=1.1.0 39 WebSocket connection to 'ws://markets.blockchain.info:8080/ws/markets/chat/markets_mtgox_USD?_=1391587028779' failed: Error in connection establishment: net::ERR_SSL_PROTOCOL_ERROR
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% 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 to be fixed:
- Tags: There are too many tags (12 tag instead of maximum 10)
bitcoin-online/bitcoin_online.php 85% from 13 tests
The main PHP script in "Bitcoin Online shortcode" version 1.1 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("bitcoin-online.php" instead of "bitcoin_online.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin339 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 117 | 315 | 291 |
JavaScript | 1 | 16 | 0 | 48 |
CSS | 2 | 0 | 2 | 0 |
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.27 |
Average class complexity | 11.00 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 24 | |
▷ Static methods | 7 | 29.17% |
▷ Public methods | 18 | 75.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 25.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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
There were not PNG files found in your plugin