Code Inspector Documentation

Code Inspector Documentation

  • Getting Started
  • Integration
  • API
  • FAQ

›Getting Started

Getting Started

  • Getting Started
  • Create Account
  • Create Group
  • Create Project
  • Add a Badge
  • Automated Codefix

Metrics and Dashboard

  • List of Metrics
  • Analysis Results
  • Project Dashboard
  • Technical Debt Estimates
  • Dependencies

Configuration

  • Project preferences
  • Ignore Files and Violations
  • Branch Support

Pricing and Billing

  • Pricing
  • Billing

Automated Codefix

NOTE: the automated codefix feature is only available for Silver and Gold members

What it is?

Code Inspector can automatically fix source code violations in your source code. When an issue can be automatically fixed, code inspector proposes multiple fixes. You can select the fix that seems appropriate for you and Code Inspector automatically generates a pull request/merge request for you.

The feature is currently available under beta. Automated codefix is available when the owner of the repository (user or group) has a silver or gold membership.

Supported Languages

The automated codefix supports Java, C and C++ as of today.

Supported Platforms

The automated codefix feature is available for repositories on Github, Bitbucket and Gitlab.

How it works

First, navigate your code to find issues. If an issue can be solved, a button labelled "Show potential fixes" appears, as shown below.

Code fix button

Once you click on the button, the interface shows you potential fixes. You select the fix that seems appropriate to you. Multiple fixes can be generated, depending on the context of the code.

Once you select the fix, Code Inspector generate a pull request/merge request. When the pull request is created, a link to the pull request/merge request appears and you can merge the code in a single click.

Code fix video

Beta status and feedback.

This feature is currently in beta. If you have any feedback or request, please send us a message.

← Add a BadgeList of Metrics →
Code Inspector Documentation
Docs
Getting StartedIntegrationsAPI Reference
Community
SlackTwitter
More
Medium
Follow @code_inspector
Copyright © 2021 XCoding labs, LLC