oidc-wp / openid-connect-generic

WordPress plugin to provide an OpenID Connect Generic client
https://wordpress.org/plugins/daggerhart-openid-connect-generic/
261 stars 155 forks source link

feat(Logging): Updates logging to allow for tracking processing time #522

Closed timnolte closed 8 months ago

timnolte commented 8 months ago

All Submissions:

Changes proposed in this Pull Request:

How to test the changes in this Pull Request:

Dev Container

  1. Startup the Dev Container.
  2. Review startup output.
  3. Note that there shouldn't be red error notices for items that are expected to happen during startup.

Logging Updates

  1. Turn on Logging.
  2. Observe new logging table output that includes processing time on some actions.

Other information:

Changelog entry

Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.

github-actions[bot] commented 8 months ago

Coverage report for commit: 57c08c4 File: clover.xml

Cover ┌─────────────────────────┐ Freq.
   0% │ ███████████████████████ │ 75.0%
  10% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  20% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  30% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  40% │ ████░░░░░░░░░░░░░░░░░░░ │ 12.5%
  50% │ ████░░░░░░░░░░░░░░░░░░░ │ 12.5%
  60% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  70% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  80% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
  90% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
 100% │ ░░░░░░░░░░░░░░░░░░░░░░░ │  0.0%
      └─────────────────────────┘
 *Legend:* █ = Current Distribution 
Summary - Lines: 3.51% | Methods: 5.21%
FilesLinesMethodsBranches
/workspaces/openid-connect-generic/includes
   functions.php-100.00%100.00%
   openid-connect-generic-client-wrapper.php--100.00%
   openid-connect-generic-client.php--100.00%
   openid-connect-generic-login-form.php--100.00%
   openid-connect-generic-option-logger.php37.80%44.44%100.00%
   openid-connect-generic-option-settings.php47.37%12.50%100.00%
   openid-connect-generic-settings-page.php--100.00%
/workspaces/openid-connect-generic
   openid-connect-generic.php1.77%-100.00%

:robot: comment via lucassabreu/comment-coverage-clover