radon icon indicating copy to clipboard operation
radon copied to clipboard

Various code metrics for Python code

Results 40 radon issues
Sort by recently updated
recently updated
newest added

Hello, do you plan to support `pyproject.toml` file based on [PEP518](https://www.python.org/dev/peps/pep-0518/)? For example [here](https://github.com/carlosperate/awesome-pyproject) is list of some tools which support `pyproject.toml`.

Hi, I was wondering whenever adding a subset of Chidamber and Kemerer programming complexity metrics would be of interest to you and in the scope of `radon` tool? While using...

Hi. First of all, thanks for your work. I wonder if anybody interested in implementing the calculation of Cognitive complexity alongside with Cyclomatic complexity. More info: https://www.sonarsource.com/docs/CognitiveComplexity.pdf

Radon provides raw metrics for a file. It would be great to have raw metrics by block type (class, method, function) similar to the cyclomatic complexity score.

I have a syntax error in a file that is involves an error message with a curly bracket: The msg here: https://github.com/rubik/radon/blob/8db8eac6b93aca1eea818060b62350a7cf6a7d36/radon/cli/__init__.py#L353 I imagine contains the curly bracket which causes...

I'm trying to run `radon` metrics over code in various Jupyter notebooks and if there are cells that include IPython block magic (notebook code source cell starts `%%`, for example...

Hey, thank you very much for your great work. With ```radon hal -f```, it would be nice to know which class a classmethod belongs to. Currently, if you have two...

Radon currently captures most exceptions that occur while doing its work. This makes it a real pain to discover where a programming mistake was made. (See #170 for an example;...

Radon returns cc value of A for decorators with inner functions, I guess this is a known issue. Is there any planned support for this?

It is appreciated that one of Halstead's weaknesses is a lack of agreement on what is and isn't an operator. However, the stats look very kind at the moment, suggesting...