|
106 | 106 | <txt>mn</txt> |
107 | 107 | </prop> |
108 | 108 | </chc> |
109 | | - <!-- Always use a format model in string to date/time conversion functions. (not implemented) --> |
| 109 | + <!-- Always use a format model in string to date/time conversion functions. --> |
110 | 110 | <chc> |
111 | 111 | <rule-repo>trivadis</rule-repo> |
112 | 112 | <rule-key>G-9010</rule-key> |
|
125 | 125 | <txt>mn</txt> |
126 | 126 | </prop> |
127 | 127 | </chc> |
128 | | - <!-- Try to use a format model and NLS_NUMERIC_CHARACTERS in string to number conversion functions. (not implemented) --> |
| 128 | + <!-- Try to use a format model and NLS_NUMERIC_CHARACTERS in string to number conversion functions. --> |
129 | 129 | <chc> |
130 | 130 | <rule-repo>trivadis</rule-repo> |
131 | 131 | <rule-key>G-9020</rule-key> |
|
148 | 148 | <chc> |
149 | 149 | <key>LOGIC_CHANGEABILITY</key> |
150 | 150 | <name>Logic changeability</name> |
151 | | - <!-- Never use self-defined weak ref cursor types. (not implemented) --> |
| 151 | + <!-- Never use self-defined weak ref cursor types. --> |
152 | 152 | <chc> |
153 | 153 | <rule-repo>trivadis</rule-repo> |
154 | 154 | <rule-key>G-2610</rule-key> |
|
194 | 194 | <chc> |
195 | 195 | <key>CPU_EFFICIENCY</key> |
196 | 196 | <name>Cpu efficiency</name> |
197 | | - <!-- Avoid assigning values to local variables that are not used by a subsequent statement. (not implemented) --> |
| 197 | + <!-- Avoid assigning values to local variables that are not used by a subsequent statement. --> |
198 | 198 | <chc> |
199 | 199 | <rule-repo>trivadis</rule-repo> |
200 | 200 | <rule-key>G-2135</rule-key> |
|
232 | 232 | <txt>mn</txt> |
233 | 233 | </prop> |
234 | 234 | </chc> |
235 | | - <!-- Never commit within a cursor loop. (not implemented) --> |
| 235 | + <!-- Never commit within a cursor loop. --> |
236 | 236 | <chc> |
237 | 237 | <rule-repo>trivadis</rule-repo> |
238 | 238 | <rule-key>G-3310</rule-key> |
|
270 | 270 | <txt>mn</txt> |
271 | 271 | </prop> |
272 | 272 | </chc> |
| 273 | + <!-- Never use RETURN in package initialization block. --> |
| 274 | + <chc> |
| 275 | + <rule-repo>trivadis</rule-repo> |
| 276 | + <rule-key>G-7250</rule-key> |
| 277 | + <prop> |
| 278 | + <key>remediationFunction</key> |
| 279 | + <txt>LINEAR_OFFSET</txt> |
| 280 | + </prop> |
| 281 | + <prop> |
| 282 | + <key>remediationFactor</key> |
| 283 | + <val>1.0</val> |
| 284 | + <txt>mn</txt> |
| 285 | + </prop> |
| 286 | + <prop> |
| 287 | + <key>offset</key> |
| 288 | + <val>5.0</val> |
| 289 | + <txt>mn</txt> |
| 290 | + </prop> |
| 291 | + </chc> |
273 | 292 | <!-- Try to define your packaged/standalone function deterministic if appropriate. --> |
274 | 293 | <chc> |
275 | 294 | <rule-repo>trivadis</rule-repo> |
|
289 | 308 | <txt>mn</txt> |
290 | 309 | </prop> |
291 | 310 | </chc> |
292 | | - <!-- Avoid multiple DML events per trigger if primary key is assigned in trigger. (not implemented) --> |
| 311 | + <!-- Avoid multiple DML events per trigger if primary key is assigned in trigger. --> |
293 | 312 | <chc> |
294 | 313 | <rule-repo>trivadis</rule-repo> |
295 | 314 | <rule-key>G-7730</rule-key> |
|
666 | 685 | <txt>mn</txt> |
667 | 686 | </prop> |
668 | 687 | </chc> |
669 | | - <!-- Avoid using the same expression on both sides of a relational comparison operator or a logical operator. (not implemented) --> |
| 688 | + <!-- Avoid using the same expression on both sides of a relational comparison operator or a logical operator. --> |
670 | 689 | <chc> |
671 | 690 | <rule-repo>trivadis</rule-repo> |
672 | 691 | <rule-key>G-1080</rule-key> |
|
704 | 723 | <txt>mn</txt> |
705 | 724 | </prop> |
706 | 725 | </chc> |
707 | | - <!-- Never self-assign a variable. (not implemented) --> |
| 726 | + <!-- Never self-assign a variable. --> |
708 | 727 | <chc> |
709 | 728 | <rule-repo>trivadis</rule-repo> |
710 | 729 | <rule-key>G-2145</rule-key> |
|
742 | 761 | <txt>mn</txt> |
743 | 762 | </prop> |
744 | 763 | </chc> |
745 | | - <!-- Try to move transactions within a non-cursor loop into procedures. (not implemented) --> |
| 764 | + <!-- Try to move transactions within a non-cursor loop into procedures. --> |
746 | 765 | <chc> |
747 | 766 | <rule-repo>trivadis</rule-repo> |
748 | 767 | <rule-key>G-3320</rule-key> |
|
761 | 780 | <txt>mn</txt> |
762 | 781 | </prop> |
763 | 782 | </chc> |
764 | | - <!-- Avoid using identical conditions in different branches of the same IF or CASE statement. (not implemented) --> |
| 783 | + <!-- Avoid using identical conditions in different branches of the same IF or CASE statement. --> |
765 | 784 | <chc> |
766 | 785 | <rule-repo>trivadis</rule-repo> |
767 | 786 | <rule-key>G-4250</rule-key> |
|
780 | 799 | <txt>mn</txt> |
781 | 800 | </prop> |
782 | 801 | </chc> |
783 | | - <!-- Avoid inverting boolean conditions with NOT. (not implemented) --> |
| 802 | + <!-- Avoid inverting boolean conditions with NOT. --> |
784 | 803 | <chc> |
785 | 804 | <rule-repo>trivadis</rule-repo> |
786 | 805 | <rule-key>G-4260</rule-key> |
|
799 | 818 | <txt>mn</txt> |
800 | 819 | </prop> |
801 | 820 | </chc> |
802 | | - <!-- Avoid comparing boolean values to boolean literals. (not implemented) --> |
| 821 | + <!-- Avoid comparing boolean values to boolean literals. --> |
803 | 822 | <chc> |
804 | 823 | <rule-repo>trivadis</rule-repo> |
805 | 824 | <rule-key>G-4270</rule-key> |
|
1050 | 1069 | <txt>mn</txt> |
1051 | 1070 | </prop> |
1052 | 1071 | </chc> |
1053 | | - <!-- Avoid self-assigning a column. (not implemented) --> |
| 1072 | + <!-- Avoid self-assigning a column. --> |
1054 | 1073 | <chc> |
1055 | 1074 | <rule-repo>trivadis</rule-repo> |
1056 | 1075 | <rule-key>G-3115</rule-key> |
|
1107 | 1126 | <txt>mn</txt> |
1108 | 1127 | </prop> |
1109 | 1128 | </chc> |
1110 | | - <!-- Always use wildcards in a LIKE clause. (not implemented) --> |
| 1129 | + <!-- Always use wildcards in a LIKE clause. --> |
1111 | 1130 | <chc> |
1112 | 1131 | <rule-repo>trivadis</rule-repo> |
1113 | 1132 | <rule-key>G-3195</rule-key> |
|
1202 | 1221 | <txt>mn</txt> |
1203 | 1222 | </prop> |
1204 | 1223 | </chc> |
1205 | | - <!-- Never reuse labels in inner scopes. (not implemented) --> |
| 1224 | + <!-- Never reuse labels in inner scopes. --> |
1206 | 1225 | <chc> |
1207 | 1226 | <rule-repo>trivadis</rule-repo> |
1208 | 1227 | <rule-key>G-4325</rule-key> |
|
1354 | 1373 | <txt>mn</txt> |
1355 | 1374 | </prop> |
1356 | 1375 | </chc> |
1357 | | - <!-- Always use FORMAT_ERROR_BACKTRACE when using FORMAT_ERROR_STACK or SQLERRM. (not implemented) --> |
| 1376 | + <!-- Always use FORMAT_ERROR_BACKTRACE when using FORMAT_ERROR_STACK or SQLERRM. --> |
1358 | 1377 | <chc> |
1359 | 1378 | <rule-repo>trivadis</rule-repo> |
1360 | 1379 | <rule-key>G-5080</rule-key> |
|
1373 | 1392 | <txt>mn</txt> |
1374 | 1393 | </prop> |
1375 | 1394 | </chc> |
1376 | | - <!-- Always use CREATE OR REPLACE instead of CREATE alone. (not implemented) --> |
| 1395 | + <!-- Always use CREATE OR REPLACE instead of CREATE alone. --> |
1377 | 1396 | <chc> |
1378 | 1397 | <rule-repo>trivadis</rule-repo> |
1379 | 1398 | <rule-key>G-7125</rule-key> |
|
1449 | 1468 | <txt>mn</txt> |
1450 | 1469 | </prop> |
1451 | 1470 | </chc> |
1452 | | - <!-- Always assign values to OUT parameters. (not implemented) --> |
| 1471 | + <!-- Always assign values to OUT parameters. --> |
1453 | 1472 | <chc> |
1454 | 1473 | <rule-repo>trivadis</rule-repo> |
1455 | 1474 | <rule-key>G-7330</rule-key> |
|
1525 | 1544 | <txt>mn</txt> |
1526 | 1545 | </prop> |
1527 | 1546 | </chc> |
1528 | | - <!-- Never use multiple UPDATE OF in trigger event clause. (not implemented) --> |
| 1547 | + <!-- Never use multiple UPDATE OF in trigger event clause. --> |
1529 | 1548 | <chc> |
1530 | 1549 | <rule-repo>trivadis</rule-repo> |
1531 | 1550 | <rule-key>G-7720</rule-key> |
|
1563 | 1582 | <txt>mn</txt> |
1564 | 1583 | </prop> |
1565 | 1584 | </chc> |
1566 | | - <!-- Try to define a default value on conversion errors. (not implemented) --> |
| 1585 | + <!-- Try to define a default value on conversion errors. --> |
1567 | 1586 | <chc> |
1568 | 1587 | <rule-repo>trivadis</rule-repo> |
1569 | 1588 | <rule-key>G-9030</rule-key> |
|
2421 | 2440 | <txt>mn</txt> |
2422 | 2441 | </prop> |
2423 | 2442 | </chc> |
2424 | | - <!-- Always use DEFAULT ON NULL declarations to assign default values to table columns if you refuse to store NULL values. --> |
| 2443 | + <!-- Always use DEFAULT ON NULL declarations to assign default values to table columns if you refuse to store NULL values. (not implemented) --> |
2425 | 2444 | <chc> |
2426 | 2445 | <rule-repo>trivadis</rule-repo> |
2427 | 2446 | <rule-key>G-3170</rule-key> |
|
2459 | 2478 | <txt>mn</txt> |
2460 | 2479 | </prop> |
2461 | 2480 | </chc> |
2462 | | - <!-- Never use ROWNUM at the same query level as ORDER BY. (not implemented) --> |
| 2481 | + <!-- Never use ROWNUM at the same query level as ORDER BY. --> |
2463 | 2482 | <chc> |
2464 | 2483 | <rule-repo>trivadis</rule-repo> |
2465 | 2484 | <rule-key>G-3185</rule-key> |
|
0 commit comments