Created by Shared Doc User, last modified by N Padmavathi on Aug 11, 2021
1.1.3-funcrel
Resolved Issues
Customer Ticket Id | Details |
---|
32043 | Error when analyzing (presumably) generated code containing unconventional characters for struct names. |
31989 | Error when analyzing (presumably) generated code containing unconventional characters for struct names. |
Other Updates
Details |
---|
Make analyzer linux-compliant (for CARL). |
1.1.2-funcrel
Resolved Issues
Customer Ticket Id | Details |
---|
28985 | Fix issue when parsing method with operator name "<>" |
28972 | Fix parsing problem when header of function definition is split in multiple lines. |
1.1.1-funcrel
Updates
- The rule "Avoid Too Many Copy Pasted Artifacts" (7156) is effectively applied to Swift code.
- Removed cyclomatic complexity (and other related properties such as "Length of the longest line") from objects that do not directly contain statements. Only values for Swift Source Code, Swift Function and Swift Method were correctly calculated before.
1.1.0-funcrel
Updates
- Corrected parsing of Key Path Expressions (new in Swift 5.2).
- Added multiple bookmarks for better inspection of relevant string concatenations in rule "Avoid dynamic code injection in WKWebView" (1055046).
- Filtered out extended methods from the counting of functions in the "DIT_MANY_FUNCTIONS_SWIFT" sql function (possible impact on "Avoid undocumented Functions (Swift)" 1055050).
1.1.0-beta2
Improvements
- Corrected runtime error in application level when missing storyboard/xib files.
- Added new property (numberOfParameters) to Swift functions and methods having at least one explicit parameter.
- Extension methods (represented by Swift Function objects by design) are now marked by a new property isExtendedMethod (with value 1).
Bug Fixes
- "Duplicated GUI" error fixed when present overloaded methods and similarly named methods with appended numbers.
- Better resolution of recursive calls.
New Rules
The following rules, common to many technologies, have been added in this release:
1055048 | Avoid Artifacts with High Cyclomatic Complexity (Swift) |
---|
1055050 | Avoid undocumented Functions (Swift) |
1055052 | Avoid Artifacts with too many parameters (Swift) |
1.1.0-beta1
Improvements
- Better diagnosis in the rule concerning "hardcoded passwords" (1055036) reducing false positives
- Improved evaluation of urls (support for augmented assignments, better string interpolation)
- Correct parsing of computed properties
New Rules
The following rules on security have been added in this release:
1055046 | Avoid dynamic code injection in WKWebView (Swift) |
---|
1055044 | Avoid using cryptography hash without salt (Swift) |
---|
1055042 | Avoid using NSXMLParser without restriction of XML External Entity Reference (XXE) (Swift) |
---|
1055040 | Avoid using XMLDocument without restriction of XML External Entity Reference (XXE) (Swift) |
---|
1055038 | Avoid weak encryption algorithm (Swift) |
---|
1055028 | Avoid hard-coded network resource names (Swift) |
---|