Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼7.04ms] Passed 4 tests
A check of server-side resources used by LeagueManager GameDay Scoreboard widget
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 34.70 ▼4.77 |
Dashboard /wp-admin | 3.31 ▲0.00 | 44.25 ▼3.88 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 44.36 ▼9.24 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 91.59 ▼10.27 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.94 ▼0.33 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 6 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
widget_lm_gd_scoreboard_widget |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for LeagueManager GameDay Scoreboard widget
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 14.48 ▲0.18 | 1.74 ▼0.15 | 40.55 ▼2.91 |
Dashboard /wp-admin | 2,206 ▲15 | 4.86 ▼1.03 | 108.08 ▲6.54 | 37.75 ▼4.00 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.00 ▼0.05 | 40.15 ▼1.12 | 35.02 ▲0.21 |
Add New Post /wp-admin/post-new.php | 1,542 ▲23 | 18.73 ▼4.55 | 612.67 ▼13.49 | 54.81 ▲3.49 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.34 ▲0.19 | 97.36 ▼2.70 | 46.17 ▼1.00 |
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
- Zombie WordPress options detected upon uninstall: 7 options
- widget_recent-posts
- theysaidso_admin_options
- widget_lm_gd_scoreboard_widget
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% 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 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
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/lm-gd-scoreboard/class-lm-gd-scoreboard-widget.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/lm-gd-scoreboard/lm-gd-scoreboard.php:139
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that need to be fixed:
- Screenshots: A description for screenshot #3 is required in lm-gd-scoreboard/assets to your readme.txt
lm-gd-scoreboard/lm-gd-scoreboard.php Passed 13 tests
The entry point to "LeagueManager GameDay Scoreboard widget" version 1.0.1 is a PHP file that has certain tags in its header comment area
49 characters long description:
LeagueManager scoreboard widget for GameDay theme
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected285 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 59 | 75 | 234 |
PO File | 1 | 14 | 33 | 51 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.18 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 7.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 2.29 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 13.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 6 | 42.86% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
PNG images were not found in this plugin