Filename | /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/remover.pm |
Statements | Executed 416109 statements in 1.97s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
135880 | 3 | 2 | 1.21s | 1.70s | remove_leading_and_ending_quotationmarks | installer::remover::
277392 | 5 | 1 | 505ms | 505ms | CORE:subst (opcode) | installer::remover::
2798 | 11 | 7 | 35.5ms | 53.8ms | remove_leading_and_ending_whitespaces | installer::remover::
36 | 4 | 3 | 554µs | 1.04ms | remove_ending_pathseparator | installer::remover::
1 | 1 | 1 | 318µs | 321µs | BEGIN@30 | installer::remover::
36 | 1 | 1 | 113µs | 113µs | CORE:regcomp (opcode) | installer::remover::
0 | 0 | 0 | 0s | 0s | remove_leading_and_ending_slashes | installer::remover::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | #************************************************************************* | ||||
2 | # | ||||
3 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | ||||
4 | # | ||||
5 | # Copyright 2000, 2010 Oracle and/or its affiliates. | ||||
6 | # | ||||
7 | # OpenOffice.org - a multi-platform office productivity suite | ||||
8 | # | ||||
9 | # This file is part of OpenOffice.org. | ||||
10 | # | ||||
11 | # OpenOffice.org is free software: you can redistribute it and/or modify | ||||
12 | # it under the terms of the GNU Lesser General Public License version 3 | ||||
13 | # only, as published by the Free Software Foundation. | ||||
14 | # | ||||
15 | # OpenOffice.org is distributed in the hope that it will be useful, | ||||
16 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
18 | # GNU Lesser General Public License version 3 for more details | ||||
19 | # (a copy is included in the LICENSE file that accompanied this code). | ||||
20 | # | ||||
21 | # You should have received a copy of the GNU Lesser General Public License | ||||
22 | # version 3 along with OpenOffice.org. If not, see | ||||
23 | # <http://www.openoffice.org/license.html> | ||||
24 | # for a copy of the LGPLv3 License. | ||||
25 | # | ||||
26 | #************************************************************************* | ||||
27 | |||||
28 | package installer::remover; | ||||
29 | |||||
30 | 2 | 431µs | 2 | 324µs | # spent 321µs (318+3) within installer::remover::BEGIN@30 which was called:
# once (318µs+3µs) by installer::systemactions::BEGIN@36 at line 30 # spent 321µs making 1 call to installer::remover::BEGIN@30
# spent 3µs making 1 call to UNIVERSAL::import |
31 | |||||
32 | ############################################ | ||||
33 | # Remover | ||||
34 | ############################################ | ||||
35 | |||||
36 | sub remove_leading_and_ending_whitespaces | ||||
37 | # spent 53.8ms (35.5+18.3) within installer::remover::remove_leading_and_ending_whitespaces which was called 2798 times, avg 19µs/call:
# 1283 times (21.2ms+13.0ms) by installer::packagelist::analyze_list at line 78 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/packagelist.pm, avg 27µs/call
# 842 times (8.52ms+3.35ms) by installer::scriptitems::get_sourcepath_from_filename_and_includepath_classic at line 944 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/scriptitems.pm, avg 14µs/call
# 250 times (2.06ms+660µs) by installer::setupscript::get_all_items_from_script at line 365 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/setupscript.pm, avg 11µs/call
# 140 times (1.22ms+430µs) by installer::profiles::sorting_profile at line 70 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/profiles.pm, avg 12µs/call
# 108 times (899µs+242µs) by installer::languages::get_all_languages_for_one_product at line 129 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/languages.pm, avg 11µs/call
# 72 times (638µs+225µs) by installer::ziplist::remove_multiples_from_ziplist at line 421 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/ziplist.pm, avg 12µs/call
# 67 times (570µs+243µs) by installer::ziplist::get_variables_from_ziplist at line 348 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/ziplist.pm, avg 12µs/call
# 14 times (182µs+112µs) by installer::worker::collect_all_files_from_includepaths at line 1027 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/worker.pm, avg 21µs/call
# 14 times (128µs+41µs) by installer::ziplist::list_all_files_from_include_path at line 618 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/ziplist.pm, avg 12µs/call
# 7 times (60µs+28µs) by installer::ziplist::get_settings_from_ziplist at line 266 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/ziplist.pm, avg 13µs/call
# once (8µs+1µs) by installer::languages::get_all_languages_for_one_product at line 133 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/languages.pm | ||||
38 | 2798 | 2.94ms | my ( $stringref ) = @_; | ||
39 | |||||
40 | 2798 | 25.9ms | 2798 | 12.9ms | $$stringref =~ s/^\s+//; # spent 12.9ms making 2798 calls to installer::remover::CORE:subst, avg 5µs/call |
41 | 2798 | 26.3ms | 2798 | 5.43ms | $$stringref =~ s/\s+$//; # spent 5.43ms making 2798 calls to installer::remover::CORE:subst, avg 2µs/call |
42 | } | ||||
43 | |||||
44 | sub remove_leading_and_ending_quotationmarks | ||||
45 | # spent 1.70s (1.21+487ms) within installer::remover::remove_leading_and_ending_quotationmarks which was called 135880 times, avg 13µs/call:
# 116696 times (1.02s+396ms) by installer::setupscript::get_all_items_from_script at line 344 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/setupscript.pm, avg 12µs/call
# 14933 times (133ms+62.9ms) by installer::windows::idtglobal::fill_assignment_hash at line 1467 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/windows/idtglobal.pm, avg 13µs/call
# 4251 times (58.4ms+27.8ms) by installer::windows::idtglobal::create_customaction_assignment_hash at line 1490 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/windows/idtglobal.pm, avg 20µs/call | ||||
46 | 135880 | 107ms | my ( $stringref ) = @_; | ||
47 | |||||
48 | 135880 | 675ms | 135880 | 229ms | $$stringref =~ s/^\s*\"//; # spent 229ms making 135880 calls to installer::remover::CORE:subst, avg 2µs/call |
49 | 135880 | 1.13s | 135880 | 258ms | $$stringref =~ s/\"\s*$//; # spent 258ms making 135880 calls to installer::remover::CORE:subst, avg 2µs/call |
50 | } | ||||
51 | |||||
52 | sub remove_leading_and_ending_slashes | ||||
53 | { | ||||
54 | my ( $stringref ) = @_; | ||||
55 | |||||
56 | $$stringref =~ s/^\s*\///g; | ||||
57 | $$stringref =~ s/\/\s*$//g; | ||||
58 | } | ||||
59 | |||||
60 | sub remove_ending_pathseparator | ||||
61 | # spent 1.04ms (554µs+487µs) within installer::remover::remove_ending_pathseparator which was called 36 times, avg 29µs/call:
# 20 times (386µs+390µs) by installer::systemactions::create_directories at line 281 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/systemactions.pm, avg 39µs/call
# 14 times (116µs+51µs) by installer::ziplist::remove_ending_separator at line 532 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/ziplist.pm, avg 12µs/call
# once (33µs+38µs) by installer::parameter::control_required_parameter at line 454 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/parameter.pm
# once (20µs+8µs) by installer::parameter::control_required_parameter at line 463 of /cygdrive/c/lo/libo-master/instsetoo_native/util/C:/lo/libo-master/solenv/bin/modules/installer/parameter.pm | ||||
62 | 36 | 55µs | my ( $stringref ) = @_; | ||
63 | |||||
64 | 36 | 956µs | 72 | 487µs | $$stringref =~ s/\Q$installer::globals::separator\E\s*$//; # spent 373µs making 36 calls to installer::remover::CORE:subst, avg 10µs/call
# spent 113µs making 36 calls to installer::remover::CORE:regcomp, avg 3µs/call |
65 | } | ||||
66 | |||||
67 | 1 | 7µs | 1; | ||
# spent 113µs within installer::remover::CORE:regcomp which was called 36 times, avg 3µs/call:
# 36 times (113µs+0s) by installer::remover::remove_ending_pathseparator at line 64, avg 3µs/call | |||||
# spent 505ms within installer::remover::CORE:subst which was called 277392 times, avg 2µs/call:
# 135880 times (258ms+0s) by installer::remover::remove_leading_and_ending_quotationmarks at line 49, avg 2µs/call
# 135880 times (229ms+0s) by installer::remover::remove_leading_and_ending_quotationmarks at line 48, avg 2µs/call
# 2798 times (12.9ms+0s) by installer::remover::remove_leading_and_ending_whitespaces at line 40, avg 5µs/call
# 2798 times (5.43ms+0s) by installer::remover::remove_leading_and_ending_whitespaces at line 41, avg 2µs/call
# 36 times (373µs+0s) by installer::remover::remove_ending_pathseparator at line 64, avg 10µs/call |