An open API service indexing awesome lists of open source software.

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.

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/)