The Code Inspector tests single objects or object sets (programs, function groups, classes, interfaces, Dictionary objects) for performance, security, serviceability, error proneness, and statistical information.
You can call the Code Inspector for the relevant single objects directly from the ABAP Editor (SE38), the Function Builder (SE37), or the Class Builder (SE24) (Object->Check->Code Inspector). The system then checks using a default check variant.
Object sets, check variants, and inspections are created using transaction SCI.
Object Set:
An object set consists of one or more of the following objects:
•Class/interface
•Function group
•Program
•Dictionary type
•Type group
•Any other TADIR type
Check Variant:
A check variant consists of one or more single checks. After the start of an inspection, these single checks inspect the Object Set elements for errors, warnings, and information.
The single checks are assigned to different categories, such as:
• Performance
• Security
• Syntax Check
• General Checks
Execute Transaction SCI.
Check variant can be standard check variant , further custom check variant can also be defined.
we define number of objects for inspection in object set.
Create inspection after entering inspection name , after that click create button, then select object set name and check variant name. click on execute button. we can see inspection resluts by clicking on log results button.