#41 Add Halstead & SEMI Metrics

open
nobody
None
5
2004-10-05
2004-10-05
Anonymous
No

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

  • Nick Veys

    Nick Veys - 2006-01-04

    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.

     
  • Pieter Kuijpers

    Pieter Kuijpers - 2006-02-01

    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.

     
  • Nick Veys

    Nick Veys - 2006-02-02

    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.

     

Log in to post a comment.