Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jakeroggenbuck/cerror
- Owner: JakeRoggenbuck
- Created: 2020-08-10T22:13:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-11T07:00:34.000Z (over 1 year ago)
- Last Synced: 2023-07-11T08:23:44.104Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 thisThe 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
```