Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/accesspress-social-login-lite/accesspress-social-login-lite.php+164
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.23MB] [CPU: ▼300.78ms] Passed 4 tests
This is a short check of server-side resources used by AccessPress Social Login Lite - Social Login WordPress Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.83 ▲0.32 | 57.59 ▼1.10 |
Dashboard /wp-admin | 3.67 ▲0.26 | 36.90 ▼3.11 |
Posts /wp-admin/edit.php | 3.89 ▲0.25 | 44.85 ▼1.29 |
Add New Post /wp-admin/post-new.php | 7.14 ▲0.16 | 98.93 ▼1,192.74 |
Media Library /wp-admin/upload.php | 3.55 ▲0.25 | 29.06 ▼5.97 |
Server storage [IO: ▲8.56MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 263 new files
Database: 1 new table, 2 new options
New tables |
---|
wp_apsl_users_social_profile_details |
New WordPress options |
---|
widget_apsl_widget |
apsl-lite-settings |
Browser metrics Passed 4 tests
An overview of browser requirements for AccessPress Social Login Lite - Social Login WordPress Plugin
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,952 ▲208 | 16.37 ▲0.73 | 9.01 ▲0.17 | 2.90 ▲0.37 |
Dashboard /wp-admin | 2,913 ▲52 | 6.22 ▲0.06 | 119.04 ▼16.69 | 173.82 ▲11.99 |
Posts /wp-admin/edit.php | 2,694 ▲9 | 3.14 ▼0.10 | 65.99 ▲0.98 | 131.25 ▼11.06 |
Add New Post /wp-admin/post-new.php | 1,682 ▼16 | 19.14 ▼2.47 | 388.33 ▼41.05 | 195.77 ▲35.55 |
Media Library /wp-admin/upload.php | 1,714 ▲16 | 5.66 ▲0.13 | 124.79 ▼24.29 | 193.97 ▼1.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_apsl_users_social_profile_details
- Zombie WordPress options detected upon uninstall: 2 options
- apsl-lite-settings
- widget_apsl_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following
- 10× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/accesspress-social-login-lite/inc/backend/save-settings.php
- > /wp-content/plugins/accesspress-social-login-lite/inc/backend/about.php
- > /wp-content/plugins/accesspress-social-login-lite/inc/backend/how-to-use.php
- > /wp-content/plugins/accesspress-social-login-lite/inc/frontend/login_check.php
- > /wp-content/plugins/accesspress-social-login-lite/accesspress-social-login-lite.php
- > /wp-content/plugins/accesspress-social-login-lite/inc/backend/widget.php
- > /wp-content/plugins/accesspress-social-login-lite/inc/backend/main-page.php
- > /wp-content/plugins/accesspress-social-login-lite/inc/frontend/login_integration.php
- > /wp-content/plugins/accesspress-social-login-lite/inc/frontend/shortcode.php
- > /wp-content/plugins/accesspress-social-login-lite/inc/backend/activation.php
- 169× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Warning
require_once(APSL_PLUGIN_DIRgoogle/Client.php): failed to open stream: No such file or directory in wp-content/plugins/accesspress-social-login-lite/google/IO/Abstract.php on line 22
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\Collection' not found in wp-content/plugins/accesspress-social-login-lite/facebook/facebook/GraphNodes/GraphNode.php:31
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/accesspress-social-login-lite/facebook/GraphNodes/GraphEvent.php:31
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\Collection' not found in wp-content/plugins/accesspress-social-login-lite/facebook/GraphNodes/GraphEdge.php:35
- > PHP Warning
Use of undefined constant APSL_PLUGIN_DIR - assumed 'APSL_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/accesspress-social-login-lite/google/Http/CacheParser.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/accesspress-social-login-lite/facebook/facebook/GraphNodes/GraphObject.php:34
- > PHP Warning
Use of undefined constant APSL_PLUGIN_DIR - assumed 'APSL_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/accesspress-social-login-lite/google/Cache/File.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/accesspress-social-login-lite/facebook/GraphNodes/GraphLocation.php:31
- > PHP Warning
require_once(APSL_PLUGIN_DIRgoogle/Auth/AssertionCredentials.php): failed to open stream: No such file or directory in wp-content/plugins/accesspress-social-login-lite/google/Client.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'Facebook\\GraphNodes\\GraphNode' not found in wp-content/plugins/accesspress-social-login-lite/facebook/facebook/GraphNodes/GraphPicture.php:31
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Tags: Too many tags (13 tag instead of maximum 10); only the first 5 tags are used in your directory listing
accesspress-social-login-lite/accesspress-social-login-lite.php Passed 13 tests
The main PHP file in "AccessPress Social Login Lite - Social Login WordPress Plugin" ver. 3.4.8 adds more information about the plugin and also serves as the entry point for this plugin
48 characters long description:
A plugin to add various social logins to a site.
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
No dangerous file extensions were detected37,297 lines of code in 142 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 6 | 0 | 0 | 19,104 |
PHP | 129 | 2,620 | 8,385 | 13,977 |
CSS | 5 | 1,688 | 33 | 4,172 |
JavaScript | 2 | 7 | 4 | 44 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 6.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 134.00 |
Average method complexity | 1.71 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 34.00 |
Code structure | ||
---|---|---|
Namespaces | 11 | |
Interfaces | 10 | |
Traits | 2 | |
Classes | 243 | |
▷ Abstract classes | 9 | 3.70% |
▷ Concrete classes | 234 | 96.30% |
▷ Final classes | 0 | 0.00% |
Methods | 1,993 | |
▷ Static methods | 60 | 3.01% |
▷ Public methods | 1,856 | 93.13% |
▷ Protected methods | 65 | 3.26% |
▷ Private methods | 72 | 3.61% |
Functions | 10 | |
▷ Named functions | 4 | 40.00% |
▷ Anonymous functions | 6 | 60.00% |
Constants | 92 | |
▷ Global constants | 8 | 8.70% |
▷ Class constants | 84 | 91.30% |
▷ Public constants | 84 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
12 PNG files occupy 1.53MB with 1.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/customize.png | 24.05KB | 8.41KB | ▼ 65.05% |
images/buffer-white.png | 1.49KB | 0.77KB | ▼ 48.39% |
images/top-line.png | 1.04KB | 0.10KB | ▼ 90.47% |
images/buffer.png | 1.23KB | 0.69KB | ▼ 44.12% |
images/accesspress-social-login-gallery-upgrade to pro-feature.png | 928.78KB | 21.00KB | ▼ 97.74% |