Menu

#22 Allow to disable metrics on packages and classes (methods)

open
None
5
2003-06-20
2003-06-20
No

It would be nice to allow to (enable/)"disable" the
metrics on some packages or class.
That would be namely usefull when you have generated
source.

Discussion

  • Frank Sauer

    Frank Sauer - 2003-06-20
    • assigned_to: nobody --> sauerf
     
  • Frank Sauer

    Frank Sauer - 2003-06-20

    Logged In: YES
    user_id=52904

    agreed. I'm looking into this. Question is ALL metrics or do we
    need a mechanism that enables certain metrics and disables
    others?

     
  • Gilles Scokart

    Gilles Scokart - 2003-06-23

    Logged In: YES
    user_id=733250

    I think enable/diable all metric at once on a package (or a
    class) is better. It's simpler to use. If you use a mechanism
    to enable certain metrics on some project, the user will end
    with an unknown configuration. He will not know what is
    involved in his metrics.

    Now disabling some metrics on the view would be nice also.
    For instance if a developer don't like the meaning of the DIT
    metrics, it should be possible to remove it from the Metrics
    View. I will enter an other RFE for that.

     
  • scot mcphee

    scot mcphee - 2005-04-19

    Logged In: YES
    user_id=630681

    As well as, or instead of, a package or class level
    disablement, I would like to see the ability to disable at
    the source folder level.

    For example, I sometimes put generated classes into a
    separate source folder (particularly if they are generated
    every time a build is run, as in the case of xdoclet
    generation), and certainly, my test cases are in a different
    source folder, even though the *packages* are the same as
    the main source folder. I have found that introducing the
    test classes to the metrics causes all sorts of problems. I
    would like to simply exclude all classes in the test source dir.

    Filename filters would work ok in lieu of this (e.g. exclude
    *Test.java) if source folder filtering is not possible.

     
  • LeO

    LeO - 2005-10-11

    Logged In: YES
    user_id=703323

    Is there some progress on this issue? I would like to see
    this feature as well.

    I could live as well with specifing it in the
    Project-properties as some kind of filter what to exclude.
    e.g. all packages with containing *test*

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.