Derivation And Validation Of Software Metrics