Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.61MB] [CPU: ▲0.07ms] Passed 4 tests
An overview of server-side resources used by Rundiz OAuth
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.13 ▲0.67 | 41.83 ▲0.16 |
Dashboard /wp-admin | 3.94 ▲0.64 | 55.78 ▲2.71 |
Posts /wp-admin/edit.php | 3.99 ▲0.64 | 56.64 ▲8.39 |
Add New Post /wp-admin/post-new.php | 6.46 ▲0.58 | 94.26 ▼10.98 |
Media Library /wp-admin/upload.php | 3.80 ▲0.57 | 49.45 ▲13.79 |
Rundiz OAuth /wp-admin/options-general.php?page=rd-oauth-settings | 3.88 | 42.65 |
Server storage [IO: ▲1.34MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 64 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_rdoauth_loginlinks_widget |
widget_recent-posts |
rundizoauth_options |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Rundiz OAuth
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,797 ▲35 | 14.31 ▲0.10 | 1.68 ▼0.07 | 39.39 ▼5.29 |
Dashboard /wp-admin | 2,202 ▲30 | 5.61 ▼0.09 | 93.30 ▼9.27 | 41.98 ▲1.22 |
Posts /wp-admin/edit.php | 2,101 ▼2 | 2.15 ▲0.17 | 39.37 ▼2.39 | 35.50 ▲0.03 |
Add New Post /wp-admin/post-new.php | 1,694 ▲166 | 22.19 ▼0.86 | 667.92 ▲4.01 | 57.83 ▲6.13 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.18 ▼0.01 | 96.00 ▼5.26 | 43.13 ▼4.43 |
Rundiz OAuth /wp-admin/options-general.php?page=rd-oauth-settings | 1,517 | 2.01 | 27.61 | 36.03 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_rdoauth_loginlinks_widget
- widget_recent-comments
- can_compress_scripts
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 | 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
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/okv-oauth/App/Views/admin/adminNotice_v.php
- 21× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RundizOauth\\App\\Libraries\\ErrorsCollection' not found in wp-content/plugins/okv-oauth/templates/okv-oauth/partials/lostPasswordForm_v.php:1
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/okv-oauth/App/config/settings_rdoauth.php:10
- > PHP Fatal error
Uncaught Error: Interface 'RundizOauth\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/okv-oauth/App/Controllers/Admin/Activation.php:12
- > PHP Fatal error
Uncaught Error: Interface 'RundizOauth\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/okv-oauth/App/Controllers/Blocks/LoginLinks.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/okv-oauth/templates/okv-oauth/partials/registerForm_v.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/okv-oauth/templates/okv-oauth/index_v.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function is_ssl() in wp-content/plugins/okv-oauth/blocks/loginlinks/render.php:10
- > PHP Fatal error
Trait 'RundizOauth\\App\\AppTrait' not found in wp-content/plugins/okv-oauth/App/Libraries/MyOauth/Google.php on line 20
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/okv-oauth/templates/okv-oauth/partials/editAccountChangeEmailButton_v.php:2
- > PHP Fatal error
Uncaught Error: Interface 'RundizOauth\\App\\Controllers\\ControllerInterface' not found in wp-content/plugins/okv-oauth/App/Controllers/Admin/Settings.php:12
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
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
9 plugin tags: social login, facebook, google login, google register, social connect...
okv-oauth/okv-oauth.php Passed 13 tests
The primary PHP file in "Rundiz OAuth" version 1.5.2 is used by WordPress to initiate all plugin functionality
57 characters long description:
Use OAuth such as Google, Facebook to login and register.
Code Analysis Passed 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
Success! There were no dangerous files found in this plugin6,375 lines of code in 55 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 36 | 667 | 1,128 | 3,031 |
SVG | 1 | 0 | 0 | 2,671 |
PO File | 1 | 100 | 137 | 242 |
CSS | 7 | 27 | 18 | 190 |
JavaScript | 7 | 27 | 81 | 110 |
Markdown | 1 | 34 | 0 | 84 |
JSON | 2 | 0 | 0 | 47 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.60 |
Average class complexity | 32.62 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 218.00 |
Average method complexity | 7.46 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 1 | |
Traits | 1 | |
Classes | 19 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 19 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 103 | |
▷ Static methods | 4 | 3.88% |
▷ Public methods | 83 | 80.58% |
▷ Protected methods | 6 | 5.83% |
▷ Private methods | 14 | 13.59% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
No PNG files were detected