Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write number of changed files/lines per patch/stage to metrics #138

Closed
PhilippvK opened this issue Oct 30, 2024 · 1 comment
Closed

Write number of changed files/lines per patch/stage to metrics #138

PhilippvK opened this issue Oct 30, 2024 · 1 comment
Assignees
Milestone

Comments

@PhilippvK
Copy link
Member

This would allow us to give a summary of LOCs (lines of code) generated/modified by Seal5.

@PhilippvK PhilippvK self-assigned this Oct 30, 2024
@PhilippvK
Copy link
Member Author

I have added a quick PoC via 32db47c & d7f85cd which can generate the following data:

# cat /tmp/settings.yml
---
...
metrics:
...
- patch:
    stages:
      PHASE_1:
        n_deletions: 0
        n_files_changed: 7
        n_insertions: 28
      PHASE_2:
        n_deletions: 0
        n_files_changed: 41
        n_insertions: 1683
...
- patch:
    stages:
      PHASE_3:
        n_deletions: 0
        n_files_changed: 0
        n_insertions: 0
      PHASE_4:
        n_deletions: 0
        n_files_changed: 38
        n_insertions: 407
      PHASE_5:
        n_deletions: 0
        n_files_changed: 0
        n_insertions: 0
...
- deploy:
    n_deletions: 0
    n_files_changed: 84
    n_insertions: 2118
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant