Umfragen
|
Go to the source code of this file.
Functions | |
RandString ($length=10) | |
RandString2 ($length=10) | |
RandWords ($wordcount=5) | |
RandTime ($max=2000000000) | |
RandRadioButtonList ($pollID) | |
RandRadioButton (&$widget) | |
RandText () | |
RandMatrix ($pollID) | |
RandMatrixQuestion (&$widget) | |
RandMatrixOption (&$widget) | |
RandSeparator ($pollID) |
Variables | |
$widgets_per_poll = 10 | |
$polls_per_user = 15 | |
$begin_time = time() | |
$lipsum | |
$lipsum_array = explode("\n",$lipsum) | |
$tmp = array() | |
$lipsum_words = explode(" ",$tmp) | |
$db = new db( DB_USER, DB_PASS, DB_DATABASE, DB_HOST ) | |
$au = make_auth_object() | |
$groups = $au->get_all_groups() | |
$all_groups = array() | |
foreach($groups as $gr) | $users = $au->get_all_users_from_grouplist($all_groups) |
$c = 1 | |
$pollcount = 0 | |
foreach($users as $user) | $used = time()-$begin_time |
RandMatrix | ( | $pollID | ) |
Definition at line 116 of file stresstest.php.
RandMatrixOption | ( | & | $widget | ) |
Definition at line 131 of file stresstest.php.
RandMatrixQuestion | ( | & | $widget | ) |
Definition at line 123 of file stresstest.php.
RandRadioButton | ( | & | $widget | ) |
Definition at line 100 of file stresstest.php.
RandRadioButtonList | ( | $pollID | ) |
Definition at line 93 of file stresstest.php.
RandSeparator | ( | $pollID | ) |
Definition at line 140 of file stresstest.php.
RandString | ( | $length = 10 | ) |
Definition at line 58 of file stresstest.php.
RandString2 | ( | $length = 10 | ) |
Definition at line 67 of file stresstest.php.
RandText | ( | ) |
Definition at line 110 of file stresstest.php.
RandTime | ( | $max = 2000000000 | ) |
Definition at line 85 of file stresstest.php.
RandWords | ( | $wordcount = 5 | ) |
Definition at line 76 of file stresstest.php.
$all_groups = array() |
Definition at line 172 of file stresstest.php.
$au = make_auth_object() |
Definition at line 169 of file stresstest.php.
$begin_time = time() |
Definition at line 36 of file stresstest.php.
$c = 1 |
Definition at line 178 of file stresstest.php.
Definition at line 168 of file stresstest.php.
$groups = $au->get_all_groups() |
Definition at line 171 of file stresstest.php.
$lipsum |
Definition at line 37 of file stresstest.php.
foreach ($lipsum_array as $par) $lipsum_array = explode("\n",$lipsum) |
Definition at line 45 of file stresstest.php.
$lipsum_words = explode(" ",$tmp) |
Definition at line 56 of file stresstest.php.
$pollcount = 0 |
Definition at line 179 of file stresstest.php.
$polls_per_user = 15 |
Definition at line 26 of file stresstest.php.
$tmp = array() |
Definition at line 46 of file stresstest.php.
Definition at line 272 of file stresstest.php.
foreach ($groups as $gr) $users = $au->get_all_users_from_grouplist($all_groups) |
Definition at line 177 of file stresstest.php.
$widgets_per_poll = 10 |
Definition at line 25 of file stresstest.php.