Subroutine Coverage
blib/lib/Physics/Unit.pm |
|
Criterion |
Covered |
Total |
% |
subroutine |
41 |
46 |
89.1
|
pod |
29 |
42 |
69.0
|
line |
count |
pod |
subroutine |
3
|
2 |
n/a |
BEGIN |
4
|
2 |
n/a |
BEGIN |
5
|
2 |
n/a |
BEGIN |
12
|
2 |
n/a |
BEGIN |
470
|
3 |
Yes |
InitBaseUnit |
492
|
3 |
Yes |
InitPrefix |
510
|
6 |
Yes |
InitUnit |
525
|
3 |
Yes |
InitTypes |
536
|
1376 |
Yes |
GetUnit |
550
|
5 |
Yes |
ListUnits |
554
|
1 |
Yes |
ListTypes |
558
|
0 |
Yes |
NumBases |
562
|
30 |
Yes |
GetTypeUnit |
569
|
4 |
Yes |
DeleteNames |
599
|
20 |
Yes |
new |
616
|
49 |
Yes |
type |
649
|
90 |
Yes |
name |
655
|
19 |
Yes |
abbr |
666
|
22 |
Yes |
names |
671
|
4 |
Yes |
def |
676
|
11 |
Yes |
expanded |
696
|
11 |
Yes |
ToString |
701
|
9 |
Yes |
factor |
710
|
19 |
Yes |
convert |
718
|
470 |
Yes |
times |
738
|
141 |
Yes |
recip |
755
|
139 |
Yes |
divide |
761
|
88 |
Yes |
power |
778
|
0 |
Yes |
add |
791
|
0 |
Yes |
neg |
798
|
0 |
Yes |
subtract |
804
|
754 |
Yes |
copy |
818
|
6 |
Yes |
equal |
832
|
417 |
No |
NewOne |
843
|
537 |
No |
AddNames |
854
|
62 |
No |
NewType |
863
|
483 |
No |
CreateUnit |
875
|
692 |
No |
CompareDim |
889
|
1709 |
No |
LookName |
897
|
0 |
No |
DebugString |
904
|
702 |
No |
CheckChange |
919
|
484 |
No |
expr |
947
|
623 |
No |
term |
971
|
887 |
No |
Factor |
995
|
959 |
No |
prim |
1065
|
1737 |
No |
get_token |