| 1 | package Protocol::DBus::Path; | ||||||||||||
| 2 | |||||||||||||
| 3 | 4 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | 4 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 5 | |||||||||||||
| 6 | 4 | ▶ | use Protocol::DBus::Address (); | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 7 | |||||||||||||
| 8 | 4 | ▶ | use constant _DEFAULT_SYSTEM_MESSAGE_BUS => 'unix:path=/var/run/dbus/system_bus_socket'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 9 | |||||||||||||
| 10 | # NB: If this returns “autolaunch:”, then the system should use | ||||||||||||
| 11 | # platform-specific methods of locating a running D-Bus session server, | ||||||||||||
| 12 | # or starting one if a running instance cannot be found. | ||||||||||||
| 13 | sub login_session_message_bus { | ||||||||||||
| 14 | 0 | ▶ | return Protocol::DBus::Address::parse($ENV{'DBUS_SESSION_BUS_ADDRESS'}); | ||||||||||
|
Subroutine
login_session_message_bus: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||
| 15 | } | ||||||||||||
| 16 | |||||||||||||
| 17 | sub system_message_bus { | ||||||||||||
| 18 | 0 | ▶ | return Protocol::DBus::Address::parse( $ENV{'DBUS_SYSTEM_BUS_ADDRESS'} || _DEFAULT_SYSTEM_MESSAGE_BUS() ); | ||||||||||
|
Subroutine
system_message_bus: not called CC=2 SCAR=17.9
Pod
undocumented
Condition0%0/2
$ENV{'DBUS_SYSTEM_BUS_ADDRESS'} || 'unix:path=/var/run/dbus/system_bus_socket'
MC/DC0%0/1
$ENV{'DBUS_SYSTEM_BUS_ADDRESS'} || 'unix:path=/var/run/dbus/system_bus_socket'
$ENV{'DBUS_SYSTEM_BUS_ADDRESS'}
Truth table0%0/2
A
A= $ENV{'DBUS_SYSTEM_BUS_ADDRESS'}
| |||||||||||||
| 19 | } | ||||||||||||
| 20 | |||||||||||||
| 21 | 4 | 1; | |||||||||||