For a project, I need to analyze the differences in development time between two different frameworks to implement the same thing.
I can't just time myself writing one then time myself writing the other, because I will almost inevitably write the second one faster having experienced pitfalls and fixes while writing the first one.
My first instinct would be to use simple metrics as a heuristic, such as number of bytes, number of word or LOC.
I know there exist other measurements of code size such as Halstead complexity measures, however I don't think these correlate accurately with development time.
In this particular instance, I'm interested in solely the development time. I'm aware that maintenance time probably does correlate fairly strongly with complexity measures, but assume this is for writing a completely new feature which has no dependencies on previously written code.
Suggestions?