Only checking the last line might be a tad more efficient, but what if there is a blank line at the end? or if the format changes? Or what if multiple are found?
I think this is more flexible long term, like this:
number of lines whose(it contains " adware found" AND it does not contain "No adware found") of files whose (name of it contains "savingthrow-") of folders "C:\test\"