test_class.declarator: check = new FunctionCognitiveComplexityCheck()
test_class.modifier: private
test_class.original_string: private FunctionCognitiveComplexityCheck check = new FunctionCognitiveComplexityCheck();
test_class.type: FunctionCognitiveComplexityCheck
test_class.var_name: check
test_class.file: php-checks/src/test/java/org/sonar/php/checks/FunctionCognitiveComplexityCheckTest.java
test_class.identifier: FunctionCognitiveComplexityCheckTest
test_case.body: @Test
    public void test() throws Exception {
      check.setThreshold(0);
      CheckVerifier.verify(check, "FunctionCognitiveComplexityCheck/zeroThreshold.php");
    }
test_case.class_method_signature: FunctionCognitiveComplexityCheckTest.test()
test_case.full_signature: @Test public void test()
test_case.identifier: test
test_case.invocations: setThreshold verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test()
focal_class.declarator: KEY = "S3776"
focal_class.modifier: public static final
focal_class.original_string: public static final String KEY = "S3776";
focal_class.type: String
focal_class.var_name: KEY
focal_class.declarator: MESSAGE = "Refactor this function to reduce its Cognitive Complexity from %s to the %s allowed."
focal_class.modifier: private static final
focal_class.original_string: private static final String MESSAGE = "Refactor this function to reduce its Cognitive Complexity from %s to the %s allowed.";
focal_class.type: String
focal_class.var_name: MESSAGE
focal_class.declarator: DEFAULT = 15
focal_class.modifier: public static final
focal_class.original_string: public static final int DEFAULT = 15;
focal_class.type: int
focal_class.var_name: DEFAULT
focal_class.declarator: threshold = DEFAULT
focal_class.modifier: @RuleProperty(
      key = "threshold",
      description = "The maximum authorized complexity.",
      defaultValue = "" + DEFAULT)
    private
focal_class.original_string: @RuleProperty(
      key = "threshold",
      description = "The maximum authorized complexity.",
      defaultValue = "" + DEFAULT)
    private int threshold = DEFAULT;
focal_class.type: int
focal_class.var_name: threshold
focal_class.file: php-checks/src/main/java/org/sonar/php/checks/FunctionCognitiveComplexityCheck.java
focal_class.identifier: FunctionCognitiveComplexityCheck
focal_class.class_method_signature: FunctionCognitiveComplexityCheck.visitFunctionDeclaration(FunctionDeclarationTree tree)
focal_class.full_signature: @Override public void visitFunctionDeclaration(FunctionDeclarationTree tree)
focal_class.identifier: visitFunctionDeclaration
focal_class.modifiers: @Override public
focal_class.parameters: (FunctionDeclarationTree tree)
focal_class.return: void
focal_class.signature: void visitFunctionDeclaration(FunctionDeclarationTree tree)
focal_class.class_method_signature: FunctionCognitiveComplexityCheck.visitFunctionExpression(FunctionExpressionTree tree)
focal_class.full_signature: @Override public void visitFunctionExpression(FunctionExpressionTree tree)
focal_class.identifier: visitFunctionExpression
focal_class.modifiers: @Override public
focal_class.parameters: (FunctionExpressionTree tree)
focal_class.return: void
focal_class.signature: void visitFunctionExpression(FunctionExpressionTree tree)
focal_class.class_method_signature: FunctionCognitiveComplexityCheck.visitMethodDeclaration(MethodDeclarationTree tree)
focal_class.full_signature: @Override public void visitMethodDeclaration(MethodDeclarationTree tree)
focal_class.identifier: visitMethodDeclaration
focal_class.modifiers: @Override public
focal_class.parameters: (MethodDeclarationTree tree)
focal_class.return: void
focal_class.signature: void visitMethodDeclaration(MethodDeclarationTree tree)
focal_class.class_method_signature: FunctionCognitiveComplexityCheck.checkFunctionComplexity(FunctionTree functionTree)
focal_class.full_signature: private void checkFunctionComplexity(FunctionTree functionTree)
focal_class.identifier: checkFunctionComplexity
focal_class.modifiers: private
focal_class.parameters: (FunctionTree functionTree)
focal_class.return: void
focal_class.signature: void checkFunctionComplexity(FunctionTree functionTree)
focal_class.class_method_signature: FunctionCognitiveComplexityCheck.secondaryMessage(int complexity)
focal_class.full_signature: private static String secondaryMessage(int complexity)
focal_class.identifier: secondaryMessage
focal_class.modifiers: private static
focal_class.parameters: (int complexity)
focal_class.return: String
focal_class.signature: String secondaryMessage(int complexity)
focal_class.class_method_signature: FunctionCognitiveComplexityCheck.setThreshold(int threshold)
focal_class.full_signature: public void setThreshold(int threshold)
focal_class.identifier: setThreshold
focal_class.modifiers: public
focal_class.parameters: (int threshold)
focal_class.return: void
focal_class.signature: void setThreshold(int threshold)
focal_class.superclass: extends PHPVisitorCheck
focal_method.body: public void setThreshold(int threshold) {
      this.threshold = threshold;
    }
focal_method.class_method_signature: FunctionCognitiveComplexityCheck.setThreshold(int threshold)
focal_method.full_signature: public void setThreshold(int threshold)
focal_method.identifier: setThreshold
focal_method.modifiers: public
focal_method.parameters: (int threshold)
focal_method.return: void
focal_method.signature: void setThreshold(int threshold)