CMS - Environment Profile details

Environment Profile details

This section provides more details about the CAST Predefined Environment Profiles:

C/C++
ProfileContentLimitationPrerequisiteComments
Linux-2.6.17Based on Ubuntu distribution of Linux 2.6.17--Should function for most Linux programs
Microsoft Managed C++Microsoft Managed C++ extensions targeted at the Common Language Runtime (CLR).---
Solaris 10 gcc 3.4.6 intel (Macros only)----
STL for UnixCoontains a basic emulation of the most common STL headers (i.e. , , etc.).--If STL header files are not available in your source code, select this profile. This will then force the CAST Management Studio to activate a basic (i.e. non exhaustive) emulation of the most common STL headers thus avoiding an incomplete analysis or ambiguous/erroneous analysis results in most circumstances.
VC++ XXX - ConsoleBased on the headers of version XXX (6.0, 2003, 2005, 2008, 2010 or 2012) of Microsoft Visual C++.--Additional items for specific console projects. This profile must be used in addition to the Mandatory Part Profile for the same version of Visual C++.
VC++ XXX - Mandatory PartBased on the headers of version XXX (6.0, 2003, 2005, 2008, 2010 or 2012) of Microsoft Visual C++.--The relevant profile version is always selected during an analysis.
VC++ XXX - WIN32/MFCBased on the headers of version XXX (6.0, 2003, 2005, 2008, 2010 or 2012) of Microsoft Visual C++.--Additional items for specific Windows (GUI) using MFC projects. This profile must be used in addition to the Mandatory Part Profile for the same version of Visual C++.
J2EE
ProfileContentLimitationPrerequisiteComments
CICS CallsParameterization for cicseci-6.1.0.1.jar and ctgclient-6.1.0.1.jar in CICS archives.

This profile is required when you have CICS calls.

