She was holding a book with a tattered cover.

Literal

She [topic-は] cover [subject-が] tattered book [object-を] was-holding.

表紙がボロボロの本 is a relative clause — 'a book whose cover is tattered.' ボロボロ is a 擬態語 for worn-out, ragged condition.