Module Dependency

Introduction BrowserStack Code Quality’s module dependency view enables you to visualise dependencies between modules / packages aggregated from the underlying code-level dependencies. This helps in spotting tightly-coupled modules, unexpected dependencies, cyclic dependencies, etc. which can drive refactoring / restructuring decisions in order to have a cleaner dependency structure. A “module”…

0
Read More

Email notifications

This selection allows users to edit/configure email preferences and receive notifications based on the occurrence of certain events. Users can enable or disable the preferences according to his choice i.e. he can select customized email options. Steps to configure email preferences:

0
Read More

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