Skip to content

Commit

Permalink
1cdf - Fix Basili Complexity
Browse files Browse the repository at this point in the history
  • Loading branch information
jisbruzzi committed Aug 20, 2020
1 parent 9b61aee commit d07df34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions callcluster-dotnet/CSharpMethodAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,9 @@ override public void VisitCaseSwitchLabel(CaseSwitchLabelSyntax node){

override public void VisitBinaryExpression(BinaryExpressionSyntax node){
switch(node.OperatorToken.Kind()){
case SyntaxKind.LogicalAndExpression: Complexity++;
case SyntaxKind.AmpersandAmpersandToken: Complexity++;
break;
case SyntaxKind.LogicalOrExpression: Complexity++;
case SyntaxKind.BarBarToken: Complexity++;
break;
}
base.VisitBinaryExpression(node);
Expand Down

0 comments on commit d07df34

Please sign in to comment.