Source files: 3
Click here to show/hide file namesSource files:
optimize/customcg.py,
optimize/optimize.py,
optimize/__init__.py
Clones detected: 3
15 of 384 lines are duplicates (3.91%)
Parameters
clustering_threshold = 10
distance_threshold = 5
size_threshold = 5
hashing_depth = 1
clusterize_using_hash = False
clusterize_using_dcup = False
Clone # 1
Distance between two fragments = 2
Clone size = 5
Source file "optimize/optimize.py" The first line is 292 | Source file "optimize/optimize.py" The first line is 222 | |
if counter < maxiter: solution.success = True else: solution.success = False solution.message = 'Maximum iterations exceeded' |
if i < max_outer_iter: solution.success = True else: solution.success = False solution.message = 'Maximum iterations exceeded' |
|
return solution | return solution |
Clone # 2
Distance between two fragments = 2
Clone size = 5
Source file "optimize/optimize.py" The first line is 292 | Source file "optimize/customcg.py" The first line is 127 | |
if counter < maxiter: solution.success = True else: solution.success = False solution.message = 'Maximum iterations exceeded' |
if step < maxiters: solution.success = True else: solution.success = False solution.message = 'Maximum iterations exceeded' |
|
return solution | return solution |
Clone # 3
Distance between two fragments = 2
Clone size = 5
Source file "optimize/optimize.py" The first line is 222 | Source file "optimize/customcg.py" The first line is 127 | |
if i < max_outer_iter: solution.success = True else: solution.success = False solution.message = 'Maximum iterations exceeded' |
if step < maxiters: solution.success = True else: solution.success = False solution.message = 'Maximum iterations exceeded' |
|
return solution | return solution |