1

Codacy Product Showcase: April 2024

Group 370
2

Codacy Security Adds Thousands of New SAST Rules With Semgrep Integration

Group 370
3

Introducing Codacy for PHP projects and easier file ignore

In this article:
Subscribe to our blog:

Starting today, you can put Codacy to work on your PHP projects.
We’re also putting into production an interface for you to easily ignore files and folders.

These two features follow a big amount of great feedback we had from you. We’re really fortunate to have you using the platform and helping us every day making it better.

PHP

We’ve been studying hard what programming languages to support for the past several months.
After reaching out to several hundred users we’ve come to the conclusion that PHP developers would love to have Codacy working for their PHP code.

To give you more data, 1 in every 2 users that contacted us giving feedback asked for PHP. It’s impossible for us to ignore this.

To properly support an interesting set of analyzes, we reached out to our users and friends (honorable mention to Nuno Lopes) that helped us collect what matters.

Starting today, we’re giving you one more code pattern that executes PHPMD (PHP Mess Detector) on your code.
PHPMD searched for common problems and best practices much like the other code patterns we have been implementing and supporting. We’re very happy to introduce this tool to the catalogue of code patterns we can provide you to analyze your commits.

Here’s the type of results you can expect from PHPMD (from the PHPMD site):

  • Possible bugs
  • Suboptimal code
  • Overcomplicated expressions
  • Unused parameters, methods, properties

Here’s also a snapshot of it in action:

During the next several months we’re also thinking in supporting new PHP code patterns based on your problems so please share your pains with us.

Ignore files

A big part of having code analysis on your code is making sure you only see results for files that matter to you.

We previously had a way for you to filter files and directories but it wasn’t effective.
We’ve reworked this for you. You can now filter files and directories easily.

We’ve added a Settings button to your project details:

Inside your project settings you’ll find a button to ignore files that will lead you to this interface:

In summary to access this: Settings and Ignore files

We’re really excited to bring you this since so many users asked for it.
We want to continuing to support you and your code and we’re becoming better at it.
Thank you for being with us so far!


Edit: We just published an ebook: “The Ultimate Guide to Code Review” based on a survey of 680+ developers. Enjoy!


About Codacy

Codacy is used by thousands of developers to analyze billions of lines of code every day!

Getting started is easy – and free! Just use your  GitHub, Bitbucket or Google account to sign up.

GET STARTED

RELATED
BLOG POSTS

Net neutrality: what the US can learn from Europe
If you’re reading this article from your phone, chances are you don’t even know how you’re connected to the server that’s hosting it. It’s easy enough...
Open pull request: what would happened if you merged all open PR?
We really don’t know what would happen if we merged all open pull request (PR).
Open source projects: merging schedules
When do open source projects merge their pull requests? I was curious about the merging time patterns of pull requests from open source projects. So I...

Automate code
reviews on your commits and pull request

Group 13