# Path: radon/raw.py
# COMMENT = tokenize.COMMENT
# OP = tokenize.OP
# NL = tokenize.NL
# NEWLINE = tokenize.NEWLINE
# EM = tokenize.ENDMARKER
# TOKEN_NUMBER = operator.itemgetter(0)
# def _generate(code):
# def _fewer_tokens(tokens, remove):
# def _find(tokens, token, value):
# def _split_tokens(tokens, token, value):
# def _get_all_tokens(line, lines):
# def _logical(tokens):
#     def aux(sub_tokens):
# def is_single_token(token_number, tokens):
# def analyze(source):
# 
# Path: radon/visitors.py
# class Class(BaseClass):
#     '''Object representing a class block.'''
# 
#     letter = 'C'
# 
#     @property
#     def fullname(self):
#         '''The full name of the class. It is just its name. This attribute
#         exists for consistency (see :data:`Function.fullname`).
#         '''
#         return self.name
# 
#     @property
#     def complexity(self):
#         '''The average complexity of the class. It corresponds to the average
#         complexity of its methods plus one.
#         '''
#         if not self.methods:
#             return self.real_complexity
#         methods = len(self.methods)
#         return int(self.real_complexity / float(methods)) + (methods > 1)
# 
#     def __str__(self):
#         '''String representation of a class block.'''
#         return '{0} {1}:{2}->{3} {4} - {5}'.format(
#             self.letter,
#             self.lineno,
#             self.col_offset,
#             self.endline,
#             self.name,
#             self.complexity,
#         )
# 
# class Function(BaseFunc):
#     '''Object represeting a function block.'''
# 
#     @property
#     def letter(self):
#         '''The letter representing the function. It is `M` if the function is
#         actually a method, `F` otherwise.
#         '''
#         return 'M' if self.is_method else 'F'
# 
#     @property
#     def fullname(self):
#         '''The full name of the function. If it is a method, then the full name
#         is:
#                 {class name}.{method name}
#         Otherwise it is just the function name.
#         '''
#         if self.classname is None:
#             return self.name
#         return '{0}.{1}'.format(self.classname, self.name)
# 
#     def __str__(self):
#         '''String representation of a function block.'''
#         return '{0} {1}:{2}->{3} {4} - {5}'.format(
#             self.letter,
#             self.lineno,
#             self.col_offset,
#             self.endline,
#             self.fullname,
#             self.complexity,
#         )


import json
import locale
import os
import platform
import sys
import pytest
import radon.cli.tools as tools
from radon.raw import Module
from radon.visitors import Class, Function
    Class(
        name='Classname',
        lineno=17,
        col_offset=0,
        endline=29,
        methods=[
            Function(
                name='meth',
                lineno=19,
                col_offset=4,
                endline=26,
                is_method=True,
                classname='Classname',
                closures=[],
                complexity=4,
            )
        ],
        inner_classes=[],
        real_complexity=4,
    ),
    Function(
        name='meth',
        lineno=19,
        col_offset=4,
        endline=26,
        is_method=True,
        classname='Classname',
        closures=[],
        complexity=7,
    ),

# Path: radon/raw.py
# COMMENT = tokenize.COMMENT
# OP = tokenize.OP
# NL = tokenize.NL
# NEWLINE = tokenize.NEWLINE
# EM = tokenize.ENDMARKER
# TOKEN_NUMBER = operator.itemgetter(0)
# def _generate(code):
# def _fewer_tokens(tokens, remove):
# def _find(tokens, token, value):
# def _split_tokens(tokens, token, value):
# def _get_all_tokens(line, lines):
# def _logical(tokens):
#     def aux(sub_tokens):
# def is_single_token(token_number, tokens):
# def analyze(source):
# 
# Path: radon/visitors.py
# class Class(BaseClass):
#     '''Object representing a class block.'''
# 
#     letter = 'C'
# 
#     @property
#     def fullname(self):
#         '''The full name of the class. It is just its name. This attribute
#         exists for consistency (see :data:`Function.fullname`).
#         '''
#         return self.name
# 
#     @property
#     def complexity(self):
#         '''The average complexity of the class. It corresponds to the average
#         complexity of its methods plus one.
#         '''
#         if not self.methods:
#             return self.real_complexity
#         methods = len(self.methods)
#         return int(self.real_complexity / float(methods)) + (methods > 1)
# 
#     def __str__(self):
#         '''String representation of a class block.'''
#         return '{0} {1}:{2}->{3} {4} - {5}'.format(
#             self.letter,
#             self.lineno,
#             self.col_offset,
#             self.endline,
#             self.name,
#             self.complexity,
#         )
# 
# class Function(BaseFunc):
#     '''Object represeting a function block.'''
# 
#     @property
#     def letter(self):
#         '''The letter representing the function. It is `M` if the function is
#         actually a method, `F` otherwise.
#         '''
#         return 'M' if self.is_method else 'F'
# 
#     @property
#     def fullname(self):
#         '''The full name of the function. If it is a method, then the full name
#         is:
#                 {class name}.{method name}
#         Otherwise it is just the function name.
#         '''
#         if self.classname is None:
#             return self.name
#         return '{0}.{1}'.format(self.classname, self.name)
# 
#     def __str__(self):
#         '''String representation of a function block.'''
#         return '{0} {1}:{2}->{3} {4} - {5}'.format(
#             self.letter,
#             self.lineno,
#             self.col_offset,
#             self.endline,
#             self.fullname,
#             self.complexity,
#         )


# Path: radon/tests/test_cli_tools.py
import json
import locale
import os
import platform
import sys
import pytest
import radon.cli.tools as tools
from radon.raw import Module
from radon.visitors import Class, Function

    Class(
        name='Classname',
        lineno=17,
        col_offset=0,
        endline=29,
        methods=[
            Function(
                name='meth',
                lineno=19,
                col_offset=4,
                endline=26,
                is_method=True,
                classname='Classname',
                closures=[],
                complexity=4,
            )
        ],
        inner_classes=[],
        real_complexity=4,
    ),
    Function(
        name='meth',
        lineno=19,
        col_offset=4,
        endline=26,
        is_method=True,
        classname='Classname',
        closures=[],
        complexity=7,
    ),

    Function(