Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.65ms] Passed 4 tests
An overview of server-side resources used by Live Score
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 31.99 ▼10.25 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.74 ▼4.67 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.04 ▼0.05 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.54 ▼12.82 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.43 ▼2.86 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Live Score
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.29 ▼1.09 | 1.62 ▼0.11 | 40.51 ▼2.53 |
Dashboard /wp-admin | 2,203 ▲15 | 5.87 ▲0.99 | 93.18 ▼11.06 | 38.01 ▼5.74 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▼0.00 | 32.19 ▼8.29 | 31.37 ▼5.20 |
Add New Post /wp-admin/post-new.php | 1,538 ▲24 | 23.40 ▲5.87 | 640.57 ▼28.55 | 50.50 ▼11.73 |
Media Library /wp-admin/upload.php | 1,379 ▼9 | 4.19 ▲0.02 | 99.63 ▼11.79 | 42.82 ▼4.55 |
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
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 take a closer look at the following
- 3× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/live-score/livedet.php
- > /wp-content/plugins/live-score/livedat.php
- > /wp-content/plugins/live-score/styles.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: plugin_url in wp-content/plugins/live-score/livedet.php on line 19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/live-score/livescore.php:18
- > PHP Notice
Undefined variable: plugin_url in wp-content/plugins/live-score/livedet.php on line 20
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser 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
Please fix the following attributes:
- Tags: Please reduce the number of tags, currently 23 tag instead of maximum 10
- Screenshots: Please a description for screenshot #2 in live-score/assets to your readme.txt
live-score/livescore.php 92% from 13 tests
Analyzing the main PHP file in "Live Score" version 3.7
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("live-score.php" instead of "livescore.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Everything looks great! No dangerous files found in this plugin110 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 15 | 11 | 110 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin