Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.23MB] [CPU: ▼6.64ms] Passed 4 tests
A check of server-side resources used by Buzz for Video Game Award Programs
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.86 ▲0.35 | 45.00 ▲2.10 |
Dashboard /wp-admin | 3.69 ▲0.30 | 55.05 ▼11.60 |
Posts /wp-admin/edit.php | 3.80 ▲0.41 | 55.23 ▲6.56 |
Add New Post /wp-admin/post-new.php | 5.83 ▼0.10 | 76.07 ▼19.59 |
Media Library /wp-admin/upload.php | 3.61 ▲0.34 | 41.32 ▲2.55 |
Server storage [IO: ▲0.16MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Buzz for Video Game Award Programs
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.14 ▼0.53 | 1.93 ▲0.16 | 39.63 ▼4.81 |
Dashboard /wp-admin | 2,198 ▲24 | 5.58 ▲0.05 | 95.73 ▲2.23 | 43.00 ▼1.72 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.98 ▼0.01 | 40.31 ▲3.83 | 34.97 ▼0.47 |
Add New Post /wp-admin/post-new.php | 8,097 ▲6,571 | 26.06 ▲2.23 | 927.96 ▲217.10 | 86.65 ▲16.27 |
Media Library /wp-admin/upload.php | 1,397 ▲6 | 4.20 ▲0.03 | 100.02 ▲6.37 | 43.78 ▼1.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
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 take a closer look at the following
- 14× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'custom_add_meta_box' not found in wp-content/plugins/buzz-for-video-game-award-programs/igf-awards.php:54
- > PHP Fatal error
Uncaught Error: Class 'custom_add_meta_box' not found in wp-content/plugins/buzz-for-video-game-award-programs/gang-awards.php:94
- > PHP Fatal error
Uncaught Error: Class 'custom_add_meta_box' not found in wp-content/plugins/buzz-for-video-game-award-programs/vga-awards.php:127
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template_directory_uri() in wp-content/plugins/buzz-for-video-game-award-programs/buzzmetaboxes/meta_box.php:4
- > PHP Fatal error
Uncaught Error: Class 'custom_add_meta_box' not found in wp-content/plugins/buzz-for-video-game-award-programs/mtv-game-awards.php:66
- > PHP Fatal error
Uncaught Error: Class 'custom_add_meta_box' not found in wp-content/plugins/buzz-for-video-game-award-programs/tec-awards.php:22
- > PHP Fatal error
Uncaught Error: Class 'custom_add_meta_box' not found in wp-content/plugins/buzz-for-video-game-award-programs/golden-satellite-awards.php:34
- > PHP Fatal error
Uncaught Error: Class 'custom_add_meta_box' not found in wp-content/plugins/buzz-for-video-game-award-programs/aias-awards.php:128
- > PHP Fatal error
Uncaught Error: Class 'custom_add_meta_box' not found in wp-content/plugins/buzz-for-video-game-award-programs/golden-joystick-awards.php:91
- > PHP Fatal error
Uncaught Error: Call to undefined function get_template_directory_uri() in wp-content/plugins/buzz-for-video-game-award-programs/buzzmetaboxes/meta_box.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: meta box, video game, programm, games, awards...
buzz-for-video-game-award-programs/awards-meta-box.php 85% from 13 tests
The main file in "Buzz for Video Game Award Programs" v. 1.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 172 characters long)
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("buzz-for-video-game-award-programs.php" instead of "awards-meta-box.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin2,631 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 14 | 225 | 141 | 1,865 |
CSS | 3 | 57 | 63 | 627 |
JavaScript | 2 | 30 | 29 | 139 |
PHP code Passed 2 tests
Analyzing 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 | 40.00 |
▷ Minimum class complexity | 40.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 7.50 |
▷ Minimum method complexity | 2.00 |
▷ Maximum method complexity | 19.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 | 6 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 6 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 8 | |
▷ Named functions | 8 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
buzzmetaboxes/images/chosen-sprite.png | 0.55KB | 0.70KB | 0.00% |
buzzmetaboxes/images/sprite.png | 6.06KB | 2.18KB | ▼ 64.10% |
buzzmetaboxes/images/image.png | 2.74KB | 0.10KB | ▼ 96.43% |