MaibornWolff / MaibornWolff/codecharta

Percentage metrics being summed for folders

Open
#4,377 0 comments 0 reactions 0 assignees View on GitHub
bug pr-visualization UX / UI
Dominant language
TypeScript
Stars
529
Forks
56
Avg merge
7h 17m
Merged PRs (30d)
34

Description

# Bug

## Expected Behavior

WHEN

Selecting percentage based metric (e.g. branch_coverage) for a folder

THEN

It is a value between 0 and 100, representing the metric over the whole folder

## Actual Behavior

The values are added, leading to values outside of the 0 to 100 range (e.g. branch coverage 1800)

## Screenshots

## Steps to Reproduce the Problem
1. Select percentag based metric
2. See summed value next to metric name

## Specifications
- is released in [online-demo](https://maibornwolff.github.io/codecharta/visualization/app/index.html?file=codecharta.cc.json.gz&file=codecharta_analysis.cc.json.gz¤tFilesAreSampleFiles=true): yes | no
- CodeCharta Version: 1.139.0
- OS:
- Browser:

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name a file, test, or entry point. Reproduce the problem by selecting a percentage metric for a folder in the visualization, then trace where the folder value is aggregated. Done means percentage metrics remain between 0 and 100 and represent the whole folder rather than a sum.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.