blib/lib/Dist/Zilla/Stash/GitHub.pm

filter: Statementstmt 94.1% 16 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 86.3% 19 / 22 CC 1 SCAR 2.2
CC
1
Cov
94%
mvp_aliases
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
↑ Summary
1 #
2 # This file is part of Dist-Zilla-Stash-GitHub
3 #
4 # This software is Copyright (c) 2015 by Chris Weyl.
5 #
6 # This is free software, licensed under:
7 #
8 # The GNU Lesser General Public License, Version 2.1, February 1999
9 #
10 package Dist::Zilla::Stash::GitHub;
11 2 our $AUTHORITY = 'cpan:RSRCHBOY';
12 # git description: 2e7a1cf
13 2 $Dist::Zilla::Stash::GitHub::VERSION = '0.001';
14  
15 # ABSTRACT: The great new Dist::Zilla::Stash::GitHub!
16  
17 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 2 ▶use MooseX::AttributeShortcuts;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 0 ▶sub mvp_aliases { { user => 'username', id => 'username', token => 'password' } }
Subroutine mvp_aliases: not called CC=1 SCAR=6.9
Pod undocumented
22  
23  
24 2 has username => (is => 'rwp', isa => 'Str', required => 1);
25 2 has password => (is => 'rwp', isa => 'Str', required => 1);
26  
27 2 with 'Dist::Zilla::Role::Stash::Login';
28  
29 2 __PACKAGE__->meta->make_immutable;
30 2 !!42;
31  
32 __END__
↑ Summary