Semantic Model Reports
Overview
Section titled “Overview”After translating your migration projects, you can generate Semantic Model Reports. Semantic Reports are similar to CodeScan reports but they are produced by analyzing the compiled code rather than by scanning the source code directly. They facilitate a much more detailed look into your system.
Semantics References
Section titled “Semantics References”Semantic References: a detailed look at referenced symbols. Answers the question: what symbols are referenced and how are they used? Includes only those symbols that are actually used.
SrcName ' Migration Unit NameRunDate ' Semantic Model Creation DateRecType ' Report TypeMemName ' Member NameMemClas ' Member ParentMemLibr ' Member LibraryMemType ' Member TypePos_Cnt ' Referring LocationLocText ' Referring SourceLocMemb ' Referring MemberLocFile ' Referring FileLocName ' Referring TypeLocType ' Referring File TypeSemantics Definitions
Section titled “Semantics Definitions”Semantic Definitions: a detailed look at defined symbols. Answers the question: what symbols are defined and how are they used? Includes all symbols defined in code and in referenced libraries.
SrcName ' Migration Unit NameRunDate ' Semantic Model Creation DateRecType ' Report TypeMemName ' Member NameMemClas ' Member ParentMemLibr ' Member LibraryMemType ' Member TypePos_Cnt ' Definition Count (0 if not explicitly used; this can be used to help you identify dead code)LocText ' Definition TextLocFile ' Defining FileLocName ' Defining TypeLocType ' Defining File TypeSemantics Symbols
Section titled “Semantics Symbols”A dump of the symbol table. Includes all symbols defined in code or in referenced libraries.
SrcName ' Migration Unit NameRunDate ' Semantic Model Creation DateLev ' Symbol's Level in the Model HierachryAddress ' Symbol's AddressParent ' Symbol's Parent addressType ' Symbol's TypeFullIdentifier ' Symbol's Fully-Qualified IdentifierSemantics Audits
Section titled “Semantics Audits”A detailed report showing the internal semantic model contents in terms of symbol tables and low-level semantic operations. These reports can be useful for implementing advanced refactoring rules that manipulate operation streams. There are two types of Semantic Audits:
- Compiler Audit: reports the semantic model contents before it has been modified by Analyzer algorithms
- Analyzer Audit: reports the semantic model contents after it has been modified by Analyzer algorithms
Unused Symbols
Section titled “Unused Symbols”This is a special purpose report that helps you identify and remove unused symbols in a system of inter-related components. See the Support Statement: Unused Symbol Analysis and Reporting for more information.
Late Calls
Section titled “Late Calls”This is a special purpose report that helps you identify late-bound calls in a system of inter-related components. See the Support Statement: Unused Symbol Analysis and Reporting for more information.