Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▼1.80MB] [CPU: ▼51.12ms] Passed 4 tests
A check of server-side resources used by BZScore - Live Score
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.19 ▼1.28 | 4.60 ▼40.42 |
Dashboard /wp-admin | 2.21 ▼1.10 | 6.77 ▼38.70 |
Posts /wp-admin/edit.php | 2.21 ▼1.15 | 6.60 ▼42.18 |
Add New Post /wp-admin/post-new.php | 2.21 ▼3.68 | 7.25 ▼83.18 |
Media Library /wp-admin/upload.php | 2.21 ▼1.02 | 7.00 ▼30.92 |
BZScore /wp-admin/options-general.php?page=bzscore-live-score/bzscore.php | 2.21 | 7.19 |
Server storage [IO: ▲0.62MB] [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: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for BZScore - Live Score
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,827 ▲81 | 13.36 ▼0.89 | 1.71 ▼0.29 | 39.03 ▼0.86 |
Dashboard /wp-admin | 2,229 ▲41 | 5.26 ▲0.34 | 106.59 ▼7.50 | 41.11 ▲1.10 |
Posts /wp-admin/edit.php | 2,117 ▲28 | 2.32 ▲0.33 | 40.84 ▲2.20 | 34.09 ▼2.40 |
Add New Post /wp-admin/post-new.php | 1,531 ▲17 | 23.12 ▲5.57 | 661.85 ▲39.97 | 36.83 ▼24.47 |
Media Library /wp-admin/upload.php | 1,411 ▲23 | 4.38 ▲0.06 | 100.73 ▼6.51 | 40.31 ▼4.92 |
BZScore /wp-admin/options-general.php?page=bzscore-live-score/bzscore.php | 2,725 | 2.94 | 105.07 | 32.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Uninstall procedure had uncaught errors
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the wp-color-picker handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
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
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=bzscore-live-score/bzscore.php
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the wp-color-picker handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 18 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=bzscore-live-score/bzscore.php
- > Notice in wp-content/plugins/bzscore-live-score/bzscore.php+301
Trying to access array offset on value of type bool
- > GET request to /wp-admin/options-general.php?page=bzscore-live-score/bzscore.php
- > Notice in wp-content/plugins/bzscore-live-score/bzscore.php+296
Undefined index: de
- > GET request to /wp-admin/options-general.php?page=bzscore-live-score/bzscore.php
- > Notice in wp-content/plugins/bzscore-live-score/bzscore.php+296
Undefined index: nl
- > GET request to /wp-admin/options-general.php?page=bzscore-live-score/bzscore.php
- > Notice in wp-content/plugins/bzscore-live-score/bzscore.php+296
Undefined index: pt
- > GET request to /wp-admin/options-general.php?page=bzscore-live-score/bzscore.php
- > Notice in wp-content/plugins/bzscore-live-score/bzscore.php+296
Undefined index: tr
- > GET request to /wp-admin/options-general.php?page=bzscore-live-score/bzscore.php
- > Notice in wp-content/plugins/bzscore-live-score/bzscore.php+296
Undefined index: si
- > GET request to /wp-admin/options-general.php?page=bzscore-live-score/bzscore.php
- > Notice in wp-content/plugins/bzscore-live-score/bzscore.php+296
Undefined index: rs
- > GET request to /wp-admin/options-general.php?page=bzscore-live-score/bzscore.php
- > Notice in wp-content/plugins/bzscore-live-score/bzscore.php+296
Undefined index: it
- > GET request to /wp-admin/options-general.php?page=bzscore-live-score/bzscore.php
- > Notice in wp-content/plugins/bzscore-live-score/bzscore.php+296
Undefined index: fr
- > GET request to /wp-admin/options-general.php?page=bzscore-live-score/bzscore.php
- > Notice in wp-content/plugins/bzscore-live-score/bzscore.php+296
Undefined index: ro
- > GET request to /wp-admin/options-general.php?page=bzscore-live-score/bzscore.php
- > Notice in wp-content/plugins/bzscore-live-score/bzscore.php+281
Undefined index: on
SRP 50% 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 fix the following
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bzscore-live-score/bzscore.php:51
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need your attention:
- Screenshots: A description for screenshot #2 is required in bzscore-live-score/assets to your readme.txt
- Tags: There are too many tags (11 tag instead of maximum 10)
bzscore-live-score/bzscore.php 92% from 13 tests
The main file in "BZScore - Live Score" v. 1.03 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("bzscore-live-score.php" instead of "bzscore.php")
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
Good job! No executable or dangerous file extensions detected243 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 65 | 73 | 238 |
JavaScript | 1 | 2 | 1 | 5 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.19 |
Average class complexity | 12.00 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 12.00 |
Average method complexity | 1.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.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 | 14 | |
▷ Static methods | 1 | 7.14% |
▷ Public methods | 13 | 92.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 7.14% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.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