Models mostly quantify these two types of risks separately due to the complexity in determination of the correlation between market and credit risk. Reduced form models (Jarrow and Turnbull (1995), Jarrow et al. (1997)) consider market and credit risk jointly with the assumption of independency!
Let's assume that we have a bond portfolio, Which model includes Interest Rate risk, Spread risk and Credit Risk with the assumption of dependency?