I am in the process of writing a survey paper, and found one conference publication A that I will cite. Additionally, I found a journal publication B that I almost would have included in the survey, but I found it is almost identical to publication A. B was published 6 years after A. Here, "almost identical" means all the algorithms from A were screenshotted and directly copied-and-pasted into B, with no citation, and most of the text in B was verbatim the same as A, with slight changes in some places.
I already contacted the authors of A and the journal editors for B regarding my concerns. However, what should be done for the survey? Just leave B out entirely? It has a few citations, so it wasn't just ignored in the literature. (I'm also considering not having any of the main author of B's papers included in the survey as well, but haven't directly found anything like this in those other papers yet.)