CONTROL FLOW GRAPH

Discussion in 'Java' started by pavs, Feb 28, 2005.

  1. pavs

    pavs Guest

    hi..

    Just want to know if there is a tool to draw a control flow graph for
    an entire java program that has multiple methods in it. If not i would
    apreciate if some one could suggest a methodology to draw a CFG for an
    entire java program.
     
    pavs, Feb 28, 2005
    #1
    1. Advertising

  2. pavs

    bugbear Guest

    pavs wrote:
    > hi..
    >
    > Just want to know if there is a tool to draw a control flow graph for
    > an entire java program that has multiple methods in it. If not i would
    > apreciate if some one could suggest a methodology to draw a CFG for an
    > entire java program.
    >


    A CFG is only possible for a language like FORTRAN
    or COBOL, where methods have a "global" meaning.

    In any usefully object oriented program, a method is tightly
    (and deliberately) coupled with a particular instance.

    Add into this inheritance and polymorphism and the whole
    idea of a "complete" CFG is rendered almost meaningless.

    BugBear
     
    bugbear, Mar 7, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    382
  2. Weng Tianxiang
    Replies:
    3
    Views:
    1,411
    Weng Tianxiang
    Jul 25, 2006
  3. Replies:
    2
    Views:
    686
    Paul Boddie
    Apr 3, 2006
  4. Jack Dowson
    Replies:
    0
    Views:
    458
    Jack Dowson
    May 7, 2007
  5. Emilio Mayorga
    Replies:
    6
    Views:
    342
    Martien Verbruggen
    Oct 8, 2003
Loading...

Share This Page