I posted about this issue the other day, but I'm getting skeptical about some of the review audits. I recently saw this answer in the Low Quality Post queue:
https://stackoverflow.com/review/low-quality-posts/5173081
The answer includes a complete code example, is from an 8k+ rep user, and includes a link to an open source tool on GitHub. Apparently it is spam. How is this spam?
Here's a link to the actual answer. The accepted answer on the question has no code and includes nothing more than a link to sourceforge.
Based on Brad Larson's answer to my previous question, what makes it spam might be (1) that it was posted multiple times (something we could not possibly know if we come across this post in the review queue), or (2) that it includes a link to commercial product. But this includes a link to an open-source tool. So, what's the issue?
Here's the verbatim text of the answer just as an FYI:
Look at the Wolfcast BrowserDetection PHP class.
BrowserDetection is more reliable than Browser. I tested 14,250 user agents and I got 99.95% positive results with BrowserDetection and 85.56% with Browser.
The code to do it would be something like:
require_once('BrowserDetection.php');
$browser = new BrowserDetection();
$platform = $browser->getPlatform();
//You would test a platform like this:
$isIPhone = $platform == BrowserDetection::PLATFORM_IPHONE;
$isMobile = $browser->isMobile();
$browserName = $browser->getBrowser();
//You would test a browser like this:
$isIE = $browserName == BrowserDetection::BROWSER_IE;
$browserVersion = $browser->getVersion();
//You can also test versions like this:
$isVerElevenOrMore = $browser->compareVersions($browserVersion, '11.0') !== 1;
//compareVersions returns 1 if $sourceVer < $compareVer,
//0 if $sourceVer == $compareVer or
//-1 if $sourceVer > $compareVer