Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7900469

jcov does not appear to cope with inner classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • jcov_1.2b
    • jcov_2.1.2
    • tools
    • None
    • 1.2b
    • generic
    • generic
    • Not verified

      The following messages appear to be a consequence of using inner classes.
      This is from the latest jcov in the latest (2.1.2) sqe-tools workspace.

      Duplicate class javasoft.sqe.javatest.tool.StatusPanel. with older timestamp 941492356796 encountered. Dropped.
      Duplicate class javasoft.sqe.javatest.tool.StatusPanel. with older timestamp 941492356891 encountered. Dropped.
      Duplicate class javasoft.sqe.javatest.tool.StatusPanel. with older timestamp 941492357086 encountered. Dropped.
      Duplicate class javasoft.sqe.javatest.tool.StatusPanel. with older timestamp 941492357159 encountered. Dropped.
      Duplicate class javasoft.sqe.javatest.tool.StatusPanel. with older timestamp 941492357350 encountered. Dropped.
      Duplicate class javasoft.sqe.javatest.TestFinder. with older timestamp 941491566746 encountered. Dropped.
      Duplicate class javasoft.sqe.javatest.Harness$Trace with older timestamp 941488681619 encountered. Dropped.
      Duplicate class javasoft.sqe.javatest.Harness. with older timestamp 941491551746 encountered. Dropped.
      Duplicate class javasoft.sqe.javatest.Harness. with older timestamp 941491551675 encountered. Dropped.
      Duplicate class javasoft.sqe.javatest.Harness. with older timestamp 941491551961 encountered. Dropped.
      Duplicate class javasoft.sqe.javatest.Harness. with older timestamp 941491551833 encountered. Dropped.



      looking inside the data file, the classes that are complained about have
      spaces in the name.


      ---------------------------

      On further examination, there do appear to be duplicate lines
      in the file. For example, grepping for Harness.*Trace I find the following
      lines
      gzilla% grep -n 'CLASS.*Harness.*Trace' *.jcv
      31397:CLASS: javasoft.sqe.javatest.Harness. Trace
      38663:CLASS: javasoft.sqe.javatest.Harness$Trace
      40007:CLASS: javasoft.sqe.javatest.Harness$Trace
      gzilla%

            afedorch Alexey Fedorchenko (Inactive)
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: