Skip to content

feature_request(metrics): support all Radon metrics #59

Description

@Kristinita

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:

  1. Cyclomatic Complexity (as radon cc)
  2. Maintainability Index (as radon mi)
  3. Raw Metrics (as radon raw)
  4. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions