Skip to content

Conversation

@giovannitangredi
Copy link
Contributor

This PR adds minimum and maximum value for the Nexit metric, the method used is similar to min and max for cyclomatic metric, Tests were modified accordingly.
Partly resolving Issue #410 .

S: Serializer,
{
let mut st = serializer.serialize_struct("cyclomatic", 2)?;
let mut st = serializer.serialize_struct("cyclomatic", 4)?;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch

Copy link
Collaborator

@calixteman calixteman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With a green CI, r=me.

@Luni-4 Luni-4 merged commit 11cbb2b into mozilla:master Nov 29, 2021
@Luni-4 Luni-4 deleted the min-max-metrics branch November 29, 2021 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants