Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure had errors
- > Deprecated in wp-content/plugins/blogbuzztime-for-wp/class/BlogBuzzTime_widget.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; BlogBuzzTime_widget has a deprecated constructor
Server metrics [RAM: ▼1.90MB] [CPU: ▼50.40ms] Passed 4 tests
An overview of server-side resources used by BlogBuzzTime for WP
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.09 ▼1.37 | 5.56 ▼33.93 |
Dashboard /wp-admin | 2.12 ▼1.19 | 6.23 ▼40.81 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 6.00 ▼40.62 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.78 | 6.09 ▼86.22 |
Media Library /wp-admin/upload.php | 2.12 ▼1.12 | 7.61 ▼26.36 |
BlogBuzzTime /wp-admin/options-general.php?page=BlogBuzzTime | 2.12 | 6.21 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 10 new options
New WordPress options |
---|
blogBuzzTime-options |
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_blogbuzztime_widget |
widget_blogbuzztime_widgetpicture |
widget_recent-posts |
widget_blogbuzztime_widgetcounter |
Browser metrics Passed 4 tests
An overview of browser requirements for BlogBuzzTime for WP
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,325 ▲564 | 14.38 ▼0.15 | 9.15 ▲7.47 | 44.20 ▲3.87 |
Dashboard /wp-admin | 2,199 ▲18 | 5.56 ▼0.18 | 80.74 ▼17.99 | 37.76 ▼6.73 |
Posts /wp-admin/edit.php | 2,104 ▲7 | 1.97 ▼0.05 | 32.32 ▼3.64 | 34.52 ▲0.49 |
Add New Post /wp-admin/post-new.php | 1,529 ▲3 | 22.99 ▼0.08 | 640.30 ▼41.97 | 58.55 ▲0.18 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.21 ▲0.03 | 94.16 ▼4.27 | 41.77 ▼2.81 |
BlogBuzzTime /wp-admin/options-general.php?page=BlogBuzzTime | 1,111 | 2.10 | 28.28 | 30.75 |
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
Please fix the following items
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/blogbuzztime-for-wp/class/BlogBuzzTime_widget.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; BlogBuzzTime_widget has a deprecated constructor
- Zombie WordPress options detected upon uninstall: 9 options
- widget_blogbuzztime_widgetpicture
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_blogbuzztime_widgetcounter
- db_upgraded
- theysaidso_admin_options
- widget_blogbuzztime_widget
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=BlogBuzzTime
- > Deprecated in wp-content/plugins/blogbuzztime-for-wp/class/BlogBuzzTime_widget.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; BlogBuzzTime_widget has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=BlogBuzzTime
- > Deprecated in wp-content/plugins/blogbuzztime-for-wp/class/BlogBuzzTime_widgetCounter.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; BlogBuzzTime_widgetCounter has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=BlogBuzzTime
- > Deprecated in wp-content/plugins/blogbuzztime-for-wp/class/BlogBuzzTime_widgetPicture.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; BlogBuzzTime_widgetPicture has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=BlogBuzzTime
- > Deprecated in wp-content/plugins/blogbuzztime-for-wp/class/CreditRoom_widget.php+3
Methods with the same name as their class will not be constructors in a future version of PHP; CreditRoom_widget has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=BlogBuzzTime
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in BlogBuzzTime_widget is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=BlogBuzzTime
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in BlogBuzzTime_widgetCounter is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=BlogBuzzTime
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in BlogBuzzTime_widgetPicture is deprecated since version 4.3.0! Use __construct() instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=BlogBuzzTime
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
- > GET request to /wp-admin/options-general.php?page=BlogBuzzTime
- > Notice in wp-content/plugins/blogbuzztime-for-wp/views/admin_home.php+86
Trying to get property 'creditRooms' of non-object
- > GET request to /wp-admin/options-general.php?page=BlogBuzzTime
- > Warning in wp-content/plugins/blogbuzztime-for-wp/views/admin_home.php+269
Invalid argument supplied for foreach()
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 6× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/blogbuzztime-for-wp/class/BlogBuzzTime_widgetPicture.php:3
- > PHP Fatal error
Uncaught Error: Class 'BlogBuzzTime' not found in wp-content/plugins/blogbuzztime-for-wp/views/admin_home.php:2
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/blogbuzztime-for-wp/class/BlogBuzzTime_widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/blogbuzztime-for-wp/class/CreditRoom_widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/blogbuzztime-for-wp/class/BlogBuzzTime_widgetCounter.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/blogbuzztime-for-wp/class/BlogBuzzTime_widget.php:3
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please fix the following browser errors
- > GET request to /wp-admin/options-general.php?page=BlogBuzzTime
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=BlogBuzzTime - Access to XMLHttpRequest at 'http://www.blogbuzztime.com/check' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/options-general.php?page=BlogBuzzTime
- > Network (severe)
http://www.blogbuzztime.com/check - Failed to load resource: net::ERR_FAILED
- > GET request to /wp-admin/options-general.php?page=BlogBuzzTime
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=BlogBuzzTime - Access to XMLHttpRequest at 'http://www.blogbuzztime.com/cr/siteInfo' from origin '' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
- > GET request to /wp-admin/options-general.php?page=BlogBuzzTime
- > Network (severe)
http://www.blogbuzztime.com/cr/siteInfo - Failed to load resource: net::ERR_FAILED
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: There are too many tags (11 tag instead of maximum 10)
blogbuzztime-for-wp/blogbuzztime.php 85% from 13 tests
Analyzing the main PHP file in "BlogBuzzTime for WP" version 1.1
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("blogbuzztime-for-wp.php" instead of "blogbuzztime.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected1,053 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 103 | 85 | 709 |
PO File | 2 | 98 | 120 | 245 |
CSS | 1 | 6 | 0 | 99 |
PHP code Passed 2 tests
This is a short overview 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.24 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 8.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 30 | |
▷ Static methods | 1 | 3.33% |
▷ Public methods | 28 | 93.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 6.67% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG files were detected