Getting Project Metrics

Metric values associated with the entire database or project are available for Understand::Db objects.

The command $db->metrics() returns a list of all available project metric names. The command $db->metric(@mets) returns a list of values for specific metrics. For example:

# loop through all project metrics 
foreach $met ($db->metrics()) { 
   print $met," = ",$db->metric($met),"\n"; 
} 

See $db->metrics() for detailed information.


Scientific Toolworks, Inc.
http://www.scitools.com