On this page:
- What's new?
- Description
- Technology support
- Function Point, Quality and Sizing support
- CAST AIP compatibility
- Supported DBMS servers
- Prerequisites
- Dependencies with other extensions
- Download and installation instructions
- Application qualification information
- Prepare and deliver the source code
- Analysis configuration and execution
- What analysis results can you expect?
Target audience:
Users of the extension providing .NET analysis support.
Summary: This document provides information about the extension providing .NET analysis support.
What's new?
Please see .NET Analyzer - 1.0 - Release Notes for more information.
Description
This extension provides support for analyzing applications built with .NET technologies: objects and links between these objects are identified and Automated Function Point values are calculated. A set of .NET specific structural rules are also available with the extension.
Technology support
Visual Studio / .NET Framework support
Visual Studio version | .NET Framework version | C# version | VB.NET version | Supported |
---|---|---|---|---|
2003 | 1.1 | 1.2 | 7.1 | |
2005 | 2.0, 3.0 | 2.0 | 8.0 | |
2008 | 2.0, 3.0, 3.5 | 3.0 | 9.0 | |
2010 | 2.0, 3.0, 3.5, 4.0 | 4.0 | 10.0 | |
2012/2013 | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2 | 5.0 | 12.0 | |
2015 | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6 | 6.0 | 14.0 |
- The following are implicitly supported:
- ADO.NET
- ASP.NET
- iFrame
- Interop
- WinForms
LINQ support
- LINQ to Objects
- LINQ to DataSets
- LINQ to SQL
Function Point, Quality and Sizing 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
Function Points (transactions) | Quality and Sizing |
---|---|
CAST AIP release | Supported |
---|---|
8.3.x | |
8.2.x | |
8.1.x | |
8.0.x | |
7.3.x |
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) |
Required third-party software
To successfully deliver and analyze .NET code, the following third-party software is required:
Install on workstation running the DMT (for extraction) | Install on workstation running CMS (for analysis) | Remarks |
---|---|---|
The .NET framework must be installed so that you can extract and package any system assemblies required by your applications' source code. You must install:
If your application uses multiple framework versions, you can install the most recent one used by your application or a newer version if it is available on the workstation - this will match all projects. For example, an application uses frameworks 3.5 and 4.0: you can install 4.0 or a newer version. | Not required | CMS Note that a CAST .NET framework is required to run the .NET analyzer in the CAST Management Studio, however, this is installed as part of the CAST AIP setup (see Install AIP Core). |
Location of the source code deployment folder
In the case of .NET analyses the Deployment folder should always be located on the same machine as the AIP Node. If the Deployment folder is located on a remote network file share, there is a risk that assemblies may not be loaded correctly during the analysis, causing external objects to not be saved.
Location of extensions folder
If you have altered the location where extensions are stored to a network location remote to the analysis machine (for example changing CAST_PLUGINS_ROOT_PATH - see Configure AIP Node storage folder locations - optional - v. 1.x) then you will need to add the following lines to the .NET Framework machine.config file (located on the machine where the analysis is being run). This is to ensure that the .NET Analyzer DLLs located in the remote network folder can be successfully run from a network location. The analysis will fail without this configuration.
Replace the following tag:
<runtime />
with:
<runtime> <loadFromRemoteSources enabled="true"/> </runtime>
Dependencies with other extensions
Some CAST AIP extensions require the presence of other CAST AIP extensions in order to function correctly. The .NET Analyzer extension requires that the following other CAST AIP extensions are also installed:
Download and installation instructions
A specific version of the .NET Analyzer extension is shipped with AIP Core. However, this release may not be the release you want to use, therefore you should check before beginning the analysis that the correct extension release is being used. You can see the list of shipped extensions for each release of AIP Core here: Technology coverage changes in CAST AIP 8.3.x.
If you need to change the release use the Included interface in AIP Console:
Application qualification information
Please see: .NET - Qualification.
Prepare and deliver the source code
Please see: .NET - Prepare and deliver the source code
Analysis configuration and execution
Please see: .NET - Analysis configuration and execution and all child pages:
What analysis results can you expect?
Please see: .NET - Analysis results
Structural rules
The vast majority of rules provided for the .NET Analyzer are embedded in CAST AIP - see .NET - Structural rules for more information. In addition, some rules are also provided with the extension: