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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.09MB] [CPU: ▼3.68ms] Passed 4 tests
Server-side resources used by Team Broadcast Status List
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.91 ▼5.30 |
Dashboard /wp-admin | 3.40 ▲0.10 | 53.26 ▲4.11 |
Posts /wp-admin/edit.php | 3.51 ▲0.16 | 50.51 ▼0.96 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 87.34 ▼9.88 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 36.13 ▲1.43 |
TBSL Settings /wp-admin/options-general.php?page=tbsl-setting-admin | 3.31 | 36.78 |
Server storage [IO: ▲0.95MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 17 new files
Database: 1 new table, 8 new options
New tables |
---|
wp_tbsl_channels |
New WordPress options |
---|
widget_team_broadcast_status_list |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
jal_db_version |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Team Broadcast Status List
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲77 | 13.74 ▼0.63 | 1.66 ▼0.15 | 42.21 ▼6.57 |
Dashboard /wp-admin | 2,226 ▲44 | 5.03 ▼0.84 | 97.46 ▼8.82 | 39.13 ▼0.69 |
Posts /wp-admin/edit.php | 2,114 ▲28 | 2.30 ▲0.27 | 35.96 ▼1.84 | 31.30 ▼3.87 |
Add New Post /wp-admin/post-new.php | 1,540 ▲7 | 19.36 ▼3.66 | 639.70 ▼56.68 | 37.14 ▼14.89 |
Media Library /wp-admin/upload.php | 1,414 ▲32 | 4.54 ▲0.27 | 96.60 ▼8.49 | 44.95 ▲0.02 |
TBSL Settings /wp-admin/options-general.php?page=tbsl-setting-admin | 1,769 | 4.36 | 83.75 | 27.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_tbsl_channels
- This plugin does not fully uninstall, leaving 8 options in the database
- jal_db_version
- widget_recent-comments
- widget_team_broadcast_status_list
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 output text when accessed directly:
- > /wp-content/plugins/team-broadcast-status-list/assets/includes/delete.php
- > /wp-content/plugins/team-broadcast-status-list/widget.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following user-side errors
- > GET request to /wp-admin/options-general.php?page=tbsl-setting-admin
- > Network (severe)
wp-content/plugins/team-broadcast-status-list/my-script.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
6 plugin tags: offline, online, stream, twitch, list...
team-broadcast-status-list/widget.php 85% from 13 tests
The entry point to "Team Broadcast Status List" version 1.2.4 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("team-broadcast-status-list.php" instead of "widget.php")
- Description: The description should be shorter than 140 characters (currently 570 characters long)
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
No dangerous file extensions were detected776 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 174 | 114 | 562 |
CSS | 1 | 5 | 0 | 214 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 20.50 |
▷ Minimum class complexity | 15.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 3.17 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
9 PNG files occupy 0.83MB with 0.58MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-4.png | 61.03KB | 24.60KB | ▼ 59.69% |
assets/images/twitch_on.png | 17.81KB | 0.50KB | ▼ 97.20% |
assets/screenshot-2.png | 31.73KB | 13.94KB | ▼ 56.06% |
assets/screenshot-1.png | 72.75KB | 34.00KB | ▼ 53.27% |
assets/icon-256x256.png | 28.18KB | 5.50KB | ▼ 80.49% |