On this page:
In what situation should you install this extension?
- The extension provides support for Automated Function Point counting.
- creates "functions"
- Handles html files:
- creates one "HTML5 Source Code" object that is the caller of html to js links and a transaction entry point
- broadcasts tags and attributes/values to other CAST extensions such as AngularJS. Other extensions will not need to analyze the files themselves.
- Files whose names end with .min.js and Spec.js (tests) are ignored.
- Checksum, number of code lines, number of comment lines, comments are present.
- Local and global resolution is done when function is called directly through its name (inference engine resolution is not available).
- For global resolution, caller is searched in all .js files. If only one callee is found, a link is created. If several callees are found, the analyzer watches inclusions in html files to see if it can filter the callee. It nothing is found in html files to filter, links are created to all possible callees.
|Note that by default some files are automatically excluded from the analysis, typically third-party frameworks which are not required. Please see the filters.json file located at the root of the extension folder for a complete list of default exclusions.|
HTML5 source code: it represents the whole HTML file content.
Function Point, Quality and Sizing support
This extension provides the following support:
- 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
|Quality and Sizing|
- You should ensure that you configure the extension to NOT analyze the back end web client part of a .NET or J2EE application.
CAST AIP compatibility
This extension is compatible with:
|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||CSS2||Oracle||Microsoft|
|All supported releases|
|An installation of any compatible release of CAST AIP (see table above)|
Download and installation instructions
The latest release status of this extension can be seen when downloading it from the CAST Extend server.
Packaging, delivering and analyzing your source code
What results can you expect?
Once the analysis/snapshot generation has completed, you can view the results in the normal manner:
CAST Management Studio analysis content
The following objects are displayed in CAST Enlighten:
|HTML5 Source Code|
|HTML5 CSS Source Code|
|HTML5 CSS Source Code Fragment|
|HTML5 Web Socket Service|
|HTML5 Get XMLHttpRequest Service|
|HTML5 Update XMLHttpRequest Service|
|HTML5 Post XMLHttpRequest Service|
|HTML5 Delete XMLHttpRequest Service|
The list of rules is available here: