NAME
Code::Statistics::Target - base class for Code::Statistic targets
VERSION
version 1.102351
find_targets Returns an arrayref to a list of targets found in the given file. Is called with the target class name and a Code::Statistics::File object. This function should be overridden with specific logic to actually retrieve the target list.
incompatible_with Returns true if the given metric is explicitly not supported by this target. Is called with the target class name and a string representing the metric identifiers after 'Code::Statistics::Metric::'. Default is that all targets are compatible with all metrics.
supports Returns true if the given metric is supported by this target. Is called with the target class name and a string representing the metric identifiers after 'Code::Statistics::Metric::'. Default is that all targets are compatible with all metrics.
Has higher precedence than 'incompatible_with' and should be used to
incompatibilities set by other metrics.
AUTHOR
Christian Walde <mithaldu@yahoo.de>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2010 by Christian Walde.
This is free software, licensed under:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE, Version 2, December 2004