A Comparison between foundations of metrology and software measurement