3. Understanding source code




Understanding source code

  •  reading original documentation in order to understand code
    • documentation for the user (including user manuals)
    • documentation for developers

  • reading original algorithms to identify:
    • inputs 
    • the type and purpose of variables used 
    • processes 
    • outputs
  • creating algorithms for source code when they are not available to aid in understanding
    • identify the control structures that have been used 
    • understand how variables have been used





       convert a fragment of source code into its equivalent algorithm

 

       define the purpose of the code to be maintained

 

       modify code to meet changed requirements

 

Comments