Blog Post Background Blue

How Expansiva Engineering saves 60% of their time in Code Reviews and onboards interns faster

Introducing Expansiva Engineering

Expansiva Engineering is a consultancy company based in Barcelona, Spain.

They’re working on an internet of things project that has many different applications.

As an example, they aim to drastically reduce electricity power bills in companies using big machinery.

We’re talking industrial machines that have more than 200A or 400A and that waste a lot of power, and Expansiva Engineering aims at lowering power bills by controlling and monitoring everything around those machines: power, temperature, humidity, pressure or even lights.

But the platform doesn’t stop there; it can also monitor things such as refrigerators in a supermarket, issuing alerts before the equipment actually malfunctions and, in this case, preventing that the food (which translates to money) within it is lost.

Though the team is growing, they don’t have a very large team yet (they were founded just a year ago), but they’re working hard and put a lot of thought and effort into setting their workflow.

We spoke with CTO, Xavier Fernández Salas.

Before Codacy

Expansiva started their framework with Scala not because it was a functional language, but rather because they knew that further down the line they would be using Spark, and they figured that by doing so they’d be acquainted with the language once they got there.

Just one month after they went into business, while setting up their environment and configuring tools such as Jenkins, JIRA and Confluence, they noticed a project mentioning Codacy. They had a static analysis tool in their pipeline to install but decided to give this other tool a try first.

On Codacy’s first run the platform raised a lot of issues that they hadn’t seen anywhere else, so they looked into them and it started changing the way they were coding.

With Codacy

Xavier tells us that not only did they learn Scala with Codacy, but they also learned how to program functionally, and they’re still learning new things every now and then (it makes sense, as we keep adding patterns and improving the platform).

When it comes to their workflow, they use SCRUM and work on a test-driven development methodology; when something gets committed that means it has 100% test coverage and 0 Codacy issues.

When a developer is done with the stories from the sprint they fix the remaining Codacy issues or improve code that Codacy marks has having low quality (for instance: high cyclomatic complexity).

It’s also great to onboard unseasoned developers:

“When an intern or a software engineer with no previous knowledge of Scala arrives the first task is to look at Codacy’s best practices. It’s really useful.”

And not just for Scala, but also for JavaScript, as their web developers are also using Codacy.

In the beginning, they only had one web developer, and Codacy was pointing out issues without anyone else in the company needing to know the programming language.

“It helps a lot because it reduces a lot of the time of code reviews while increasing the time we spend coding.

The code reviews are now about code structure and its internal logic, and not about code conventions, making the reviews less repetitive and more interesting.”

Final Words

Xavier estimates that Codacy is saving them at least 60% of the time they would be spending on Code Reviews otherwise.

And what is the best thing about Codacy for them?

“Time saving and learning!

When Codacy marks an error, if you don’t understand it you can follow the documentation; Codacy gives you a link, for instance, from Effective Scala; you follow the link, go to a web page that explains very well what is wrong and why, and you won’t be making the same mistake again.

It’s not just time saving, it also makes you learn a lot from your errors.”

Read More

Blog Post Background Blue

How Colisweb uses Codacy to improve their code quality

Introducing Colisweb

Colisweb is a three years old startup based in Lille, in the north of France; they are building software-defined transportation infrastructure.

The goal of their platform is to leverage data to offer same-day deliveries in as little as two hours or in a time slot of your choice.

While building systems that work with existing workflows, they’ll be putting in place the technical infrastructure to support all kind of mobility and flow consolidation.

We spoke with Jules Ivanic, lead developer and technical architect. (more…)

Read More

Blog Post Background Blue

How 47 Degrees saves 2 hours a day in Code Reviews

Introducing 47 Degrees

47 Degrees is a global consulting firm focused on Scala, Akka, the Play Framework and Spark. They’re Lightbend and Databricks certified partners and they also have experts in Android and iOS.

Check out some of their projects.

They do custom projects for their clients and help many of these companies migrate from Java and other languages to Scala and adopt the new tools that come with this technology.

It is also relevant to mention that they are very active members of the Scala community; they organize several events and attend and speak at many others.

47 Degrees recently joined the Scala Center Advisory Board, where it will be represented by its co-founder and CTO: Raúl Raja.

We spoke with Raúl. (more…)

Read More

Blog Post Background Blue

Codacy integrates with GitLab

Codacy + Gitlab

In addition to our cloud SaaS product, we also offer an on-premises solution that our clients can install on their infrastructure behind a firewall. As we are seeing more and more companies adopting GitLab, we are happy to announce today that Codacy’s Enterprise version now integrates with GitLab.

integration with GitLab

After you enable this integration in your account you’ll be able to add repos with one click; private repositories are added with a unique private deployment key (to avoid key reusage).

This adds support for Merge Requests (each Merge Request is updated with a status once the analysis has finished), post-commit hooks (for faster analysis) and auto-comments (on the issue line).

The auto-comments integration in GitLab enables engineering team to directly get feedback in GitLab. Get new security, code style issues or best practices issues directly into your GitLab pull-request.

Interested in learning more on how Codacy can help you and your engineering team ship better code faster? Get in touch now!

Read More

Blog Post Background Blue

Codacy integrates with Checkstyle

Checkstyle is one of the best and most comprehensive static analysis tools for Java code.
We’re happy to announce that Checkstyle rules are now supported on Codacy (and since Checkstyle was already using Codacy, it is now a bi-lateral relationship).
Some of the rules were already in Codacy, but a lot weren’t; this brings Codacy’s Java patterns up to 379, covering code style, compatibility, error-proneness, performance, security and unused code.
Codacy also checks for duplication of Java code and you can add coverage to your repo.
Since there are several coding styles for Java, we currently don’t enforce any of them, so none of these patterns are currently enabled by default; we’ll be adding a few bundles so you can select some sets of rules.


Read More