Menu

#5 Tree incorporates stats of subdirs

open
nobody
5
2002-08-13
2002-08-13
Anonymous
No

It would be nice if there was an option by each
directory in the 'tree' view to view stats for that
directory and all subdirectories aggregated together.
For example, if I had a tree view like this:
-/
-dat
-src
-tools
-mission
-utils
-doc

then it would be nice to be able to view stats for
tools+mission+utils by clicking on the 'src'
directory. Right now, it will just give me stats for
the files in 'src' directory alone.

Mike (mike@sycamore.us)

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Hmm, the spacing of my example didn't come out right when I
    submitted this. In the beautiful diagram above: tools,
    mission, and utils are supposed to be subdirs of 'src'.

     
  • Christoph Luehr

    Christoph Luehr - 2003-05-28

    Logged In: YES
    user_id=26793

    I think Mike's idea is very good- most tools operating on
    directory hierarchies aggregate statistics on a
    "dir+all_subdirs"-basis - imagine a cvs module consisting of
    various subdirs, each maintained primarily by a specific
    developer (-group) - stats on only the files in a subdir
    don't seem to be too useful.
    just my 2 (euro) cents :-)
    xris

     
  • Phil Greenway

    Phil Greenway - 2004-01-04

    Logged In: YES
    user_id=23997

    I agreed with Mike. It would be very useful if it did this.

    For example, if I want the stats of this (current/src/prefs/)
    directory under my CVSROOT and have it collate all the stats
    of the subdirectories under prefs.

    Prefs doesnt have many files in it, so the stats say there are
    like 5 lines of code for Prefs and that doesnt look impressive :(

     
  • Allan Larsen

    Allan Larsen - 2004-01-19

    Logged In: YES
    user_id=932928

    I agree as well, this is in my oppinion the main drawback of
    statcvs at the moment.