Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.12MB] [CPU: ▲2.24ms] Passed 4 tests
This is a short check of server-side resources used by Flow-Flow Social Feed Stream
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.22 ▲0.75 | 42.06 ▲6.54 |
Dashboard /wp-admin | 4.56 ▲1.21 | 55.34 ▼6.48 |
Posts /wp-admin/edit.php | 4.61 ▲1.25 | 59.18 ▲13.28 |
Add New Post /wp-admin/post-new.php | 7.16 ▲1.27 | 92.79 ▼4.40 |
Media Library /wp-admin/upload.php | 4.48 ▲1.25 | 49.41 ▲17.07 |
Flow-Flow Lite /wp-admin/admin.php?page=flow-flow-admin | 4.59 | 48.56 |
Social Apps /wp-admin/admin.php?page=flow-flow | 4.46 | 44.34 |
Server storage [IO: ▲7.94MB] [DB: ▲0.01MB] 67% from 3 tests
How much does this plugin use your filesystem and database?
It is recommended to fix the following issues
- There were 1 file (0.00KB) illegally modified outside of "wp-content/plugins/flow-flow-social-streams/" and "wp-content/uploads/"
- (new file) wp-content/resources/flow-flow/css/.empty
Filesystem: 411 new files
Database: 9 new tables, 7 new options
New tables |
---|
wp_ff_cache |
wp_ff_post_media |
wp_ff_options |
wp_ff_streams_sources |
wp_ff_snapshots |
wp_ff_image_cache |
wp_ff_comments |
wp_ff_streams |
wp_ff_posts |
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_ff_widget |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Flow-Flow Social Feed Stream: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,941 ▲195 | 13.97 ▼0.58 | 4.75 ▲2.97 | 38.81 ▼3.79 |
Dashboard /wp-admin | 2,292 ▲101 | 5.06 ▼0.84 | 107.89 ▲8.18 | 77.27 ▲34.04 |
Posts /wp-admin/edit.php | 2,175 ▲86 | 2.34 ▲0.33 | 41.14 ▲7.61 | 36.06 ▼0.13 |
Add New Post /wp-admin/post-new.php | 1,734 ▲206 | 22.55 ▲4.31 | 745.72 ▲105.50 | 53.64 ▼4.97 |
Media Library /wp-admin/upload.php | 1,461 ▲73 | 4.30 ▲0.09 | 121.22 ▲25.23 | 49.30 ▲7.57 |
Flow-Flow Lite /wp-admin/admin.php?page=flow-flow-admin | 4,136 | 5.49 | 152.77 | 277.57 |
Social Apps /wp-admin/admin.php?page=flow-flow | 1,149 | 2.08 | 32.25 | 60.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- The plugin did not uninstall successfully, leaving 9 tables in the database
- wp_ff_streams_sources
- wp_ff_image_cache
- wp_ff_comments
- wp_ff_snapshots
- wp_ff_post_media
- wp_ff_streams
- wp_ff_posts
- wp_ff_options
- wp_ff_cache
- This plugin does not fully uninstall, leaving 7 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- widget_ff_widget
- db_upgraded
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=flow-flow-admin
- > Notice in wp-content/plugins/flow-flow-social-streams/includes/cache/FFFacebookCacheManager.php+146
Trying to access array offset on value of type bool
SRP 0% 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 items
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/flow-flow-social-streams/views/footer.php
- > /wp-content/plugins/flow-flow-social-streams/views/stream-template-css.php
- > /wp-content/plugins/flow-flow-social-streams/views/stream-template-css-l.php
- 116× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined property: stdClass::$bgcolor in wp-content/plugins/flow-flow-social-streams/views/stream-template-css.php on line 53
- > PHP Notice
Undefined property: stdClass::$cardcolor in wp-content/plugins/flow-flow-social-streams/views/stream-template-css-l.php on line 81
- > PHP Notice
Undefined property: stdClass::$talign in wp-content/plugins/flow-flow-social-streams/views/stream-template-css.php on line 164
- > PHP Fatal error
Uncaught Error: Interface 'Cake\\Core\\PluginInterface' not found in wp-content/plugins/flow-flow-social-streams/libs/cakephp/core/BasePlugin.php:25
- > PHP Fatal error
Uncaught Error: Interface 'flow\\social\\FFInstagramAPI' not found in wp-content/plugins/flow-flow-social-streams/libs/FlowSocial/src/flow/social/FFInstagramOpenAPI.php:19
- > PHP Fatal error
Uncaught Error: Interface 'Cake\\Core\\Configure\\ConfigEngineInterface' not found in wp-content/plugins/flow-flow-social-streams/libs/cakephp/core/Configure/Engine/JsonConfig.php:39
- > PHP Notice
Undefined property: stdClass::$cardcolor in wp-content/plugins/flow-flow-social-streams/views/stream-template-css.php on line 143
- > PHP Notice
Undefined property: stdClass::$talign in wp-content/plugins/flow-flow-social-streams/views/stream-template-css-l.php on line 116
- > PHP Notice
Undefined property: stdClass::$headingcolor in wp-content/plugins/flow-flow-social-streams/views/stream-template-css.php on line 17
- > PHP Notice
Undefined property: stdClass::$textcolor in wp-content/plugins/flow-flow-social-streams/views/stream-template-css.php on line 161
- > PHP Notice
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 user-side errors
- > GET request to /wp-admin/admin.php?page=flow-flow-admin
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/admin.php?page=flow-flow-admin
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/admin.php?page=flow-flow
- > Network (severe)
wp-content/plugins//flow-flow/assets/social-streams-logo.svg - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Tags: There are too many tags (25 tag instead of maximum 10)
flow-flow-social-streams/flow-flow.php 85% from 13 tests
The main PHP script in "Flow-Flow Social Feed Stream" version 4.7.3 is automatically included on every request by WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("flow-flow-social-streams.php" instead of "flow-flow.php")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; 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 file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin35,745 lines of code in 287 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 238 | 4,271 | 10,380 | 23,327 |
JavaScript | 11 | 2,191 | 690 | 10,108 |
PO File | 10 | 393 | 641 | 961 |
JSON | 6 | 0 | 0 | 458 |
Markdown | 6 | 207 | 0 | 446 |
SVG | 9 | 3 | 6 | 425 |
XML | 1 | 2 | 0 | 14 |
CSS | 6 | 2 | 14 | 6 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 17.03 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 226.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 78.00 |
Code structure | ||
---|---|---|
Namespaces | 36 | |
Interfaces | 23 | |
Traits | 8 | |
Classes | 187 | |
▷ Abstract classes | 13 | 6.95% |
▷ Concrete classes | 174 | 93.05% |
▷ Final classes | 0 | 0.00% |
Methods | 1,903 | |
▷ Static methods | 322 | 16.92% |
▷ Public methods | 1,264 | 66.42% |
▷ Protected methods | 473 | 24.86% |
▷ Private methods | 166 | 8.72% |
Functions | 21 | |
▷ Named functions | 17 | 80.95% |
▷ Anonymous functions | 4 | 19.05% |
Constants | 131 | |
▷ Global constants | 18 | 13.74% |
▷ Class constants | 113 | 86.26% |
▷ Public constants | 113 | 100.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
50 PNG files occupy 1.22MB with 0.49MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/carousel.png | 1.18KB | 0.99KB | ▼ 16.58% |
assets/icon_ff_addon_1.png | 6.66KB | 3.36KB | ▼ 49.49% |
assets/fs.png | 25.32KB | 9.54KB | ▼ 62.33% |
assets/cloud_toggle_bg2.png | 0.97KB | 0.73KB | ▼ 24.29% |
assets/tab-icon-settings.png | 0.97KB | 0.52KB | ▼ 46.78% |