Filename | /mnt/catalyst/koha/kohaversion.pl |
Statements | Executed 5 statements in 185µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 10µs | 24µs | BEGIN@16 | C4::Context::
1 | 1 | 1 | 3µs | 3µs | kohaversion | C4::Context::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | # the next koha public release version number; | ||||
2 | |||||
3 | =head1 FUNCTIONS | ||||
4 | |||||
5 | =head2 kohaversion | ||||
6 | |||||
7 | the kohaversion is divided in 4 parts : | ||||
8 | - #1 : the major number. 3 atm | ||||
9 | - #2 : the functional release. 00 atm | ||||
10 | - #3 : the subnumber, moves only on a public release | ||||
11 | - #4 : the developer version. The 4th number is the database subversion. | ||||
12 | used by developers when the database changes. updatedatabase take care of the changes itself | ||||
13 | and is automatically called by Auth.pm when needed. | ||||
14 | =cut | ||||
15 | |||||
16 | 2 | 177µs | 2 | 38µs | # spent 24µs (10+14) within C4::Context::BEGIN@16 which was called:
# once (10µs+14µs) by C4::Context::KOHAVERSION at line 16 # spent 24µs making 1 call to C4::Context::BEGIN@16
# spent 14µs making 1 call to strict::import |
17 | |||||
18 | # spent 3µs within C4::Context::kohaversion which was called:
# once (3µs+0s) by C4::Context::KOHAVERSION at line 222 of C4/Context.pm | ||||
19 | 1 | 800ns | our $VERSION = '3.14.11.000'; | ||
20 | # version needs to be set this way | ||||
21 | # so that it can be picked up by Makefile.PL | ||||
22 | # during install | ||||
23 | 1 | 5µs | return $VERSION; | ||
24 | } | ||||
25 | |||||
26 | 1 | 2µs | 1; |