Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲1.27MB] [CPU: ▲0.94ms] Passed 4 tests
A check of server-side resources used by OAuth Single Sign On - SSO (OAuth Client)
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.75 ▲1.28 | 43.54 ▲2.56 |
Dashboard /wp-admin | 4.58 ▲1.27 | 49.75 ▼0.20 |
Posts /wp-admin/edit.php | 4.63 ▲1.27 | 51.25 ▲6.09 |
Add New Post /wp-admin/post-new.php | 7.16 ▲1.27 | 99.56 ▼4.67 |
Media Library /wp-admin/upload.php | 4.51 ▲1.27 | 41.76 ▲10.48 |
Plugin Configuration /wp-admin/admin.php?page=mo_oauth_settings | 4.42 | 40.94 |
Add-ons /wp-admin/admin.php?page=?page=mo_oauth_settings&tab=addons | 4.27 | 30.56 |
Free Trial /wp-admin/admin.php?page=?page=mo_oauth_settings&tab=requestfordemo | 4.27 | 30.91 |
Premium Plans /wp-admin/admin.php?page=?page=mo_oauth_settings&tab=licensing | 4.27 | 27.68 |
Server storage [IO: ▲3.28MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 311 new files
Database: no new tables, 9 new options
New WordPress options |
---|
host_name |
mo_oauth_activation_time |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
db_upgraded |
widget_mooauth_widget |
Browser metrics Passed 4 tests
Checking browser requirements for OAuth Single Sign On - SSO (OAuth Client)
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,829 ▲82 | 14.34 ▼0.37 | 1.95 ▲0.20 | 31.51 ▼12.63 |
Dashboard /wp-admin | 2,235 ▲60 | 5.56 ▼0.08 | 84.71 ▼22.85 | 69.65 ▲27.11 |
Posts /wp-admin/edit.php | 2,134 ▲31 | 1.98 ▼0.05 | 36.14 ▼2.71 | 36.79 ▲3.47 |
Add New Post /wp-admin/post-new.php | 1,568 ▲42 | 25.07 ▲2.22 | 659.43 ▲69.91 | 59.56 ▲2.57 |
Media Library /wp-admin/upload.php | 1,437 ▲40 | 4.14 ▼0.08 | 94.81 ▲0.12 | 79.13 ▲37.09 |
Plugin Configuration /wp-admin/admin.php?page=mo_oauth_settings | 3,845 | 3.24 | 56.08 | 90.70 |
Add-ons /wp-admin/admin.php?page=?page=mo_oauth_settings&tab=addons | 28 | 0.41 | 0.10 | 3.87 |
Free Trial /wp-admin/admin.php?page=?page=mo_oauth_settings&tab=requestfordemo | 28 | 0.41 | 0.16 | 4.10 |
Premium Plans /wp-admin/admin.php?page=?page=mo_oauth_settings&tab=licensing | 28 | 0.41 | 0.08 | 3.13 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 8 options
- theysaidso_admin_options
- widget_mooauth_widget
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- mo_oauth_activation_time
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
Please fix the following items
- 5× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/miniorange-login-with-eve-online-google-facebook/class-mooauth-widget.php:19
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/miniorange-login-with-eve-online-google-facebook/class-mooauth-widget.php:19
- > PHP Fatal error
require_once(): Failed opening required 'class-mo-oauth-custom-oauth1.flow.php' (include_path='.:/usr/share/php') in wp-content/plugins/miniorange-login-with-eve-online-google-facebook/class-mo-oauth-custom-oauth1.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/miniorange-login-with-eve-online-google-facebook/admin/partials/setup_wizard/handler/class-mo-oauth-wizard-ajax.php:19
- > PHP Warning
require_once(class-mo-oauth-custom-oauth1.flow.php): failed to open stream: No such file or directory in wp-content/plugins/miniorange-login-with-eve-online-google-facebook/class-mo-oauth-custom-oauth1.php on line 15
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following browser errors
- > GET request to /wp-admin/admin.php?page=?page=mo_oauth_settings&tab=addons
- > Network (severe)
wp-admin/admin.php?page=?page=mo_oauth_settings&tab=addons - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=?page=mo_oauth_settings&tab=requestfordemo
- > Network (severe)
wp-admin/admin.php?page=?page=mo_oauth_settings&tab=requestfordemo - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/admin.php?page=?page=mo_oauth_settings&tab=licensing
- > Network (severe)
wp-admin/admin.php?page=?page=mo_oauth_settings&tab=licensing - Failed to load resource: the server responded with a status of 403 (Forbidden)
Optimizations
Plugin configuration 93% from 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
5 plugin tags: openid, oauth 20, login, sso, single sign-on
miniorange-login-with-eve-online-google-facebook/mo_oauth_settings.php 85% from 13 tests
The main PHP script in "OAuth Single Sign On - SSO (OAuth Client)" version 6.25.0 is automatically included on every request by WordPress
It is important to fix the following:
- Description: The description should be shorter than 140 characters (currently 330 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("miniorange-login-with-eve-online-google-facebook.php" instead of "mo_oauth_settings.php")
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Good job! No executable or dangerous file extensions detected10,723 lines of code in 86 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 45 | 797 | 1,446 | 7,733 |
PO File | 3 | 628 | 741 | 1,696 |
SVG | 1 | 0 | 0 | 685 |
JSON | 4 | 1 | 0 | 411 |
JavaScript | 15 | 5 | 36 | 180 |
CSS | 18 | 4 | 36 | 18 |
PHP code 50% from 2 tests
An overview of cyclomatic complexity and code structure
Please fix the following
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 262)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 25.92 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 306.00 |
Average method complexity | 5.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 262.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 24 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 24 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 125 | |
▷ Static methods | 35 | 28.00% |
▷ Public methods | 113 | 90.40% |
▷ Protected methods | 1 | 0.80% |
▷ Private methods | 11 | 8.80% |
Functions | 42 | |
▷ Named functions | 42 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
210 compressed PNG files occupy 0.91MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/partials/apps/images/classlink.png | 2.02KB | 2.03KB | 0.00% |
admin/partials/guides/images/testconfig.png | 5.66KB | 5.81KB | 0.00% |
admin/partials/addons/images/report.png | 1.52KB | 1.24KB | ▼ 17.97% |
admin/partials/addons/images/guest-user.png | 14.00KB | 13.59KB | ▼ 2.93% |
admin/partials/setup_wizard/images/mail.png | 1.13KB | 1.33KB | 0.00% |