You are not logged in. Click here to log in.

codeBeamer ALM

Search In Project

Search inClear

Tags:  Comprehension

Source Code Comprehension

That it is not supported from CodeBeamer 5
Codebeamer provides web-based source code comprehension and browsing features. From the user's viewpoint, the CodeBeamer server acts like a general purpose search engine, such as Google; but its search is source code-specific. General purpose tools find and extract text keywords in different documents. In contrast, CodeBeamer understands the syntax of C/C++ and Java programming languages and extracts data from source-code, understands the programming constructs such as classes and methods and establishes a relationship between these programming constructs by constructing a symbol database.

With the information from the symbol database, developers are provided with a cross-reference and symbol search. Project managers and QA engineers are provided with instant statistics data to monitor the code changes.

Source Code Metrics

For C/C++ and Java code, CodeBeamer provides different statistics and metrics. To see the statistics and metrics charts, click the Source Code tab and click the Trends or Details links for a metric category. CodeBeamer uses a set of widely accepted tools to do the computation of various metrics.

Similarity Analysis

For similarity analysis the Simian is used. Simian identifies duplication in the source code and even plain text files.

Figure: Similarity Analysis by Date.

PMD Analysis

PMD Java source code and looks for potential problems including:

  • Empty try/catch/finally/switch blocks.
  • Unused local variables, parameters and private methods.
  • Empty if/while statements.
  • Overcomplicated expressions - unnecessary if statements, for loops that could be while loops.
  • Classes with high Cyclomatic Complexity measurements.

Figure: PMD Analysis by Date.

Copy-Paste Analysis

CPD the number of Copy-Paste occurrences in a project.

Figure: Copy-paste Analysis by Date.

JDepend Analysis

JDepend Java class file directories and generates design quality metrics for each Java package. JDepend allows you to automatically measure the quality of a design in terms of its extensibility, reusability, and maintainability to manage package dependencies effectively.

Figure: JDepend Analysis by Date.

Checkstyle Analysis

Checkstyle a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this task. This makes it ideal for projects that want to enforce a coding standard.

Figure: Checkstyle Analysis by Date.