Duplicated Block of Code Analysis(DBCA)

  1. DBCA Overview
  2. DBCA Execution
  3. DBCA Settings
  4. DBCA Result View
  5. DBCA Configuration

DBCA Overview

Duplicate code analysis detects duplicate blocks for code files entered for code improvement and is currently checked with a total of two types.

DBCA Execution

To create an analysis

  1. Create an analysis accordint to Creating Analysis
  2. In the Analysis Type window, select DBCA. Then, the Settings window will appear.

To setup the analysis

  1. Set-up the analysis accoring to DBCA Settings, and click Apply button

To execute the analysis

To see the result

Generating Analysis Report

DBCA Settings

Basic Info

Basic Info

Files

Files

DBCA Result View

DBCA Result View

Criteria

Determined on the size (lines) of duplicated block.

Criteria Condition
Pass the size (lines) of duplicated block < 10
Conditional Pass 10 <= the size (lines) of duplicated block < 50
Fail 50 <= the size (lines) of duplicated block

DBCA Configuration

DBCA Configuration

Default Values

Partitions

Code View Highlight Colors