"Statistics are like bikinis. What they reveal is suggestive, but what they conceal is vital." [Aaron Levenstein]
Of course you could write a data checking program for any specified input.
But what if you would like to throw any arbitrary data (given in a csv file!) into a general data analyzer?
For numerical data a general analysis could easily produce minimum, average, and maximum information and also warn if any extreme value differs from the average by more than 2.5 standard deviations, for example. For text data an analysis program could print text frequency and character frequency information.