Redirect | ||||
---|---|---|---|---|
|
Panel | |
---|---|
On this page:
Target audience: Users of the extension providing TypeScript and Angular support for Web applications. |
...
Info |
---|
What's new
|
Description
This extension provides support for the TypeScript and Angular frameworks.
...
If your Web application contains TypeScript and/or Angular source code and you want to view these object types and their links with other objects, then you should install this extension.
Angular/TypeScript Front-end connected to Node.js/Express/MongoDB back-end |
Supported versions
The following table displays the list of TypeScript and Angular versions that this extension supports:
Angular
Version | Supported |
---|---|
2 | |
4 | |
5 | |
6 |
TypeScript
Version | Supported |
---|---|
1.x | |
2.x |
Files analyzed
Icon(s) | File | Extension |
---|---|---|
TypeScript | .ts | |
TypeScript | .tsx (not supported yet) |
Warning | ||
---|---|---|
| ||
The TypeScript analyzer will automatically skip files inside folders (or sub-folders) that by convention pertain to either external libraries or unit-testing. Currently the following are skipped:
As mentioned in the introduction, TypeScript is a language that will be compiled to generate Javascript files. Sometimes, the delivery will include these files, this is why the analyzer will skip the generated JavaScript files if we find their original TypeScript file. |
...
- Function Points (transactions): a green tick indicates that OMG Function Point counting and Transaction Risk Index are supported
- Quality and Sizing: a green tick indicates that CAST can measure size and that a minimum set of Quality Rules exist
Function Points (transactions) | Quality and Sizing |
---|---|
CAST AIP release | Supported |
---|---|
8.3.x | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.4 and all higher 7.3.x releases |
Supported DBMS servers
This extension is compatible with the following DBMS servers:
CAST AIP release | CSS | Oracle | Microsoft |
---|---|---|---|
All supported releases |
Prerequisites
An installation of any compatible release of CAST AIP (see table above) |
Dependencies with other extensions
...
The following objects are identified:
Icon | Metamodel name |
---|---|
Typescript Module | |
Typescript Namespace | |
Typescript Class | |
Class Initializer | |
Typescript Method | |
Typescript Interface | |
Typescript Function | |
Angular Component | |
Angular Directive | |
Angular GET http service | |
Angular POST http service | |
Angular PUT http service | |
Angular DELETE http service | |
HTML5 HTML fragment |
Web Services
Angular web services are supported for both the older Http and new HttpClient (Angular ≥4.3) libraries. The method calls get, post, put, delete, jsonp, and request are recognized.
...
Following quality rules are added in this version:
Metric Id | Name | Health Factors | Critical | CISQ |
---|---|---|---|---|
1023000 | Avoid jump statements in finally | Security, Robustness | Yes | |
1023002 | Avoid having errors without throwing them | Security, Robustness | Yes |
Limitations
Status | ||||
---|---|---|---|---|
|
...