MaibornWolff / MaibornWolff/codecharta

Git metrics broken in CodeCharta files in Web Studio

Open
#4,134 0 comments 0 reactions 0 assignees View on GitHub
bug priority:medium
Dominant language
TypeScript
Stars
529
Forks
56
Avg merge
7h 17m
Merged PRs (30d)
34

Description

# Bug

The default map of CodeCharta is often shown for demo purposes but also in schools that teach the tool. Right now the git metrics cannot be demonstrated because they are somehow broken.

## Expected Behavior

Given I open the Web studio
When I click on the height or color metrics and check "age in weeks" or "number of authors"
Then files should have different ages and many more than one author

## Actual Behavior

The max should not be 0 or 1

Image

## Specifications
- is released in [web studio](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.135.3
- OS: MacOs
- Browser: Firefox, Chrome

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the linked Web Studio sample with codecharta.cc.json.gz and codecharta_analysis.cc.json.gz, then reproduce the issue using the height or color metrics with “age in weeks” and “number of authors.” Trace the Web Studio handling of these git metrics; done means the sample shows varied ages and more than one author, with maxima above 0 or 1.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend, web-dev
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.