Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼13.21ms] Passed 4 tests
A check of server-side resources used by Buy Widget Coinbase
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 40.83 ▼20.18 |
Dashboard /wp-admin | 3.36 ▲0.01 | 49.99 ▼17.68 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 52.42 ▼1.83 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 83.79 ▼10.44 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 33.96 ▼4.52 |
Buy Widget /wp-admin/options-general.php?page=coinbase-buy-widget-options | 3.24 | 27.47 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_buy_widget_coinbase |
Browser metrics Passed 4 tests
An overview of browser requirements for Buy Widget Coinbase
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.34 ▼0.00 | 1.68 ▼0.75 | 39.72 ▼23.78 |
Dashboard /wp-admin | 2,202 ▲22 | 5.63 ▲0.01 | 98.24 ▼25.72 | 41.09 ▼17.83 |
Posts /wp-admin/edit.php | 2,107 ▲7 | 1.98 ▲0.01 | 42.47 ▲1.52 | 36.45 ▲0.18 |
Add New Post /wp-admin/post-new.php | 1,531 ▲2 | 23.27 ▼0.43 | 662.21 ▲31.07 | 59.62 ▲3.22 |
Media Library /wp-admin/upload.php | 1,407 ▲10 | 4.19 ▲0.04 | 97.54 ▼6.53 | 42.29 ▼3.39 |
Buy Widget /wp-admin/options-general.php?page=coinbase-buy-widget-options | 789 | 2.03 | 27.07 | 30.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_buy_widget_coinbase
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/buy-widget-coinbase/buy-widget-coinbase.php:14
- > PHP Fatal error
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 Passed 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
5 plugin tags: bitcoin, ethereum, bitcoincash, coinbase, litecoin
buy-widget-coinbase/buy-widget-coinbase.php Passed 13 tests
The main PHP file in "Buy Widget Coinbase" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
60 characters long description:
Quick integration of the Coinbase "Buy Widget" for WordPress
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
Success! There were no dangerous files found in this plugin147 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 27 | 27 | 147 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 19.00 |
▷ Minimum class complexity | 19.00 |
▷ Maximum class complexity | 19.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin