Add Halstead & SEMI Metrics
Brought to you by:
sauerf
It would be great to have Halstead Effort for methods
and SEIMI (Software Engineering Institute's
Maintainability Index) for projects. Documentation on
these can be found at SEI web site, or I can provide on
request.
jeff.oakes@htsco.com
Discussion of Halstead metrics.
Logged In: YES
user_id=1108490
This would be fantastic! Halstead is the only major metric
not available in this. SEIMI is simply a combination of
others already implemented and Halstead.
Logged In: YES
user_id=89933
The Halstead metric is based on number of 'operators' and
'operands', how does this translate to java source code?
What should be counted as operator and operands? And how
should 'distinct' operators and operands be determined? I
found some references using java bytecode to count these,
but none on java source code.
Logged In: YES
user_id=1108490
It's really kind of arbitrary... I've roughly implemented a
Hallstead Effort as a test using these guidelines:
http://www.verifysoft.com/en_halstead_metrics.html
Assuming Java is roughly C++ with some extra keywords.
Finishing up some final touches on a Comment/Comment %age
metric to add to this then I may tackle the SEIMI full steam.