lib/Math/Fractal/Mandelbrot.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Mandelbrot.xs ↑ Summary
1 ###############################################################################
2 # calculate points/stripes in the mandelbrot fractal efficient
3  
4 package Math::Fractal::Mandelbrot;
5  
6 2 ▶use 5.005;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 # use warnings; # dont use warnings for older Perls
9  
10 2 require Exporter;
11 2 require DynaLoader;
12  
13 2 ▶use vars qw/@ISA $VERSION @EXPORT_OK/;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 2 @ISA = qw(Exporter DynaLoader);
15  
16 2 @EXPORT_OK = qw/
17 point hor_line ver_line
18 set_bounds set_limit set_max_iter set_epsilon
19 /;
20  
21 2 $VERSION = '0.04';
22  
23 2 bootstrap Math::Fractal::Mandelbrot $VERSION;
24  
25 # no Perl code, it's all in the XS code
26  
27 2 1;
28 __END__
« Mandelbrot.xs ↑ Summary