Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.25MB] [CPU: ▼1.42ms] Passed 4 tests
Server-side resources used by Hockey GMS Feed
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.72 ▲0.25 | 42.71 ▲4.99 |
Dashboard /wp-admin | 3.56 ▲0.26 | 43.67 ▼2.18 |
Posts /wp-admin/edit.php | 3.68 ▲0.32 | 47.44 ▲1.76 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 83.65 ▼8.27 |
Media Library /wp-admin/upload.php | 3.49 ▲0.25 | 36.79 ▲3.02 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Hockey GMS Feed
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,807 ▲46 | 14.34 ▼0.19 | 1.71 ▲0.03 | 43.39 ▲4.12 |
Dashboard /wp-admin | 2,208 ▲31 | 5.54 ▼0.01 | 80.48 ▼9.53 | 38.52 ▼0.94 |
Posts /wp-admin/edit.php | 2,113 ▲16 | 1.99 ▼0.00 | 34.51 ▼3.59 | 32.92 ▼4.16 |
Add New Post /wp-admin/post-new.php | 1,539 ▲11 | 23.69 ▲0.47 | 629.31 ▼63.75 | 53.20 ▲2.49 |
Media Library /wp-admin/upload.php | 1,410 ▲7 | 4.19 ▼0.00 | 94.32 ▼5.79 | 42.91 ▼0.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: gms, hockey
eh-gms-feed/eh-gms-feed.php Passed 13 tests
The main PHP file in "Hockey GMS Feed" ver. 3.8 adds more information about the plugin and also serves as the entry point for this plugin
57 characters long description:
Show fixtures, results and tables from England Hockey GMS
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin870 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 61 | 14 | 718 |
JavaScript | 1 | 11 | 1 | 125 |
CSS | 1 | 6 | 7 | 27 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.59 |
Average class complexity | 106.00 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 192.00 |
Average method complexity | 5.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 38.10% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 26 | 61.90% |
Functions | 5 | |
▷ Named functions | 3 | 60.00% |
▷ Anonymous functions | 2 | 40.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.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