Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/molodchina/sca
Static Code Analysis projects
https://github.com/molodchina/sca
Last synced: about 7 hours ago
JSON representation
Static Code Analysis projects
- Host: GitHub
- URL: https://github.com/molodchina/sca
- Owner: Molodchina
- Created: 2023-03-12T21:48:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-12T15:52:31.000Z (9 months ago)
- Last Synced: 2024-09-11T12:19:35.064Z (about 2 months ago)
- Language: PowerShell
- Size: 6.82 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**Static Code Analysis**
**Division Analyzer**
In this project **Roslyn-Based** **Zero Denominator Detector** was created.
The analyzer detects Following Fraction Patterns:
+ If the denominator value is Numeric Literal (0);
+ If the value is const string (e.g. .../"abc") then the Fraction will be Pointed Out as Zero-denominator err;
+ If denominator is an expression (e.g. 1+1, (12+14), (a+b), 0*17, a-a) and it's value is "none" or "0";
+ If there is a variable in the denominator expression, then the result will be calculated depending on variable's value;