def METHOD_NAME(self, param1):  # [too-complex, too-many-branches]
    """McCabe rating: 15"""
    if not param1:
        pass
    pass
    if param1:
        pass
    else:
        pass
    pass
    if param1:
        pass
    if param1:
        pass
    if param1:
        pass
    if param1:
        pass
    if param1:
        pass
    if param1:
        pass
    if param1:
        for value in range(5):
            pass
    pass
    for count in range(6):
        with open("myfile") as fp:
            count += 1
        pass
    pass
    try:
        pass
        if not param1:
            pass
        else:
            pass
        if param1:
            raise BaseException("Error")
        with open("myfile2") as fp2:
            pass
        pass
    finally:
        if param1 is not None:
            pass
        for count2 in range(8):
            try:
                pass
            except BaseException("Error2"):
                pass
    return param1