Debian Codegraph @

dist/Net-Ping/TODO

raw
1 TODO list for Net::Ping (in case anyone is looking for things to do)
2
3 - More IPv6 support
4 Some options like IP_TOS and IP_TTL are not available on IPv6
5
6 - POD rewriting
7 Some things, such as the return from $p->ping(), are cryptic. The location of the
8 source is off as well.
9
10 - Device
11 Setting the device uses SO_BINDTODEVICE. This is Linux-only and should not work anywhere
12 else. I think deprecating this is probably the right thing to do.
13
14 -TOS
15 The incoming TOS value can be just about anything from my testing. This valid values are
16 supposed to be (in decimal) 0, 1, 2, 4, and 8 assuming we aren't talking DS and ECN.
17 I don't know right now if this is a bug in Socket, Darwin (tesing on Mac OS X currently)
18 or if that's just the way it is. Time for some C level testing for this one.
19 P.S. TOS is IPv4 only.
20
21 - Tests
22 Nicholas Clark converted the tests to Test::More which is a good start. The tests need some
23 cleanup and modernizing. Below is the current test coverage when testing as root.
24
25 ----------------------------------- ------ ------ ------ ------ ------ ------
26 File stmt bran cond sub time total
27 ----------------------------------- ------ ------ ------ ------ ------ ------
28 blib/lib/Net/Ping.pm 62.6 42.8 33.0 76.9 100.0 52.6
29 Total 62.6 42.8 33.0 76.9 100.0 52.6
30 ----------------------------------- ------ ------ ------ ------ ------ ------
31
32 This needs to be quite a bit higher all around to make me comfortable with a refactor.
33
34