Skip to content

ballerina-platform/static-code-analysis-tool

Repository files navigation

Ballerina Static Code Analysis Tool

Overview

Static code analysis uses tools to examine code without executing the code. They are used for identifying potential issues like bugs, vulnerabilities, and style violations. Static code analysis improves software quality by detecting issues early, ensuring better maintainability, and providing enhanced security. Ballerina supports static code analysis using the Ballerina scan tool. The Ballerina scan tool provides the command-line functionality to statically analyze Ballerina files and report analysis results.

This repository consists of

  • The Ballerina scan tool implementation.
  • The core scan logic.
  • The extension points for introducing additional analysis and reporting results to static code analysis platforms.

Prerequisites

  1. OpenJDK 17 (Adopt OpenJDK or any other OpenJDK distribution)

  2. Ballerina

Contribute to Ballerina

As an open-source project, Ballerina welcomes contributions from the community.

For more information, go to the contribution guidelines.

Code of conduct

All the contributors are encouraged to read the Ballerina Code of Conduct.

Useful links

About

Tool for performing static code analysis for Ballerina projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published