# Sample Ruby file for testing call graph extraction
validate_order(order)
total = calculate_total(order)
send_confirmation(order, total)
total
end
raise if order.nil?
true
end
order.items.sum(&:price)
end
puts
end
order = create_order
process_order(order)
end