Menu

Count Number of Statement

Help
2014-09-22
2014-09-25
  • Alexandre Locci Martins

    Hello

    Hello I am using a simple code to find the number of statements in an
    application. Basically, the following code makes the job

    if (pe instanceof Statement){

               cont++;
    

    }

    However, I would like to understand the criteria used to count. I send a
    code whose recoder have counted 21 instruction. For all lines, I insert a
    comment that represents
    the number of instruction in the count. You can check if I do the right
    cont?
    Thank you.
    --
    Alexandre

     

Log in to post a comment.