MaintainJ, an Eclipse plug-in, generates runtime UML sequence and class diagrams for a given use case, helping the users to…