Skip to content

use remediation function CONSTANT_ISSUE#2462

Merged
guwirth merged 1 commit intoSonarOpenCommunity:masterfrom
guwirth:CONSTANT_ISSUE
Dec 30, 2022
Merged

use remediation function CONSTANT_ISSUE#2462
guwirth merged 1 commit intoSonarOpenCommunity:masterfrom
guwirth:CONSTANT_ISSUE

Conversation

@guwirth
Copy link
Copy Markdown
Collaborator

@guwirth guwirth commented Dec 29, 2022


This change is Reviewable

@guwirth guwirth added the bug label Dec 29, 2022
@guwirth guwirth added this to the 2.1.0 milestone Dec 29, 2022
@guwirth guwirth self-assigned this Dec 29, 2022
- adapt type to other plugins (former LINEAR)
  - see https://github.com/SonarSource/sonar-plugin-api/blob/master/plugin-api/src/main/java/org/sonar/api/server/debt/DebtRemediationFunction.java
- adapt Python scripts to create XML rule files
- RulesDefinitionXmlLoader: add default values for remediationFunction:CONSTANT_ISSUE and remediationFunctionBaseEffort:5min
- remove default values from rule files to keep them small: type=CODE_SMELL; severity=MAJOR; remediationFunction=CONSTANT_ISSUE; remediationFunctionBaseEffort=5min
- pc-lint, rats, vera++: remove severity INFO, use default MAJOR instead (INFO has no effort)
- use minimal remediationFunctionBaseEffort: 5min
@guwirth guwirth merged commit 4b6eb16 into SonarOpenCommunity:master Dec 30, 2022
@guwirth guwirth deleted the CONSTANT_ISSUE branch February 8, 2023 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant