0

I'm trying to add lizard report (https://github.com/terryyin/lizard) to sonar in order to create issues over functions are over a threshold

There are any way to achieve that?

Joan Esteban
  • 1,006
  • 12
  • 23

1 Answers1

0

Sonar have his own cyclomatic-complexity calculation, so I dont need to import external report (lizard).

To create issue is as easy as activate new rules on Quality Profiles with tag brain-overload:

  • Files should not be too complex : default threshold 200
  • Functions should not be too complex : default 10, in my case I let 30
Joan Esteban
  • 1,006
  • 12
  • 23