Skip to content

Instantly share code, notes, and snippets.

@bobtfish
Created March 21, 2013 12:43
Show Gist options
  • Save bobtfish/5212742 to your computer and use it in GitHub Desktop.
Save bobtfish/5212742 to your computer and use it in GitHub Desktop.
spaceinvaders TestApp $ perl -MDevel::Cover ./script/testapp_server.pl
Devel::Cover 1.00: Collecting coverage data for branch, condition, pod, statement, subroutine and time.
Selecting packages matching:
Ignoring packages matching:
/Devel/Cover[./]
^t/
\.t$
^test\.pl$
Ignoring packages in:
/Users/t0m/perl5/perlbrew/perls/perl-5.17.6/lib/site_perl/5.17.6/darwin-2level
/Users/t0m/perl5/perlbrew/perls/perl-5.17.6/lib/site_perl/5.17.6
/Users/t0m/perl5/perlbrew/perls/perl-5.17.6/lib/5.17.6/darwin-2level
/Users/t0m/perl5/perlbrew/perls/perl-5.17.6/lib/5.17.6
Devel::Cover: Warning: can't open reader Moose::Meta::Class::__ANON__::SERIAL::1::getopt_conf (unknown origin) for MD5 digest: No such file or directory
Devel::Cover: Can't find file "reader Moose::Meta::Class::__ANON__::SERIAL::1::getopt_conf (unknown origin)" (reader Moose::Meta::Class::__ANON__::SERIAL::1::getopt_conf (unknown origin)): ignored.
[debug] Debug messages enabled
[debug] Statistics enabled
[debug] Loaded plugins:
.----------------------------------------------------------------------------.
| Catalyst::Plugin::ConfigLoader 0.30 |
'----------------------------------------------------------------------------'
[debug] Loaded dispatcher "Catalyst::Dispatcher"
[debug] Loaded engine "Catalyst::Engine"
[debug] Found home "/Users/t0m/TestApp"
[debug] Loaded Config "/Users/t0m/TestApp/testapp.conf"
[debug] Loaded components:
.-----------------------------------------------------------------+----------.
| Class | Type |
+-----------------------------------------------------------------+----------+
| TestApp::Controller::Root | instance |
'-----------------------------------------------------------------+----------'
[debug] Loaded Private actions:
.----------------------+--------------------------------------+--------------.
| Private | Class | Method |
+----------------------+--------------------------------------+--------------+
| /end | TestApp::Controller::Root | end |
| /stop | TestApp::Controller::Root | stop |
| /index | TestApp::Controller::Root | index |
| /default | TestApp::Controller::Root | default |
'----------------------+--------------------------------------+--------------'
[debug] Loaded Path actions:
.-------------------------------------+--------------------------------------.
| Path | Private |
+-------------------------------------+--------------------------------------+
| / | /index |
| /... | /default |
| /stop/ | /stop |
'-------------------------------------+--------------------------------------'
[info] TestApp powered by Catalyst 5.90019
HTTP::Server::PSGI: Accepting connections at http://0:3000/
[info] *** Request 1 (0.500/s) [21481] [Thu Mar 21 12:42:30 2013] ***
[debug] Path is "/"
[debug] "GET" request for "/" from "127.0.0.1"
[debug] Response Code: 200; Content-Type: text/html; charset=utf-8; Content-Length: 5480
[info] Request took 0.033251s (30.074/s)
.------------------------------------------------------------+-----------.
| Action | Time |
+------------------------------------------------------------+-----------+
| /index | 0.001598s |
| /end | 0.003259s |
'------------------------------------------------------------+-----------'
Devel::Cover: Deleting old coverage for changed file lib/TestApp/Controller/Root.pm
Devel::Cover: Writing coverage database to /Users/t0m/TestApp/cover_db/runs/1363869754.21481.43293
Use of uninitialized value $digest in pattern match (m//) at /Users/t0m/perl5/perlbrew/perls/perl-5.17.6/lib/site_perl/5.17.6/darwin-2level/Devel/Cover/DB/Structure.pm line 283.
Use of uninitialized value $digest in pattern match (m//) at /Users/t0m/perl5/perlbrew/perls/perl-5.17.6/lib/site_perl/5.17.6/darwin-2level/Devel/Cover/DB/Structure.pm line 283.
---------------------------- ------ ------ ------ ------ ------ ------ ------
File stmt bran cond sub pod time total
---------------------------- ------ ------ ------ ------ ------ ------ ------
lib/TestApp.pm 100.0 n/a n/a 100.0 n/a 32.1 100.0
...estApp/Controller/Root.pm 88.5 n/a n/a 90.9 75.0 57.1 87.8
script/testapp_server.pl 83.3 n/a n/a 100.0 n/a 10.1 87.5
testapp.psgi 100.0 n/a n/a 100.0 n/a 0.7 100.0
Total 92.5 n/a n/a 95.0 75.0 100.0 92.2
---------------------------- ------ ------ ------ ------ ------ ------ ------
spaceinvaders TestApp $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment