Skip to content

Conversation

wordpressfan
Copy link
Contributor

Description

Fixes #(issue number)
Explain how this code impacts users.

Type of change

  • New feature (non-breaking change which adds functionality).
  • Bug fix (non-breaking change which fixes an issue).
  • Enhancement (non-breaking change which improves an existing functionality).
  • Breaking change (fix or feature that would cause existing functionality to not work as before).
  • Sub-task of #(issue number)
  • Chore
  • Release

Detailed scenario

What was tested

Describe the scenarios that you tested, and specify if it is automated or manual. For manual scenarios, provide a screenshot of the results.

How to test

Describe how the PR can be tested so that the validator can be autonomous: environment, dependencies, specific setup, steps to perform, API requests, etc.

Technical description

Documentation

Explain how this code works. Diagrams & drawings are welcome.

New dependencies

List any new dependencies that are required for this change.

Risks

List possible performance & security issues or risks, and explain how they have been mitigated.

Mandatory Checklist

Code validation

  • I validated all the Acceptance Criteria. If possible, provide screenshots or videos.
  • I triggered all changed lines of code at least once without new errors/warnings/notices.
  • I implemented built-in tests to cover the new/changed code.

Code style

  • I wrote a self-explanatory code about what it does.
  • I protected entry points against unexpected inputs.
  • I did not introduce unnecessary complexity.
  • Output messages (errors, notices, logs) are explicit enough for users to understand the issue and are actionnable.

Unticked items justification

If some mandatory items are not relevant, explain why in this section.

Additional Checks

  • In the case of complex code, I wrote comments to explain it.
  • When possible, I prepared ways to observe the implemented system (logs, data, etc.).
  • I added error handling logic when using functions that could throw errors (HTTP/API request, filesystem, etc.)

Copy link

codacy-production bot commented Aug 7, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 4e4d3701 32.86% (target: 50.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (4e4d370) Report Missing Report Missing Report Missing
Head commit (7d46956) 40325 17702 43.90%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#7551) 353 116 32.86%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

mostafa-hisham and others added 13 commits September 9, 2025 10:55
…ore in the WP Rocket dashboard (PR #7631)

Co-authored-by: WordPressFan <[email protected]>
Co-authored-by: mostafa-hisham <[email protected]>
Co-authored-by: WordPress Fan <[email protected]>
Co-authored-by: Gaël Robin <[email protected]>
# Conflicts:
#	assets/css/wpr-admin.min.css
#	inc/Engine/Admin/PerformanceMonitoring/Controller.php
#	inc/Engine/Admin/PerformanceMonitoring/Render.php
#	inc/Engine/Admin/PerformanceMonitoring/Subscriber.php
Co-authored-by: WordPressFan <[email protected]>
Co-authored-by: Gaël Robin <[email protected]>
Co-authored-by: COQUARD Cyrille <[email protected]>
Co-authored-by: WordPressFan <[email protected]>
# Conflicts:
#	inc/Engine/Admin/PerformanceMonitoring/Subscriber.php
#	views/settings/partials/performance-monitoring/global-score-widget.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants