Code Critic and the Development Browsers
Code Critic is integrated fully with the development browsers. You can review code elements using Tool > Review in applicable development browsers.
Code Critic measures your code’s compliance to project guidelines and standard practices. You can review the following types of code elements:
o configuration map
o application hierarchy
o application
o class hierarchy
o class fragment
o class
o method
Reviewing Configuration Maps
To review a configuration map:
1. Open the Configuration Maps Browser.
2. Select a configuration map edition.
3. Select Editions > Tool > Review.
4. In the Code Critic Options dialog, click OK to start the review.
Reviewing Applications
You can review applications from the following browsers:
o Configuration Maps Browser
o Application Manager
o Applications Browser
o Classes Browser
o Class Hierarchy Browser
o Visual Age Organizer
To review an application
1. Open one of the browsers mentioned above.
2. Select the applications to be reviewed.
3. Select a menu option:
| |
applications | Applications > Tool > Review > Application... |
applications and their loaded subapplications | Applications > Tool > Review > Include All Subapplications... |
1 In the Configuration Maps Browser, select Applications > Tools > Review Table 1 Reviewing applications
4. In the Code Critic Options dialog, click OK to start the review.
Reviewing Classes
You can review classes from the following browsers:
o Application Manager
o Application Browser
o Applications Browser
o Classes Browser
o Class Hierarchy Browser
o Visual Age Organizer
To review a class:
1. Open one of the browsers mentioned above.
2. Select the classes to be reviewed.
3. Select a menu option.
| |
classes | Classes > Tool > Review > Classes... |
classes and all their subclasses | Classes > Tool > Review > Include All Subclasses... |
Class fragments | Classes > Tool > Review > Class Fragment... |
Table 2 Reviewing classes
4. In the Code Critic Options dialog, click OK to start the review
Reviewing Methods
You can review methods from the following browsers:
o Application Browser
o Applications Browser
o Classes Browser
o Class Browser
o Class Hierarchy Browser
o Methods Browser
To review a method:
1. Open one of the browsers mentioned above.
2. Select the methods to be reviewed.
3. Select Method > Tool > Review.
4. In the Code Critic Options dialog, click OK to start the review.
Last modified date: 07/06/2015