• Category Archives: changelog

Now in public beta: Support for parallelized test coverage reporting!

We’re excited to announce the public beta for our new test coverage reporter!

This reporter adds a frequently requested feature — support for parallelized CI builds, by combining multiple test reports together into a single payload submitted to the Code Climate API. You can combine multiple reports from the same test suite or from entirely different test suites covering code written in different languages.

It’s written in Go, improving performance, and supports multiple test coverage formats under the same pre-built binary.

The new reporter currently supports popular test coverage report formats for Ruby, JavaScript, Python, PHP, Go, Java, and Groovy.

For installation instructions, please check out the docs.

We would love to hear your feedback! Feel free to send us a message or open an issue on GitHub.

Read more at the source

Let’s Talk About Grep!

Today, we are excited to introduce our grep analysis engine.

Grep is a long-standing tool that is essential to developers. It allows you to search files for matches against given regular expressions. Now, we are bringing grep to Code Climate to give teams a way to detect specific patterns in their code. The issues emitted by the grep engine are entirely configurable. You can use the grep engine to enforce specific style rules (e.g. don’t define methods that start with set_ or get_), or to help burn-down existing constructs – as seen in this rule to deprecate use of octicons:

  grep:
    enabled: true
    config:
      patterns:
        octicons-deprecated:
          pattern: \.octicon
          annotation: "Don't use octicons"
          severity: minor
          categories: Compatibility
          path_patterns:
            - "**/*.slim"

This will generate the following issues on Code Climate:

img

Check out our documentation to set up your own grep patterns!

Read more at the source
close