While studying for a calculus test I came upon the definition of arc length for the graph of a differentiable function $f(x): \mathbb{R}\to\mathbb{R}$ in an interval $[a,b]$ to be defined as $\int_a^b\sqrt{1+f'(x)^2} dx$.
This got me thinking about functions that are not differentiable in some points in $[a,b]$, in which case we can just break it down to subintervals on which the function is differentiable. But what about functions that are not differentiable anywhere like the Weierstrass function? Would it be correct to say that this function has an infinite arc length, since it contains infinitely many copies of itself?
If so, is it correct in general? That is, if $f(x)$ is a continuous function on the real numbers that is not differentiable anywhere is its arc length necessarily infinite?