Webinar with Jim Routh former CISO on Software Supply Chain Security Watch Now

CodeSonar Java

SAST when Safety and Security Matter

  Accelerate Application Security

Java logo

Software teams are under constant pressure to deliver more content with higher complexity, in shorter timeframes, with increased quality and security. Static Application Security Testing is a proven best practice to help software teams deliver the best code in the shortest timeframe. GrammaTech has been a leader in this field for over 15 years with CodeSonar delivering multi-language SAST capabilities for enterprises where software quality and software security matter. For an in-depth look at CodeSonar's functionality, download the CodeSonar datasheet.

Book an Evaluation

From a TAG Cyber analyst perspective, this suite of tools looks absolutely first-rate. It includes modern DevOps-consistent features with an unequaled foundational base derived from world-class research. » Read More

DevSecOps - Speed and Scale

Software developers need rapid feedback on security vulnerabilities in their work artifacts. CodeSonar can be integrated into software development environments, can work unobtrusively to the developer and provide rapid feedback.

Abstract Interpretation

GrammaTech SAST tools use the concept of abstract interpretation to statically examine all the paths through the application and understand the values of variables and how they impact program state. Abstract interpretation gives CodeSonar for Java the highest scores in vulnerability benchmarks.


Broad coverage of security vulnerabilities, including OWASP Top10, SANS/CWE 25. Support for third party applications through byte code analysis.


Integration into DevSecOps to improve quality of the code and developer efficiency. Find code quality and performance issues at speed.


Checkers that detect performance impacts such as unnecessary test for nullness, creation of redundant objects or superfluous memory writes.

Enterprise customers are using Java in their internal applications, either in-house built, or built by a third-party. Static analysis is needed to to improve security and quality to drive business continuity.

Mobile and Client customers are using Java on end-points, sometimes in an internet-of-things deployment, or to provide information to mobile users. Security is critical due to the diverse environment, privacy is top-of- mind as well.

Web Apps drive dynamic content for websites and web-based applications. In a hostile environment tainted data analysis is crucial to assist developers to understand where their applications may be vulnerable.

Frameworks Supported

Currently supported frameworks are listed below. New frameworks are added every release.

Apache-CXF, AspectJ, EJB, JAX-RS, JAX-WS, JPA, JSF, Jersey, RESTeasy, RESTlet, Servlet, Spring, Android.

IDE Support

CodeSonar for Java plugs into Eclipse, IntelliJ IDEA and Android Studio. Through the IDE you can launch new analyses and review and resolve warnings as you write the code.


CodeSonar for Java includes a complete range of checkers for security, quality, efficiency and style, some examples:


  • Injections
  • Cryptography
  • XXE
  • Cookies
  • Passwords
  • LDAP


  • Nullness
  • Approximation
  • CloseResource
  • DeadCode
  • BadEq
  • LEqualsHashCode

Analyze Third Party Code

CodeSonar for Java analyzes byte code and then reflects these warnings back into your source-code. This allows the analysis of both your own code as well as third-party applications where source code may not be available.


An advanced, interactive dashboard plug-in allows managers and security analysts to understand current status and track progress.

Process Integration

CodeSonar for Java is flexible and can provide output in a variety of different formats such as PDF and XML for easy integration in your process.

Book an Evaluation

The best way to try a SAST solution is to run it on your own codebase and review the warnings it issues. Request an evaluation and learn how GrammaTech technology can rapidly improve your software development capability.

System Requirements

Host: Windows, Linux
Hardware: 2+ Cores, 32+GB of RAM, 20+GB of disk