You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RULES.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ Some are applicable for different technologies.
71
71
| GCI92 | Use string.Length instead of comparison with empty string | Comparing a string to an empty string is unnecessary and can be replaced by a call to `string.Length` which is more performant and more readable. || 🚫 | 🚫 | 🚫 | 🚫 | 🚫 | ✅ | 🚫 |
72
72
| GCI93 | Return `Task` directly | Consider returning a `Task` directly instead of a single `await`|| ❓ | ❓ | ❓ | ❓ | ❓ | ✅ | ❓ |
73
73
| GCI94 | Use orElseGet instead of orElse | Parameter of orElse() is evaluated, even when having a non-empty Optional. Supplier method of orElseGet passed as an argument is only executed when an Optional value isn’t present. Therefore, using orElseGet() will save computing time. |[Optimized use of Java Optional Else](https://github.com/green-code-initiative/creedengo-challenge/issues/77)| ✅ | 🚫 | 🚫 | 🚫 | 🚫 | 🚫 | 🚫 |
74
-
| GCI95 | Avoid querying SQL columns that are not used | When a database is queried without an ORM, every column that is queried should be used afterward somewhere in the function. |[cnumr best practices (3rd edition) BP_075](https://github.com/cnumr/best-practices/blob/main/chapters/BP_075_fr.md)|✅ | ❓ | ❓ | ❓ | ❓ | ❓ | ❓ |
74
+
| GCI95 | Avoid querying SQL columns that are not used | When a database is queried without an ORM, every column that is queried should be used afterward somewhere in the function. |[cnumr best practices (3rd edition) BP_075](https://github.com/cnumr/best-practices/blob/main/chapters/BP_075_fr.md)|🚧| ❓ | ❓ | ❓ | ❓ | ❓ | ❓ |
75
75
| GCI203 | Detect unoptimized file formats | When it is possible, to use svg format image over other image format || 🚧 | 🚀 | 🚀 | ✅ | 🚀 | 🚀 | 🚫 |
76
76
| GCI404 | Avoid list comprehension in iterations | Use generator comprehension instead of list comprehension in for loop declaration || 🚫 | 🚫 | 🚫 | ✅ | 🚫 | 🚫 | 🚫 |
77
77
| GCI522 | Sobriety: Brightness Override | To avoid draining the battery, iOS and Android devices adapt the brightness of the screen depending on the environment light. || 🚫 | 🚫 | ✅ | 🚫 | 🚫 | 🚫 | 🚫 |
0 commit comments