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

[FEATURE] ✨ Add Complexity measure on FilterExpression #19

Closed
candoumbe opened this issue May 26, 2021 · 0 comments
Closed

[FEATURE] ✨ Add Complexity measure on FilterExpression #19

candoumbe opened this issue May 26, 2021 · 0 comments
Assignees
Labels
enhancement ✨ New feature or request

Comments

@candoumbe
Copy link
Owner

candoumbe commented May 26, 2021

Is your feature request related to a problem? Please describe.
A complexity measure combine with IsEquivalentTo could help convert complex expressions to a less complex expression
For example, swapping two expressions that are equivalent
*[Mm]an and *Man|*man are equivalent but the first one is more complex than the latter because it requires several operations before being processable.

Describe the solution you'd like
Any FilterExpression would be able to give access to a Complexity measure that gives a sense of how cumbersome it is.
It will be a kind of cyclomatic complexity

@candoumbe candoumbe added the enhancement ✨ New feature or request label May 26, 2021
@candoumbe candoumbe self-assigned this May 26, 2021
@candoumbe candoumbe changed the title [FEATURE] ✨ Add Complexity measure on FilterExpression [FEATURE] ✨ Add Complexity measure on FilterExpression May 26, 2021
candoumbe added a commit that referenced this issue Jun 12, 2021
Renamed PropertyNameExpression to PropertyName as it's no longer a filter  expression
candoumbe added a commit that referenced this issue Jun 12, 2021
Added option to inline setting feature branch name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ✨ New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant