SonarQube 7.9 LTS and 8.2 support#1
Open
mendrix wants to merge 46 commits intoFactorySolution:masterfrom
Open
Conversation
Cleanup unused imports DUnitX support for unittests
-support "type Ansistring(1252)"
-support const and type in class helpers
-support array[0..6] (better real and integer seperation)
-support expression after string ("Hello world".ToUpper())
-support & for identifiers in struct
-support (1+2)*3 in const expressions
Delphi grammar: extended generics
-PMD parser does not always report the correct column (offset in line), make sure we can continue -Dependencies fixed -New readme
Added new grammar test New Lexer and Parser for changed Delphi.g grammar
-support 'with' multiple arguments -support [result: unsafe] attribute -support [unsafe] and [weak] attributes
Support <namespace>.<value> for keywords Plugin crashes if deadcode metrics cannot find a unit, now only give a warning
-Support control characters in a string (^M, #13 and combination) -Support double pointer (^^) reference
============== Addes support for syntax: (generic1 as IList<TMetaData, TColumn>)[lIndex].Media[pMediaType].Visible; ---- Now grammar supports nil^ which is sometimes used to pass nil as var paramter value. ---- Support "helper" in unit names. ---- Interface redirection now also works with Generic interfaces. ---- Added support for inline variable declaration ---- recordconstexpression allows ';'. ---- Fixed some furhter issues ---- Allow sealed in class declaration. ---- * "In" is allowed as function name (used in operator definitions) * Record helper allows const sections. ---- Fixed some char case-issues: operators are now accepted all up or all lowercase "inherited" or "Inherited" ---- Extended grammar for class operator to support keywords like inline
(generic1 as IList<TMetaData, TColumn>)[lIndex].Media[pMediaType].Visible; ---- Now grammar supports nil^ which is sometimes used to pass nil as var paramter value. ---- Added test for record hlper ---- Added test for "helper" in unit names. ---- Added test for interface redirection without and with Generics. ---- Added samples for inline variable declaration
…n name and type of the field.
…ExceptionRule to 1.
…ule and DestructorWithoutInheritedStatementRule as there are many false positives. See issue SandroLuck#3
…prefix is uncommon here. Issue SandroLuck#8
Several enhancements and grammer fixes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have changed the plugin to support SonarQube 7.9 LTS and 8.2. Version 7.9.3 and 8.2.0.32929 are tested.
These changes to plugin and the addition of code coverage support and DUnitX support, makes it now a complete package.