Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲4.43MB] [CPU: ▲23.07ms] 75% from 4 tests
This is a short check of server-side resources used by Smash Balloon Social Post Feed - Customizable Social Feeds Plugin
Please fix the following
- RAM: The total memory usage must be kept under 10MB (currently 11.06MB on /wp-admin/admin.php?page=cff-setup)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 7.25 ▲3.79 | 54.80 ▲15.98 |
Dashboard /wp-admin | 7.95 ▲4.60 | 81.86 ▲18.10 |
Posts /wp-admin/edit.php | 8.06 ▲4.70 | 79.34 ▲32.83 |
Add New Post /wp-admin/post-new.php | 10.71 ▲4.82 | 123.06 ▲26.54 |
Media Library /wp-admin/upload.php | 7.87 ▲4.64 | 68.74 ▲31.66 |
YouTube Feed /wp-admin/admin.php?page=cff-top&tab=more | 7.82 | 75.09 |
Settings /wp-admin/admin.php?page=cff-settings | 8.89 | 81.86 |
All Feeds /wp-admin/admin.php?page=cff-feed-builder | 11.25 | 171.81 |
About Us /wp-admin/admin.php?page=cff-about-us | 7.86 | 59.35 |
oEmbeds /wp-admin/admin.php?page=cff-oembeds-manager | 7.89 | 63.03 |
Setup /wp-admin/admin.php?page=cff-setup | 11.06 | 130.65 |
Support /wp-admin/admin.php?page=cff-support | 8.85 | 81.52 |
Reviews FeedNew! /wp-admin/admin.php?page=sbr | 7.63 | 48.80 |
Facebook Feed /wp-admin/admin.php?page=cff-top | 7.83 | 61.18 |
Server storage [IO: ▲6.03MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 305 new files
Database: 4 new tables, 13 new options
New tables |
---|
wp_cff_feed_caches |
wp_cff_feeds |
wp_cff_sources |
wp_cff_facebook_feed_locator |
New WordPress options |
---|
cff_db_version |
cff_usage_tracking_config |
cff_show_access_token |
cff_legacy_feed_settings |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
cff_newuser_notifications |
cff_style_settings |
widget_theysaidso_widget |
... |
Browser metrics Passed 4 tests
An overview of browser requirements for Smash Balloon Social Post Feed - Customizable Social Feeds Plugin
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,026 ▲240 | 14.13 ▼0.14 | 9.56 ▲7.51 | 50.34 ▲9.26 |
Dashboard /wp-admin | 2,315 ▲138 | 5.19 ▼0.47 | 108.57 ▲16.55 | 54.96 ▲10.84 |
Posts /wp-admin/edit.php | 2,223 ▲123 | 2.47 ▲0.50 | 48.60 ▲11.95 | 46.27 ▲10.03 |
Add New Post /wp-admin/post-new.php | 1,582 ▲45 | 21.30 ▲3.22 | 655.99 ▼9.67 | 39.54 ▼26.59 |
Media Library /wp-admin/upload.php | 1,511 ▲114 | 4.60 ▲0.38 | 114.99 ▼1.15 | 54.43 ▲8.01 |
YouTube Feed /wp-admin/admin.php?page=cff-top&tab=more | 900 | 2.21 | 34.17 | 22.11 |
Settings /wp-admin/admin.php?page=cff-settings | 4,285 | 5.50 | 133.81 | 106.27 |
All Feeds /wp-admin/admin.php?page=cff-feed-builder | 5,576 | 11.28 | 167.50 | 114.95 |
About Us /wp-admin/admin.php?page=cff-about-us | 1,823 | 3.42 | 64.12 | 37.50 |
oEmbeds /wp-admin/admin.php?page=cff-oembeds-manager | 1,496 | 3.25 | 60.93 | 32.35 |
Setup /wp-admin/admin.php?page=cff-setup | 2,618 | 6.23 | 107.74 | 53.11 |
Support /wp-admin/admin.php?page=cff-support | 1,841 | 3.69 | 68.22 | 67.20 |
Reviews FeedNew! /wp-admin/admin.php?page=sbr | 28 | 0.42 | 0.07 | 3.37 |
Facebook Feed /wp-admin/admin.php?page=cff-top | 897 | 2.22 | 33.04 | 19.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
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
Please fix the following items
- 69× PHP files output non-empty strings when accessed directly via GET requests (only 10 are shown):
- > /wp-content/plugins/custom-facebook-feed/admin/views/sections/settings_footer_cta.php
- > /wp-content/plugins/custom-facebook-feed/admin/builder/templates/sections/feeds-list.php
- > /wp-content/plugins/custom-facebook-feed/admin/builder/templates/sections/popup/source-instances.php
- > /wp-content/plugins/custom-facebook-feed/admin/builder/templates/sections/popup/extensions-popup.php
- > /wp-content/plugins/custom-facebook-feed/admin/builder/templates/sections/popup/feedtypes-popup.php
- > /wp-content/plugins/custom-facebook-feed/inc/SB_Facebook_Data_Manager.php
- > /wp-content/plugins/custom-facebook-feed/admin/builder/templates/sections/create-feed/single-album.php
- > /wp-content/plugins/custom-facebook-feed/admin/builder/templates/preview/header.php
- > /wp-content/plugins/custom-facebook-feed/templates/header.php
- > /wp-content/plugins/custom-facebook-feed/admin/builder/templates/sections/popup/add-source-popup.php
- 52× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'CustomFacebookFeed\\Admin\\CFF_Onboarding_Wizard' not found in wp-content/plugins/custom-facebook-feed/admin/builder/templates/screens/onboarding-wizard.php:25
- > PHP Warning
include_once(CFF_BUILDER_DIRtemplates/sections/customizer/preview.php): failed to open stream: No such file or directory in wp-content/plugins/custom-facebook-feed/admin/builder/templates/screens/customizer.php on line 3
- > PHP Warning
Use of undefined constant CFF_BUILDER_URL - assumed 'CFF_BUILDER_URL' (this will throw an Error in a future version of PHP) in wp-content/plugins/custom-facebook-feed/admin/builder/templates/sections/create-feed/single-album.php on line 17
- > PHP Warning
include_once(CFF_BUILDER_DIRtemplates/sections/create-feed/single-album.php): failed to open stream: No such file or directory in wp-content/plugins/custom-facebook-feed/admin/builder/templates/screens/select-feed.php on line 16
- > PHP Warning
Use of undefined constant CFF_BUILDER_DIR - assumed 'CFF_BUILDER_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/custom-facebook-feed/admin/builder/templates/sections/feeds-list.php on line 8
- > PHP Warning
include_once(): Failed opening 'CFF_BUILDER_DIRtemplates/sections/feeds/legacy-feeds.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/custom-facebook-feed/admin/builder/templates/sections/feeds-list.php on line 3
- > PHP Warning
include_once(): Failed opening 'CFF_BUILDER_DIRtemplates/sections/create-feed/videos.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/custom-facebook-feed/admin/builder/templates/screens/select-feed.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'CustomFacebookFeed\\Builder\\CFF_Feed_Builder' not found in wp-content/plugins/custom-facebook-feed/admin/builder/templates/builder.php:3
- > PHP Warning
include_once(): Failed opening 'CFF_BUILDER_DIRtemplates/sections/customizer/sidebar.php' for inclusion (include_path='.:/usr/share/php') in wp-content/plugins/custom-facebook-feed/admin/builder/templates/screens/customizer.php on line 2
- > PHP Warning
include_once(CFF_BUILDER_DIRtemplates/sections/customizer/sidebar.php): failed to open stream: No such file or directory in wp-content/plugins/custom-facebook-feed/admin/builder/templates/screens/customizer.php on line 2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=sbr
- > Network (severe)
wp-admin/admin.php?page=sbr - 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: Screenshot #9 (It's super easy to display your feed in any page or post) image missing
custom-facebook-feed/custom-facebook-feed.php Passed 13 tests
The entry point to "Smash Balloon Social Post Feed - Customizable Social Feeds Plugin" version 4.2 is a PHP file that has certain tags in its header comment area
65 characters long description:
Add completely customizable Facebook feeds to your WordPress site
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected57,116 lines of code in 233 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 174 | 4,315 | 6,846 | 28,000 |
CSS | 16 | 996 | 518 | 18,962 |
JavaScript | 24 | 734 | 1,174 | 5,834 |
SVG | 12 | 0 | 0 | 2,851 |
PO File | 1 | 514 | 542 | 1,244 |
HTML | 3 | 45 | 82 | 176 |
JSON | 3 | 0 | 0 | 49 |
PHP code 50% from 2 tests
This is a very shot review of cyclomatic complexity and code structure
Please fix the following
- Please reduce cyclomatic complexity of methods to less than 100 (currently 244)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 41.71 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 504.00 |
Average method complexity | 5.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 244.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 1 | |
Classes | 76 | |
▷ Abstract classes | 1 | 1.32% |
▷ Concrete classes | 75 | 98.68% |
▷ Final classes | 1 | 1.33% |
Methods | 768 | |
▷ Static methods | 333 | 43.36% |
▷ Public methods | 735 | 95.70% |
▷ Protected methods | 19 | 2.47% |
▷ Private methods | 14 | 1.82% |
Functions | 38 | |
▷ Named functions | 34 | 89.47% |
▷ Anonymous functions | 4 | 10.53% |
Constants | 40 | |
▷ Global constants | 14 | 35.00% |
▷ Class constants | 26 | 65.00% |
▷ Public constants | 26 | 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
58 compressed PNG files occupy 0.67MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/builder/assets/img/balloon.png | 1.10KB | 0.72KB | ▼ 34.28% |
admin/builder/assets/img/timeline.png | 1.74KB | 1.86KB | 0.00% |
assets/img/placeholder.png | 0.17KB | 0.16KB | ▼ 7.39% |
admin/builder/assets/img/welcome-2.png | 3.43KB | 3.59KB | 0.00% |
admin/assets/img/about/plugin-smtp.png | 7.04KB | 7.31KB | 0.00% |