src/api/app/controllers/webui/projects/rebuild_times_controller.rb
Method call_diststats
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def call_diststats(bdep, jobs)
@timings = {}
@pngkey = Digest::MD5.hexdigest(params.to_s)
@rebuildtime = 0
Method show
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def show
logger.info("Statistics for RebuildTimesController#show: #{User.possibly_nobody.login}")
@repository = params[:repository]
@arch = params[:arch]
@hosts = (params[:hosts] || 40).to_i