-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes for version 4.0 #86
Conversation
Use of codehilite markdown extension for syntax highlighting and line numbers of SQL & PL/SQL.
… to G-3310 and G-3320. Fixed links for these rules in PDF.
…ason and importance of consistency. Converted all code examples to lowercase (thanks Philipp for https://www.salvis.com/blog/2020/08/28/formatting-sql-code-blocks-in-markdown-files/ )
…itialization block.
…n trigger event clause.
…ns in different branches of the same IF or CASE statement.
…samples that automatic script didn't handle. Fixed a few typos along the way.
…l variables that are not used by a subsequent statement.
…trigger if primary key is assigned in trigger.
… to boolean literals.
…in G-7230 concerning public constants.
…G-1050 exist (like Logger)
… case of proper use of Logger.
docs/4-language-usage/4-control-structures/2-case-if-decode-nvl-nvl2-coalesce/g-4260.md
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think !!! missing "Unsupported in PL/SQL Cop Validators" should be added to introduction.md. Probably not under "Severity of the rule". Maybe an addition chapter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following rules are currently not supported by a PL/SQL Cop validator:
- G-3160 (cannot identify type of a column)
- G-5010 (cannot identify logging framework and where it should be applied)
- G-8410 (cannot identify where an application lock would make sense)
- G-8510 (cannot know where the use of application_info is sensible)
They should be tagged with "!!! missing "Unsupported in PL/SQL Cop Validators"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The table B in the appendix.md should be updated.
- changed rule numbers
- new rules
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work. Thanks Kim!
I scanned the following
- each changed file
- browsed through every HTML page
- browsed through the complete PDF
All of my comments are suggestions. Feel free to ignore them or apply them later. Up to you. You may merge this PR whenever you are ready.
There were a lot of changes due to the change of keywords from uppercase to lowercase. And not all codes were changed automatically. And finding the missing ones was possible only with looking at the source/result manually.
Thanks again.
Philipp
Closes #22
Closes #25
Closes #27
Closes #30
Closes #31
Closes #38
Closes #44
Closes #45
Closes #48
Closes #57
Closes #77
Closes #78
Closes #79
Closes #81
Closes #84
Closes #85