Repository navigation
Unify showdiff reports - #383
Merged
JiriPavela merged 4 commits intoSep 9, 2026
Merged
Conversation
The perun/profile package structure has been reworked such that it can contain sub-packages related to different profile representations. This will allow us to better structure code related to different profile types, e.g., folded, and dependencies , e.g., pandas, or polars. Moreover, thanks to lazy imports, we can cut down the Perun startup time and import only relevant modules when, e.g., generating reports.
Both Perun-native and external profiles now use the same core logic for generating the HTML reports.
Not up to standards ⛔🔴 Issues
|
| Category | Results |
|---|---|
| UnusedCode | 1 medium |
| ErrorProne | 1 high |
🟢 Metrics 536 complexity · 10 duplication
Metric Results Complexity 536 Duplication 10
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
JiriPavela
force-pushed
the
refactor/unify-reports
branch
3 times, most recently
from
September 9, 2026 07:44
40e37b2 to
1096d2e
Compare
JiriPavela
force-pushed
the
refactor/unify-reports
branch
from
September 9, 2026 08:21
1096d2e to
ce27f40
Compare
JiriPavela
marked this pull request as ready for review
September 9, 2026 09:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR unifies the core logic for generating HTML diff reports from both Perun-native profiles and external profiles (e.g. folded profiles).
It also reworks the project structure a bit:
perun/profileis nowperun/profilesand contains subpackages implementing different types of profiles (e.g., folded, pandas, polars), and the conversions between them. The structure is deliberately granular to take full advantage of lazy loading of expensive dependencies, such as pandas.