I'm looking to see if there is a simple heuristic for getting an approximate lines of code from a repository based upon the byte size. For example, the following url gives us 219K bytes:
{
"Ruby": 219981
}
- And this answer suggests a great way for evaluating LOC: https://stackoverflow.com/a/29015302/651174
What do you think would be an average of bytes to LOC? I know files can be minified and it'll not be exact, but what might be a good/average ratio?