Subroutine Coverage
blib/lib/Physics/Unit.pm |
|
Criterion |
Covered |
Total |
% |
subroutine |
42 |
47 |
89.3
|
pod |
29 |
42 |
69.0
|
line |
count |
pod |
subroutine |
3
|
2 |
n/a |
BEGIN |
4
|
2 |
n/a |
BEGIN |
5
|
2 |
n/a |
BEGIN |
6
|
2 |
n/a |
BEGIN |
13
|
2 |
n/a |
BEGIN |
472
|
3 |
Yes |
InitBaseUnit |
494
|
3 |
Yes |
InitPrefix |
512
|
6 |
Yes |
InitUnit |
527
|
3 |
Yes |
InitTypes |
538
|
1382 |
Yes |
GetUnit |
552
|
5 |
Yes |
ListUnits |
556
|
1 |
Yes |
ListTypes |
560
|
0 |
Yes |
NumBases |
564
|
30 |
Yes |
GetTypeUnit |
571
|
4 |
Yes |
DeleteNames |
601
|
20 |
Yes |
new |
618
|
49 |
Yes |
type |
651
|
90 |
Yes |
name |
657
|
19 |
Yes |
abbr |
668
|
22 |
Yes |
names |
673
|
4 |
Yes |
def |
678
|
11 |
Yes |
expanded |
698
|
11 |
Yes |
ToString |
703
|
9 |
Yes |
factor |
712
|
19 |
Yes |
convert |
720
|
472 |
Yes |
times |
740
|
141 |
Yes |
recip |
757
|
139 |
Yes |
divide |
763
|
88 |
Yes |
power |
780
|
0 |
Yes |
add |
793
|
0 |
Yes |
neg |
800
|
0 |
Yes |
subtract |
806
|
758 |
Yes |
copy |
820
|
6 |
Yes |
equal |
834
|
417 |
No |
NewOne |
845
|
539 |
No |
AddNames |
856
|
62 |
No |
NewType |
865
|
485 |
No |
CreateUnit |
877
|
692 |
No |
CompareDim |
891
|
1715 |
No |
LookName |
899
|
0 |
No |
DebugString |
906
|
704 |
No |
CheckChange |
921
|
486 |
No |
expr |
949
|
625 |
No |
term |
973
|
889 |
No |
Factor |
997
|
963 |
No |
prim |
1067
|
1743 |
No |
get_token |