-
-
05 Jan 2021 21:04:49 UTC
- Distribution: Analizo
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues
- Testers (0 / 51 / 6)
- Kwalitee
Bus factor: 1- License: gpl_3
- Activity
24 month- Tools
- Download (177.49KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- App::Cmd
- CHI
- Class::Accessor
- Class::Inspector
- DBD::SQLite
- DBI
- Digest::SHA
- Env::Path
- File::Copy::Recursive
- File::HomeDir
- FindBin::libs
- Graph
- Graph::Writer::Dot
- JSON
- List::Compare
- Statistics::Descriptive
- Term::ProgressBar
- YAML::XS
- ZMQ::FFI
- local::lib
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Analizo::Metric::DepthOfInheritanceTree - Depth of Inheritance Tree (DIT) metric
DESCRIPTION
The metric calculation is based on the following article and calculates the longest path from a module to the class hierarchy root.
Article: An empirical study of aspect-oriented metrics by Eduardo Kessler Piveta, Ana Moreira, Marcelo Soares Pimenta, Joao Araujo, Pedro Guerreiro and R. Tom Price.
See the adaptation of the paragraph about Depth of Inheritance Tree in the article:
Considering a function
s(x) : Module -> Module
that computes the super-class or super-aspect of a giver module, the value of DIT is given by:DIT(m) = DIT(s(m)) + 1, ifc m != rootClass DIT(m) = 0, otherwise.
Module Install Instructions
To install Analizo, copy and paste the appropriate command in to your terminal.
cpanm Analizo
perl -MCPAN -e shell install Analizo
For more information on module installation, please visit the detailed CPAN module installation guide.