GPS and metrics

Gautier de Montmollin <[email protected]> Wed, 24 Feb 2010 11:16:10 +0100
Newsgroups gmane.comp.ide.gps.user
Message-ID <[email protected]>
Hello,

Is there a way to get the metrics of current file (or main), *plus*
those of depending units, and so on (recursively, but excluding the
Ada.* and GNAT.* packages), from GPS (1) ?
In the menu I only see metrics for root project (which will include
all source files, even those unused), or only the current file.

Alternatively, it would be nice to be able to get the metrics for all
files but from a selected branch of the Project View tree (2).
Technically, I guess it would boild down to filter the names that are
in the file given to gnatmetric (-files option) by retaining only
those beginning with the selected directory name.

I am curious about any solution (including with the command line) to
get (1) or (2)

Cheers
Gautier