DependencyTrack / DependencyTrack/frontend

Global and project aggregate statistics - A unique count of the components is missing

Open
#225 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Vue
Stars
171
Forks
250
Avg merge
11h 12m
Merged PRs (30d)
82

Description

Right now DT only reports the aggregate component statistics from each project. If I understand correctly the logic is that any component in an independet project is an indepedent risk and issue in itself.

### Current Behavior:

As such the numbers vastly differ:
![image](https://user-images.githubusercontent.com/996117/184816516-f3740278-389c-4046-9bab-738904401173.png)

When in reality there are only:
![image](https://user-images.githubusercontent.com/996117/184817151-5e2c8f9c-69e0-45da-a65c-8b35fcbd207d.png)

Considering only the libraries:
![image](https://user-images.githubusercontent.com/996117/184816869-c3148180-a069-4202-a62d-146c5a130dc5.png)

### Proposed Behavior:
Show global Aggregate Statistics. A unique component count and global aggregate statistics should be pretty easy to implement in both SQL and API endpoint . Unique statistics would also help at the project level.

When is a component considered as an indepdent component in a project? Because there are often many duplicates. What values are considered unique in order to make a component its own component and not be considered a duplicate?
Or is this "duplication" intentional by the same logic that there are no aggregate global stats?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.