Maximum Nesting

Maximum nesting is a number of nested blocks that are present inside a class/method. This helps to identify how the class is deeply nested. The blocks with if, else, else if, do, while, for,foreach, switch, catch, etc statements are generally the part of nested loops. Example: Maximum Nesting is 5…

0
Read More

Software Requirements

The Code Quality on-premise installer assumes a “blank” operation system, with no software other than the default packages installed. If you want to use an already in use virtual machine or server, please let us know beforehand to avoid dependency conflicts during the installation. The same holds true for docker based installation. If the docker is already running containers on…

0
Read More

IntelliJ Plugin

In the Embold IntelliJ plugin, the detected code issues are highlighted on the fly and you can have quick-fix solutions as you edit the code. This plugin helps to enable or disable your code issues from Embold Global Settings by filtering the code rules according to the criticality. Moreover, anti-patterns…

0
Read More

Direct Cyclic Dependency

A direct dependency is formed when two classes or files have dependency over each other. The dependency can be caused by using variables or function calls. Impact Cyclic dependency creates tight coupling between these classes and it is hard to reuse as separate units. Sometimes, circular dependency may cause memory…

0
Read More

File Coupling

When one file is coupled or dependent on many other files, it is called as file coupling. The dependency can be in the form of variables or functions. This applies to only those file-level variables or functions. Impact Higher coupling with other files makes the code fragile. This is because…

0
Read More

BrowserStack Code Quality Trace

Introduction BrowserStack Code Quality uses Compilation Database (CDB) to scan C/C++ repository in strict mode. BrowserStack Code Quality provides a tool ‘embold-trace’ to generate CDB from build process. BrowserStack Code Quality-trace tool facilitates users to configure which compilers to intercept during build. It then intercepts build process and generates CDB…

0
Read More

Embold Configuration JSON

This configuration file contains the list of issues with its associated threshold values. Parameters such as path_exclusion, issues_exclusions and so on are mentioned in this JSON file. The company organization will decide about the strictness of this JSON file. For e.g. Company can set their own rules/standards and customize this…

0
Read More

Release 1.7.10.0

Release date: 17, February 2020 What is new? Our Jira integration got even better. When creating and assigning a task from Embold, the assignee can take up the ticket in Jira and directly jump to the issue in Embold for further information. Also, we enriched the ticket information, which is sent from…

0
Read More

Gated Commit

Overview Gated Commit is an integration pattern that means the commit does not happens until a set of checks is passed against the code. It helps the developers to avoid breaking the code and prevents bad code from going into the integration branch. This should take place before committing changes…

0
Read More