lib/Myriad/Example/Startup.pm

filter: Statementstmt 33.3% 1 / 3 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 50.0% 2 / 4 CC 1 SCAR 2.6
CC
1
Cov
33%
BEGIN
1.3
CRAP 1.3
« lib/Myriad/Example/RPC.pm ↑ Summary lib/Myriad/Util/UUID.pm »
1 package Myriad::Example::Startup;
2 our $VERSION = '1.001'; # VERSION
3 # To try this out, run:
4 # myriad.pl service Myriad::Example::Startup
5 0 ▶use Myriad::Service ':v1';
Subroutine BEGIN: called CC=1 SCAR=2.6
6 async method startup (%args) {
7 $log->infof('This is our example service, running code in the startup method');
8 }
9 1;
« lib/Myriad/Example/RPC.pm ↑ Summary lib/Myriad/Util/UUID.pm »