|
| 1 | +# PL/SQL Cop for SQL Developer |
| 2 | + |
| 3 | +## Introduction |
| 4 | + |
| 5 | +Trivadis PL/SQL Cop for SQL Developer is a free extension to check an editor content for compliance violations of the [Trivadis PL/SQL & SQL Coding Guidelines Version 3.6](https://trivadis.github.io/plsql-and-sql-coding-guidelines/v3.6/). |
| 6 | + |
| 7 | +PL/SQL Cop calculates metrics per PL/SQL unit, such as: |
| 8 | + |
| 9 | +- McCabe’s cyclomatic complexity |
| 10 | +- Halstead’s volume |
| 11 | +- The maintainability index |
| 12 | +- Lines |
| 13 | +- Commands (SQL*Plus and SQL) |
| 14 | +- Statements (within a PL/SQL unit) |
| 15 | +- etc. |
| 16 | + |
| 17 | +And aggregates them on file level. |
| 18 | + |
| 19 | +The results are presented in an additional tabbed panel. One tab shows all guideline violations to quickly navigate to the corresponding code position. The other tab contains a full HTML report, which also may be opened in your external browser. |
| 20 | + |
| 21 | +## Examples |
| 22 | + |
| 23 | +Open an Oracle PL/SQL or SQL script in a SQL Developer editor and press Ctrl-Shift-C to check your code against the Trivadis PL/SQL & SQL guidelines. |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | +Navigate through the issues using the cursor keys to highlight the related code section in the linked editor. |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | +Dock the PL/SQL Cop output window on your favorite position within SQL Developer and click on the report tab to reveal some additional metrics. Open the report in an external browser to print or save the report. |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | +## Configure Update Center |
| 36 | + |
| 37 | +Click the “Help” menu and select “Check for Updates…”. Press the “Add” button to register the update center http://update.salvis.com/ . If you have troubles to configure the proxy settings, because your company requires some additional authentication or similar, then I suggest to download PL/SQL Cop for SQL Developer via the “Download” button below and use the “Install From Local File” option. |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | +## Releases |
| 42 | + |
| 43 | +You find all releases and release information [here](https://github.com/Trivadis/plsql-cop-sqldev/releases). |
| 44 | + |
| 45 | +## Issues |
| 46 | +Please file your bug reports, enhancement requests, questions and other support requests within [Github's issue tracker](https://help.github.com/articles/about-issues/). |
| 47 | + |
| 48 | +* [Questions](https://github.com/trivadis/plsql-cop-sqldev/issues?q=is%3Aissue+label%3Aquestion) |
| 49 | +* [Open enhancements](https://github.com/trivadis/plsql-cop-sqldev/issues?q=is%3Aopen+is%3Aissue+label%3Aenhancement) |
| 50 | +* [Open bugs](https://github.com/trivadis/plsql-cop-sqldev/issues?q=is%3Aopen+is%3Aissue+label%3Abug) |
| 51 | +* [Submit new issue](https://github.com/trivadis/plsql-cop-sqldev/issues/new) |
| 52 | + |
| 53 | +## Frequently Asked Questions |
| 54 | + |
| 55 | +see [Frequently Ased Questions](FAQ.md). |
| 56 | + |
| 57 | +## Further Information |
| 58 | + |
| 59 | +Please find further information about PL/SQL Cop on the [Trivadis](https://www.trivadis.com/en/plsql-cop) website. |
| 60 | + |
| 61 | +## License |
| 62 | + |
| 63 | +PL/SQL Cop for SQL Developer is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License. You may obtain a copy of the License at https://creativecommons.org/licenses/by-nc-nd/3.0/. |
| 64 | + |
| 65 | + |
0 commit comments