...
TypeScript
Version | Supported |
---|---|
1.x |
|
2.x | |
3.x | |
4.x |
Angular
Version | Supported |
---|---|
2 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 |
React
Version | Supported |
---|---|
15.x | |
16.x |
React-Native
Version | Supported |
---|---|
0.x |
Supported Node.js versions
Version | Support | Comment |
---|---|---|
v0.x | No longer supported | |
v4.x | | LTS |
v5.x | | Based on Javascript ES6 |
v6.x | | Based on Javascript ES6 |
v7.x | Based on Javascript ES6 | |
v8.x | ||
v9.x |
| |
v10.x | ||
v11.x | ||
v12.x | ||
v13.x | ||
v14.x |
Supported frameworks for Node.js
-
indicates that the framework is currently supported.
-
indicates that the framework is not yet supported.
Library | Comment | Data Access | Web Service | Supported versions |
---|---|---|---|---|
Express | Node.js application framework |
4 |
.x | |
Mongoose | MongoDB access |
5.x | ||
Sequelize | Node.js application framework |
5.x; 6.x | ||
TypeORM | ORM |
0.2.x |
Fastify | Node.js server | 3.x | ||
Axios | Promise based HTTP client | 0.x | ||
Node-mongodb-native | MongoDB access | 3.x | ||
nestjs | Node.js application framework | 6.x; 7.x | ||
https | Node.js web service | |||
fetch | JavaScript builtin web service | |||
request | HTTP request client 'request' | 2.x | ||
request-promise | HTTP request client 'request' | 4.x | ||
request-promise-native | HTTP request client 'request' | 1.x | ||
request-promise-any | HTTP request client 'request' | 1.x | ||
Mongo-client | MongoDB access |
Couchdb | Couchdb access |
Node-couchdb | Couchdb access |
Couchdb-nano | Couchdb access |
Marklogic | Marklogic access |
my_connection | MySQL access |
0.x | ||
pg | PostgreSQL access |
7.x; 8.x | ||
oracledb | Oracle Database access |
4.x; 5.x | ||||
node-sqlserver | MsnodeSQL access | 0.x | ||
mssql | MsSQL access | 5.x; 6.x | ||
Hapi | Node.js application framework |
Sails | Node.js application framework |
Loopback | Node.js application framework |
Koa | Node.js application framework |
Knex | Node.js SQL query builder |
Memcached | Storage framework |
AWS.DynamoDB | Amazon database access |
SDK 2.x | ||||
AWS.S3 | Amazon storage service | SDK 2.x | ||
AWS.Lambda | Amazon routing solution | Cloudformation, Serverless framework, SAM | ||
AWS. |
SQS | Amazon |
Simple Queue Service | SDK 2.x |
Supported Emailing frameworks: @sendgrid/mail, nodemailer
Files analyzed
Icon(s) | File | Extension |
---|---|---|
TypeScript | .ts | |
TypeScript | .tsx |
...
Function Points (transactions) | Quality and Sizing | |
---|---|---|
TypeScript | ||
Angular | ||
React | ||
Express | ||
Mongoose | ||
Sequelize | ||
TypeORM |
CAST AIP compatibility
CAST AIP release | Supported |
---|---|
8.3.x | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.4 and all higher 78.3.x releases | |
8.2.x |
Supported DBMS servers
This extension is compatible with the following DBMS servers:
CAST AIP release | CSS/PostgreSQL | Oracle | Microsoft |
---|---|---|---|
All supported releases |
Prerequisites
An installation of any compatible release of CAST AIP (see table above) |
...
- callLink: Created when a method or a function is called. These links connect TypeScript Methodand TypeScript Function elements between them.
- inheritLink: Represents direct inheritance between TypeScript Class and TypeScript Interface objects.
...
- and TypeScript Function elements between them.
- inheritLink: Represents direct inheritance between TypeScript Class and TypeScript Interface objects.
Anchor | ||||
---|---|---|---|---|
|
The following rules are shipped with this extension:
The following rules are shipped with this extension:
1.5.1-funcrel | https://technologies.castsoftware.com/rules?sec=srs_typescript&ref=||1.5.1-funcrel |
---|---|
1.5.0-funcrel | https://technologies.castsoftware.com/rules?sec=srs_typescript&ref=||1.5.0-funcrel |
1.5.0-beta2 | https://technologies.castsoftware.com/rules?sec=srs_typescript&ref=||1.5.0-beta2 |
---|---|
1.5.0-beta1 | https://technologies.castsoftware.com/rules?sec=srs_typescript&ref=||1.5.0-beta1 |
...
Info |
---|
The rule "Avoid too many copy pasted artifacts" depends on com.castsoftware.html5 extension. It will be activated automatically for TypeScript source code when using a version of com.castsoftware.html5 >= 2.0.15-funcrel. |
Limitations
- Calls between JavaScript and TypeScript source codes are not supported.
- Connectivity between components through Angular routing is not supported.
- Use of String replace() method
- HttpRequest in Angular is not supported.
- Use of setters and getters is not supported.
- Passing directly url strings (or string variables referring to urls) as arguments to web-service calls is supported for many use cases. However passing them through http.RequestOptions (containing metadata) is work in progress.
- String concatenations using the operator '+' inside loops does not raise violations currently.
- The cyclomatic complexity number might appear underestimated in callables containing loops with complex conditional expressions.
- A single production environment file is supported (see corresponding section above).
- Use of bind method is not supported and would lead to missing callLinks.
- Use of Object.freeze method is not supported.
- React Without JSX is not supported.ES6 destructuring
- The spread operator "..." is not supported.