JEE Analyzer - 1.3


Extension ID

com.castsoftware.jee

What’s new?

See Release Notes.

Prerequisites

See JEE - Required third-party software.

Technology support

See Covered Technologies and also JEE - Technology support notesfor additional information.

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

Compatibility

Release Operating System Supported
v3/8.4.x Microsoft Windows / Linux
v2/8.3.x Microsoft Windows

Dependencies with other extensions

The JEE Analyzer extension requires that the following other extensions are also installed:

  • Web services linker service (internal technical extension)

Note that when using AIP Console to install the extension, any dependent extensions are automatically downloaded and installed for you. You do not need to do anything.

Application qualification information

Please see: JEE - Application qualification specifics.

Prepare and deliver the source code

Please see: JEE - Prepare and deliver the source code.

Analysis configuration and execution

Please see: JEE - Analysis configuration and execution.

What analysis results can you expect?

Please see: JEE - Analysis results.

Structural rules

The vast majority of rules provided for the JEE Analyzer are embedded in CAST AIP - see JEE - Structural rules for more information. In addition, some rules are also provided with the extension:

Release Link
1.3.20-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.20-funcrelexternal link
1.3.19-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.19-funcrelexternal link
1.3.18-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.18-funcrelexternal link
1.3.17-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.17-funcrelexternal link
1.3.16-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.16-funcrelexternal link
1.3.15-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.15-funcrelexternal link
1.3.14-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.14-funcrelexternal link
1.3.13-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.13-funcrelexternal link
1.3.12-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.12-funcrelexternal link
1.3.11-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.11-funcrelexternal link
1.3.10-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.10-funcrelexternal link
1.3.9-funcrel Extension removed.
1.3.8-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.8-funcrelexternal link
1.3.7-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.7-funcrelexternal link
1.3.6-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.6-funcrelexternal link
1.3.5-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.5-funcrelexternal link
1.3.4-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.4-funcrelexternal link
1.3.3-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.3-funcrelexternal link
1.3.2-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.2-funcrelexternal link
1.3.1-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.1-funcrelexternal link
1.3.0-funcrel https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.0-funcrelexternal link
1.3.0-beta3 https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.0-beta3external link
1.3.0-beta2 https://technologies.castsoftware.com/rules?sec=srs_jee&ref=||1.3.0-beta2external link

Quality Rules

Avoid static field of type collection (7562)

When calculating a snapshot for applicationusing JSE 5.0, the Quality Rule “Avoid static field of type collection (7562)” does not list as “Very High Risk Objects” classes that are or inherit from a Generic collection. The Quality Rule lists only the non generic form of collections. For example static attributes of type java.util.Collection<E> will not be reported as a violation.

Persistence: Avoid table and column names that are too long (portability) (7706)

Situation:

  • JEE application using the Java Persistence API (JPA), e.g. in the form of Hibernate.
  • A table or column name is not specified in the annotations of the JPA entity.

Symptoms: The JPA entity is not listed as a “Very High Risk” object in the results.

When Java Methods are defined inside a JSP file, no link bookmarks are generated (bookmarks can be seen in CAST Enlighten or in the Dynamic Link Manager). Example of a Java Method defined in a JSP file:

<%@ page language="Java" %> 
<%! 
public void myMethod(String message)
{ System.out.println(message); } 
%>