Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use remediation function CONSTANT_ISSUE #2462

Merged
merged 1 commit into from
Dec 30, 2022

Conversation

guwirth
Copy link
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