test_class.declarator: LOC_FILE = "metrics/lines_of_code.php"
test_class.modifier: private static final
test_class.original_string: private static final String LOC_FILE = "metrics/lines_of_code.php";
test_class.type: String
test_class.var_name: LOC_FILE
test_class.file: php-frontend/src/test/java/org/sonar/php/metrics/LineVisitorTest.java
test_class.identifier: LineVisitorTest
test_class.superclass: extends ParsingTestUtils
test_case.body: @Test
    public void test_lines_of_code() throws Exception {
      LineVisitor lineVisitor = new LineVisitor(parse(LOC_FILE));
      Set<Integer> linesOfCode = lineVisitor.getLinesOfCode();
      assertThat(linesOfCode).hasSize(7);
      assertThat(linesOfCode).contains(13, 17, 19, 20, 21, 22, 23);
    }
test_case.class_method_signature: LineVisitorTest.test_lines_of_code()
test_case.full_signature: @Test public void test_lines_of_code()
test_case.identifier: test_lines_of_code
test_case.invocations: parse getLinesOfCode hasSize assertThat contains assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test_lines_of_code()
focal_class.declarator: lines = Sets.newHashSet()
focal_class.modifier: private
focal_class.original_string: private Set<Integer> lines = Sets.newHashSet();
focal_class.type: Set<Integer>
focal_class.var_name: lines
focal_class.file: php-frontend/src/main/java/org/sonar/php/metrics/LineVisitor.java
focal_class.identifier: LineVisitor
focal_class.class_method_signature: LineVisitor.LineVisitor(Tree tree)
focal_class.full_signature: private  LineVisitor(Tree tree)
focal_class.identifier: LineVisitor
focal_class.modifiers: private
focal_class.parameters: (Tree tree)
focal_class.signature:  LineVisitor(Tree tree)
focal_class.class_method_signature: LineVisitor.LineVisitor(CompilationUnitTree tree)
focal_class.full_signature: public  LineVisitor(CompilationUnitTree tree)
focal_class.identifier: LineVisitor
focal_class.modifiers: public
focal_class.parameters: (CompilationUnitTree tree)
focal_class.signature:  LineVisitor(CompilationUnitTree tree)
focal_class.class_method_signature: LineVisitor.linesOfCode(Tree tree)
focal_class.full_signature: public static int linesOfCode(Tree tree)
focal_class.identifier: linesOfCode
focal_class.modifiers: public static
focal_class.parameters: (Tree tree)
focal_class.return: int
focal_class.signature: int linesOfCode(Tree tree)
focal_class.class_method_signature: LineVisitor.visitScript(ScriptTree tree)
focal_class.full_signature: @Override public void visitScript(ScriptTree tree)
focal_class.identifier: visitScript
focal_class.modifiers: @Override public
focal_class.parameters: (ScriptTree tree)
focal_class.return: void
focal_class.signature: void visitScript(ScriptTree tree)
focal_class.class_method_signature: LineVisitor.visitToken(SyntaxToken token)
focal_class.full_signature: @Override public void visitToken(SyntaxToken token)
focal_class.identifier: visitToken
focal_class.modifiers: @Override public
focal_class.parameters: (SyntaxToken token)
focal_class.return: void
focal_class.signature: void visitToken(SyntaxToken token)
focal_class.class_method_signature: LineVisitor.getLinesOfCodeNumber()
focal_class.full_signature: public int getLinesOfCodeNumber()
focal_class.identifier: getLinesOfCodeNumber
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getLinesOfCodeNumber()
focal_class.class_method_signature: LineVisitor.getLinesOfCode()
focal_class.full_signature: public Set<Integer> getLinesOfCode()
focal_class.identifier: getLinesOfCode
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Set<Integer>
focal_class.signature: Set<Integer> getLinesOfCode()
focal_class.superclass: extends PHPVisitorCheck
focal_method.body: public Set<Integer> getLinesOfCode() {
      return lines;
    }
focal_method.class_method_signature: LineVisitor.getLinesOfCode()
focal_method.full_signature: public Set<Integer> getLinesOfCode()
focal_method.identifier: getLinesOfCode
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: Set<Integer>
focal_method.signature: Set<Integer> getLinesOfCode()