Created by James Hurrell, last modified by N Padmavathi on Aug 28, 2020
1.0.9-funcrel
Other Updates
Details |
---|
HTTP web services are missing when they are defined with a variable. |
1.0.8-funcrel
Other Updates
Details |
---|
Do not analyse test files (name ending with "Spec"). |
Rules
Rule Id | New Rule | Details |
---|
1030018 | FALSE | All checks are not done (KOTLIN-86) for the rule "Avoid hard-coded network resource names (Kotlin). |
1.0.7-funcrel
Resolved Issues
Customer Ticket Id | Details |
---|
32761 | Analysis warning: An error occurred on file (TypeError: Can't convert 'NoneType' object to str implicitly). |
32903 | Links to methods are missing. |
Other Updates
Details |
---|
RN url in nuspec is not correct. |
1.0.6-funcrel
Resolved Issues
Customer Ticket Id | Details |
---|
32407 | Missing link from Kotlin method sendCheckoutProgress to Kotlin function checkoutProgress. |
32193 | Analysis warnings: [com.castsoftware.kotlin] An error occurred on file XXXX. |
Other Updates
Details |
---|
Extension not Linux compliant. |
GUID duplicate found on CAST_Kotlin_Lambda and CAST_Kotlin_Anonymous_Class |
1.0.5-funcrel
Other Updates
Details |
---|
GUID duplicate found: CAST_Kotlin_Anonymous_Class message in the loh file. |
1.0.4-funcrel
Resolved Issues
Customer Ticket Id | Details |
---|
28803 | The rule: "Avoid artifacts having recursive calls" is showing false positive when method or function call is done through variable named "delegate". |
29056 | Kotlin extension Warning: An error occurred on file xxxx while Computing services during analysis. |
1.0.3-funcrel
Resolved Issues
Customer Ticket Id | Details |
---|
26696 | Kotlin missing links between methods |
New Support
1.0.2-funcrel
Resolved Issues
Customer Ticket Id | Details |
---|
27102 | [Onboarding] Extension com.castsoftware.kotlin has encountered an issue |
1.0.1-funcrel
Link Improvements
Callee Type | Caller Type | Details |
---|
All | All | Some constructors are badly parsed when they do not contain a bracketed block (KOTLIN-46). |
All | methods | Links should be to class methods instead of interface methods (KOTLIN-49). |
All | init methods | Some callLinks should not have class for caller, but init method of the class (KOTLIN-45). |
All | methods | Missing many links to methods (KOTLIN-47). |
All | All | "by lazy" is not supported for val initialization (KOTLIN-50). |
Other Updates
Details |
---|
Number of lines of comments were wrong. |
KOTLIN extension is deleting too many links at application level (caller or callee with ObjTyp 1000007: UA files). |
1.0.0-funcrel
Other Updates
Details |
---|
Missing Link from Kotlin to Java |
Support of extension functions |
Enhance links for transactions |
1.0.0-beta3
Other Updates
Details |
---|
Remove useless R links to classes |
GUID duplicate found : CAST_Kotlin_Lambda on test files |
Kotlin Methods are created without Name |
No function found for None under com.fernandocejas.sample.core.functional.Either |
An error occurred on file: XXX |
Rules
Rule Id | New Rule | Details |
---|
7156 | FALSE | Avoid Too Many Copy Pasted Artifacts |
Transaction Improvements
Type | Framework |
---|
Support Retrofit webservice | Retrofit |
1.0.0-beta2
Other Updates
Details |
---|
Automatic discovery and configuration of Kotlin files |
Support of "if" as expression (internal) |
Support of IncludedFoldersActivity::class.java as identifier pointing to a class (internal) |
Enhance ast considering basic types, ranges, spread operator, arrayOf type, vararg (internal) |
Enhance links for transactions |
Duplicate guids on Lambdas |
Rules
Rule Id | New Rule | Details |
---|
1030000 | TRUE | Avoid "when" statement or expression without an else (Kotlin) |
1030002 | TRUE | Avoid using "Throwable.printStackTrace()" with no argument (Kotlin) |
1030004 | TRUE | Avoid using "foreach" to iterate over a explicit range (Kotlin) |
1030006 | TRUE | Avoid large Classes - too many Methods (Kotlin) |
1030008 | TRUE | Avoid large Files - too many Lines of Code (Kotlin) |
1030010 | TRUE | Avoid large Methods - too many Lines of Code (Kotlin) |
1030012 | TRUE | Avoid using weak encryption algorithm as DES and tripleDES (Kotlin) |
1030014 | TRUE | Avoid using RSA Cryptographic algorithms without OAEP (Optimal Asymmetric Encryption Padding) (Kotlin) |
1030016 | TRUE | Avoid hardcoded passwords and credentials (Kotlin) |
1030018 | TRUE | Avoid hardcoded network resource names (Kotlin) |
1030020 | TRUE | Avoid unhandled Exceptions in servlet methods (Kotlin) |
1030022 | TRUE | Avoid passing an existing array with spread operator as an argument using vararg as parameters (Kotlin) |
1.0.0-beta1
New Support
Summary | Details |
---|
Kotlin Support | Initial Support for Kotlin Language |