Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼1.96ms] Passed 4 tests
Server-side resources used by Social Feed | Custom Feed for Social Media Networks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.23 | 37.64 ▼3.32 |
Dashboard /wp-admin | 3.56 ▲0.25 | 66.68 ▲14.20 |
Posts /wp-admin/edit.php | 3.67 ▲0.31 | 50.69 ▲2.89 |
Add New Post /wp-admin/post-new.php | 6.14 ▲0.25 | 85.09 ▼10.32 |
Media Library /wp-admin/upload.php | 3.46 ▲0.22 | 36.78 ▲2.90 |
All Social Feeds /wp-admin/edit.php?post_type=sfbap1_social_feed | 3.53 | 40.36 |
Our Plugins /wp-admin/edit.php?post_type=sfbap1_social_feed&page=sfbap1_our_plugins | 3.46 | 41.19 |
Support & Docs /wp-admin/edit.php?post_type=sfbap1_social_feed&page=sfbap1_form_support | 3.48 | 39.66 |
Add New /wp-admin/post-new.php?post_type=sfbap1_social_feed | 3.73 | 67.30 |
Rate us /wp-admin/edit.php?post_type=sfbap1_social_feed&page=sfbap1_rate_us_plugins | 3.45 | 37.77 |
Server storage [IO: ▲5.90MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 255 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Social Feed | Custom Feed for Social Media Networks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,094 ▲348 | 16.61 ▲2.26 | 6.55 ▲4.75 | 38.82 ▼4.01 |
Dashboard /wp-admin | 2,406 ▲228 | 7.01 ▲1.39 | 115.16 ▲0.13 | 37.87 ▼5.39 |
Posts /wp-admin/edit.php | 2,334 ▲234 | 4.54 ▲2.52 | 59.44 ▲23.20 | 34.35 ▼1.86 |
Add New Post /wp-admin/post-new.php | 1,577 ▲49 | 23.54 ▲0.31 | 662.12 ▼11.54 | 36.56 ▼17.04 |
Media Library /wp-admin/upload.php | 1,474 ▲74 | 5.95 ▲1.75 | 96.34 ▼5.95 | 38.41 ▼7.19 |
All Social Feeds /wp-admin/edit.php?post_type=sfbap1_social_feed | 1,306 | 4.50 | 54.65 | 27.57 |
Our Plugins /wp-admin/edit.php?post_type=sfbap1_social_feed&page=sfbap1_our_plugins | 1,221 | 4.27 | 53.49 | 120.48 |
Support & Docs /wp-admin/edit.php?post_type=sfbap1_social_feed&page=sfbap1_form_support | 1,145 | 4.31 | 50.89 | 35.05 |
Add New /wp-admin/post-new.php?post_type=sfbap1_social_feed | 3,128 | 10.24 | 392.27 | 170.99 |
Rate us /wp-admin/edit.php?post_type=sfbap1_social_feed&page=sfbap1_rate_us_plugins | 1,064 | 4.33 | 55.10 | 29.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/post-new.php?post_type=sfbap1_social_feed
- > Notice in wp-content/plugins/wp-social-feed/includes/sfbap1-settings-page.php+963
Undefined index: post
- > GET request to /wp-admin/post-new.php?post_type=sfbap1_social_feed
- > Notice in wp-content/plugins/wp-social-feed/includes/sfbap1-settings-page.php+964
Undefined index: action
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
- 3× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/wp-social-feed/js/template.php
- > /wp-content/plugins/wp-social-feed/includes/sfbap1-rate-us.php
- > /wp-content/plugins/wp-social-feed/includes/sfbap1-landing-page.php
- 8× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-social-feed/includes/sfbap1-save-post.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-social-feed/includes/sfbap1-post-meta-boxes.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/wp-social-feed/includes/sfbap1-settings-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/wp-social-feed/includes/sfbap1-our-plugins.php:81
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/wp-social-feed/includes/sfbap1-shortcode.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-social-feed/includes/sfbap1-enqueue-scripts.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-social-feed/includes/sfbap1-post-type.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wp-social-feed/includes/sfbap1-custom-columns.php: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/post-new.php?post_type=sfbap1_social_feed
- > Network (severe)
https://www.arrowplugins.com/1.gif - Failed to load resource: the server responded with a status of 403 ()
- > GET request to /wp-admin/post-new.php?post_type=sfbap1_social_feed
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/post-new.php?post_type=sfbap1_social_feed
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
- > GET request to /wp-admin/post-new.php?post_type=sfbap1_social_feed
- > Other (severe) in unknown
chrome-error://chromewebdata/ - Refused to display 'https://developers.google.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
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:
- Tags: Please reduce the number of tags, currently 74 tag instead of maximum 10
wp-social-feed/social-feed-by-arrowplugins.php 92% from 13 tests
"Social Feed | Custom Feed for Social Media Networks" version 2.2.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("wp-social-feed.php" instead of "social-feed-by-arrowplugins.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected43,556 lines of code in 201 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 181 | 5,000 | 5,211 | 39,581 |
PHP | 14 | 564 | 198 | 3,644 |
CSS | 2 | 19 | 10 | 248 |
HTML | 3 | 10 | 0 | 52 |
Bourne Shell | 1 | 12 | 0 | 31 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 22 | |
▷ Named functions | 21 | 95.45% |
▷ Anonymous functions | 1 | 4.55% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
45 PNG files occupy 3.28MB with 2.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/images/sslogo.png | 28.92KB | 5.27KB | ▼ 81.78% |
includes/images/promotion.png | 135.30KB | 35.01KB | ▼ 74.13% |
includes/images/fb-info.png | 0.40KB | 0.27KB | ▼ 32.35% |
includes/images/template3.png | 255.03KB | 84.38KB | ▼ 66.92% |
includes/images/p-product.png | 70.40KB | 13.37KB | ▼ 81.01% |