- None.
- None.
- Analyzer rules update (7 added)
- #187 pubspec.yaml parser fails when no dependencies are declared
- #223 some dartanalyzer rules disappeared
- None.
- None.
- Analyzer rules update: there are now 279 rules available
- #177 analyzer execution fails when errors detected.
- #212 source file not indexed with SonarQube 10.4+
- PR #201 bump snakeyaml and jackson-databind to latest versions
- Updated Apache Ivy to 2.5.2
- SonarQube API update to 7.9 for latest LTS support (9.9)
- Removed
dartanalyzer
implementation that scans each file individual, this may affect projects running on a (pretty) old Dart SDK. The replacement runs legacydartanalyzer .
instead which is much faster. - Renamed
sonar.flutter.analyzer.mode
tosonar.dart.analyzer.mode
and reworked implementation.- Available options
DETECT|DART|FLUTTER|MANUAL|DARTANALYZER
- Defaults to automatic detection by parsing the
pubspec.yaml
. - Uses
flutter analyze
whenenvironment.flutter
is configured inpubspec.yaml
. - Uses
dart analyze
whenenvironment.flutter
is NOT configured inpubspec.yaml
. - Allows to be configured for legacy
dartanalyzer
if required (DARTANALYZER
) - Allows to be configured for pre-existing analysis reports (
MANUAL
)
- Available options
- Renamed
sonar.dart.analysis.useExistingOptions
tosonar.dart.analyzer.options.override
, now defaults totrue
- Renamed
sonar.dart.analysis.reportPath
tosonar.dart.analyzer.report.path
- this is only evaluated whensonar.dart.analyzer.mode
is set toMANUAL
- Added
sonar.dart.analyzer.report.mode
option- Available options
DETECT|MACHINE|LEGACY
- Defaults to automatic detection by parsing the Dart SDK version and defaults to
--format=machine
for Dart when SDK >= 2.12 - Can be set to legacy mode when using pre-existing analysis report or an older Dart SDK
- Available options
- None.
- Add a
pubspec.yaml
sensor which adds the file to SonarQube and allow showing lints for this file - Add support for multi-module projects (
sonar.modules=mylib,mylib_generator,example
) - Added missing dart keywords and corrected some
try
hide
show
late
of
continue
covariant
out
do
dynamic
native
- Rules update
- Better rules description
- #160 dart analysis with an exception of NumberFormatException
- None.
- None.
- (#65) Support SonarQube 9 - (thanks to @kuhnroyal)
- (#32) make perfer final issue type to CODE_SMELL - (thanks to @magaofei)
- (#70) Automate changelog and releases - (thanks to @kuhnroyal)
- (#66) CI improvements - (thanks to @kuhnroyal)
- (#56) Update README.md - (thanks to @thiagoloureiro)
- None.
- None.
- None.
- Allow re-using an existing dartanalyzer report with
sonar.dart.analysis.reportPath
(thanks to Peter Leibiger) - Add missing dart keywords
extension
,on
,mixin
(thanks to Peter Leibiger) - Add pedantic 1.9.0 profile (thanks to Daniel Morawetz)
- Faster analysis with 'flutter analyze' and support for different analysis modes with
sonar.flutter.analyzer.mode
(thanks to Marc Reichelt)
- Ensure analyzer encoding is UTF-8 (thanks to Daniel Morawetz)
- None.
- None.
- Better handling of missing test report file.
- Faster analysis on large projects (increased analyser page size to 50).
- Test report parsing fix for Windows (thanks to victorgilc).
- Removed duplicated issues on the same file.
- None.
- None.
- Add Flutter 1.20.0 test report compatibility (thanks to Peter Leibiger), fixes #19
- Improve test report parsing (thanks to Peter Leibiger), fixes #13
- Ability to use existing analysis options (configurable behavior) (thanks to Stephane Janicaud), fixes #23, #18
- Paginated analysis with dartanalyzer (thanks to victorgilc)
- Report the correct test case count (thanks to Peter Leibiger)
- Better test report parsing (thanks to victorgilc)
- Restore Java 8 compatibility required by the sonar-scanner (thanks to Peter Leibiger)
- Restore the original analysis options file when analysis crashes (thanks to amond)
- Windows support (thanks to victorgilc), fixes #12, #24
- Running sonar-scanner does not result no 0 exit code anymore when issues are found by dartanalyzer (thanks to amond), fixes #11
- None.
- None.
- Added diagnostic rules (thanks to etiennecadicidean)
- None
- None.
- None.
- Syntax coloration
- Cyclomatic complexity computation
- More accurate code line count
- None
- Initial release.
- None.
- None.
- None.