db* CODECOP for SonarQube v8.9.5
New
-
Based on db* CODECOP v4.3.0
- see Release Notes
-
PLSQLCOP-294: Support code duplication metrics and syntax highlighting in the standalone plugin
- Registering syntax highlighting tokens
- Register CPD (copy & paste duplication) tokens for
- Create Function
- Create Package Body
- Create Procedure
- Create Trigger
- Create Type Body
- Create View
- Code duplication is detected and recorded by SonarQube
-
PLSQLCOP-295: Support code coverage in the standalone plugin
- Use core metrics to save number of statements
- Process also test files (
sonar.tests
), see analysis parameters - Register executable lines (lines to be covered) for the following object types supported by utPLSQL:
- Create Function
- Create Package Body
- Create Procedure
- Create Trigger
- Create Type Body
- Process the code coverage report produced by utPLSQL-cli by setting the property
sonar.coverageReportPaths
when running sonar-scanner
Fixed
- PLSQLCOP-432: Missing log entries in debug mode
Compatibility
SonarQube
- Minumum SonarQube version: 7.9
- Latest SonarQube version tested: 9.6.1
Client Plugin
- Minimum db* CODECOP Validators version: 4.3.0 (older versions will not work)
- Latest db* CODECOP Validators version tested: 4.3.0