Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The following installer errors require your attention
- The plugin did not install without errors
- > Deprecated in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/followers-widget.php+192
Function create_function() is deprecated
Server metrics [RAM: ▼2.19MB] [CPU: ▼352.88ms] Passed 4 tests
This is a short check of server-side resources used by Functionality for Blogpost Lite theme
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.18 ▼1.34 | 5.73 ▼52.25 |
Dashboard /wp-admin | 2.19 ▼1.21 | 5.10 ▼33.18 |
Posts /wp-admin/edit.php | 2.20 ▼1.44 | 5.88 ▼39.61 |
Add New Post /wp-admin/post-new.php | 2.19 ▼4.77 | 5.26 ▼1,286.48 |
Media Library /wp-admin/upload.php | 2.19 ▼1.10 | 4.90 ▼21.33 |
Customize /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php | 2.20 | 4.96 |
Manage Sidebars /wp-admin/themes.php?page=multiple_sidebars | 2.34 | 5.45 |
Server storage [IO: ▲0.36MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 49 new files
Database: no new tables, 13 new options
New WordPress options |
---|
widget_recent-posts-plus |
widget_vh_twitter |
widget_vh_advertisement |
widget_blogpost-directory-sidebar-comments |
widget_vh_aboutus |
widget_blogpost-directory-followers |
widget_recent-comments |
widget_recent-posts |
widget_social_networks |
widget_gmap |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Functionality for Blogpost Lite theme
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,957 ▲215 | 16.28 ▲0.63 | 9.60 ▲3.05 | 2.68 ▲0.59 |
Dashboard /wp-admin | 2,908 ▲47 | 6.13 ▼0.08 | 119.11 ▼22.57 | 154.89 ▼4.93 |
Posts /wp-admin/edit.php | 2,716 ▲25 | 3.24 ▲0.01 | 71.08 ▲4.28 | 144.24 ▲0.11 |
Add New Post /wp-admin/post-new.php | 2,034 ▲399 | 22.58 ▲2.30 | 451.51 ▲61.12 | 180.96 ▲37.56 |
Media Library /wp-admin/upload.php | 1,723 ▲25 | 5.56 ▼0.02 | 122.12 ▼16.37 | 183.57 ▼6.61 |
Customize /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php | 11,325 | 18.79 | 541.20 | 185.46 |
Manage Sidebars /wp-admin/themes.php?page=multiple_sidebars | 1,051 | 2.62 | 52.04 | 103.95 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/followers-widget.php+192
Function create_function() is deprecated
- Zombie WordPress options detected upon uninstall: 13 options
- widget_blogpost-directory-sidebar-comments
- widget_vh_twitter
- widget_vh_contactform
- widget_vh_advertisement
- widget_gmap
- widget_recent-comments
- widget_fastflickrwidget
- widget_blogpost-directory-recent-comments
- widget_vh_aboutus
- widget_blogpost-directory-followers
- ...
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- 40 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=multiple_sidebars
- > Deprecated in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/about-us.php+141
Function create_function() is deprecated
- 4 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=multiple_sidebars
- > Deprecated in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/contactform.php+6
Methods with the same name as their class will not be constructors in a future version of PHP; vh_contactform has a deprecated constructor
- 4 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=multiple_sidebars
- > Deprecated in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/googlemap.php+7
Methods with the same name as their class will not be constructors in a future version of PHP; vh_googlemap has a deprecated constructor
- 4 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=multiple_sidebars
- > Deprecated in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+6
Methods with the same name as their class will not be constructors in a future version of PHP; SocialMediaWidget has a deprecated constructor
- 4 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=multiple_sidebars
- > Deprecated in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/advertisement.php+6
Methods with the same name as their class will not be constructors in a future version of PHP; vh_advertisement has a deprecated constructor
- 4 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=multiple_sidebars
- > Deprecated in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/about-us.php+7
Methods with the same name as their class will not be constructors in a future version of PHP; vh_aboutus has a deprecated constructor
- 4 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=multiple_sidebars
- > Deprecated in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/twitter/twitter.php+7
Methods with the same name as their class will not be constructors in a future version of PHP; vh_twitter has a deprecated constructor
- 4 occurences, only the last one shown
- > GET request to /wp-admin/themes.php?page=multiple_sidebars
- > Deprecated in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/sidebars/multiple_sidebars.php+29
Methods with the same name as their class will not be constructors in a future version of PHP; sidebar_generator has a deprecated constructor
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+115
Undefined index: title
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+116
Undefined index: username
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+117
Undefined index: view
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+118
Undefined index: before_item
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+119
Undefined index: after_item
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+120
Undefined index: before_widget
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+121
Undefined index: after_widget
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+122
Undefined index: items
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+123
Undefined index: more_title
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+124
Undefined index: tags
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+125
Undefined index: target
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+126
Undefined index: show_titles
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+127
Undefined index: thickbox
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+128
Undefined index: random
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+129
Undefined index: random_tag
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php+130
Undefined index: javascript
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+92
Undefined index: rss
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+93
Undefined index: twitter
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+94
Undefined index: facebook
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+95
Undefined index: flickr
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+96
Undefined index: youtube
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+97
Undefined index: linkedin
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+98
Undefined index: foursquare
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+99
Undefined index: delicious
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+100
Undefined index: digg
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+101
Undefined index: display
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+102
Undefined index: skype
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+103
Undefined index: tumblr
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+104
Undefined index: vimeo
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+105
Undefined index: instagram
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+106
Undefined index: pintrest
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php+107
Undefined index: google
- 2 occurences, only the last one shown
- > GET request to /wp-admin/customize.php?return=%2Fwp-admin%2Fwp-api.php
- > Notice in wp-includes/class-wp-customize-nav-menus.php+1152
Trying to get property 'title' of non-object
SRP 0% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 3× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/functionality-for-blogpost-lite-theme/admin/partials/blogpostlite-functionality-admin-display.php
- > /wp-content/plugins/functionality-for-blogpost-lite-theme/public/partials/blogpostlite-functionality-public-display.php
- > /wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/recent-posts-plus.php
- 13× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/fast-flickr-widget.php:26
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/widget-social.php:9
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/googlemap.php:7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/recent-comments.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/contactform.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/sidebar-comments.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/sidebars/multiple_sidebars.php:32
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/followers-widget.php:3
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/social_links.php:6
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/functionality-for-blogpost-lite-theme/includes/widgets/advertisement.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
1 plugin tags: blogpost-lite
functionality-for-blogpost-lite-theme/functionality-for-blogpostlite-theme.php 85% from 13 tests
The entry point to "Functionality for Blogpost Lite theme" version 1.3.2 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("functionality-for-blogpost-lite-theme.php" instead of "functionality-for-blogpostlite-theme.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
No dangerous file extensions were detected5,439 lines of code in 39 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 31 | 1,092 | 2,031 | 4,615 |
JavaScript | 4 | 62 | 170 | 429 |
PO File | 1 | 162 | 356 | 347 |
CSS | 3 | 20 | 29 | 48 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 22.77 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 189.00 |
Average method complexity | 3.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 26 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 26 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 211 | |
▷ Static methods | 24 | 11.37% |
▷ Public methods | 182 | 86.26% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 29 | 13.74% |
Functions | 42 | |
▷ Named functions | 42 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 1 | 33.33% |
▷ Class constants | 2 | 66.67% |
▷ Public constants | 2 | 100.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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/Tax-meta-class/images/add.png | 1.84KB | 1.49KB | ▼ 19.11% |
includes/Tax-meta-class/images/edit.png | 1.54KB | 1.38KB | ▼ 10.34% |
includes/Tax-meta-class/images/delete-16.png | 1.74KB | 0.90KB | ▼ 48.23% |
includes/Tax-meta-class/images/remove.png | 2.15KB | 1.67KB | ▼ 22.25% |