Delv
Codacy
Getting Started Guide

How to Use Codacy

A practical guide to get you up and running with Codacy. Written by Delv Editorial, Delv Team.

Getting started with Codacy

In this guide, you will learn how to set up Codacy for automated code quality and security analysis. By the end, you’ll be able to integrate Codacy into your development workflow and start monitoring your code for issues.

Step 1: Sign up and set up

  1. Go to Codacy's website.
  2. Click on the "Sign Up" button located at the top right of the homepage.
  3. You can sign up using your GitHub, Bitbucket, or GitLab account. Choose your preferred option and authorise Codacy to access your repositories.
  4. After signing in, you’ll be prompted to create a new project. Click on the "Add Project" button.
  5. Select the repository you want to analyse and click "Next".
  6. Choose the programming language and click "Add Project" to complete the setup.

Step 2: Your first code analysis

  1. Once your project is set up, Codacy will automatically start analysing your code. You can view the progress on your project dashboard.
  2. After the analysis is complete, click on your project to see the results.
  3. Review the "Issues" tab to see any code quality or security vulnerabilities detected.
  4. Click on each issue to view details, including suggestions for fixing the problem.

Step 3: Get better results

  1. Navigate to the "Settings" tab within your project dashboard.
  2. Enable additional analysis tools by selecting options under the "Analysis" section. You can choose from various code quality and security checks depending on your language.
  3. Set up "Code Patterns" to tailor the analysis to your team's coding standards. This is found under the "Patterns" section in the settings.
  4. Integrate Codacy into your CI/CD pipeline by following the instructions in the "Integrations" section. This ensures ongoing monitoring of code changes.

Pro tip

Regularly check the "Trends" tab to monitor your code quality over time. This helps you spot recurring issues and improve your coding standards gradually.

Common mistake to avoid

Many users forget to configure their analysis settings after adding a project. Always check the "Settings" tab to ensure all relevant checks are enabled for the best results.