A better saying would be, you should only use your target as a measure.
If your target is working software, measure how well the software works.
In your imaginary case, what would your specific numerical measure be?
In your imaginary case, what would your specific numerical measure be?