Benchmarks
Plugin footprint 83% 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: ▲3.75MB] [CPU: ▼277.93ms] Passed 4 tests
Analyzing server-side resources used by Smash Balloon Social Photo Feed
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 6.84 ▲3.33 | 76.67 ▲13.99 |
Dashboard /wp-admin | 7.31 ▲3.91 | 59.05 ▲20.33 |
Posts /wp-admin/edit.php | 7.54 ▲3.90 | 64.29 ▲20.83 |
Add New Post /wp-admin/post-new.php | 10.84 ▲3.87 | 119.71 ▼1,166.85 |
Media Library /wp-admin/upload.php | 7.26 ▲3.97 | 53.31 ▲26.43 |
oEmbeds /wp-admin/admin.php?page=sbi-oembeds-manager | 7.27 | 53.83 |
Instagram Feed /wp-admin/admin.php?page=sb-instagram-feed | 7.23 | 53.58 |
Support /wp-admin/admin.php?page=sbi-support | 7.74 | 65.28 |
Settings /wp-admin/admin.php?page=sbi-settings | 7.77 | 65.28 |
All Feeds /wp-admin/admin.php?page=sbi-feed-builder | 8.25 | 79.03 |
Facebook Feed /wp-admin/admin.php?page=cff-builder | 7.12 | 41.34 |
YouTube Feed /wp-admin/admin.php?page=sb-instagram-feed&tab=more | 7.23 | 47.36 |
About Us /wp-admin/admin.php?page=sbi-about-us | 7.27 | 52.55 |
Server storage [IO: ▲3.42MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 268 new files
Database: 6 new tables, 8 new options
New tables |
---|
wp_sbi_instagram_feed_locator |
wp_sbi_feeds |
wp_sbi_sources |
wp_sbi_feed_caches |
wp_sbi_instagram_posts |
wp_sbi_instagram_feeds_posts |
New WordPress options |
---|
sbi_newuser_notifications |
sbi_statuses |
sbi_db_version |
sbi_notifications |
sbi_usage_tracking |
sbi_usage_tracking_config |
sb_instagram_settings |
widget_instagram-feed-widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Smash Balloon Social Photo Feed
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,922 ▲168 | 16.46 ▲0.84 | 5.92 ▼0.71 | 2.62 ▼0.12 |
Dashboard /wp-admin | 3,038 ▲180 | 7.14 ▲0.89 | 121.63 ▼56.13 | 207.06 ▲23.83 |
Posts /wp-admin/edit.php | 2,841 ▲150 | 3.29 ▲0.05 | 72.43 ▲6.80 | 189.19 ▼11.66 |
Add New Post /wp-admin/post-new.php | 1,744 ▲76 | 20.69 ▼0.04 | 419.27 ▲14.85 | 177.40 ▼3.78 |
Media Library /wp-admin/upload.php | 1,845 ▲147 | 6.02 ▲0.47 | 135.42 ▼26.08 | 282.73 ▲72.93 |
oEmbeds /wp-admin/admin.php?page=sbi-oembeds-manager | 1,799 | 4.27 | 83.71 | 152.90 |
Instagram Feed /wp-admin/admin.php?page=sb-instagram-feed | 1,132 | 3.16 | 59.16 | 70.63 |
Support /wp-admin/admin.php?page=sbi-support | 2,258 | 4.22 | 94.01 | 218.06 |
Settings /wp-admin/admin.php?page=sbi-settings | 3,544 | 5.76 | 119.42 | 324.91 |
All Feeds /wp-admin/admin.php?page=sbi-feed-builder | 6,409 | 9.35 | 203.83 | 361.31 |
Facebook Feed /wp-admin/admin.php?page=cff-builder | 28 | 0.94 | 0.03 | 16.69 |
YouTube Feed /wp-admin/admin.php?page=sb-instagram-feed&tab=more | 1,122 | 3.14 | 62.28 | 88.78 |
About Us /wp-admin/admin.php?page=sbi-about-us | 2,223 | 4.09 | 87.64 | 147.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin did not uninstall successfully, leaving 1 option in the database
- widget_instagram-feed-widget
Smoke tests 25% 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 everything seems fine, this is not an exhaustive test
SRP 0% 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
The following issues need your attention
- 57× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/instagram-feed/admin/builder/templates/sections/popup/onboarding-popup.php
- > /wp-content/plugins/instagram-feed/admin/builder/templates/sections/feeds/instances.php
- > /wp-content/plugins/instagram-feed/admin/builder/templates/sections/popup/onboarding-customizer-popup.php
- > /wp-content/plugins/instagram-feed/inc/class-sb-instagram-oembed.php
- > /wp-content/plugins/instagram-feed/inc/class-sb-instagram-post-set.php
- > /wp-content/plugins/instagram-feed/admin/builder/templates/sections/popup/embed-popup.php
- > /wp-content/plugins/instagram-feed/inc/class-sb-instagram-gdpr-integrations.php
- > /wp-content/plugins/instagram-feed/inc/class-sb-instagram-api-connect.php
- > /wp-content/plugins/instagram-feed/admin/builder/templates/sections/feeds-list.php
- > /wp-content/plugins/instagram-feed/inc/class-sb-instagram-display-elements.php
- 59× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/instagram-feed/admin/views/settings/index.php:7
- > PHP Warning
include_once(): Failed opening 'SBI_BUILDER_DIRtemplates/sections/create-feed/single-sources.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/instagram-feed/admin/builder/templates/sections/select-source.php on line 3
- > PHP Warning
Use of undefined constant SBI_BUILDER_DIR - assumed 'SBI_BUILDER_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/instagram-feed/admin/builder/templates/sections/create-feed/multiple-sources.php on line 11
- > PHP Warning
Use of undefined constant SBI_BUILDER_DIR - assumed 'SBI_BUILDER_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/instagram-feed/admin/builder/templates/sections/select-source.php on line 3
- > PHP Warning
include(SBI_BUILDER_DIRtemplates/sections/create-feed/multiple-sources-list.php): failed to open stream: No such file or directory in wp-content/plugins/instagram-feed/admin/builder/templates/sections/popup/feedtypes-customizer-popup.php on line 9
- > PHP Warning
include_once(): Failed opening 'SBI_BUILDER_DIRtemplates/sections/feeds/instances.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/instagram-feed/admin/builder/templates/sections/feeds-list.php on line 8
- > PHP Warning
include_once(): Failed opening 'SBI_BUILDER_DIRtemplates/sections/create-feed/multiple-sources.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/instagram-feed/admin/builder/templates/sections/select-source.php on line 5
- > PHP Warning
include_once(SBI_BUILDER_DIRtemplates/sections/create-feed/multiple-sources-list.php): failed to open stream: No such file or directory in wp-content/plugins/instagram-feed/admin/builder/templates/sections/create-feed/multiple-sources.php on line 11
- > PHP Fatal error
Uncaught Error: Class 'InstagramFeed\\Builder\\SBI_Feed_Builder' not found in wp-content/plugins/instagram-feed/admin/builder/templates/builder.php:3
- > PHP Fatal error
Uncaught Error: Class 'InstagramFeed\\Builder\\SB_Builder_Customizer' not found in wp-content/plugins/instagram-feed/admin/builder/templates/sections/customizer/sidebar.php:1
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/admin.php?page=cff-builder
- > Network (severe)
wp-admin/admin.php?page=cff-builder - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need your attention:
- Screenshots: Add descriptions for screenshots #4, #7, #8 in instagram-feed/assets to your readme.txt
instagram-feed/instagram-feed.php Passed 13 tests
"Smash Balloon Social Photo Feed" version 6.0.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
72 characters long description:
Display beautifully clean, customizable, and responsive Instagram feeds.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected47,500 lines of code in 186 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 139 | 4,009 | 7,345 | 23,300 |
CSS | 14 | 975 | 611 | 18,412 |
JavaScript | 21 | 685 | 1,061 | 5,610 |
SVG | 9 | 0 | 0 | 156 |
XML | 1 | 0 | 0 | 12 |
JSON | 2 | 0 | 0 | 10 |
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.45 |
Average class complexity | 35.08 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 263.00 |
Average method complexity | 4.37 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 66.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 74 | |
▷ Abstract classes | 1 | 1.35% |
▷ Concrete classes | 73 | 98.65% |
▷ Final classes | 0 | 0.00% |
Methods | 759 | |
▷ Static methods | 295 | 38.87% |
▷ Public methods | 718 | 94.60% |
▷ Protected methods | 14 | 1.84% |
▷ Private methods | 27 | 3.56% |
Functions | 88 | |
▷ Named functions | 87 | 98.86% |
▷ Anonymous functions | 1 | 1.14% |
Constants | 41 | |
▷ Global constants | 20 | 48.78% |
▷ Class constants | 21 | 51.22% |
▷ Public constants | 21 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
58 PNG files occupy 0.55MB with 0.12MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/insta-logo.png | 4.14KB | 2.15KB | ▼ 47.99% |
admin/assets/img/rocket-icon.png | 1.09KB | 1.14KB | 0.00% |
admin/assets/img/about/plugin-wpforms.png | 6.03KB | 6.28KB | 0.00% |
admin/assets/img/save-plus-icon.png | 2.91KB | 1.10KB | ▼ 62.08% |
admin/builder/assets/img/singlealbum.png | 1.17KB | 1.15KB | ▼ 1.92% |