Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • Cyclomatic: min 4 mean 4.0 max 4 this structure will always remain same? Just the values will change? Commented Oct 4, 2019 at 6:35
  • "I am not able to use it" how did you try and what happened? Do you have GNU grep (are you using Linux or UNIX)? Commented Oct 4, 2019 at 6:38
  • I don't know how to use this regex in terminal to extract the value. I tried using the regex with grep but it did not output anything then. I am using Ubuntu16 @roima Commented Oct 4, 2019 at 6:41
  • Yes the structure remains same @Pacifist Commented Oct 4, 2019 at 6:41
  • ...|awk '/Cyclomatic/ {print $3,$7}' can you try this then ? It will give you min and max numbers only for Cyclomatic. Commented Oct 4, 2019 at 6:43