Both. Select the long residence route at the visa input step and the calculator switches to the 10-year continuous-residence test, including the stricter break rules (no single absence over 184 days, no gaps in valid leave including 3C leave coverage). For mixed-visa histories — for example, Student → Skilled Worker → dependant — the long residence path is usually the correct one to run, and the calculator will flag if a previous switch reset the clock.