https://github.com/mawkler/cspurity
A static analyzer of functional purity for C# code - a prototype for my master's thesis.
https://github.com/mawkler/cspurity
analysis csharp masters-thesis purity
Last synced: over 1 year ago
JSON representation
A static analyzer of functional purity for C# code - a prototype for my master's thesis.
- Host: GitHub
- URL: https://github.com/mawkler/cspurity
- Owner: mawkler
- License: gpl-3.0
- Created: 2020-02-17T15:17:12.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-14T09:10:43.000Z (about 4 years ago)
- Last Synced: 2025-03-10T18:57:20.231Z (over 1 year ago)
- Topics: analysis, csharp, masters-thesis, purity
- Language: C#
- Homepage:
- Size: 307 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CsPurity
## Usage
To run the application run the following from the repo's root directory, where `` is the path to a C# project whose files you want to analyze.
```sh
CsPurity --project CsPurity/
```
Or if you want to pass only the paths to the file(s) to analyze, use the flag `--files`
```sh
CsPurity --project CsPurity/ --files ...
```
If you want pass the content of one file as a string to the program, for instance by piping, use can use the `--string` flag.
For more information, see the help:
```sh
CsPurity --project /d/Melker/git-repos/masters-thesis/CsPurity/ --help
```
## Development
To run tests, run `dotnet test CsPurity/` from the repo's root directory.
## Dependencies
- [`dotnet`](https://dotnet.microsoft.com/)