Structural Floor Joist Damage

You can see how badly this floor joist is damaged and if you look to the right in the picture you can see the tub trap and drain.

The structural floor joist is completely destroyed and will definitely need to be replaced. Sometimes when I run across situations like this, I wonder how many years the floor would have lasted until it completely caved in.

This floor joist was damaged by a leaking bathtub and tile shower surround.