Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The following installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/all-in-one-social-feeds/all-in-one-social-feeds.php+11
Constant WP_DEBUG already defined
Server metrics [RAM: ▼1.96MB] [CPU: ▼55.55ms] Passed 4 tests
This is a short check of server-side resources used by All in one Social Feeds
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.43 | 5.28 ▼34.21 |
Dashboard /wp-admin | 2.05 ▼1.26 | 5.36 ▼44.83 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 5.36 ▼45.42 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 5.53 ▼97.72 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 5.69 ▼29.11 |
About Us /wp-admin/admin.php?page=about-us | 2.05 | 5.07 |
All in one Social Feeds /wp-admin/admin.php?page=aiosf-page-setting | 2.05 | 5.77 |
Server storage [IO: ▲0.92MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 65 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_allsocialfeed_widget |
Browser metrics Passed 4 tests
Checking browser requirements for All in one Social Feeds
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲203 | 13.71 ▼0.45 | 11.62 ▲9.75 | 47.83 ▼5.46 |
Dashboard /wp-admin | 2,233 ▲45 | 5.80 ▲0.89 | 102.94 ▼4.91 | 79.44 ▲38.02 |
Posts /wp-admin/edit.php | 2,110 ▲21 | 1.98 ▼0.06 | 39.02 ▼1.83 | 35.72 ▼0.22 |
Add New Post /wp-admin/post-new.php | 1,542 ▲1 | 23.08 ▲4.87 | 742.38 ▲123.30 | 61.12 ▲12.08 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.21 ▲0.02 | 97.27 ▼1.65 | 74.99 ▲31.12 |
About Us /wp-admin/admin.php?page=about-us | 822 | 2.07 | 27.02 | 30.07 |
All in one Social Feeds /wp-admin/admin.php?page=aiosf-page-setting | 1,172 | 2.08 | 26.61 | 32.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/all-in-one-social-feeds/all-in-one-social-feeds.php+11
Constant WP_DEBUG already defined
- This plugin did not uninstall successfully, leaving 7 options in the database
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_allsocialfeed_widget
- db_upgraded
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/all-in-one-social-feeds.php+11
Constant WP_DEBUG already defined
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+5
Undefined index: add_opt_submit
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+8
Undefined index: netgo_fb_enable
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+9
Undefined index: netgo_facebook_app_id
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+10
Undefined index: netgo_facebook_secret_key
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+11
Undefined index: netgo_facebook_page_id
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+13
Undefined index: netgo_tw_enable
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+14
Undefined index: netgo_consumer_key
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+15
Undefined index: netgo_screen_name
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+16
Undefined index: netgo_consumer_secret
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+17
Undefined index: netgo_access_token
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+18
Undefined index: netgo_access_token_secret
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+21
Undefined index: netgo_ins_enable
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+22
Undefined index: netgo_ins_user_id
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+23
Undefined index: netgo_ins_access_token
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+26
Undefined index: netgo_pi_enable
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+27
Undefined index: netgo_pi_user_name
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+30
Undefined index: netgo_yt_enable
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+31
Undefined index: netgo_youtube_video_url
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+34
Undefined index: netgo_box_h
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+35
Undefined index: netgo_feeds
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+36
Undefined index: netgo_jquery_include
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+38
Undefined index: saved
- > GET request to /wp-admin/admin.php?page=aiosf-page-setting
- > Notice in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php+124
Undefined variable: message
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
Almost there! Just fix the following items
- 3× PHP files output text when accessed directly:
- > /wp-content/plugins/all-in-one-social-feeds/pages/default/tw.php
- > /wp-content/plugins/all-in-one-social-feeds/pages/default/yt.php
- > /wp-content/plugins/all-in-one-social-feeds/pages/default/pi.php
- 20× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/all-in-one-social-feeds/pages/default/tw.php on line 6
- > PHP Warning
count(): Parameter must be an array or an object that implements Countable in wp-content/plugins/all-in-one-social-feeds/pages/default/pi.php on line 4
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/all-in-one-social-feeds/includes/yt/youtube.php:2
- > PHP Notice
Trying to get property 'data' of non-object in wp-content/plugins/all-in-one-social-feeds/pages/default/in.php on line 3
- > PHP Notice
Undefined variable: response in wp-content/plugins/all-in-one-social-feeds/pages/default/tw.php on line 4
- > PHP Fatal error
Uncaught Error: Call to a member function api() on null in wp-content/plugins/all-in-one-social-feeds/pages/default/fb.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/all-in-one-social-feeds/pages/about-us.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function sanitize_text_field() in wp-content/plugins/all-in-one-social-feeds/pages/aiosf-page-setting.php:5
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/all-in-one-social-feeds/pages/default/in.php on line 3
- > PHP Notice
Undefined variable: result in wp-content/plugins/all-in-one-social-feeds/pages/default/in.php on line 2
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: These screenshots do not have images: #1 (Back end faceBook credentials setting), #2 (Back end twitter credentials setting), #3 (Back end instagram credentials setting), #4 (Back end pinterest credentials setting), #5 (Back end youTube credentials setting), #6 (Front end faceBook feeds look.), #7 (Front end twitter feeds look.), #8 (Front end instagram feeds look.), #9 (Front end pinterest feeds look.), #10 (Front end youTube feed look.)
all-in-one-social-feeds/all-in-one-social-feeds.php Passed 13 tests
The main PHP file in "All in one Social Feeds" ver. 1.0.0 adds more information about the plugin and also serves as the entry point for this plugin
122 characters long description:
This plugin helps to display latest feeds from facebook, twitter,instagram,pinterest and youtube with tabs using a widget.
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
These items require your attention
- For security reasons, never distribute binary or executable files with your plugin
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
- ☣ wp-content/plugins/all-in-one-social-feeds/includes/fb/fb_ca_chain_bundle.crt
- .crt - Security Certificate in Firefox, IE, Chrome, Safari
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 229 | 655 | 1,466 |
CSS | 3 | 557 | 163 | 1,409 |
JavaScript | 3 | 60 | 145 | 452 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 32.40 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 116.00 |
Average method complexity | 3.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 1 | 20.00% |
▷ Concrete classes | 4 | 80.00% |
▷ Final classes | 0 | 0.00% |
Methods | 80 | |
▷ Static methods | 5 | 6.25% |
▷ Public methods | 36 | 45.00% |
▷ Protected methods | 42 | 52.50% |
▷ Private methods | 2 | 2.50% |
Functions | 6 | |
▷ Named functions | 6 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 10 | |
▷ Global constants | 6 | 60.00% |
▷ Class constants | 4 | 40.00% |
▷ Public constants | 4 | 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
37 PNG files occupy 0.42MB with 0.20MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/img/boxLeft.png | 0.19KB | 0.14KB | ▼ 27.08% |
images/twitter.png | 0.47KB | 0.73KB | 0.00% |
screenshot-9.png | 78.74KB | 7.98KB | ▼ 89.87% |
screenshot-7.png | 21.21KB | 9.17KB | ▼ 56.77% |
images/date-celender.png | 1.23KB | 0.44KB | ▼ 64.00% |