The measures page on the screenshot shows the count of new lines of code on that branch/PR.
As for the licence_usage endpoint and lines of code that count towards the license:
For a given project, the LOCs that count towards License Usage are those of the largest branch (or pull request). Lines of test code do not count toward your License Usage.
Since we there are only 2 branches on the project and the PR is the only one that has the analysis, the total LoC count of the PR will be used for the license usage calculation.
Does the LoC from the license_usage endpoint look correct for total lines of code in the branch for that PR?
So the issue seems to be related to the PR not being cleaned up in SQ. We see from the first image having the overview of the PR branch that the last analysis was Apr 2021.
We already checked the Global Settings → Housekeeping are all set to default values.
We would like to know why the PR branches are not cleaning up automatically?