Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Redirect
visiblefalse
locationTECHNOS:TypeScript and Angular - 1.1

Panel

On this page:

Table of Contents

Target audience:

Users of the extension providing TypeScript and Angular support for Web applications.

...

Info

What's new

  • Quality Rules added. See Rules below.

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.

Image Modified

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(tick)
4(tick)
5(tick)
6(tick)

TypeScript

Version

Supported

1.x(tick)
2.x(tick)

Files analyzed

Icon(s)FileExtension

Image Modified

TypeScript.ts

Image Modified

TypeScript.tsx (not supported yet)


Warning
titleSkipped files

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:

  • Folders named as node_modules, e2e, e2e-bdd, e2e-app
  • Files with following name endings: .spec.ts, -spec.ts, _spec.ts, .d.ts

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
(tick)(error)

CAST AIP compatibility

This extension is compatible with:

CAST AIP release

Supported

8.3.x(tick)
8.2.x(tick)
8.1.x(tick)
8.0.x(tick)
7.3.4 and all higher 7.3.x releases(tick)

Supported DBMS servers

This extension is compatible with the following DBMS servers:

CAST AIP releaseCSSOracleMicrosoft
All supported releases(tick)(tick)(tick)

Prerequisites

(tick)An installation of any compatible release of CAST AIP (see table above)

Dependencies with other extensions

...

The following objects are identified:

IconMetamodel name

Image Modified

Typescript Module

Image Modified

Typescript Namespace

Image Modified

Typescript Class

Image Modified

Class Initializer

Image Modified

Typescript Method

Image Modified

Typescript Interface

Image Modified

Typescript Function

Image Modified

Angular Component

Image Modified

Angular Directive

Image Modified

Angular GET http service

Image Modified

Angular POST http service

Image Modified

Angular PUT http service

Image Modified

Angular DELETE http service

Image Modified

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 IdNameHealth FactorsCriticalCISQ
1023000Avoid jump statements in finallySecurity, RobustnessYes
1023002Avoid having errors without throwing themSecurity, RobustnessYes

Limitations

Status
colourYellow
titlecandidates for improvement

...