eriklovlie / scaling-octo-bear

Tool to extract complexity metrics from C++ source files.
MIT License
2 stars 0 forks source link

Output metrics in machine readable format #5

Open eriklovlie opened 11 years ago

eriklovlie commented 11 years ago

The output should be in a machine readable format, such as JSON or YAML. JSON might be the better choice, because it can be imported very easily from python (it's just an eval() to get a dictionary).

Alternatives:

eriklovlie commented 11 years ago

Loading YAML from python is easy using pyyaml ("pip install pyyaml"), and since llvm already includes a YAML library this seems easier and cleaner than JSON.