app/models/concerns/build_list_observer.rb
Showing 1 of 1 total issue
Method update_average_build_time
has a Cognitive Complexity of 16 (exceeds 5 allowed). Consider refactoring. Open
Open
def update_average_build_time if status_changed? self.started_at = Time.now if status == self.class::BUILD_STARTED if [self.class::BUILD_ERROR, self.class::SUCCESS,
- Read upRead up