objectionary / objectionary/lints

`unit-test-without-phi` XSL transformation exceeds 100ms threshold on large XMIR files

Open
#986 0 comments 0 reactions 1 assignee View on GitHub

@volodya-lombrozo is already working on this.

Since Jun 24, 2026.

bug good-title
Dominant language
Java
Stars
14
Forks
39
Avg merge
22h 54m
Merged PRs (30d)
90

Description

I'm getting performance warnings when running lints against eo-runtime:

[WARNING] XSL transformation 'unit-test-without-phi' took 108ms, whereas threshold is 100ms

What happens: The selector /object//o[starts-with(@name, '+') and eo:abstract(.) and @name and not(o[@name='φ'])] scans all descendant <o> elements, invoking eo:abstract(.) (a user-defined XSLT function) and checking all children for o[@name='φ'] on each candidate. On large XMIR files with many test objects the cumulative function call overhead exceeds the threshold.

What should happen: The transformation completes within the 100ms threshold for typical XMIR files.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.