Benchmarks
Plugin footprint 48% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.07MB] [CPU: ▼12.32ms] Passed 4 tests
A check of server-side resources used by Meveto
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.87 ▼0.59 | 18.36 ▼29.44 |
Dashboard /wp-admin | 3.41 ▲0.11 | 42.58 ▼4.10 |
Posts /wp-admin/edit.php | 3.45 ▲0.09 | 46.43 ▲0.67 |
Add New Post /wp-admin/post-new.php | 6.10 ▲0.22 | 75.04 ▼16.40 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 36.19 ▲3.71 |
Server storage [IO: ▲2.37MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 435 new files
Database: 2 new tables, 9 new options
New tables |
---|
wp_meveto_states |
wp_meveto_users |
New WordPress options |
---|
widget_meveto\frontend\mevetooauthwidget |
meveto_login_with_meveto_page |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
meveto_connect_page |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Meveto
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,893 ▲122 | 13.56 ▼0.82 | 2.53 ▲0.35 | 42.63 ▼3.00 |
Dashboard /wp-admin | 2,231 ▲46 | 5.07 ▲0.16 | 106.40 ▼1.63 | 37.82 ▼11.52 |
Posts /wp-admin/edit.php | 2,123 ▲34 | 2.32 ▲0.27 | 38.92 ▲1.57 | 33.81 ▼1.80 |
Add New Post /wp-admin/post-new.php | 1,542 ▲9 | 23.34 ▲0.10 | 677.27 ▼12.38 | 37.34 ▼27.21 |
Media Library /wp-admin/upload.php | 1,419 ▲34 | 4.34 ▲0.23 | 96.63 ▼26.21 | 41.98 ▼13.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 25% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- Uninstall procedure validation failed for this plugin
- > Notice in wp-content/plugins/login-with-meveto-oauth-client/Admin/MevetoOAuthAdmin.php+41
Undefined index: action
- This plugin does not fully uninstall, leaving 2 tables in the database
- wp_meveto_users
- wp_meveto_states
- Zombie WordPress options were found after uninstall: 9 options
- widget_recent-posts
- meveto_connect_page
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_meveto\frontend\mevetooauthwidget
- meveto_login_with_meveto_page
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/login-with-meveto-oauth-client/tests/bootstrap.php
- 302× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'ParagonIE_Sodium_Core32_Util' not found in wp-content/plugins/login-with-meveto-oauth-client/vendor/paragonie/sodium_compat/src/Core32/Poly1305/State.php:10
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/login-with-meveto-oauth-client/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php:4
- > PHP Notice
Constant SODIUM_CRYPTO_BOX_SECRETKEYBYTES already defined in wp-content/plugins/login-with-meveto-oauth-client/vendor/paragonie/sodium_compat/lib/php72compat_const.php on line 30
- > PHP Notice
Constant SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_NSECBYTES already defined in wp-content/plugins/login-with-meveto-oauth-client/vendor/paragonie/sodium_compat/lib/php72compat_const.php on line 16
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/login-with-meveto-oauth-client/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php:4
- > PHP Notice
Constant SODIUM_CRYPTO_SHORTHASH_KEYBYTES already defined in wp-content/plugins/login-with-meveto-oauth-client/vendor/paragonie/sodium_compat/lib/php72compat_const.php on line 72
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/login-with-meveto-oauth-client/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php:4
- > PHP Notice
Constant SODIUM_CRYPTO_SECRETBOX_KEYBYTES already defined in wp-content/plugins/login-with-meveto-oauth-client/vendor/paragonie/sodium_compat/lib/php72compat_const.php on line 73
- > PHP Fatal error
require_once(): Failed opening required 'wp-content/plugins/login-with-meveto-oauth-client/vendor/paragonie/sodium_compat/vendor/autoload.php' (include_path='.:/usr/share/php') in wp-content/plugins/login-with-meveto-oauth-client/vendor/paragonie/sodium_compat/autoload-phpunit.php on line 3
- > PHP Notice
Constant SODIUM_CRYPTO_AEAD_CHACHA20POLY1305_IETF_ABYTES already defined in wp-content/plugins/login-with-meveto-oauth-client/vendor/paragonie/sodium_compat/lib/php72compat_const.php on line 22
- > PHP Fatal error
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 96% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
4 plugin tags: meveto, password-less, access-management, authentication
login-with-meveto-oauth-client/meveto-login.php 92% from 13 tests
This is the main PHP file of "Meveto" version 3.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("login-with-meveto-oauth-client.php" instead of "meveto-login.php")
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 detected39,469 lines of code in 411 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 353 | 5,335 | 18,104 | 33,434 |
Markdown | 17 | 1,317 | 0 | 3,869 |
JSON | 16 | 0 | 0 | 1,561 |
YAML | 4 | 32 | 3 | 143 |
Bourne Shell | 4 | 28 | 12 | 140 |
CSS | 5 | 0 | 14 | 135 |
XML | 6 | 15 | 42 | 120 |
make | 2 | 13 | 4 | 35 |
JavaScript | 3 | 0 | 15 | 31 |
INI | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 9.82 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 330.00 |
Average method complexity | 2.79 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 25.00 |
Code structure | ||
---|---|---|
Namespaces | 31 | |
Interfaces | 22 | |
Traits | 5 | |
Classes | 292 | |
▷ Abstract classes | 24 | 8.22% |
▷ Concrete classes | 268 | 91.78% |
▷ Final classes | 20 | 7.46% |
Methods | 1,610 | |
▷ Static methods | 631 | 39.19% |
▷ Public methods | 1,392 | 86.46% |
▷ Protected methods | 80 | 4.97% |
▷ Private methods | 138 | 8.57% |
Functions | 307 | |
▷ Named functions | 208 | 67.75% |
▷ Anonymous functions | 99 | 32.25% |
Constants | 373 | |
▷ Global constants | 3 | 0.80% |
▷ Class constants | 370 | 99.20% |
▷ Public constants | 370 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected