test_class.declarator: logTester = new LogTester()
test_class.modifier: @org.junit.Rule
    public
test_class.original_string: @org.junit.Rule
    public LogTester logTester = new LogTester();
test_class.type: LogTester
test_class.var_name: logTester
test_class.file: sonar-php-plugin/src/test/java/org/sonar/plugins/php/PhpIniSensorTest.java
test_class.identifier: PhpIniSensorTest
test_case.body: @Test
    public void single_file() throws Exception {
      File baseDir = new File("src/test/resources/phpini");
      SensorContextTester context = SensorContextTester.create(baseDir);
      DefaultInputFile file1 = setupSingleFile(baseDir, context);
      sensor().execute(context, checks());
  
      Collection<Issue> issues = context.allIssues();
      assertThat(issues).hasSize(1);
      Issue issue = issues.iterator().next();
      assertThat(issue.ruleKey().rule()).isEqualTo("rule1");
      assertThat(issue.primaryLocation().inputComponent()).isEqualTo(file1);
      assertThat(issue.primaryLocation().message()).isEqualTo("message1");
      TextRange textRange = issue.primaryLocation().textRange();
      assertThat(textRange).isNotNull();
      assertThat(textRange.start().line()).isEqualTo(2);
    }
test_case.class_method_signature: PhpIniSensorTest.single_file()
test_case.full_signature: @Test public void single_file()
test_case.identifier: single_file
test_case.invocations: create setupSingleFile execute sensor checks allIssues hasSize assertThat next iterator isEqualTo assertThat rule ruleKey isEqualTo assertThat inputComponent primaryLocation isEqualTo assertThat message primaryLocation textRange primaryLocation isNotNull assertThat isEqualTo assertThat line start
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void single_file()
focal_class.declarator: LOG = Loggers.get(PhpIniSensor.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = Loggers.get(PhpIniSensor.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: checkFactory
focal_class.modifier: private final
focal_class.original_string: private final CheckFactory checkFactory;
focal_class.type: CheckFactory
focal_class.var_name: checkFactory
focal_class.file: sonar-php-plugin/src/main/java/org/sonar/plugins/php/PhpIniSensor.java
focal_class.identifier: PhpIniSensor
focal_class.interfaces: implements Sensor
focal_class.class_method_signature: PhpIniSensor.PhpIniSensor(CheckFactory checkFactory)
focal_class.full_signature: public  PhpIniSensor(CheckFactory checkFactory)
focal_class.identifier: PhpIniSensor
focal_class.modifiers: public
focal_class.parameters: (CheckFactory checkFactory)
focal_class.signature:  PhpIniSensor(CheckFactory checkFactory)
focal_class.class_method_signature: PhpIniSensor.describe(SensorDescriptor descriptor)
focal_class.full_signature: @Override public void describe(SensorDescriptor descriptor)
focal_class.identifier: describe
focal_class.modifiers: @Override public
focal_class.parameters: (SensorDescriptor descriptor)
focal_class.return: void
focal_class.signature: void describe(SensorDescriptor descriptor)
focal_class.class_method_signature: PhpIniSensor.execute(SensorContext context)
focal_class.full_signature: @Override public void execute(SensorContext context)
focal_class.identifier: execute
focal_class.modifiers: @Override public
focal_class.parameters: (SensorContext context)
focal_class.return: void
focal_class.signature: void execute(SensorContext context)
focal_class.class_method_signature: PhpIniSensor.execute(SensorContext context, Checks<PhpIniCheck> checks)
focal_class.full_signature: @VisibleForTesting protected void execute(SensorContext context, Checks<PhpIniCheck> checks)
focal_class.identifier: execute
focal_class.modifiers: @VisibleForTesting protected
focal_class.parameters: (SensorContext context, Checks<PhpIniCheck> checks)
focal_class.return: void
focal_class.signature: void execute(SensorContext context, Checks<PhpIniCheck> checks)
focal_class.class_method_signature: PhpIniSensor.saveIssues(SensorContext context, InputFile inputFile, RuleKey ruleKey, List<PhpIniIssue> issues)
focal_class.full_signature: private static void saveIssues(SensorContext context, InputFile inputFile, RuleKey ruleKey, List<PhpIniIssue> issues)
focal_class.identifier: saveIssues
focal_class.modifiers: private static
focal_class.parameters: (SensorContext context, InputFile inputFile, RuleKey ruleKey, List<PhpIniIssue> issues)
focal_class.return: void
focal_class.signature: void saveIssues(SensorContext context, InputFile inputFile, RuleKey ruleKey, List<PhpIniIssue> issues)
focal_method.body: @Override
    public void execute(SensorContext context) {
      Checks<PhpIniCheck> checks = checkFactory
        .<PhpIniCheck>create(CheckList.REPOSITORY_KEY)
        .addAnnotatedChecks(CheckList.getPhpIniChecks());
      execute(context, checks);
    }
focal_method.class_method_signature: PhpIniSensor.execute(SensorContext context)
focal_method.full_signature: @Override public void execute(SensorContext context)
focal_method.identifier: execute
focal_method.invocations: addAnnotatedChecks create getPhpIniChecks execute
focal_method.modifiers: @Override public
focal_method.parameters: (SensorContext context)
focal_method.return: void
focal_method.signature: void execute(SensorContext context)