1. Summary
It would be nice if Xenon will support all Radon code metrics.
2. Example of expected behavior
A user run the command:
xenon kira_example_file.py {#args}
Where {#args} are Xenon command-line arguments for all metrics.
Xenon will compute:
- Cyclomatic Complexity (as
radon cc)
- Maintainability Index (as
radon mi)
- Raw Metrics (as
radon raw)
- Halstead Complexity Metrics (as
radon hal)
3. Justification of the need of the feature
Users may want to use all Radon metrics in Continuous Integration. Currently, Xenon compute solely the Cyclomatic Complexity, and Radon doesn’t support non-zero exit codes unlike Xenon.
Thanks.
1. Summary
It would be nice if Xenon will support all Radon code metrics.
2. Example of expected behavior
A user run the command:
xenon kira_example_file.py {#args}Where
{#args}are Xenon command-line arguments for all metrics.Xenon will compute:
radon cc)radon mi)radon raw)radon hal)3. Justification of the need of the feature
Users may want to use all Radon metrics in Continuous Integration. Currently, Xenon compute solely the Cyclomatic Complexity, and Radon doesn’t support non-zero exit codes unlike Xenon.
Thanks.