lib/App/OpenHAP.pm

filter: Statementstmt 100% 4 / 4 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 5 / 5 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Protocol/HAP/Store/Memory.pm ↑ Summary
1 # ex:ts=8 sw=4:
2 # $OpenBSD$
3 #
4 # Copyright (c) 2026 Dick Olsson <hi@senzilla.io>
5 #
6 # Permission to use, copy, modify, and distribute this software for any
7 # purpose with or without fee is hereby granted, provided that the above
8 # copyright notice and this permission notice appear in all copies.
9 #
10 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17  
18 1 ▶use v5.36;
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 package App::OpenHAP;
21 1 our $VERSION = '0.1.0';
22  
23 # App::OpenHAP - the lead module of the App-OpenHAP distribution.
24 #
25 # The module holds no code: the daemon lives in bin/openhapd over the
26 # App::OpenHAP:: modules and the Protocol::HAP:: engine. It exists
27 # because PAUSE grants a new distribution name only through a package
28 # that matches it, and indexes nothing without one. The sidecar
29 # App/OpenHAP.pod is the module index of the distribution.
30  
31 1 1;
« blib/lib/Protocol/HAP/Store/Memory.pm ↑ Summary