Swabs are the most accurate but only when showing a positive and you can only test for it oral with a swab but is it comes back negative with a swab it would not be considered conclusive as could miss the infecton swabbing. The only other way to confirm oral is from symptoms.
With it in the penis a urine test is used which is very accurate if a negative comes up.