-
-
09 Mar 2019 10:58:22 UTC
- Distribution: Code-Statistics
- Module version: 1.190680
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (2)
- Testers (258 / 0 / 0)
- Kwalitee
Bus factor: 1- 96.93% Coverage
- License: unrestricted
- Perl: v5.6.3
- Activity
24 month- Tools
- Download (24.52KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- App::Cmd::Setup
- Carp
- Clone
- Config::INI::Reader
- Data::Section
- File::Find::Rule
- File::Find::Rule::Perl
- File::HomeDir
- File::Slurp
- Hash::Merge
- JSON
- List::MoreUtils
- List::Util
- Module::Pluggable
- Moose
- Moose::Util::TypeConstraints
- MooseX::HasDefaults::RO
- MooseX::SlurpyConstructor
- PPI::Document
- Path::Class
- Perl::Critic::Utils::McCabe
- Template
- Term::ProgressBar::Simple
- strict
- warnings
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- NAME
- VERSION
- 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.
- force_support Returns true if the given metric is forcibly 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 no forcing happens.
- AUTHOR
- COPYRIGHT AND LICENSE
NAME
Code::Statistics::Target - base class for Code::Statistic targets
VERSION
version 1.190680
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.
force_support Returns true if the given metric is forcibly 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 no forcing happens.
Has higher precedence than 'incompatible_with' and should be used to override incompatibilities set by other metrics.
AUTHOR
Christian Walde <mithaldu@yahoo.de>
COPYRIGHT AND LICENSE
Christian Walde has dedicated the work to the Commons by waiving all of his or her rights to the work worldwide under copyright law and all related or neighboring legal rights he or she had in the work, to the extent allowable by law.
Works under CC0 do not require attribution. When citing the work, you should not imply endorsement by the author.
Module Install Instructions
To install Code::Statistics, copy and paste the appropriate command in to your terminal.
cpanm Code::Statistics
perl -MCPAN -e shell install Code::Statistics
For more information on module installation, please visit the detailed CPAN module installation guide.