Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Installer ran successfully
Server metrics [RAM: ▲0.06MB] [CPU: ▼4.69ms] Passed 4 tests
Analyzing server-side resources used by OpenID Connect Generic Client
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.00 ▼2.06 |
Dashboard /wp-admin | 3.38 ▲0.07 | 47.41 ▼3.38 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 47.60 ▼3.96 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 88.30 ▼9.34 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 40.21 ▲4.84 |
OpenID Connect Client /wp-admin/options-general.php?page=openid-connect-generic-settings | 3.26 | 31.67 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
openid-connect-generic-plugin-version |
Browser metrics Passed 4 tests
OpenID Connect Generic Client: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,799 ▲38 | 14.30 ▲0.07 | 1.58 ▼0.35 | 40.89 ▼4.62 |
Dashboard /wp-admin | 2,196 ▲19 | 5.54 ▼0.03 | 83.57 ▼5.16 | 43.15 ▼0.43 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▲0.03 | 36.26 ▲0.91 | 33.80 ▼5.54 |
Add New Post /wp-admin/post-new.php | 1,530 ▼1 | 23.09 ▲0.02 | 667.84 ▼4.64 | 52.33 ▼0.54 |
Media Library /wp-admin/upload.php | 1,395 ▼8 | 4.27 ▲0.10 | 101.91 ▼0.09 | 45.58 ▲1.59 |
OpenID Connect Client /wp-admin/options-general.php?page=openid-connect-generic-settings | 1,280 | 2.00 | 22.19 | 33.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- openid-connect-generic-plugin-version
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
The following issues need your attention
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/daggerhart-openid-connect-generic/includes/openid-connect-generic-option-settings.php:119
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
8 plugin tags: sso, login, apps, openidconnect, autologin...
daggerhart-openid-connect-generic/openid-connect-generic.php 92% from 13 tests
Analyzing the main PHP file in "OpenID Connect Generic Client" version 3.9.1
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("daggerhart-openid-connect-generic.php" instead of "openid-connect-generic.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin1,902 lines of code in 12 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 424 | 1,321 | 1,667 |
Markdown | 1 | 62 | 0 | 130 |
YAML | 2 | 13 | 5 | 78 |
CSS | 1 | 5 | 0 | 27 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 38.14 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 138.00 |
Average method complexity | 3.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 97 | |
▷ Static methods | 9 | 9.28% |
▷ Public methods | 87 | 89.69% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 10 | 10.31% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 1 | 100.00% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin