Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Statistics View - API and Usages #495

Closed
lars-reimann opened this issue May 18, 2022 · 1 comment · Fixed by #644
Closed

Statistics View - API and Usages #495

lars-reimann opened this issue May 18, 2022 · 1 comment · Fixed by #644
Assignees
Labels
enhancement 💡 New feature or request

Comments

@lars-reimann
Copy link
Member

lars-reimann commented May 18, 2022

Is your feature request related to a problem? Please describe

Currently, it's not possible to see statistics about the API and it's usages in the editor.

Desired solution

Create a new view that visualizes statistics about the API, it's usages, and the annotations.

Data about the size of the API

  • Total number of API elements
    • Classes
    • Functions
    • Parameters
  • Number of public API elements (see above)
  • Number of used API elements (see above)
  • Number of useful parameters (set to at least two different values)

This should be displayed as a labeled bar chart, similar to this:

image

It should be possible to set different thresholds, so it's for example possible to consider API elements used only if they are used at least 3 times.

Finally, the distribution of remaining classes, functions, and parameters should be shown for different thresholds in a line chart, with the threshold on the x-axis and the number of remaining API elements on the y-axis.

min_usages_vs_classes
min_usages_vs_functions
min_usages_vs_params

Additional context (optional)

@lars-reimann lars-reimann added the enhancement 💡 New feature or request label May 18, 2022
@lars-reimann lars-reimann moved this to Backlog in API Editor May 18, 2022
@lars-reimann lars-reimann self-assigned this May 20, 2022
@lars-reimann lars-reimann moved this from Backlog to Todo in API Editor May 20, 2022
@lars-reimann lars-reimann moved this from Todo to Backlog in API Editor May 20, 2022
@lars-reimann lars-reimann removed their assignment May 20, 2022
@lars-reimann lars-reimann changed the title Statistics View Statistics View - API and Usages Jun 3, 2022
@lars-reimann lars-reimann moved this from Backlog to Todo in API Editor Jun 3, 2022
@Aclrian Aclrian assigned Aclrian, GideonKoenig and nvollroth and unassigned Aclrian Jun 10, 2022
@lars-reimann
Copy link
Member Author

Alternative charting library: https://github.com/reactchartjs/react-chartjs-2#docs

@GideonKoenig GideonKoenig moved this from Todo to In Progress in API Editor Jun 10, 2022
@nvollroth nvollroth linked a pull request Jun 14, 2022 that will close this issue
Repository owner moved this from In Progress to ✔️ Done in API Editor Jun 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement 💡 New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants