You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possible change in the src/main/java/com/endava/cats/generator/RegexGenerator.java class to optimize the handling of complex patterns through Regex segmentation and recombination
#160
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.
Introduce a preprocessor for regular expressions that decomposes complex patterns into smaller, manageable subexpressions. This enhancement could allow CATS to:
Improve test case variability by ensuring that no part of a complex regex pattern is ignored or overly simplified.
Enhance performance by generating test data in smaller, more efficient chunks and recombining them.
Leverage the dk.brics.automaton library in Java to analyze and decompose regex patterns. This can be integrated into the RegexGenerator module to ensure efficient handling of large regex expressions.
Here is an example of how this feature could be implemented in the attached pdf:
Introduce a preprocessor for regular expressions that decomposes complex patterns into smaller, manageable subexpressions. This enhancement could allow CATS to:
Improve test case variability by ensuring that no part of a complex regex pattern is ignored or overly simplified.
Enhance performance by generating test data in smaller, more efficient chunks and recombining them.
Leverage the dk.brics.automaton library in Java to analyze and decompose regex patterns. This can be integrated into the RegexGenerator module to ensure efficient handling of large regex expressions.
Here is an example of how this feature could be implemented in the attached pdf:
RegexProcessor.pdf
The text was updated successfully, but these errors were encountered: