Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Scroll Ignore
scroll-viewporttrue
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue

This release includes the following enhancements:

Table of Contents
maxLevel1

Release date: May 13 May, 2025

Info
titleUpgrade Note

In this release, the structure of the Jtest plugin for Eclipse has been significantly modified. Before installing the Jtest 2025.1 plugin, any previous versions must be uninstalled. Performing a plugin update without first uninstalling previous versions may result in Jtest functionality not working correctly. See Plugin for Eclipse.

AI Assistant

A new AI Assistant is available in Jtest. Users can ask questions about the product in natural language and the AI Assistant will answer based on documentation and integration with an external LLM provider. New and existing users can learn the product and get help more efficiently using the AI Assistant. Access the AI Assistant by navigating in the desktop to Parasoft > Show View > AI Assistant. See The AI Assistant for more information.

Unit Test Creation Enhancements

  • When LLM integration is enabled, the Unit Test Assistant now leverages LLM to provide improved variable values during test creation, such as more natural string values, in addition to the existing functionality of attempting to fix failing generated tests. These test generation enhancements can be enabled using the Use AI to enhance generated tests option.
  • The Unit Test Assistant now analyzes 3rd-party libraries in user projects to understand how to better initialize objects under test in the generated test cases.
  • Support for Mockito 5 has been added.
  • The test suite maintainability strategy has been enhanced to create tests that are fully configured and are more likely to pass when run.
  • More accurate default values are now provided for commonly used types, such as java.util.Date, java.util.Locale and java.nio.charset.Charset. Instances are now created instead of mocks for string-related types and interfaces, such as java.lang.CharSequence, java.lang.StringBuilder and java.lang.StringBuffer.

Unit Test Assistant Centralized License Token Counting

When creating tests for multiple classes at once, license tokens for test creation can now be counted centrally on the Parasoft License Server instead of locally on the individual workstation. This allows organizations to utilize the same Jtest license enabled with a Unit Test Bulk Creation Tier across multiple team members (on multiple machines). For more information, see Licensing.

Test Execution and Code Coverage Enhancements

  • Code coverage analysis has been improved by excluding constructs that are not coverable:
    • Private, empty, and no-argument constructors.
    • Closing brackets from try-finally statements.
  • Coverage can now be collected for projects using JBoss 7.3 and Java 11.
  • A .yaml OpenAPI specification endpoint has been added to the coverage agent that documents the REST API exposed by the coverage agent.
  • Jtest now supports collecting coverage and test results from Android Kotlin projects based on Gradle 8 and JDK 17.

Static Analysis Enhancements

The suppression mechanism has been extended to allow suppressing similar violations in different versions of Jtest.

Build and Framework Integration Enhancements

  • Support for Lombok 1.18.36 has been added.
  • Experimental support for Maven 4.0.0 has been added.

Anchor
new_and_updated_configs_jtest
new_and_updated_configs_jtest
New and Updated Test Configurations

The Security Compliance Pack has been extended by adding support for the following test configurations:

  • CWE 4.17
  • CWE Top 25 2024
  • CWE Top 25 + On the Cusp 2024

The following test configurations have been updated:

  • Demo Configuration
  • OWASP Top 10-2021
  • Recommended Rules
  • UL 2900

The following test configurations have been removed:

  • CWE 4.15
  • CWE Top 25 2022
  • CWE Top 25 + On the Cusp 2022

Anchor
Updated Static Analysis Rules
Updated Static Analysis Rules
New and Updated Static Analysis Rules

The following rule has been added:

Rule IDHeader
SECURITY.WSC.UHTTPSUse HTTPS instead of HTTP

The following rules have been updated:

Rule ID

Updates

BEAN.EQUALSPerformance improved by rewriting the rule in Javausing a new framework.
BEAN.JDBCPerformance improved by rewriting the rule in Javausing a new framework.
CODSTA.BP.BLOCKPerformance improved by rewriting the rule in Javausing a new framework.
CODSTA.BP.CFNFPerformance improved by rewriting the rule in Javausing a new framework.
CODSTA.EPC.AFPPerformance improved by rewriting the rule in Javausing a new framework.
CODSTA.EPC.NCNFCPerformance improved by rewriting the rule in Javausing a new framework.
CODSTA.EPC.USTPerformance improved by rewriting the rule in Javausing a new framework.
CODSTA.OIM.AMMOPerformance improved by rewriting the rule in Javausing a new framework.
CODSTA.OIM.DVOMPerformance improved by rewriting the rule in Javausing a new framework.
CODSTA.POD.DCTORPerformance improved by rewriting the rule in Javausing a new framework.
CODSTA.READ.DOWHILEPerformance improved by rewriting the rule in Javausing a new framework.
ECLIPSE.IPMF

