Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/broadcast-companion-youtube/bc-companion-notice.php+4
Undefined index: bcyt_channel_id
Server metrics [RAM: ▼1.91MB] [CPU: ▼49.76ms] Passed 4 tests
A check of server-side resources used by Broadcast Companion (YouTube)
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.39 | 5.32 ▼36.79 |
Dashboard /wp-admin | 2.10 ▼1.21 | 7.04 ▼42.20 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 7.61 ▼41.69 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 7.97 ▼78.37 |
Media Library /wp-admin/upload.php | 2.10 ▼1.14 | 7.22 ▼25.53 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for Broadcast Companion (YouTube)
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,957 ▲211 | 14.20 ▼0.17 | 8.89 ▲6.83 | 41.00 ▼3.17 |
Dashboard /wp-admin | 2,256 ▲68 | 4.86 ▼0.97 | 109.93 ▼8.54 | 40.58 ▼2.89 |
Posts /wp-admin/edit.php | 2,138 ▲52 | 2.06 ▲0.07 | 39.86 ▲1.83 | 36.92 ▲4.19 |
Add New Post /wp-admin/post-new.php | 1,533 ▼1 | 17.49 ▼5.35 | 657.23 ▲23.33 | 67.55 ▲18.25 |
Media Library /wp-admin/upload.php | 1,438 ▲53 | 4.24 ▲0.06 | 99.64 ▲2.99 | 43.12 ▲0.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% 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
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/broadcast-companion-youtube/bc-companion-notice.php+4
Undefined index: bcyt_channel_id
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/broadcast-companion-youtube/bc-companion.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/broadcast-companion-youtube/bc-companion-notice.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
There were no plugin tags found
broadcast-companion-youtube/bc-companion.php 92% from 13 tests
"Broadcast Companion (YouTube)" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("broadcast-companion-youtube.php" instead of "bc-companion.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin204 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 9 | 1 | 108 |
PHP | 2 | 34 | 11 | 96 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.08 |
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 | 10 | |
▷ Named functions | 10 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin