Cracked rafter fix and loose truss plates
The split top cord should be repaired. Lay a 6 or 8 ft long 2x4 or 2x6 across 3 or 4 of the bottom cords, then use a length of 2x4 to push up to close the  split. When it is aligned properly, nail it in place with numerous nails that are the type that do not causing splitting.  Then sister on 3 or 4 ft (or more) of 2x4 on one side of the repaired section. If protruding roofing nails prevent sistering on either side, then you might have to use a 2x3 on the side and on the bottom edge.

(You might squirt wood glue into the crack before pressing the crack closed.)