Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.97MB] [CPU: ▼57.69ms] Passed 4 tests
An overview of server-side resources used by BVD Easy Social Feeds & Images
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.19 ▼36.68 |
Dashboard /wp-admin | 2.05 ▼1.30 | 6.39 ▼60.13 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.07 ▼41.51 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 7.63 ▼92.45 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.09 ▼31.73 |
Twitter /wp-admin/admin.php?page=bvd-social-feeds-twitter | 2.05 | 7.18 |
Facebook /wp-admin/admin.php?page=bvd-social-feeds-facebook | 2.05 | 6.05 |
Instagram /wp-admin/admin.php?page=bvd-social-feeds-instagram | 2.05 | 6.39 |
BVD Social Feeds /wp-admin/admin.php?page=bvd-social-feeds | 2.05 | 5.52 |
Server storage [IO: ▲1.80MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 20 new files
Database: no new tables, 8 new options
New WordPress options |
---|
bvads_social_feed_uuid |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
bvads_social_feed_secret |
widget_recent-posts |
Browser metrics Passed 4 tests
Checking browser requirements for BVD Easy Social Feeds & Images
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,822 ▲76 | 14.25 ▼0.03 | 1.69 ▲0.17 | 43.78 ▲5.48 |
Dashboard /wp-admin | 2,222 ▲44 | 5.56 ▼0.15 | 87.60 ▼28.46 | 69.15 ▲28.14 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 1.97 ▼0.03 | 37.91 ▼3.94 | 37.66 ▲0.27 |
Add New Post /wp-admin/post-new.php | 1,559 ▲31 | 21.64 ▼1.40 | 687.67 ▲16.57 | 64.61 ▲5.40 |
Media Library /wp-admin/upload.php | 1,442 ▲42 | 4.09 ▼0.13 | 102.25 ▼6.98 | 63.71 ▲17.23 |
Twitter /wp-admin/admin.php?page=bvd-social-feeds-twitter | 929 | 2.02 | 30.44 | 34.40 |
Facebook /wp-admin/admin.php?page=bvd-social-feeds-facebook | 949 | 2.00 | 28.22 | 30.55 |
Instagram /wp-admin/admin.php?page=bvd-social-feeds-instagram | 930 | 2.03 | 26.40 | 30.97 |
BVD Social Feeds /wp-admin/admin.php?page=bvd-social-feeds | 938 | 2.01 | 26.51 | 36.43 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the socialFeedsPluginUserStylesheet handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- bvads_social_feed_uuid
- bvads_social_feed_secret
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bvd-social-feeds
- > User notice in wp-includes/functions.php+5905
Function wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the socialFeedsPluginUserStylesheet handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bvd-social-feeds
- > User notice in wp-includes/functions.php+5905
Function wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the socialFeedsPluginUserStylesheet handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bvd-social-feeds
- > Notice in wp-content/plugins/bvd-easy-social-feeds-images/bvd-social-feeds.php+52
Trying to get property 'secret' of non-object
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bvd-social-feeds
- > Notice in wp-content/plugins/bvd-easy-social-feeds-images/bvd-social-feeds.php+56
Undefined index: instagram_auth
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bvd-social-feeds
- > Notice in wp-content/plugins/bvd-easy-social-feeds-images/bvd-social-feeds.php+1672
Trying to get property 'no_token' of non-object
- 7 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bvd-social-feeds
- > Notice in wp-content/plugins/bvd-easy-social-feeds-images/bvd-social-feeds.php+1673
Trying to get property 'verify' of non-object
- 6 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bvd-social-feeds
- > Notice in wp-content/plugins/bvd-easy-social-feeds-images/bvd-social-feeds.php+1673
Trying to get property 'is_valid' of non-object
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=bvd-social-feeds
- > Notice in wp-content/plugins/bvd-easy-social-feeds-images/bvd-social-feeds.php+647
Trying to get property 'key_status' of non-object
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
Please fix the following items
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/bvd-easy-social-feeds-images/admin-page-instagram.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/bvd-easy-social-feeds-images/admin-page-facebook.php:5
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/bvd-easy-social-feeds-images/bvd-social-feeds.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/bvd-easy-social-feeds-images/admin-page-twitter.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Screenshots: These screenshots have no corresponding images in /assets: #1 (Instagram view from the front-end of the site.), #2 (Instagram setup screen), #3 (Instagram display options), #4 (Instagram shortcode instructions), #5 (Facebook setup screen), #6 (Facebook display options), #7 (Facebook shortcode instructions), #8 (Twitter setup screen), #9 (Twitter display options), #10 (Twitter shortcode instructions)
bvd-easy-social-feeds-images/bvd-social-feeds.php 92% from 13 tests
The main PHP script in "BVD Easy Social Feeds & Images" version 1.0.7 is automatically included on every request by WordPress
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 ("bvd-easy-social-feeds-images.php" instead of "bvd-social-feeds.php")
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
There were no executable files found in this plugin3,474 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 234 | 52 | 3,078 |
CSS | 2 | 106 | 0 | 393 |
JavaScript | 1 | 0 | 0 | 3 |
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.40 |
Average class complexity | 211.00 |
▷ Minimum class complexity | 211.00 |
▷ Maximum class complexity | 211.00 |
Average method complexity | 10.13 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.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 | 23 | |
▷ Static methods | 1 | 4.35% |
▷ Public methods | 22 | 95.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.35% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
12 PNG files occupy 1.60MB with 0.96MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 72.20KB | 30.37KB | ▼ 57.94% |
screenshot-7.png | 95.68KB | 42.31KB | ▼ 55.78% |
screenshot-4.png | 116.15KB | 55.61KB | ▼ 52.12% |
screenshot-1.png | 795.33KB | 187.49KB | ▼ 76.43% |
images/BVD-Logo-vert.png | 67.24KB | 28.25KB | ▼ 57.98% |