Code Instrumentation
In context of computer programming, code instrumentation refers to an ability to monitor or measure the level of a product's performance, to diagnose errors and writing trace information. Instrumentation is in the form of code instructions that monitor specific components in a system (for example, instructions that output logging information appear on screen). When an application contains instrumentation code, it can be managed using a management tool. Instrumentation is necessary to review the performance of the application. Instrumentation approaches can be of two types, source instrumentation and binary instrumentation from Wikipedia, 2010
Code to Diagram it is a project what intent to use code instrumentation and rich internet applications to improve the use of diagrams into projects and make easy keep them sync with the real code execution. To do that it is possible to create diagrams based on code executions, unitary tests, code files, xmls files, text files, etc.
To generate diagrams based on code executions it is necessary to make a call to a bootstrap file of the code to diagram engine, what will sniffer all the execution and based on the objects interactions will generate a diagram. But, to config more detail the diagram, changing the user-agent order, the user-agent type, append some note object, change style properties, etc. the user will need to deal with the code to diagram objects. In this page we will explain to you how to do it.