You need to create a specific profile that will reference these archives.-Only contains parametrization.
common-logging 1.1Contains the archive common-logging version 1.1 (http://jakarta.apache.org/commons/logging/) and related parameterization. Commons-logging.

Required when the common-logging framework is used in your application.

---
Default Parametrization & Migrated ParametrizationContains default parameterization options.--Will automatically be used.

Migrated Parametrization will be used on an Analysis Service that has been migrated.

Default Parametrization will be used on newly created Analysis Services.

Dom4j 1.6.1Contains the archive Dom4j version 1.6.1 (http://jakarta.apache.org/commons/logging/) and related parametrization. Required when the Dom4j framework is used in your application.--Objects from the analysis of Dom4j jar files are not saved to the CAST Analysis Service.
EJB 2.0, 2.1, 3.0Contains the archive EJB API. (http://java.sun.com/products/ejb/) Required when the EJB framework is used in your application.--Takes advantage of the XQuery/Zorba extraction method.
Hibernate 2.1.7Contains the archive Hibernate 2.1.7 (http://www.hibernate.org/) and the related parameterization of the external API.

Required when the Hibernate framework 2.x is used.

---
JPA 1.0 / Hibernate 3.1Contains the archive Hibernate 3.1 (http://www.hibernate.org/) and the related parameterization of the external API.

Required when the Hibernate framework 3.1 is used.

---
JPA 1.0 / Hibernate 3.2 - 3.5Contains the archive Hibernate 3.2 - 3.5 (http://www.hibernate.org/) and the related parameterization of the external API.

Required when the Hibernate framework 3.2 - 3.5 is used.

When the orm.xml redefines the name of the JPA entity associated to the same class, there will be two JPA entities created one from the name given by the annotation and one from the name given by the orm.xml.-Hibernate 3.2 is the first Hibernate version to use Annotations.
JPA 2.0 / Hibernate 3.6 - 4.2Contains the archive Hibernate 3.6 - 4.2 (http://www.hibernate.org/) and the related parameterization of the external API.

Required when the Hibernate framework 3.6 - 4.2 is used.

---
JPA 2.0 / Hibernate 4.3 - 5.xContains the archive Hibernate 4.3 - 5.x (http://www.hibernate.org/) and the related parameterization of the external API.

Required when the Hibernate framework 4.3 - 5.x is used.

---
J2EE 1.2 and 1.3Parameterization for J2EE 1.2 and 1.3 (http://www.oracle.com/technetwork/java/javaee/overview/index.html).

This profile is required when you face applications or a framework that involves Servlets.

-You need to create a specific profile that will reference the J2EE archives of your application.-
J2EE 1.4Parameterization for J2EE 1.4 (http://www.oracle.com/technetwork/java/javaee/overview/index.html).

This profile is required when you face applications or a framework that involves Servlets.

-You need to create a specific profile that will reference the J2EE archives of your application.-
J2SE 1.1 JREReferences the JSE 1.1 JRE (http://www.oracle.com/technetwork/java/javase/overview/index.html) from the registry and its associated parameterization.

This profile is required for the analysis of any Java application based on JRE 1.1

-To use this profile you need to install a SUN JRE or JDK version 1.1.-
J2SE 1.2 JREReferences the JSE 1.2 JRE (http://www.oracle.com/technetwork/java/javase/overview/index.html) from the registry and its associated parameterization.

This profile is required for the analysis of any Java application based on JRE 1.2

-To use this profile you need to install a SUN JRE or JDK version 1.2.-
J2SE 1.3 JREReferences the JSE 1.3 JRE (http://www.oracle.com/technetwork/java/javase/overview/index.html) from the registry and its associated parameterization.

This profile is required for the analysis of any Java application based on JRE 1.3

-To use this profile you need to install a SUN JRE or JDK version 1.3.-
J2SE 1.4 JREReferences the JSE 1.4 JRE (http://www.oracle.com/technetwork/java/javase/overview/index.html) from the registry and its associated parameterization.

This profile is required for the analysis of any Java application based on JRE 1.4

-To use this profile you need to install a SUN JRE or JDK version 1.4.-
JavaScript LibrairesFor defining the JavaScript libraries used in your source code that you want to flag as "external". When flagged as external, JavaScript objects matching the definition will be analyzed and stored in the CAST Analysis Service (thus allowing links to resolve correctly), however the objects will not appear in the CAST Engineering Dashboard. This prevents the "pollution" of Technical Size measures, module/application grades, and violation lists (among others) with large numbers of JavaScript objects that are not used and not maintained by the Development team.

Provides a list of the most common JavaScript Frameworks.

---
JEE 5.0Parameterization for J2EE 5.0 (http://www.oracle.com/technetwork/java/javaee/overview/index.html).

This profile is required when you face applications or a framework that involves Servlets.

-You need to create a specific profile that will reference the J2EE archives of your application.-
JSE 5.0 JREReferences the JSE 5.0 JRE (http://www.oracle.com/technetwork/java/javase/overview/index.html) from the registry and its associated parameterization.

This profile is required for the analysis of any Java application based on JRE 5.0

- -
JSE 6.0 JREReferences the JSE 6.0 JRE (http://www.oracle.com/technetwork/java/javase/overview/index.html) from the registry and its associated parameterization.

This profile is required for the analysis of any Java application based on JRE 6.0

- -
JSE 7.0 JREReferences the JSE 7.0 JRE (http://www.oracle.com/technetwork/java/javase/overview/index.html) from the registry and its associated parameterization.

This profile is required for the analysis of any Java application based on JRE 8.0

   
JSE 8.0 JREReferences the JSE 8.0 JRE (http://www.oracle.com/technetwork/java/javase/overview/index.html) from the registry and its associated parameterization.

This profile is required for the analysis of any Java application based on JRE 8.0

   
JSF 1.2, 2.2Contains the JSF-API archive (http://java.sun.com/javaee/javaserverfaces/) and its associated parameterization.

This profile is required for the analysis of applications that use JSF 1.2 or 2.2.

---
JUnit 3.8.2Contains the JUnit archive (http://www.junit.org/index.htm) and its related parameterization.

This profile is required for the analysis of applications that use JUnit.

---
Log4j 1.2.14Contains the Log4j archive version 1.2.14 (http://logging.apache.org/log4j/docs/) and its associated parameterization.

This profile is required for the analysis of applications that use Log4j.

--Configuration files for Log4j are ignored during analysis.
Mx4j 3.0.2Contains the Mx4j archive version 3.0.2 (http://mx4j.sourceforge.net/) and its associated parameterization.

This profile is required for the analysis of applications that use Mx4j.

---
Spring Framework 1.2.8Contains the Spring archive version 1.2.8 (http://www.springframework.org/) and its associated parameterization.

This profile is required for the analysis of applications that use Spring 1.2.8

Spring bean properties are not created. Instead a link is created between the bean and the bean corresponding to the property.--
Spring Framework 2.xContains the Spring archive version 2.x (http://www.springframework.org/) and its associated parameterization.

This profile is required for the analysis of applications that use Spring 2.x

Spring beans are not linked to all their subbeans. In addition, they are not linked to Java methods (constructor, factory, etc.)-Takes advantage of the XQuery/Zorba extraction method.
Spring Framework 3.xContains the Spring archive version 3.x (http://www.springframework.org/) and its associated parameterization.

This profile is required for the analysis of applications that use Spring 3.x

---
Struts 1.0Contains the Struts archive version 1.0 (http://struts.apache.org/) and its associated parameterization.

This profile is required for the analysis of application that involves Struts 1.0

---
Struts 1.1Contains the Struts archive version 1.1 (http://struts.apache.org/) and its associated parameterization.

This profile is required for the analysis of application that involves Struts 1.1

---
Struts 2.0Contains the Struts archive version 2.0 (http://struts.apache.org/) and its associated parameterization.

This profile is required for the analysis of application that involves Struts 2.0

---
XML to ignoreContains XML Configuration files that will be excluded from the analysis.--Configuration files specified in this profile will be ignored during the analysis.
.NET
ProfileContentLimitationPrerequisiteComments
JavaScript LibrairesFor defining the JavaScript libraries used in your source code that you want to flag as “external”. When flagged as external, JavaScript objects matching the definition will be analyzed and stored in the CAST Analysis Service (thus allowing links to resolve correctly), however the objects will not appear in the CAST Engineering Dashboard. This prevents the “pollution” of Technical Size measures, module/application grades, and violation lists (among others) with large numbers of JavaScript objects that are not used and not maintained by the Development team. Provides a list of the most common JavaScript Frameworks.---
VB
ProfileContentLimitationPrerequisiteComments
Default Parametrization & Migrated ParametrizationMost common parametrization requirements (e.g: support for COM objects via standard methods (CreateObject) and data base access via Microsoft methods (ADO, RDO etc.))--Will automatically be used.

Migrated Parametrization will be used on an Analysis Service that has been migrated.

Default Parametrization will be used on newly created Analysis Services.

WSDL

These pre-defined Environment Profiles define a Mapping Information file and a Transformation file if you choose to select the Web Services option at Technology, Application or Analysis Unit level.

ProfileContent
Axis WSDD 1.0 (Java)
  • Mapping Information file > *.wsdd
  • Transformation file > $(CastCommonDir)\EnvProf\WSDL\java-mapping.xslt
BEA WebLogic 7.0
  • Mapping Information file > web-services.xml
  • Transformation file > $(CastCommonDir)\EnvProf\WSDL\wls70-mapping.xslt
WSTOOL WSDD (Java)
  • Mapping Information file > *.wsdd
  • Transformation file > $(CastCommonDir)\EnvProf\WSDL\wstool-wsdd.xslt
EJB

These pre-defined Environment Profiles define a Persistence Deployment Descriptor and a Transformation file if you choose to select the EJB option at Technology, Application or Analysis Unit level.

ProfileContent
BES 5.0
  • Persistence Deployment Descriptor > META-INF\ejb-borland.xml
  • Transformation file > $(CastCommonDir)\EnvProf\EJB\borland-pers.xslt
Oracle 8iAS and 9iAS
  • Persistence Deployment Descriptor > META-INF\oracle-ejb*.xml
  • Transformation file > $(CastCommonDir)\EnvProf\EJB\oracle-pers.xslt
Weblogic 7 and 8
  • Persistence Deployment Descriptor > META-INF\weblogic-ejb*.xml
  • Transformation file > $(CastCommonDir)\EnvProf\EJB\weblogic70-pers.xslt
WebSphere 4.0
  • Persistence Deployment Descriptor > META-INF\Map.mapxmi
  • Transformation file > $(CastCommonDir)\EnvProf\EJB\websphere-pers.xslt
WebSphere 6.0
  • Persistence Deployment Descriptor > META-INF\Map.mapxmi
  • Transformation file > $(CastCommonDir)\EnvProf\EJB\websphere-60-pers.xslt

CAST Website