Demand-driven analysis