Introducing Codacy Labs: our experimental playground

In this article:
Subscribe to our blog:

Listening to customers is what makes your product thrive. At Codacy, we deeply care about our customer’s needs and that’s why we created the Codacy Labs. This is where we do experiments using the Codacy API and a web client to fulfill specific requests from some of our customers.

Some of these requests might help you as well and that’s why we are now making our labs live to all of you. But don’t forget what it is: labs with experiments; it’s not part of our product.

Some of the experiments you’ll be able to find:
Do you want to have a pdf static code analysis audit report for your repos? Do you need to see the list of tools and code patterns we support without logging in? Do you need to generate a configuration file from your Codacy UI configuration? See these functional experiments below.

Audit Report

The static code analysis audit report gives you a snapshot of the current state of a given repository. It’s easily shareable, and you can use it for communication with different stakeholders. 

Codacy audit report
Codacy audit report

One of our customers was looking for an easy way to communicate results with leadership without logging in to the Codacy dashboard. At a glance, the leadership team could see:

  • How the tech debt was going, with a breakdown of the number of issues by issue category;
  • How much code was covered by tests, with the number of files with and without coverage?

To get the report, just follow these steps:

  1. Fill in your Codacy API token, which you can find in Your Account under Access Management;
  2. Select your Git provider;
  3. Select an organization;
  4. Select the repository;
  5. Check the report and share it with whoever you want!

Tools and Code Patterns

Codacy uses several tools to run code quality analysis over 40+ supported languages and frameworks. Although our docs have the complete list of languages and tools we support, you still needed to enter Codacy’s dashboard to check all the available rules and code patterns.

Codacy tools and code patterns list
Codacy tools and code patterns list

With the Tools and Code Patterns experiment in Codacy Labs, you can quickly see a complete list of the tools. Then, select the one you’re interested in, and you’ll have:

  • A short description of the tool;
  • The programming languages you can use the tool in;
  • If the tool is client-side and if it is configurable;
  • All the code patterns of the tool.

Config File Generator

We received feedback on how difficult was to use the Codacy standards on your favorite IDE. Well, we listened to you!

Our Solution Engineering team developed a solution that generates a configuration file based on your coding standards, and you can then use the file in your IDE. This is currently only available for PMD. Would you like to do this for another tool? Let us know by the in-app chat.

Config file generator for PMD
Config file generator for PMD

To get the file, just follow these steps:

  1. Select the PMD tool;
  2. Fill in your Codacy API token, which you can find in Your Account, under Access Management;
  3. Select your Git provider;
  4. Select an organization;
  5. Select the baseline coding standard;
  6. Check the file, add it to your IDE of choice, and have fun!

⚠️ We are open to receiving suggestions about specific problems to solve.

 

RELATED
BLOG POSTS

New Feature: Segments for GitHub Custom Properties 
If your team uses GitHub, our brand-new feature will make your work much easier and more intuitive!
Software deployment: deploy better code with Codacy & Deveo
In this blog, we are going to help you with better software deployment by demonstrating how to set up Codacy with Deveo. We have also included a...
Codacy Backstage Plugin Now Available
Are you a Backstage user? Good news, we can now integrate this tool with Codacy!

Automate code
reviews on your commits and pull request

Group 13