Subroutine Coverage

blib/lib/Net/BitTorrent/Torrent.pm
Criterion Covered Total %
subroutine 80 88 90.9
pod 37 37 100.0


line count pod subroutine
4 11 n/a BEGIN
5 11 n/a BEGIN
6 11 n/a BEGIN
7 11 n/a BEGIN
8 11 n/a BEGIN
9 11 n/a BEGIN
10 11 n/a BEGIN
11 11 n/a BEGIN
12 11 n/a BEGIN
13 11 n/a BEGIN
14 11 n/a BEGIN
21 11 n/a BEGIN
22 11 n/a BEGIN
23 11 n/a BEGIN
24 11 n/a BEGIN
25 11 n/a BEGIN
26 11 n/a BEGIN
36 454 Yes STARTED
37 1246 Yes CHECKING
38 61 Yes START_AFTER_CHECK
39 127 Yes CHECKED
40 147 Yes ERROR
41 99 Yes PAUSED
42 152 Yes LOADED
43 1541 Yes QUEUED
46 87 Yes new
323 18 n/a __ANON__
329 19 n/a __ANON__
340 712 Yes infohash
341 112 Yes trackers
342 167 Yes bitfield
343 15 Yes path
344 5 Yes resume_path
345 28 Yes files
346 5 Yes size
347 8333 Yes status
348 30 Yes downloaded
349 30 Yes uploaded
350 0 Yes error
351 5 Yes comment
352 5 Yes created_by
355 5 Yes creation_date
357 5 Yes name
360 210 Yes private
364 25 Yes raw_data
371 234 Yes is_complete
377 1029 Yes piece_count
387 503 Yes peers
402 0 n/a _add_node
407 15 n/a _set_bitfield
416 5 n/a _set_status
424 15 n/a _set_error
432 0 n/a _set_block_length
438 609 n/a _client
439 15 n/a _block_length
440 0 n/a _nodes
441 0 n/a _working_pieces
442 0 n/a _basedir
445 379 n/a _wanted
465 18 n/a _weights
485 23 Yes hashcheck
507 10 Yes pause
520 56 Yes start
536 7 Yes stop
552 41 Yes queue
574 20 n/a _add_uploaded
582 18 n/a _add_downloaded
589 213 n/a _new_peer
593 142 n/a __ANON__
662 12 n/a _add_tracker
672 41 n/a _piece_by_index
687 22 n/a _pick_piece
867 3 n/a _write_data
912 292 n/a _read_data
958 287 n/a _check_piece_by_index
1000 18 n/a _dht_announce
1003 0 n/a __ANON__
1016 12 n/a __ANON__
1026 20 n/a _dht_scrape
1029 1 n/a __ANON__
1043 29 Yes on_event
1051 476 n/a _event
1065 505 n/a ___check_event
1079 10 Yes save_resume_data
1140 25 Yes as_string
1229 10 n/a _status_as_string
1249 0 n/a CLONE
1263 61 n/a DESTROY