Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼3.29ms] Passed 4 tests
A check of server-side resources used by COINQVEST - Cryptocurrency Payment Gateway for Bitcoin
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 32.58 ▼9.93 |
Dashboard /wp-admin | 3.44 ▲0.14 | 46.24 ▼1.70 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 48.35 ▼0.66 |
Add New Post /wp-admin/post-new.php | 6.04 ▲0.16 | 90.24 ▼0.86 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.58 ▲1.33 |
Logs /wp-admin/admin.php?page=coinqvest-logs | 3.34 | 31.79 |
Payment Buttons /wp-admin/admin.php?page=coinqvest-payment-buttons | 3.60 | 34.69 |
Add Payment Button /wp-admin/admin.php?page=coinqvest-add-payment-button | 3.41 | 30.62 |
Edit Payment Button /wp-admin/admin.php?page=coinqvest-edit-payment-button | 3.41 | 28.50 |
Settings /wp-admin/admin.php?page=coinqvest-settings | 3.46 | 28.79 |
COINQVEST /wp-admin/admin.php?page=coinqvest | 3.36 | 28.35 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 48 new files
Database: 2 new tables, 7 new options
New tables |
---|
wp_coinqvest_payment_buttons |
wp_coinqvest_logs |
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
coinqvest_settings |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for COINQVEST - Cryptocurrency Payment Gateway for Bitcoin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,948 ▲186 | 13.43 ▼0.95 | 8.80 ▲7.09 | 39.30 ▼4.61 |
Dashboard /wp-admin | 2,240 ▲66 | 5.69 ▲0.15 | 91.59 ▼5.19 | 81.55 ▲32.58 |
Posts /wp-admin/edit.php | 2,151 ▲51 | 2.02 ▲0.02 | 39.16 ▼1.73 | 34.72 ▼0.08 |
Add New Post /wp-admin/post-new.php | 1,718 ▲191 | 22.31 ▼0.65 | 707.67 ▲95.03 | 51.09 ▼3.86 |
Media Library /wp-admin/upload.php | 1,448 ▲45 | 4.22 ▲0.06 | 95.42 ▼2.84 | 68.14 ▲26.65 |
Logs /wp-admin/admin.php?page=coinqvest-logs | 835 | 2.01 | 24.41 | 29.22 |
Payment Buttons /wp-admin/admin.php?page=coinqvest-payment-buttons | 1,037 | 1.84 | 27.43 | 25.90 |
Add Payment Button /wp-admin/admin.php?page=coinqvest-add-payment-button | 950 | 1.77 | 28.47 | 30.86 |
Edit Payment Button /wp-admin/admin.php?page=coinqvest-edit-payment-button | 707 | 1.52 | 7.34 | 17.68 |
Settings /wp-admin/admin.php?page=coinqvest-settings | 1,033 | 2.02 | 24.59 | 27.26 |
COINQVEST /wp-admin/admin.php?page=coinqvest | 935 | 2.14 | 25.42 | 29.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie tables were found after uninstall: 2 tables
- wp_coinqvest_payment_buttons
- wp_coinqvest_logs
- Zombie WordPress options detected upon uninstall: 7 options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- coinqvest_settings
- theysaidso_admin_options
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/admin.php?page=coinqvest-edit-payment-button
- > Notice in wp-content/plugins/coinqvest/inc/admin/class-edit-payment-button.php+15
Undefined index: id
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 3× 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/coinqvest/inc/frontend/views/partials-wp-country-list.php:4
- > PHP Fatal error
Uncaught Error: Class 'COINQVEST\\Inc\\Libraries\\WP_List_Table' not found in wp-content/plugins/coinqvest/inc/admin/class-payment-buttons-list-table.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/coinqvest/inc/admin/views/partials-wp-payment-buttons-display.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (22 tag instead of maximum 10)
coinqvest/coinqvest.php 92% from 13 tests
Analyzing the main PHP file in "COINQVEST - Cryptocurrency Payment Gateway for Bitcoin" version 1.1.9
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 210 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected3,299 lines of code in 35 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 29 | 934 | 1,124 | 2,672 |
CSS | 2 | 54 | 4 | 353 |
JavaScript | 4 | 48 | 12 | 274 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 15.39 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 124.00 |
Average method complexity | 3.19 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 35.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 151 | |
▷ Static methods | 19 | 12.58% |
▷ Public methods | 118 | 78.15% |
▷ Protected methods | 23 | 15.23% |
▷ Private methods | 10 | 6.62% |
Functions | 2 | |
▷ Named functions | 1 | 50.00% |
▷ Anonymous functions | 1 | 50.00% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
3 PNG files occupy 0.01MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/coinqvest-logo.png | 11.10KB | 4.14KB | ▼ 62.71% |
assets/images/ajax-close-icon@2x.png | 0.96KB | 0.11KB | ▼ 88.56% |
assets/images/favicon-22x22.png | 1.94KB | 0.89KB | ▼ 54.30% |