Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/boingball-medaltv-shortcode/boingball-medaltv-shortcode-plugin.php+80
Methods with the same name as their class will not be constructors in a future version of PHP; BBMedalTV_GetLatest_Post has a deprecated constructor
Server metrics [RAM: ▼1.91MB] [CPU: ▼52.67ms] Passed 4 tests
Server-side resources used by Boingball Medal.TV ShortCode Plugin
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.08 ▼1.38 | 4.62 ▼34.92 |
Dashboard /wp-admin | 2.10 ▼1.21 | 5.36 ▼46.20 |
Posts /wp-admin/edit.php | 2.10 ▼1.26 | 5.51 ▼41.70 |
Add New Post /wp-admin/post-new.php | 2.10 ▼3.79 | 6.76 ▼87.86 |
Media Library /wp-admin/upload.php | 2.10 ▼1.13 | 4.99 ▼25.80 |
BB MedalTV Plugin /wp-admin/options-general.php?page=BBMedalTV-plugin | 2.10 | 4.67 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Boingball Medal.TV ShortCode Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.54 ▼0.84 | 1.64 ▼0.17 | 39.32 ▼9.90 |
Dashboard /wp-admin | 2,210 ▲19 | 4.83 ▼0.21 | 109.39 ▼8.25 | 44.01 ▼2.37 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.00 | 39.09 ▲2.85 | 36.62 ▲1.92 |
Add New Post /wp-admin/post-new.php | 1,550 ▲36 | 18.24 ▲0.60 | 619.21 ▼56.98 | 68.49 ▲17.03 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.20 ▼0.01 | 93.29 ▼16.18 | 38.71 ▼8.90 |
BB MedalTV Plugin /wp-admin/options-general.php?page=BBMedalTV-plugin | 783 | 2.06 | 25.28 | 28.68 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- The plugin did not uninstall gracefully
- > Deprecated in wp-content/plugins/boingball-medaltv-shortcode/boingball-medaltv-shortcode-plugin.php+80
Methods with the same name as their class will not be constructors in a future version of PHP; BBMedalTV_GetLatest_Post has a deprecated constructor
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=BBMedalTV-plugin
- > Deprecated in wp-content/plugins/boingball-medaltv-shortcode/boingball-medaltv-shortcode-plugin.php+80
Methods with the same name as their class will not be constructors in a future version of PHP; BBMedalTV_GetLatest_Post has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=BBMedalTV-plugin
- > Deprecated in wp-content/plugins/boingball-medaltv-shortcode/boingball-medaltv-shortcode-plugin.php+174
Function create_function() is deprecated
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=BBMedalTV-plugin
- > Notice in wp-content/plugins/boingball-medaltv-shortcode/boingball-medaltv-shortcode-plugin.php+66
Trying to access array offset on value of type bool
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
Almost there! Just fix the following items
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/boingball-medaltv-shortcode/boingball-medaltv-shortcode-plugin.php:16
- > PHP Fatal error
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
4 plugin tags: videos, medaltv, gaming, api
boingball-medaltv-shortcode/boingball-medaltv-shortcode-plugin.php 85% from 13 tests
The entry point to "Boingball Medal.TV ShortCode Plugin" version 1.2 is a PHP file that has certain tags in its header comment area
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("boingball-medaltv-shortcode.php" instead of "boingball-medaltv-shortcode-plugin.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 145 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected94 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 39 | 43 | 94 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 14.00 |
▷ Minimum class complexity | 14.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 7.50 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 13.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 | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin