Skip to content

[P3] junitParser parses every JUnit XML twice per module #144

Open

Description

@eboudrant

Priority: P3 · Review finding: #18

src/scanner.js processSingleModule calls parseJunitXml (parses each TEST-*.xml for stats) and then parseDiffPercentages (re-reads and re-parses the same files for failure messages). Every XML is read + XML-parsed twice per module per scan/watch tick.

Fix: single pass in src/junitParser.js returning { stats, mtime, diffPcts }.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions