Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼6.34ms] Passed 4 tests
A check of server-side resources used by Sports Betting Odds
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.13 | 42.40 ▲1.54 |
Dashboard /wp-admin | 3.43 ▲0.08 | 51.95 ▼16.22 |
Posts /wp-admin/edit.php | 3.48 ▲0.12 | 50.04 ▲0.17 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.13 | 89.41 ▼10.86 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 39.89 ▲4.43 |
All Odds /wp-admin/edit.php?post_type=odds | 3.39 | 40.88 |
Document /wp-admin/edit.php?post_type=odds&page=sports_betting_odds_document | 3.32 | 35.39 |
Add New Odds /wp-admin/post-new.php?post_type=odds | 3.40 | 47.07 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Sports Betting Odds
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲33 | 14.33 ▼0.26 | 1.69 ▼0.12 | 42.68 ▼2.18 |
Dashboard /wp-admin | 2,226 ▲46 | 5.61 ▲0.05 | 93.10 ▲2.40 | 40.33 ▲1.13 |
Posts /wp-admin/edit.php | 2,131 ▲31 | 2.01 ▲0.07 | 35.66 ▼4.56 | 32.87 ▼3.38 |
Add New Post /wp-admin/post-new.php | 1,559 ▲31 | 23.21 ▲0.15 | 675.80 ▼26.41 | 51.74 ▼12.05 |
Media Library /wp-admin/upload.php | 1,428 ▲28 | 4.18 ▲0.01 | 108.89 ▲1.30 | 49.13 ▲2.64 |
All Odds /wp-admin/edit.php?post_type=odds | 1,100 | 1.93 | 31.06 | 33.16 |
Document /wp-admin/edit.php?post_type=odds&page=sports_betting_odds_document | 851 | 1.99 | 25.03 | 27.26 |
Add New Odds /wp-admin/post-new.php?post_type=odds | 1,878 | 3.59 | 63.55 | 34.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
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)
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% 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:
- Screenshots: Please add descriptions for these screenshots #1, #2 in sports-betting-odds/assets to your readme.txt
sports-betting-odds/sports_betting.php 92% from 13 tests
The principal PHP file in "Sports Betting Odds" v. 1.04 is loaded by WordPress automatically on each request
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("sports-betting-odds.php" instead of "sports_betting.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin409 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 179 | 24 | 355 |
CSS | 1 | 2 | 1 | 54 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.33 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 3 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 3 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/bookmaker.png | 17.02KB | 8.97KB | ▼ 47.28% |