Module Expr Str Import alias Import alias ImportFrom alias Import alias identifier ImportFrom alias alias alias ImportFrom alias alias alias Assign NameStore Call NameLoad keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str NameLoad NameLoad NameLoad NameLoad Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad keyword NameLoad decorator_list AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad keyword Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad keyword NameLoad decorator_list AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults kwarg body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Dict TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BoolOpOr AttributeLoad NameLoad attr Dict handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad Call NameLoad BoolOpOr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str If Call AttributeLoad NameLoad attr Str body Expr Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad orelse If Call AttributeLoad NameLoad attr Str body Expr Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad orelse If Call AttributeLoad NameLoad attr Str body Expr Call NameLoad Call AttributeLoad NameLoad attr keyword Str keyword NameLoad orelse For TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr Str NameLoad body Expr Call NameLoad NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index Num keyword Num Continue Assign NameStore IfExp UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad ListLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Assign NameStore BinOpMult Num Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore IfExp Call AttributeLoad NameLoad attr Str NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd BinOpAdd BinOpMult Str NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str For NameStore NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Expr Call NameLoad Call AttributeLoad Str attr NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list
N/A N/A In this module the CLI interface is created. N/A sys N/A inspect mando Program N/A radon.complexity cc_mod radon.cli.colors BRIGHT RED RESET radon.cli.harvest CCHarvester RawHarvester MIHarvester N/A program N/A Program version N/A N/A N/A sys modules N/A radon __version__ cc N/A N/A paths min max show_complexity average exclude ignore order json no_assert show_closures total_average xml codeclimate N/A A F False False None None SCORE False False False False False False N/A N/A Analyze the given Python modules and compute Cyclomatic
    Complexity (CC).

    The output can be filtered using the *min* and *max* flags. In addition
    to that, by default complexity score is not displayed.

    :param paths: The paths where to find modules or packages to analyze. More
        than one path is allowed.
    :param -n, --min <str>: The minimum complexity to display (default to A).
    :param -x, --max <str>: The maximum complexity to display (default to F).
    :param -e, --exclude <str>: Exclude files only when their path matches one
        of these glob patterns. Usually needs quoting at the command line.
    :param -i, --ignore <str>: Ignore directories when their name matches one
        of these glob patterns: radon won't even descend into them. By default,
        hidden directories (starting with '.') are ignored.
    :param -s, --show-complexity: Whether or not to show the actual complexity
        score together with the A-F rank. Default to False.
    :param -a, --average: If True, at the end of the analysis display the
        average complexity. Default to False.
    :param --total-average: Like `-a, --average`, but it is not influenced by
        `min` and `max`. Every analyzed block is counted, no matter whether it
        is displayed or not.
    :param -o, --order <str>: The ordering function. Can be SCORE, LINES or
        ALPHA.
    :param -j, --json: Format results in JSON.
    :param --xml: Format results in XML (compatible with CCM).
    :param --codeclimate: Format results for Code Climate.
    :param --no-assert: Do not count `assert` statements when computing
        complexity.
    :param --show-closures: Add closures/inner classes to the output.
     N/A config N/A Config min N/A N/A min upper max N/A N/A max upper exclude exclude ignore ignore show_complexity show_complexity average average total_average total_average order N/A getattr cc_mod N/A N/A order upper N/A getattr cc_mod SCORE no_assert no_assert show_closures show_closures N/A harvester N/A CCHarvester paths config N/A N/A log_result harvester json json xml xml codeclimate codeclimate N/A N/A program command N/A N/A program arg paths nargs + raw N/A N/A paths exclude ignore summary json N/A None None False False N/A N/A Analyze the given Python modules and compute raw metrics.

    :param paths: The paths where to find modules or packages to analyze. More
        than one path is allowed.
    :param -e, --exclude <str>: Exclude files only when their path matches one
        of these glob patterns. Usually needs quoting at the command line.
    :param -i, --ignore <str>: Ignore directories when their name matches one
        of these glob patterns: radon won't even descend into them. By default,
        hidden directories (starting with '.') are ignored.
    :param -s, --summary:  If given, at the end of the analysis display the
        summary of the gathered metrics. Default to False.
    :param -j, --json: Format results in JSON.
     N/A config N/A Config exclude exclude ignore ignore summary summary N/A harvester N/A RawHarvester paths config N/A N/A log_result harvester json json N/A N/A program command N/A N/A program arg paths nargs + mi N/A N/A paths min max multi exclude ignore show json N/A A C True None None False False N/A N/A Analyze the given Python modules and compute the Maintainability Index.

    The maintainability index (MI) is a compound metric, with the primary aim
    being to determine how easy it will be to maintain a particular body of
    code.

    :param paths: The paths where to find modules or packages to analyze. More
        than one path is allowed.
    :param -n, --min <str>: The minimum MI to display (default to A).
    :param -x, --max <str>: The maximum MI to display (default to C).
    :param -e, --exclude <str>: Exclude files only when their path matches one
        of these glob patterns. Usually needs quoting at the command line.
    :param -i, --ignore <str>: Ignore directories when their name matches one
        of these glob patterns: radon won't even descend into them. By default,
        hidden directories (starting with '.') are ignored.
    :param -m, --multi: If given, multiline strings are not counted as
        comments.
    :param -s, --show: If given, the actual MI value is shown in results.
    :param -j, --json: Format results in JSON.
     N/A config N/A Config min N/A N/A min upper max N/A N/A max upper exclude exclude ignore ignore multi multi show show N/A harvester N/A MIHarvester paths config N/A N/A log_result harvester json json N/A N/A program command N/A N/A program arg paths nargs + Config N/A object N/A N/A An object holding config values. __init__ N/A N/A self N/A kwargs N/A N/A Configuration values are passed as keyword parameters. N/A N/A self config_values kwargs N/A __getattr__ N/A N/A self attr N/A N/A N/A If an attribute is not found inside the config values, the request
        is handed to `__getattribute__`.
         N/A N/A attr N/A self config_values N/A N/A N/A N/A self config_values N/A attr N/A N/A N/A self __getattribute__ attr N/A __repr__ N/A N/A self N/A N/A N/A The string representation of the Config object is just the one of
        the dictionary holding the configuration values.
         N/A N/A repr N/A self config_values N/A __eq__ N/A N/A self other N/A N/A N/A Two Config objects are equals if their contents are equal. N/A N/A N/A self config_values N/A other config_values N/A from_function N/A N/A cls func N/A N/A N/A Construct a Config object from a function's defaults. N/A kwonlydefaults N/A N/A N/A N/A argspec N/A N/A inspect getfullargspec func N/A kwonlydefaults N/A N/A argspec kwonlydefaults N/A N/A N/A N/A AttributeError N/A N/A argspec N/A N/A inspect getargspec func N/A N/A args _ _ defaults N/A argspec N/A 4 N/A values N/A dict N/A zip N/A reversed args N/A reversed N/A defaults N/A N/A N/A N/A values update kwonlydefaults N/A N/A cls values N/A classmethod N/A log_result N/A N/A harvester N/A kwargs N/A N/A Log the results of an :class:`~radon.cli.harvest.Harvester object.

    Keywords parameters determine how the results are formatted. If *json* is
    `True`, then `harvester.as_json()` is called. If *xml* is `True`, then
    `harvester.as_xml()` is called. If *codeclimate* is True, then
    `harvester.as_codeclimate_issues()` is called.
    Otherwise, `harvester.to_terminal()` is executed and `kwargs` is directly
    passed to the :func:`~radon.cli.log` function.
     N/A N/A N/A kwargs get json N/A N/A N/A log N/A N/A harvester as_json noformat True N/A N/A N/A N/A kwargs get xml N/A N/A N/A log N/A N/A harvester as_xml noformat True N/A N/A N/A N/A kwargs get codeclimate N/A N/A N/A log_list N/A N/A harvester as_codeclimate_issues delimiter noformat True N/A N/A N/A msg args kwargs N/A N/A harvester to_terminal N/A N/A N/A N/A kwargs get error False N/A N/A N/A log msg N/A N/A log_error N/A args N/A 0 indent 1 N/A N/A msg N/A N/A N/A isinstance msg N/A list tuple N/A msg msg N/A N/A log_list msg args kwargs N/A log N/A N/A msg N/A args kwargs N/A N/A Log a message, passing *args* to the strings' `format()` method.

    *indent*, if present as a keyword argument, specifies the indent level, so
    that `indent=0` will log normally, `indent=1` will indent the message by 4
    spaces, &c..
    *noformat*, if present and True, will cause the message not to be formatted
    in any way.
     N/A indent N/A 4 N/A N/A kwargs get indent 0 N/A delimiter N/A N/A kwargs get delimiter N/A m N/A N/A N/A kwargs get noformat False msg N/A N/A msg format args N/A N/A N/A N/A sys stdout write N/A N/A N/A indent m delimiter N/A log_list N/A N/A lst N/A args kwargs N/A N/A Log an entire list, line by line. All the arguments are directly passed
    to :func:`~radon.cli.log`.
     N/A line lst N/A N/A N/A log line args kwargs N/A log_error N/A N/A msg N/A args kwargs N/A N/A Log an error message. Arguments are the same as log(). N/A N/A log N/A N/A {0}{1}ERROR{2}: {3} format BRIGHT RED RESET msg args kwargs N/A