| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Exercises::API::Exercise; |
|
2
|
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
11
|
use v5.38; |
|
|
1
|
|
|
|
|
18
|
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
16
|
|
|
5
|
1
|
|
|
1
|
|
2
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
47
|
|
|
6
|
1
|
|
|
1
|
|
3
|
use Moose; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
19
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
has 'name' => ( |
|
9
|
|
|
|
|
|
|
isa => 'Str', |
|
10
|
|
|
|
|
|
|
is => 'rw' |
|
11
|
|
|
|
|
|
|
); |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
has 'type' => ( |
|
14
|
|
|
|
|
|
|
isa => 'Str', |
|
15
|
|
|
|
|
|
|
is => 'rw' |
|
16
|
|
|
|
|
|
|
); |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
has 'muscle' => ( |
|
19
|
|
|
|
|
|
|
isa => 'Str', |
|
20
|
|
|
|
|
|
|
is => 'rw' |
|
21
|
|
|
|
|
|
|
); |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
has 'equipment' => ( |
|
24
|
|
|
|
|
|
|
isa => 'Str', |
|
25
|
|
|
|
|
|
|
is => 'rw' |
|
26
|
|
|
|
|
|
|
); |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
has 'difficulty' => ( |
|
29
|
|
|
|
|
|
|
isa => 'Str', |
|
30
|
|
|
|
|
|
|
is => 'rw' |
|
31
|
|
|
|
|
|
|
); |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
has 'instructions' => ( |
|
34
|
|
|
|
|
|
|
isa => 'Str', |
|
35
|
|
|
|
|
|
|
is => 'rw' |
|
36
|
|
|
|
|
|
|
); |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
1; |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
__END__ |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=pod |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=encoding UTF-8 |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 NAME |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Exercises::API::Exercise |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 VERSION |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
version 0.001 |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
[ |
|
57
|
|
|
|
|
|
|
{ |
|
58
|
|
|
|
|
|
|
"name": "Incline Hammer Curls", |
|
59
|
|
|
|
|
|
|
"type": "strength", |
|
60
|
|
|
|
|
|
|
"muscle": "biceps", |
|
61
|
|
|
|
|
|
|
"equipment": "dumbbell", |
|
62
|
|
|
|
|
|
|
"difficulty": "beginner", |
|
63
|
|
|
|
|
|
|
"instructions": "Seat yourself on an incline bench with a dumbbell in each hand. You should pressed firmly against he back with your feet together. Allow the dumbbells to hang straight down at your side, holding them with a neutral grip. This will be your starting position. Initiate the movement by flexing at the elbow, attempting to keep the upper arm stationary. Continue to the top of the movement and pause, then slowly return to the start position." |
|
64
|
|
|
|
|
|
|
}, |
|
65
|
|
|
|
|
|
|
{ |
|
66
|
|
|
|
|
|
|
"name": "Wide-grip barbell curl", |
|
67
|
|
|
|
|
|
|
"type": "strength", |
|
68
|
|
|
|
|
|
|
"muscle": "biceps", |
|
69
|
|
|
|
|
|
|
"equipment": "barbell", |
|
70
|
|
|
|
|
|
|
"difficulty": "beginner", |
|
71
|
|
|
|
|
|
|
"instructions": "Stand up with your torso upright while holding a barbell at the wide outer handle. The palm of your hands should be facing forward. The elbows should be close to the torso. This will be your starting position. While holding the upper arms stationary, curl the weights forward while contracting the biceps as you breathe out. Tip: Only the forearms should move. Continue the movement until your biceps are fully contracted and the bar is at shoulder level. Hold the contracted position for a second and squeeze the biceps hard. Slowly begin to bring the bar back to starting position as your breathe in. Repeat for the recommended amount of repetitions. Variations: You can also perform this movement using an E-Z bar or E-Z attachment hooked to a low pulley. This variation seems to really provide a good contraction at the top of the movement. You may also use the closer grip for variety purposes." |
|
72
|
|
|
|
|
|
|
}, |
|
73
|
|
|
|
|
|
|
... |
|
74
|
|
|
|
|
|
|
] |
|
75
|
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
This class is used to store each exercise into an object. |
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head1 Attributes |
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head2 name |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Name of exercise. |
|
85
|
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head2 type |
|
87
|
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
Exercise type. |
|
89
|
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 muscle |
|
91
|
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
Muscle group targeted by the exercise. |
|
93
|
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head2 equipment |
|
95
|
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
Equipment need to complete the exercise. |
|
97
|
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head2 difficulty |
|
99
|
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
Difficulty level of the exercise. |
|
101
|
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head2 instructions |
|
103
|
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
Instructions to explain how to complete the exercise. |
|
105
|
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head1 AUTHOR |
|
107
|
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
Nobunaga <nobunaga@cpan.org> |
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
111
|
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
This software is Copyright (c) 2024 by Rayhan Alcena. |
|
113
|
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
This is free software, licensed under: |
|
115
|
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
The MIT (X11) License |
|
117
|
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=cut |