A shorter way to say this phrase
Some of the suggestions so far (e.g., “The cat crawls across the table”) seem to say that the cat did some amount of crawling, (at least) some of which was under the table.* If the “from one end of the table to the other” aspect is important, I suggest
The cat crawls the length of the table.
I somewhat like JiriS’s suggestion of “The cat traverses the table.”
as it seems to me that “traverse” implies the end-to-end aspect
(although a quick dictionary check did not support that understanding),
but this phrase fails in that it does not specify the mode of locomotion:
the cat could traverse the table by walking, sauntering, strolling,
running, dashing, streaking, leaping, or even rolling
— and I’m sure there are more possibilities.
____________
* Actually, very few really capture the “under the table”
aspect — when I read “The cat crawls from one end of the table to the other”,
I visualized the cat on the table.
I have no suggestion for dealing with that.