Performance improved by rewriting the rule in Java. Updated using a new framework. Updated the violation marker position.

ECLIPSE.SMFPerformance improved by rewriting the rule in Javausing a new framework.
EJB.ABCSPerformance improved by rewriting the rule in Javausing a new framework.
EJB.ABFGPerformance improved by rewriting the rule in Javausing a new framework.
EJB.ADCBPerformance improved by rewriting the rule in Javausing a new framework.
EJB.AIEBCPerformance improved by rewriting the rule in Javausing a new framework.
EJB.AJDBCPerformance improved by rewriting the rule in Javausing a new framework.
EJB.AOTOPerformance improved by rewriting the rule in Javausing a new framework.
EJB.EJBLOADPerformance improved by rewriting the rule in Javausing a new framework.
EJB.FNDMPerformance improved by rewriting the rule in Javausing a new framework.
EJB.IECMPerformance improved by rewriting the rule in Javausing a new framework.
EJB.IEPMPerformance improved by rewriting the rule in Javausing a new framework.
EJB.MREPerformance improved by rewriting the rule in Javausing a new framework.
EJB.RUHPerformance improved by rewriting the rule in Javausing a new framework.
EJB.TCEPerformance improved by rewriting the rule in Javausing a new framework.
EJB.TFEPerformance improved by rewriting the rule in Javausing a new framework.
EXCEPT.IMMEXPerformance improved by rewriting the rule in Javausing a new framework.
INTER.PNPerformance improved by rewriting the rule in Javausing a new framework.
INTER.SCTPerformance improved by rewriting the rule in Javausing a new framework.
INTER.SEPerformance improved by rewriting the rule in Javausing a new framework.
INTER.SIOPerformance improved by rewriting the rule in Javausing a new framework.
INTER.STPerformance improved by rewriting the rule in Javausing a new framework.
JAVADOC.MVJDTPerformance improved by rewriting the rule in Javausing a new framework.
JUNIT.MAINPerformance improved by rewriting the rule in Javausing a new framework.
MOBILE.ENUMPerformance improved by rewriting the rule in Javausing a new framework.
MOBILE.FLOATERPerformance improved by rewriting the rule in Javausing a new framework.
OOP.CIMOMPerformance improved by rewriting the rule in Javausing a new framework.
OOP.ICIFPerformance improved by rewriting the rule in Javausing a new framework.
OOP.IINPerformance improved by rewriting the rule in Javausing a new framework.
OOP.LEVELPerformance improved by rewriting the rule in Javausing a new framework.
OPT.BRPerformance improved by rewriting the rule in Javausing a new framework.
OPT.MAFPerformance improved by rewriting the rule in Javausing a new framework.
OPT.PCTSPerformance improved by rewriting the rule in Javausing a new framework.
OPT.SBPerformance improved by rewriting the rule in Javausing a new framework.
OPT.TOARRAYPerformance improved by rewriting the rule in Javausing a new framework.
OPT.USVPerformance improved by rewriting the rule in Javausing a new framework.
PB.API.APPGPerformance improved by rewriting the rule in Javausing a new framework.
PB.API.ECMCPerformance improved by rewriting the rule in Javausing a new framework.
PB.API.EHMPerformance improved by rewriting the rule in Javausing a new framework.
PB.CUB.SBCImproved performance and documentation.
PB.CUB.OEPerformance improved by rewriting the rule in Javausing a new framework.
PB.NUM.UCMPerformance improved by rewriting the rule in Javausing a new framework.
PB.PCSFPerformance improved by rewriting the rule in Javausing a new framework.
PB.RE.NXREPerformance improved by rewriting the rule in Javausing a new framework.
PB.TYPO.BWPerformance improved by rewriting the rule in Javausing a new framework.
PB.USC.EPCPerformance improved by rewriting the rule in Javausing a new framework.
PB.USC.FCBSImproved accuracy. Fixed a false positive reported by the rule.
PORT.CTSPPerformance improved by rewriting the rule in Javausing a new framework.
PROPS.HCLSPerformance improved by rewriting the rule in Javausing a new framework.
SECURITY.ESD.CONSENImproved accuracy. Fixed a false positive reported by the rule.
SECURITY.WSC.FIMUFixed a false positive reported by the rule.
UC.UIMPORT

