blib/lib/Graphics/ColorNames/Windows.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.0% 19 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package Graphics::ColorNames::Windows;
2  
3 1 ▶use v5.6;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 # ABSTRACT: Windows color names and equivalent RGB values
6  
7 # RECOMMEND PREREQ: Graphics::ColorNames
8  
9  
10 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 1 our $VERSION = 'v3.3.1';
14  
15 1 ▶sub NamesRgbTable() {
Subroutine NamesRgbTable: called CC=1 SCAR=0.0
Pod undocumented
16 1 ▶ use integer;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 return {
18 1 'black' => 0x000000,
19 'blue' => 0x0000ff,
20 'cyan' => 0x00ffff,
21 'green' => 0x00ff00,
22 'magenta' => 0xff00ff,
23 'red' => 0xff0000,
24 'yellow' => 0xffff00,
25 'white' => 0xffffff,
26 'darkblue' => 0x000080,
27 'darkcyan' => 0x008080,
28 'darkgreen' => 0x008000,
29 'darkmagenta' => 0x800080,
30 'darkred' => 0x800000,
31 'darkyellow' => 0x808000,
32 'darkgray' => 0x808080,
33 'lightgray' => 0xc0c0c0,
34 };
35 }
36  
37 1 1;
38  
39 __END__
↑ Summary