phsjhxx
phsjhxx
phsjhxx
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5.5. Exception Handling ............................................................................................ 34<br />
5.6. Dynamic SQL .................................................................................................... 38<br />
5.7. Stored Objects ................................................................................................... 39<br />
5.7.1 Packages ........................................................................................................ 41<br />
5.7.2 Procedures ..................................................................................................... 41<br />
5.7.3 Functions ....................................................................................................... 42<br />
5.7.4 Oracle Supplied Packages .............................................................................. 42<br />
5.7.5 Object Types .................................................................................................. 42<br />
5.7.6 Trigger ........................................................................................................... 42<br />
5.8. Patterns .............................................................................................................. 43<br />
5.8.1 Checking the Number of Rows ....................................................................... 43<br />
5.8.2 Access objects of foreign application schemas ................................................ 44<br />
6. Complexity Analysis ................................................................................................... 45<br />
6.1. Halstead Metric .................................................................................................. 45<br />
6.1.1 Calculation ..................................................................................................... 45<br />
6.1.2 CodeXpert ...................................................................................................... 46<br />
6.2. Cyclomatic Complexity (McCabe’s).................................................................... 48<br />
6.2.1 Description .................................................................................................... 48<br />
6.2.2 CodeXpert ...................................................................................................... 49<br />
7. Code Reviews ............................................................................................................. 50<br />
8. Tool Support ............................................................................................................... 51<br />
8.1. Development ..................................................................................................... 51<br />
8.2. Documentation .................................................................................................. 51<br />
8.3. Code Formatting ................................................................................................ 51<br />
8.4. Unit Tests ........................................................................................................... 51<br />
8.5. Code Analyzers .................................................................................................. 51<br />
9. References .................................................................................................................. 51<br />
Bibliography ...................................................................................................................... 51<br />
PL/SQL Coding Guidelines 5