Codacy automatically identifies issues through static code review analysis and notifies you on security issues, code coverage, code duplication, and code complexity in every commit and pull request.
To get started, head to codacy.com and click Get started .
1. Sign up
Signing up with a Git provider such as GitHub, GitLab, or Bitbucket links your Codacy user with your Git provider user, making it easier to add repositories to Codacy and invite your teammates.
Codacy will ask you to have access to your Git provider during the authorization flow. Check the permissions that Codacy requires and why.
2. Account details
You’ll be asked to fill in a few details about your company so we know a bit more about your use case.
3. Choose an organization
Now, you’ll need to join one or more organizations that contain your repositories. The organization with the same name as your Git provider username contains your personal repositories. The selected organizations will then be synced with Codacy so that managing your team permissions is easy. Read more about what synced organizations do.
If you can’t see the organization you are looking for, follow these troubleshooting instructions.
To start adding your repositories, select one of the organizations and click Go to add repositories .
4. Add repositories
As a final step, add the repositories that you wish to analyze. Codacy will start the first analysis and set up everything required to ensure your next commits on those repositories are analyzed.
You’re all set!
Codacy begins an initial analysis as soon as you add a repository, and displays an overview of the code quality of your repository when the analysis is complete.
After that, you can continue to explore and configure Codacy for your repository:
- Check the static analysis results on the Issues page
- Configure the code patterns that Codacy uses to analyze your repository
- Ignore files that you want to exclude from the Codacy analysis
- Configure your quality settings for pull requests
- Add coverage reports to Codacy
- Add a Codacy badge to your repository displaying the current code quality grade or code coverage
Direct link to the Getting started documentation page here. If you need further help, or would like to share feedback about this page, please feel free to reach out to us!