Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▼6.06ms] Passed 4 tests
A check of server-side resources used by PUBLIQ Wallet
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.32 ▼1.31 |
Dashboard /wp-admin | 3.35 ▲0.00 | 46.31 ▼12.43 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 49.22 ▲3.73 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 81.21 ▼14.23 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 40.97 ▲5.93 |
Welcome To PUBLIQ /wp-admin/index.php?page=pbq-wallet-about | 3.24 | 29.08 |
Server storage [IO: ▲14.92MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 58 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by PUBLIQ Wallet
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲48 | 14.42 ▲0.21 | 1.70 ▼0.07 | 42.97 ▲2.86 |
Dashboard /wp-admin | 2,228 ▲50 | 5.60 ▼0.04 | 80.44 ▼16.51 | 74.74 ▲29.84 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 1.96 ▼0.04 | 35.32 ▼1.29 | 37.22 ▲6.22 |
Add New Post /wp-admin/post-new.php | 1,553 ▲25 | 22.82 ▼0.41 | 727.02 ▲100.83 | 59.07 ▲7.59 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.19 ▲0.07 | 96.62 ▼17.33 | 69.79 ▲22.74 |
Welcome To PUBLIQ /wp-admin/index.php?page=pbq-wallet-about | 846 | 12.25 | 107.03 | 57.93 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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 fix the following
- 6× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/publiq-wallet/views/signin-password-dialog.php
- > /wp-content/plugins/publiq-wallet/templates/admin/signin.php
- > /wp-content/plugins/publiq-wallet/templates/admin/signup.php
- > /wp-content/plugins/publiq-wallet/views/signup-password-dialog.php
- > /wp-content/plugins/publiq-wallet/templates/admin/wallet.php
- > /wp-content/plugins/publiq-wallet/views/signup-dialog.php
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Warning
Use of undefined constant PBQ_WALLET_PLUGIN_URL - assumed 'PBQ_WALLET_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/publiq-wallet/templates/admin/wallet.php on line 195
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/publiq-wallet/templates/pages/signin-password.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/publiq-wallet/templates/pages/signup-password.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/publiq-wallet/views/signin-password-page.php:3
- > PHP Warning
Use of undefined constant PBQ_WALLET_PLUGIN_URL - assumed 'PBQ_WALLET_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/publiq-wallet/templates/admin/wallet.php on line 79
- > PHP Warning
Use of undefined constant PBQ_WALLET_PLUGIN_URL - assumed 'PBQ_WALLET_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/publiq-wallet/templates/admin/wallet.php on line 210
- > PHP Warning
Use of undefined constant PBQ_WALLET_PLUGIN_URL - assumed 'PBQ_WALLET_PLUGIN_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/publiq-wallet/templates/admin/wallet.php on line 184
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/publiq-wallet/index.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/publiq-wallet/views/signup-password-page.php:3
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: wallet, blockchain, cryptocurrency
publiq-wallet/index.php 77% from 13 tests
The principal PHP file in "PUBLIQ Wallet" v. 1.0.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("publiq-wallet.php" instead of "index.php")
- Domain Path: The domain path points to an invalid folder, "/languages" does not exist
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
Everything looks great! No dangerous files found in this plugin13,272 lines of code in 50 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 3 | 1,137 | 445 | 7,679 |
JavaScript | 25 | 1,393 | 623 | 3,855 |
Sass | 4 | 96 | 0 | 922 |
PHP | 11 | 83 | 16 | 728 |
SVG | 5 | 0 | 4 | 60 |
JSON | 2 | 0 | 0 | 28 |
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 issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 17 | |
▷ Named functions | 15 | 88.24% |
▷ Anonymous functions | 2 | 11.76% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG images were found in this plugin