Showing 188 of 188 total issues
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(símismo, archivo, color, llenar, alpha):
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(símismo, nombre: str, plataforma: str, versión: str, url: str):
Function combin_datos
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def combin_datos(símismo, f_inic, f_final, vars_clima):
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(símismo, obj, nombre, lugares=None, fechas=None):
Function conectar
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def conectar(símismo, var_mds, var_bf, mds_fuente, conv=None):
Function _buscar
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _buscar(símismo, var_fuente, modelo_fuente, modelo_recip, var_recip):
Function gen_res
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def gen_res(símismo, nombre, t, vars_interés):
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function gen_res
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def gen_res(símismo, nombre, t, vars_interés):
Function obt_vals
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def obt_vals(símismo, vars_interés, lugares=None, fechas=None):
Function quitar
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def quitar(símismo, var_fuente, modelo_fuente, modelo_recip, var_recip):
Function conectar_clima
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def conectar_clima(
Function conectar_var_clima
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def conectar_var_clima(símismo, var, var_clima, conv, combin='prom'):
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(símismo, nombre, variables, lugares=None, fechas=None):
Function agregar_trad
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def agregar_trad(unid, trad, leng_trad, leng_orig=None, guardar=True):
Function __call__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __call__(símismo, árbol, var, l_vars=None):
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(símismo, tmñ_ciclo, variables, nombre='bf'):
Function comp
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
def comp(símismo, x):
comp_1 = símismo.convertir(x.children[0])
comp_2 = símismo.convertir(x.children[2])
op = símismo.convertir(x.children[1])
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function incrementar
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
def incrementar(símismo, rebanada):
def incr_mod(mod, d, reb):
try:
mod.incr(reb)
except BaseException as e:
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"