Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
- The plugin did not install without errors
- > Notice in wp-content/plugins/wp-aio-social/lib/social.class.php+31
Undefined index: EnableSharing
Server metrics [RAM: ▼1.56MB] [CPU: ▼49.11ms] Passed 4 tests
A check of server-side resources used by Wp AIO Social
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.43 ▼1.03 | 8.32 ▼33.34 |
Dashboard /wp-admin | 2.45 ▼0.85 | 10.43 ▼38.96 |
Posts /wp-admin/edit.php | 2.45 ▼0.91 | 8.70 ▼37.95 |
Add New Post /wp-admin/post-new.php | 2.45 ▼3.44 | 10.13 ▼86.20 |
Media Library /wp-admin/upload.php | 2.45 ▼0.78 | 9.15 ▼25.43 |
Wp Aio Social /wp-admin/options-general.php?page=wp-aio-social | 2.45 | 8.94 |
Server storage [IO: ▲0.38MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
No storage issues were detected
Filesystem: 51 new files
Database: no new tables, 16 new options
New WordPress options |
---|
widget_recent-posts |
widget_theysaidso_widget |
widget_rhea-socialicons-widget |
widget_rhea-soundcloud-widget |
widget_rhea-instagram-widget |
widget_rhea-subscribe-widget |
widget_rhea-fb-widget |
db_upgraded |
widget_rhea-gplus-widget |
widget_social-counter-widget |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Wp AIO Social
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,796 ▲61 | 14.59 ▲0.21 | 35.89 ▲34.37 | 40.97 ▲1.32 |
Dashboard /wp-admin | 2,081 ▼107 | 5.69 ▼0.18 | 88.15 ▼15.61 | 37.86 ▼6.54 |
Posts /wp-admin/edit.php | 2,115 ▲26 | 2.32 ▲0.35 | 37.57 ▼0.77 | 31.00 ▼0.76 |
Add New Post /wp-admin/post-new.php | 1,529 ▼14 | 23.36 ▲5.30 | 606.78 ▼56.30 | 33.44 ▼51.70 |
Media Library /wp-admin/upload.php | 1,406 ▲18 | 4.52 ▲0.34 | 102.88 ▼15.11 | 45.46 ▼4.23 |
Wp Aio Social /wp-admin/options-general.php?page=wp-aio-social | 984 | 2.60 | 29.07 | 41.70 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/wp-aio-social/lib/social.class.php+31
Undefined index: EnableSharing
- This plugin did not uninstall successfully, leaving 16 options in the database
- can_compress_scripts
- db_upgraded
- widget_rhea-socialicons-widget
- widget_recent-posts
- widget_rhea-flickr-widget
- widget_rhea-gplus-widget
- widget_social-counter-widget
- widget_rhea-instagram-widget
- widget_recent-comments
- widget_rhea-social-tabs-widget
- ...
Smoke tests 0% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > Notice in wp-content/plugins/wp-aio-social/lib/social.class.php+31
Undefined index: EnableSharing
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in RheaWidget_fb is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in RheaWidget_gplus is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in RheaWidget_twitter is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in RheaWidget_soundcloud is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in RheaWidget_subscribe is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in RheaWidget_flickr is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in RheaWidget_socialicons is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in RheaWidget_counter is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in RheaWidget_SocialTabs is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in RheaWidget_instagram is deprecated since version 4.3.0! Use __construct() instead.
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wp-aio-social/admin/lib/phpFlickr/phpFlickr.php
- > /wp-content/plugins/wp-aio-social/admin/lib/phpFlickr/example.php
- 25× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
require_once(): Failed opening required 'RHEAPATH/admin/inc/widgets/widgets.class.php' (include_path='.:/usr/share/php') in wp-content/plugins/wp-aio-social/admin/inc/widgets/init.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_bloginfo() in wp-content/plugins/wp-aio-social/functions.php:12
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-aio-social/admin/inc/widgets/gplus.widget.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-aio-social/init.php:3
- > PHP Warning
Use of undefined constant RHEAPATH - assumed 'RHEAPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/wp-aio-social/admin/inc/widgets/init.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wp-aio-social/wp-aio-social.php:21
- > PHP Notice
unserialize(): Error at offset 0 of 169 bytes in wp-content/plugins/wp-aio-social/admin/lib/phpFlickr/phpFlickr.php on line 601
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/wp-aio-social/admin/inc/widgets/icons.widget.php:9
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/wp-aio-social/admin/lib/phpFlickr/example.php on line 21
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-aio-social/admin/lib/settings.class.php:23
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/options-general.php?page=wp-aio-social
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
7 plugin tags: social icons, instagram feed, all in one social widget, wordpress social counter, wordpress social widget...
wp-aio-social/wp-aio-social.php Passed 13 tests
"Wp AIO Social" version 0.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
120 characters long description:
WP Aio Social :An All In One Social Plugin for Wordpress, Powered With Social Widgets, Social Icons, Sharing and Badges.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Good job! No executable or dangerous file extensions detected4,275 lines of code in 36 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 25 | 1,582 | 726 | 3,177 |
CSS | 7 | 42 | 53 | 485 |
HTML | 1 | 2 | 0 | 315 |
JSON | 1 | 0 | 0 | 232 |
SVG | 1 | 0 | 0 | 48 |
JavaScript | 1 | 6 | 2 | 18 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 24.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 184.00 |
Average method complexity | 2.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 31.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 294 | |
▷ Static methods | 16 | 5.44% |
▷ Public methods | 280 | 95.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 4.76% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There are no PNG files in this plugin