|
We list here the results obtained in the survey up to now. If you would
like this data in a convenient format, please let me know.
Totals
- Number of requests sent out: = $SENT ?>
- Number of registered projects: = $n_projects ?>
(=round($n_projects/$SENT * 100,1)?>% of sent)
- Number of projects which completed surveys: = $n_answers ?>
(=sprintf("%.1f", $n_answers/$n_projects * 100) ?>% of registered)
- Number of projects with invalid surveys: = $n_invalid ?>
(=sprintf("%.1f", $n_invalid/$n_projects * 100) ?>% of
registered)
- Number of responses that covered distributions or metaprojects:
= $n_metadist ?>
(=sprintf("%.1f", $n_metadist/$n_projects * 100) ?>% of registered)
- Total number of projects regarded in global counts:
= $n_validproj ?>
(=sprintf("%.1f", $n_validproj/$n_projects * 100) ?>% of registered)
- Number of completed surveys with valid tarballs: = $n_validtar ?>
(=sprintf("%.1f", $n_validtar/$n_projects * 100) ?>% of registered)
- Number of completed surveys with valid tarballs and LOC count: = $n_validloc ?>
(=sprintf("%.1f", $n_validloc/$n_projects * 100) ?>% of registered)
Project Counts by Site
(Yeah, add up sf.net and sourceforge.net)
arsort($site_counts);
foreach (array_keys($site_counts) as $k) {
$val = $site_counts[$k];
echo "- $k: $val, ";
}
?>
Project Counts by Internet Area
(=count($idom_counts)?> different domains in survey)
arsort($idom_counts);
foreach (array_keys($idom_counts) as $k) {
$val = $idom_counts[$k];
echo "$k: $val, ";
}
?>
Project Counts by Domain
$domaintotals = getDomainTotals();
foreach ($domaintotals as $dt) {
?>
- = $dt['domain'] ?>: = $dt['count'] ?>
} ?>
Average Scores
$scoretotals = (getScoreTotals(getSurveys()));
foreach (array_keys($scoretotals) as $k) {
?>
- = $k ?>: = $scoretotals[$k] ?>
} ?>
Summary of project sourcecode data
- Average size of project tarball: = round($avg_data[avg_size]/1000,3)
?> KBytes
- Average time since last public release: = $avg_data[avg_time] ?> days
- Average number of languages per project: =
round($avg_data[avg_langcount],3) ?> languages
- Average of total LOC per project: =
round($avg_data[avg_sloc]/1000,3) ?> KSLOC
Survey answers
$answerlist = getAnswerTotals($questions);
for ( $i = 0; $i < count($questions); $i++ ) {
$num = $questions[$i]["snum"].".".$questions[$i]["qnum"];
if ( $questions[$i]["func"] == "makeChecks" ) {
$multiple=TRUE;
} else {
$multiple=FALSE;
}
printQuestLine($num, $questions[$i]["title"], $multiple);
global $$questions[$i]["items"];
$opts = $$questions[$i]["items"];
if ( $multiple ) {
printCheckResults($i, $opts);
} else {
printRadioResults($opts, $answerlist[$i]);
}
?>
| |
}
?>
Note: for multiple-choice answers, the totals for the different
percentages may surpass 100%. This is by design, since a single project
can have more than one option selected.
|