module Minireq::Dsl
Public Instance Methods
simple_cocomo(e95, hours_per_month = 165 * 0.6)
click to toggle source
TODO cocomo factors for diffrent kind of projects Calculate Effort Applied, Development Time and People Required @return [Hash] of calculated parameters @param e95 [Number] effort estimation @param hours_per_month [Number] real working hours per month
# File lib/minireq/dsl.rb, line 43 def simple_cocomo(e95, hours_per_month = 165 * 0.6) e = e95 * 4 / hours_per_month #E95 is 25% of summary effort t = 2.5 * e**(1.0/3.0) p = e / t {effort_applied: e, development_time: t, people_required: p} end