2000 Year 2000 problems occur because code has been written that only uses the last 2 digits of the year. This topic has its own article . Metrics Software metrics do not give warnings about specific source constructs. Rather, they flag whole functions, or expressions where a particular metric has exceeded some limit. The value of this limit being based on analysis of other code with known problem histories.
Metrics are a statistical indicator of the likelihood of an error occurring in a portion of code.
Another way to use metric information is to monitor how it changes, for a given piece of software, over time. Many different measures of software complexity have been proposed. Interestingly many correlate very highly to lines of code. OSCP does not attempt to select among the competing metrics. Instead it focuses on producing the raw data from which most metrics can be calculated.