Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- Install procedure had errors
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▼1.96MB] [CPU: ▼55.68ms] Passed 4 tests
An overview of server-side resources used by WebUser All in one
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 4.73 ▼38.70 |
Dashboard /wp-admin | 2.05 ▼1.26 | 6.66 ▼46.52 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 6.57 ▼43.02 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.73 ▼94.46 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.68 ▼27.69 |
Google Apps Login /wp-admin/options-general.php?page=galogin_list_options | 2.05 | 6.47 |
Server storage [IO: ▲3.96MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 116 new files
Database: no new tables, 8 new options
New WordPress options |
---|
can_compress_scripts |
dc_options |
theysaidso_admin_options |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
recovery_mode_email_last_sent |
Browser metrics Passed 4 tests
An overview of browser requirements for WebUser All in one
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,920 ▲159 | 14.57 ▼0.09 | 1.92 ▲0.26 | 30.83 ▼11.73 |
Dashboard /wp-admin | 2,275 ▲95 | 5.84 ▲0.19 | 88.39 ▼6.43 | 44.07 ▲0.46 |
Posts /wp-admin/edit.php | 2,129 ▲26 | 2.02 ▼0.13 | 35.26 ▼6.59 | 34.69 ▼3.27 |
Add New Post /wp-admin/post-new.php | 691 ▼846 | 1.71 ▼21.52 | 19.99 ▼687.96 | 5.50 ▼52.19 |
Media Library /wp-admin/upload.php | 1,426 ▲26 | 4.18 ▼0.06 | 109.17 ▲3.50 | 50.67 ▲5.31 |
Google Apps Login /wp-admin/options-general.php?page=galogin_list_options | 885 | 2.14 | 26.05 | 33.80 |
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 did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- The uninstall procedure has failed, leaving 8 options in the database
- can_compress_scripts
- recovery_mode_email_last_sent
- widget_recent-comments
- widget_theysaidso_widget
- dc_options
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 50% 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
- > GET request to /wp-admin/options-general.php?page=galogin_list_options
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- 6 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=galogin_list_options
- > User deprecated in wp-includes/functions.php+5453
Function force_ssl_login is deprecated since version 4.4.0! Use force_ssl_admin() instead.
SRP 50% 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
The following issues need your attention
- 112× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/webuser-all-in-one/admin_options.php:5
- > PHP Fatal error
Uncaught Error: Class 'GoogleGAL_Service' not found in wp-content/plugins/webuser-all-in-one/core/Google/Service/Webfonts.php:32
- > PHP Warning
require_once(Google/Model.php): failed to open stream: No such file or directory in wp-content/plugins/webuser-all-in-one/core/Google/Collection.php on line 3
- > PHP Warning
require_once(Google/Cache/Abstract.php): failed to open stream: No such file or directory in wp-content/plugins/webuser-all-in-one/core/Google/Cache/Apc.php on line 18
- > PHP Warning
require_once(Google/Exception.php): failed to open stream: No such file or directory in wp-content/plugins/webuser-all-in-one/core/Google/Cache/Exception.php on line 17
- > PHP Fatal error
Uncaught Error: Class 'GoogleGAL_Service' not found in wp-content/plugins/webuser-all-in-one/core/Google/Service/Bigquery.php:32
- > PHP Fatal error
require_once(): Failed opening required 'Google/Cache/Abstract.php' (include_path='.:/usr/share/php') in wp-content/plugins/webuser-all-in-one/core/Google/Cache/File.php on line 18
- > PHP Fatal error
Uncaught Error: Class 'GoogleGAL_Service' not found in wp-content/plugins/webuser-all-in-one/core/Google/Service/Audit.php:32
- > PHP Fatal error
Uncaught Error: Class 'GoogleGAL_Service' not found in wp-content/plugins/webuser-all-in-one/core/Google/Service/Analytics.php:32
- > PHP Fatal error
Uncaught Error: Class 'GoogleGAL_Service' not found in wp-content/plugins/webuser-all-in-one/core/Google/Service/AppState.php:32
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Plugin Name: Please specify the plugin name on the first line (
=== webuser-all-in-one ===
) - Donate link: Please fix this invalid url: ""
webuser-all-in-one/WebUser All in one.php 85% from 13 tests
The main PHP file in "WebUser All in one" ver. 1.2.5 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("webuser-all-in-one.php" instead of "WebUser All in one.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 300 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected104,590 lines of code in 104 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 98 | 17,631 | 21,639 | 103,878 |
PO File | 3 | 177 | 177 | 556 |
CSS | 2 | 23 | 0 | 120 |
JavaScript | 1 | 9 | 3 | 36 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.02 |
Average class complexity | 1.29 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 105.00 |
Average method complexity | 1.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1,920 | |
▷ Abstract classes | 5 | 0.26% |
▷ Concrete classes | 1,915 | 99.74% |
▷ Final classes | 0 | 0.00% |
Methods | 15,459 | |
▷ Static methods | 13 | 0.08% |
▷ Public methods | 15,381 | 99.50% |
▷ Protected methods | 51 | 0.33% |
▷ Private methods | 27 | 0.17% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 165 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 165 | 100.00% |
▷ Public constants | 165 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
4 PNG files occupy 0.16MB with 0.10MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
img/logo-W.png | 6.43KB | 3.29KB | ▼ 48.95% |
img/basic_avatars.png | 60.82KB | 17.00KB | ▼ 72.05% |
img/basic_driveplugin.png | 44.05KB | 16.22KB | ▼ 63.17% |
img/basic_loginupgrade.png | 48.68KB | 15.91KB | ▼ 67.32% |