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

RFE: Provide a way to filter out accessor methods when generating report

XMLWordPrintable

    • 1.2
    • generic
    • generic
    • Verified



      Name: kbR10066 Date: 03/11/2002


      JDK's javac compiler sometimes generates extra accessor methods for private members,
      and their mapping to the source code seems to always coincide with the
      mapping of the private members. As the result, when marked-up source files are generated,
      each private method is annotated with two method execution counters, one is the execution
      counter of this private method and the other is the counter for that accessor method which is
      not present in the source code:

         356: MET=> 31 private byte[] serialize(
                MET=> 0 ^
                BLO=> 0 ^
         357: Serializable s
         358: ) {
         359: BLO=> 31 try {

      And this often confuses users. It would be good to provide an option to the report generator
      which would allow to skip processing of accessor method coverage data, so that their execuction
      counters would not appear in the marked-up sources and would not be added to the overall stats.
      ======================================================================

            lmesnik Leonid Mesnik
            klooney Kevin Looney (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: