Execution Sequence in C

This is a discussion on Execution Sequence in C within the C Programming forums, part of the General Programming Boards category; I have been assigned to a project where all the source code is in C.All though the business logic is ...

  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    1

    Execution Sequence in C

    I have been assigned to a project where all the source code is in C.All though the business logic is well documented but how the same maps on to source code as which function gets called etc needs to be traced. While this tracing is easy is there a good way to document the same? Like for example after generating the sequence of execution(function calls) for a set of business rules is it possible to document in a comprehendible manner in say Rational or Star UML tools.Which would be the most professional way of doing it ?

  2. #2
    Registered User slingerland3g's Avatar
    Join Date
    Jan 2008
    Location
    Seattle
    Posts
    602
    I would say documenting your c code functionality as mapped against your business logic, or "use cases' would be ideally suited for UML. Perhaps something like below may help guide you:

    Dr. Dobb's | UML for C Programmers | May 1, 2005

    and this

    Step-by-Step Guide to Reverse Engineering Code into UML Diagrams with Microsoft Visio 2000

  3. #3
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,235
    Quote Originally Posted by abhaymukewar View Post
    I have been assigned to a project where all the source code is in C.All though the business logic is well documented but how the same maps on to source code as which function gets called etc needs to be traced. While this tracing is easy is there a good way to document the same? Like for example after generating the sequence of execution(function calls) for a set of business rules is it possible to document in a comprehendible manner in say Rational or Star UML tools.Which would be the most professional way of doing it ?
    SGV Sarc's "Crystal" line of products, in particular Crystal Flow, kick total ass.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Execution Time - Rijandael encryption
    By gamer4life687 in forum C++ Programming
    Replies: 5
    Last Post: 09-20-2008, 09:25 PM
  2. Immediate programming help! Please!
    By xMEGANx in forum C++ Programming
    Replies: 6
    Last Post: 02-20-2008, 11:52 AM
  3. sequence
    By braddy in forum C Programming
    Replies: 2
    Last Post: 03-30-2006, 01:15 PM
  4. wsprintf and format specifiers
    By incognito in forum Windows Programming
    Replies: 2
    Last Post: 01-03-2004, 09:00 PM
  5. How do I restart a random number sequence.
    By jeffski in forum C Programming
    Replies: 6
    Last Post: 05-29-2003, 02:40 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21