Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Rule
Explanation
Elements in flowBy default the elements in flow rule has maximum elements value of twenty. By settings this property the maximum value can be increased or decreased.
Flow viewportBy default the flow view-port rule checks if the flow does not exceeds the boundaries of the default view-port which is x=1700,y800. By settings these properties the view-port can be made smaller of bigger.
Expression SimplifierBy default the expression simplifier rule uses boolean logic to check if expressions can be simplified. By setting this property to false the rule will use three valued logic instead.
Metadata in aggregateBy default the number of metadata fields in an aggregate is set to 10. By setting this property the number of fields can be increased or decreased. Increasing this number is discouraged as it can affect the performance of the application.

Changing parameters 

To change the parameters of these rules requires logging in. The default Sonarqube credentials are "admin", "admin". When logged in on the rules overview screen looks like this:

...