Fixed a false positive reported by the rule.

Updated Flow Analysis Rules

The following rule has been updated:

Rule ID

Updates

BD-SECURITY-TDThe rule has been significantly updated to improve performance and accuracy.

Support for Platforms

The following platform is now supported:

  • Windows Server 2025

Support for IDEs

The following IDEs are now supported:

  • Eclipse 4.34 (2024-12)
  • Eclipse 4.35 (2025-03)
  • IntelliJ 2024.3
  • IntelliJ 2025.1

Known Limitation

In this release, Windows Intellij 2025.1 is not supported for the Jtest plugin on Windows may experience encoding support issues in non-English environments for IntelliJ 2024.2 and later.

VSCode Extension Enhancements

  • Violations are now saved in a file when applying the Fix with AI option in Problems View.
  • Authentication with Azure Pipelines no longer requires additional extensions to be installed.
  • You can now import the analysis results of a project named differently than the current workspace.
  • You can now import violations from GitLab to VSCode using a personal token with any role.
  • It is now possible to select an AI model when working with Copilot Chat using the @parasoft participant.
Upgrade Notes

Before installing the Jtest 2025.1 plugin for Eclipse, uninstall any previous versions.

Additional Updates

  • The shipped JRE has been upgraded to version 21.0.7+6.
  • Jtest can now be configured to be FIPS 140-3 compliant.
  • Jtest now supports groups of rule equivalents. When one of these rules is suppressed at the point of violation, the suppression is automatically applied to all equivalent rules in the group. See Automatically suppress violations of equivalent rules.
  • Severity is no longer ignored in suppression patterns referencing only the rule ID (e.g., PB.CUB.UEIC-3). If the rule's severity has increased, existing suppressions may no longer apply.
  • You can now customize any of the intermediate XSL transformation files used to generate reports in all available formats as an alternative to building a custom XSL transformation from scratch. See Customizing XSL Files Used to Generate Reports.
  • Parameters used to configure Jtest for test execution are now always included in XML reports.
  • Settings can now be imported from a remote location. See Importing Preferences.
  • Rule documentation is now distributed as a .zip file. You can specify the path to a .zip file containing the documentation. See Specifying the Rule Documentation Directory.
  • The Jtest installation process is now faster and more efficient.
  • Flow Analysis performance has been improved.

Upgrade Notes

In this release, the structure of the Jtest plugin for Eclipse has been significantly modified. Before installing the Jtest 2025.1 plugin, any previous versions must be uninstalled. Performing a plugin update without first uninstalling previous versions may result in Jtest functionality not working correctly. See Plugin for Eclipse.

Deprecated Support

Deprecated Support for Operating Systems

Support for the following OS is now deprecated:

  • Windows 10

Deprecated Rules

The following rules are deprecated and will be removed in future releases:

  • NAMING.ID
  • DBC.CPT
  • DBC.IGM
  • DBC.IMNR
  • DBC.IPAN
  • DBC.PKGC
  • DBC.PKGMPOST
  • DBC.PKGMPRE
  • DBC.PRIC
  • DBC.PRIMPOST
  • DBC.PRIMPRE
  • DBC.PROC
  • DBC.PROMPOST
  • DBC.PROMPRE
  • DBC.PUBC
  • DBC.PUBMPOST
  • DBC.PUBMPRE
  • DBC.RCC
  • DBC.SYNTAX

Resolved Bugs and FRs

Bug/FR ID

Description

FA-10104Inconsistent results for BD-PB-CC
FA-10244 BD-PB-VOVR false positive on variable updated in a loop, which is traversed only once
JT-77179 Rule APSC_DV.002010.PWDPROP and APSC_DV.002530.TDCMD have different severity level in GUI, report, Test Configuration
JT-77142 Jtest UC.UIMPORT rule issue
JT-77143 False positive SECURITY.WSC.FIMU
JT-76604Importing Jtest Analysis Results from DTP to Visual Studio Code via JtestPlugin
UTA-9724Factory method objects may not be chosen in bulk creation
UTA-9726Misleading "Potential setup problem"
UTA-9793Exceptions because of insufficient IntentionActionImpl instances


...