[gps-users] GPS and metrics

Gautier de Montmollin gautier.de.montmollin at gmail.com
Wed Feb 24 11:16:10 CET 2010


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


More information about the gps-users mailing list