This documentation is not maintained. Please refer to doc.castsoftware.com/technologies to find the latest updates.

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 IdNew RuleDetails
1030018FALSEAll checks are not done (KOTLIN-86) for the rule "Avoid hard-coded network resource names (Kotlin).

1.0.7-funcrel

Resolved Issues

Customer Ticket IdDetails
32761Analysis warning: An error occurred on file (TypeError: Can't convert 'NoneType' object to str implicitly).
32903Links to methods are missing.

Other Updates

Details
RN url in nuspec is not correct.

1.0.6-funcrel

Resolved Issues

Customer Ticket IdDetails
32407Missing link from Kotlin method sendCheckoutProgress to Kotlin function checkoutProgress.
32193Analysis 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 IdDetails
28803The rule: "Avoid artifacts having recursive calls" is showing false positive when method or function call is done through variable named "delegate".
29056Kotlin extension Warning: An error occurred on file xxxx while Computing services during analysis.

1.0.3-funcrel

Resolved Issues

Customer Ticket IdDetails
26696Kotlin missing links between methods

New Support

SummaryDetails
Support of Spring OperationsSee documentation (https://doc.castsoftware.com/display/TECHNOS/Kotlin+-+1.0#Kotlin1.0-Supportedframeworks)
Support of Spring BeansSee documentation (https://doc.castsoftware.com/display/TECHNOS/Kotlin+-+1.0#Kotlin1.0-Supportedframeworks)
Support of Spring JDBC Template for procedures callsSee documentation (https://doc.castsoftware.com/display/TECHNOS/Kotlin+-+1.0#Kotlin1.0-Supportedframeworks)

1.0.2-funcrel

Resolved Issues

Customer Ticket IdDetails
27102[Onboarding] Extension com.castsoftware.kotlin has encountered an issue

1.0.1-funcrel

Callee TypeCaller TypeDetails
AllAllSome constructors are badly parsed when they do not contain a bracketed block (KOTLIN-46).
AllmethodsLinks should be to class methods instead of interface methods (KOTLIN-49).
Allinit methodsSome callLinks should not have class for caller, but init method of the class (KOTLIN-45).
AllmethodsMissing many links to methods (KOTLIN-47).
AllAll"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 IdNew RuleDetails
7156FALSEAvoid Too Many Copy Pasted Artifacts

Transaction Improvements

TypeFramework
Support Retrofit webserviceRetrofit

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 IdNew RuleDetails
1030000TRUEAvoid "when" statement or expression without an else (Kotlin)
1030002TRUEAvoid using "Throwable.printStackTrace()" with no argument (Kotlin)
1030004TRUEAvoid using "foreach" to iterate over a explicit range (Kotlin)
1030006TRUEAvoid large Classes - too many Methods (Kotlin)
1030008TRUEAvoid large Files - too many Lines of Code (Kotlin)
1030010TRUEAvoid large Methods - too many Lines of Code (Kotlin)
1030012TRUEAvoid using weak encryption algorithm as DES and tripleDES (Kotlin)
1030014TRUEAvoid using RSA Cryptographic algorithms without OAEP (Optimal Asymmetric Encryption Padding) (Kotlin)
1030016TRUEAvoid hardcoded passwords and credentials (Kotlin)
1030018TRUEAvoid hardcoded network resource names (Kotlin)
1030020TRUEAvoid unhandled Exceptions in servlet methods (Kotlin)
1030022TRUEAvoid passing an existing array with spread operator as an argument using vararg as parameters (Kotlin)

1.0.0-beta1

New Support

SummaryDetails
Kotlin SupportInitial Support for Kotlin Language