MachineInfo.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Probe::MachineInfo;
2  
3 use warnings;
4 use strict;
5 use vars qw($VERSION);
6  
7 =head1 NAME
8  
9 Probe::MachineInfo - The great new Probe::MachineInfo!
10  
11 =cut
12  
13 $VERSION = '0.11';
14  
15  
16 1;
17 =head1 SYNOPSIS
18  
19 Probe::MachineInfo aims to be a set of collector/probe classes which allow the
20 extraction of information about the configuration of a machine. For example the
21 number of CPUs it has and how much memory it has.
22  
23 This release is really just a taster release of what's to come. The
24 architecture may change quite a lot. At the moment there is a bit of a Unix
25 bias because that's the type of operating system that I do almost all of my
26 real work on. However I also hope to add support for Windows hosts at some
27 earlyish stage.
28  
29  
30 Quick summary of what the module does.
31  
32 Perhaps a little code snippet.
33  
34 use Probe::MachineInfo;
35  
36 my $foo = Probe::MachineInfo->new();
37 ...
38  
39 =head1 SUPPORTED PLATFORMS
40  
41 I'll support any platform that I have experience of, or which someone will tell me is compatible with the existing code (e.g. another unix variant) or which someone will give me a patch for and help me test.
42  
43 =over 4
44  
45 =item *
46  
47 Linux
48  
49 =item *
50  
51 Solaris
52  
53 =item *
54  
55 Microsoft Windows
56  
57 =back
58  
59 =head1 INSTALLATION
60  
61 This module uses Module::Build for its installation. To install this module type
62 the following:
63  
64 perl Build.PL
65 ./Build
66 ./Build test
67 ./Build install
68  
69  
70 If you do not have Module::Build type:
71  
72 perl Makefile.PL
73  
74 to fetch it. Or use CPAN or CPANPLUS and fetch it "manually".
75  
76 =head1 DEPENDENCIES
77  
78 See the Build.PL for a list of dependencies
79  
80 =head1 TODO
81  
82 =head2 General
83  
84 =over 4
85  
86 =item *
87  
88 Windows support
89  
90 =back
91  
92 =head2 Metric Probe Additions
93  
94 =over 4
95  
96 =item *
97  
98 NIS related information
99  
100 =item *
101  
102 Memory
103  
104 =item *
105  
106 Packages/Rpms installed
107  
108 =item *
109  
110 Disk & Partition Setup
111  
112 =item *
113  
114 Filesystem setup ([v]ftsab)
115  
116 =item *
117  
118 Network Link Speed
119  
120 =item *
121  
122 Keepalive on Solaris
123  
124 =item *
125  
126 Ipaddress on Windows
127  
128 =item *
129  
130 LVM / RAID / Metadevice
131  
132 =back
133  
134 =head1 BUGS
135  
136 Please report any bugs or feature requests to
137 C<bug-config-machineinfo@rt.cpan.org>, or through the web interface at
138 L<http://rt.cpan.org>. I will be notified, and then you'll automatically
139 be notified of progress on your bug as I make changes.
140  
141 =head1 SOURCE AVAILABILITY
142  
143 This source is part of a SourceForge project which always has the
144 latest sources in svn.
145  
146 http://sourceforge.net/projects/sagar-r-shah/
147  
148 =head1 AUTHOR
149  
150 Sagar R. Shah
151  
152 =head1 COPYRIGHT & LICENSE
153  
154 Copyright 2005-2007, Sagar R. Shah, All Rights Reserved.
155  
156 This program is free software; you can redistribute it and/or modify it
157 under the same terms as Perl itself.
158  
159 =cut