Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jakeroggenbuck/cerror

Run cerror on a source code file of a compiled language to get the length of the outputted error compared to the filesize.
https://github.com/jakeroggenbuck/cerror

Last synced: 5 days ago
JSON representation

Run cerror on a source code file of a compiled language to get the length of the outputted error compared to the filesize.

Awesome Lists containing this project

README

        

# CError
Run cerror on a source code file of a compiled language to get the length of the outputted error compared to the filesize.
Some people try to get the largest error with the smallest file, this script gives you a score for this.

## Use (in general)
```c
#include __FILE__
```
credit: [@adamhutchings](https://github.com/adamhutchings) for finding this

The sample file is above, this is a small amount of source but produces a large error.
This would get a really good score because of that ratio of code to error.

## Use (the script)
```
./cerror -f main.c -c g++
```

```
./cerror -f -c
```