Code auditing is analysis of code for adherence to programming standards. It results in better code that is easier to maintain. Oracle JDeveloper 11g comes with an extensive set of predefined rules for auditing Java code. In addition you can create your own auditing rules and add them to JDeveloper. JDeveloper let you group Auditing rules into profiles. This provides an easy mechanism to customize the rules used to validate your code.
Some examples of the areas that JDeveloper's audit rules can help enforce include:
- Proper usage of common Java APIs.
- Proper declaration of classes, methods, and fields.
- Completeness and correctness of Javadoc comments.
- Adherence to standard naming conventions
- Eliminating unused declarations.
In order to view the default Audit profiles, Open JDeveloper and go to Tools --> Preferences --> Audit --> Profiles you will see a list of the profiles defined by default.
To run these Audit rules against your code, go to Build --> click on Audit <Project Name> to run Audit profile.
Ref: https://blogs.oracle.com/jdevextensions/entry/running_an_audit_from_the
Gud Info!
ReplyDeleteI have reviewed your blog and get knowledge about Business Intelligence.
ReplyDeleteThanks.