Help language development. Donate to The Perl Foundation
Perl6::Ecosystem - Obtains information from Perl6 modules in the ecosystem
use Perl::Ecosystem; my $eco = Perl6::Ecosystem.new; say $eco.modules; say $eco.depended; say $eco.depends-on;
A tool to analyze the Perl 6 ecosystem by downloading all modules and finding out how they depend on each other.
Creates the object, downloading and filling it with information. Error output goes to
hash with module names, dependencies and URLs.
hash with module names and the number of other modules it depends on.
hash with module names and its dependencies.
Computes the "river-score" by looking at all dependency chains and giving a score according to the position. That is, if there's this dependenci chain
Foo → Bar → Baz
Foo will have a 0 score for appearing in the first position, up to Baz which will have score equal to 2. The total score of every module is computed by adding all scores.
It chokes on circular references. Right now they are blacklisted.
Alex Daniel, JJ Merelo email@example.com
Copyright 2018 Alex Daniel, JJ Merelo
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.