Changeset 9937 in spip-zone


Ignore:
Timestamp:
Feb 27, 2007, 4:30:28 PM (14 years ago)
Author:
fil@…
Message:

integration du treemap a la version php

Location:
_dev_/top10
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _dev_/top10/stats.html

    r9936 r9937  
    66<script type="text/javascript">
    77jQuery(function(){
    8         jQuery("table").treemap(640,480);
     8        jQuery("#clic").one('click', function() {
     9                jQuery(this).remove();
     10                jQuery("table").treemap(640,480);
     11        });
    912})
    1013</script>
    1114</head>
    1215<body>
    13 <h1>2536 sites</h1>
     16
     17<button id='clic' style='float:right;'>&gt;&gt; treemap</button>
     18
     19<h1>3978 sites</h1>
    1420<h2>Versions:</h2>
    1521<table>
    16 <tr><td>SPIP 1.9.1</td><td>216</td></tr>
    17 <tr><td>SPIP 1.8.3</td><td>131</td></tr>
    18 <tr><td>SPIP 1.8.2 g</td><td>86</td></tr>
    19 <tr><td>SPIP 1-8-1</td><td>73</td></tr>
    20 <tr><td>SPIP 1.8.2 e</td><td>47</td></tr>
    21 <tr><td>SPIP 1.9</td><td>46</td></tr>
    22 <tr><td>SPIP 1.8.2 d</td><td>44</td></tr>
    23 <tr><td>SPIP 1.9.2</td><td>29</td></tr>
    24 <tr><td>SPIP 1.8.2</td><td>12</td></tr>
    25 <tr><td>SPIP 1.8.2 f</td><td>8</td></tr>
    26 <tr><td>SPIP 1-8-2</td><td>6</td></tr>
    27 <tr><td>SPIP 1.9 beta 1</td><td>5</td></tr>
    28 <tr><td>SPIP 1.9.3 dev</td><td>4</td></tr>
     22<tr><td>SPIP 1.9.1</td><td>426</td></tr>
     23<tr><td>SPIP 1.8.3</td><td>244</td></tr>
     24<tr><td>SPIP 1-8-1</td><td>182</td></tr>
     25<tr><td>SPIP 1.8.2 g</td><td>176</td></tr>
     26
     27<tr><td>SPIP 1.8.2 d</td><td>129</td></tr>
     28<tr><td>SPIP 1.8.2 e</td><td>116</td></tr>
     29<tr><td>SPIP 1.9</td><td>90</td></tr>
     30<tr><td>SPIP 1.9.2</td><td>59</td></tr>
     31<tr><td>SPIP 1.8.2</td><td>26</td></tr>
     32<tr><td>SPIP 1-8-2</td><td>17</td></tr>
     33
     34<tr><td>SPIP 1.8.2 f</td><td>17</td></tr>
     35<tr><td>SPIP 1.9 beta 1</td><td>14</td></tr>
     36<tr><td>SPIP 1.9.3 dev</td><td>6</td></tr>
     37<tr><td>SPIP 1.8.2 c</td><td>5</td></tr>
     38<tr><td>SPIP 1-8-2pr2</td><td>5</td></tr>
     39<tr><td>SPIP 1.9.2 beta 3</td><td>5</td></tr>
     40
     41<tr><td>SPIP 1.9.2 alpha</td><td>5</td></tr>
    2942<tr><td>SPIP 1.9.2 alpha 2</td><td>4</td></tr>
    30 <tr><td>SPIP 1.9.2 alpha</td><td>3</td></tr>
    31 <tr><td>SPIP 1.9.2 beta 3</td><td>3</td></tr>
     43<tr><td>SPIP 1.9 beta 3</td><td>4</td></tr>
     44<tr><td>SPIP 1.8.1 CVS</td><td>4</td></tr>
     45<tr><td>SPIP 1.9 (patch 1)</td><td>3</td></tr>
     46<tr><td>SPIP 1.9 alpha</td><td>3</td></tr>
     47
     48<tr><td>SPIP 1.9.2 ++</td><td>3</td></tr>
    3249<tr><td>SPIP 1.9 alpha 3</td><td>3</td></tr>
    33 <tr><td>SPIP 1-8-2pr2</td><td>3</td></tr>
    34 <tr><td>SPIP 1.9 alpha</td><td>3</td></tr>
    35 <tr><td>SPIP 1.9.2 ++</td><td>3</td></tr>
    36 <tr><td>SPIP 1.8.1 CVS</td><td>3</td></tr>
    37 <tr><td>SPIP 1.8.2 c</td><td>2</td></tr>
    38 <tr><td>SPIP 1.9 beta 3</td><td>2</td></tr>
    39 <tr><td>SPIP 1.9 (patch 1)</td><td>1</td></tr>
    40 <tr><td>SPIP 1.8.1</td><td>1</td></tr>
     50<tr><td>SPIP 1.8.1</td><td>2</td></tr>
     51<tr><td>SPIP 1.9.2 PR 1</td><td>2</td></tr>
     52<tr><td>SPIP 1.9 alpha 2</td><td>1</td></tr>
     53<tr><td>SPIP 1-8-1 [mod02]XHTML</td><td>1</td></tr>
     54
     55<tr><td>SPIP 1.8.2 CVS beta 2</td><td>1</td></tr>
     56<tr><td>SPIP 1.8.2 CVS alpha</td><td>1</td></tr>
    4157<tr><td>SPIP 1-8-2pr3</td><td>1</td></tr>
    42 <tr><td>SPIP 1.9.2 PR 1</td><td>1</td></tr>
    4358<tr><td>SPIP 1.9.2 beta 4</td><td>1</td></tr>
    44 <tr><td>inconnue</td><td>1795</td></tr>
     59<tr><td>inconnue</td><td>2422</td></tr>
    4560</table>
    4661<h2>Plugins:</h2>
    47 <table>
    48 <tr><td>crayons(0.4.0)</td><td>9</td></tr>
    49 <tr><td>sitemap(0.1)</td><td>5</td></tr>
    50 <tr><td>rechercheetendue(0.1)</td><td>5</td></tr>
     62
     63<table>
     64<tr><td>crayons(0.4.0)</td><td>18</td></tr>
     65<tr><td>rechercheetendue(0.1)</td><td>9</td></tr>
     66<tr><td>sitemap(0.1)</td><td>9</td></tr>
     67<tr><td>article_pdf(0.1)</td><td>6</td></tr>
     68<tr><td>barretypoenrichie(1.42)</td><td>6</td></tr>
     69<tr><td>tidy(0.2)</td><td>6</td></tr>
     70
     71<tr><td>revisionnbsp(0.2)</td><td>5</td></tr>
     72<tr><td>gestiondocuments(0.1)</td><td>5</td></tr>
     73<tr><td>coloration_code(0.2)</td><td>5</td></tr>
     74<tr><td>player(0.6)</td><td>5</td></tr>
     75<tr><td>agenda(0.13)</td><td>4</td></tr>
     76<tr><td>spiplistes(1.92)</td><td>4</td></tr>
     77
     78<tr><td>imprimir_documento(0.1)</td><td>4</td></tr>
     79<tr><td>modlist(0.1)</td><td>4</td></tr>
     80<tr><td>corbeille(0.1)</td><td>4</td></tr>
    5181<tr><td>forms(0.11)</td><td>3</td></tr>
    52 <tr><td>barretypoenrichie(1.42)</td><td>3</td></tr>
     82<tr><td>thickbox1(0.3)</td><td>3</td></tr>
     83<tr><td>fragahah(0.1)</td><td>3</td></tr>
     84
     85<tr><td>sktheme(0.6)</td><td>3</td></tr>
     86<tr><td>bellespuces(0.1)</td><td>3</td></tr>
     87<tr><td>boutons_admin_supp(2.2)</td><td>3</td></tr>
    5388<tr><td>cryptm(0.6)</td><td>3</td></tr>
    54 <tr><td>coloration_code(0.2)</td><td>3</td></tr>
    55 <tr><td>revisionnbsp(0.2)</td><td>3</td></tr>
    56 <tr><td>sktheme(0.6)</td><td>3</td></tr>
    57 <tr><td>article_pdf(0.1)</td><td>3</td></tr>
    58 <tr><td>modlist(0.1)</td><td>3</td></tr>
    59 <tr><td>player(0.6)</td><td>2</td></tr>
    60 <tr><td>accesrestreint(0.2)</td><td>2</td></tr>
    61 <tr><td>imprimir_documento(0.1)</td><td>2</td></tr>
    62 <tr><td>spiplistes(1.92)</td><td>2</td></tr>
    63 <tr><td>tidy(0.2)</td><td>2</td></tr>
    64 <tr><td>bellespuces(0.1)</td><td>2</td></tr>
    65 <tr><td>corbeille(0.1)</td><td>2</td></tr>
     89<tr><td>accesrestreint(0.2)</td><td>3</td></tr>
     90<tr><td>wcalendar(0.11)</td><td>3</td></tr>
     91
     92<tr><td>target(0.1)</td><td>2</td></tr>
     93<tr><td>barretypoenrichie(1.0)</td><td>2</td></tr>
     94<tr><td>cfg(1.0.0)</td><td>2</td></tr>
     95<tr><td>tweak_spip(0.5)</td><td>2</td></tr>
     96<tr><td>balisesession(1.0)</td><td>2</td></tr>
     97<tr><td>spip_loader_update(0.1)</td><td>2</td></tr>
     98
     99<tr><td>vst(0.1)</td><td>2</td></tr>
     100<tr><td>wcalendar(0.1)</td><td>2</td></tr>
     101<tr><td>tweak_spip(0.7)</td><td>2</td></tr>
     102<tr><td>dewplayer(0.1)</td><td>2</td></tr>
     103<tr><td>saveauto(0.2)</td><td>2</td></tr>
     104<tr><td>onglets_texte(1.0)</td><td>2</td></tr>
     105
     106<tr><td>typo_guillemets(1.0)</td><td>2</td></tr>
    66107<tr><td>clevermail(0.91)</td><td>2</td></tr>
    67108<tr><td>nuage(1.2)</td><td>2</td></tr>
    68109<tr><td>snippets(0.1)</td><td>2</td></tr>
    69 <tr><td>onglets_texte(1.0)</td><td>2</td></tr>
    70 <tr><td>gestiondocuments(0.1)</td><td>2</td></tr>
    71 <tr><td>boutons_admin_supp(2.2)</td><td>2</td></tr>
    72 <tr><td>agenda(0.13)</td><td>1</td></tr>
     110<tr><td>menuder(0.1)</td><td>2</td></tr>
     111<tr><td>boutonstexte(0.3.0)</td><td>2</td></tr>
     112
     113<tr><td>switcher(0.1)</td><td>2</td></tr>
     114<tr><td>eva_(.1)</td><td>1</td></tr>
     115<tr><td>paginart3(0.1)</td><td>1</td></tr>
     116<tr><td>optionssupp(1.0)</td><td>1</td></tr>
     117<tr><td>forcer_choix_rubrique(1.1)</td><td>1</td></tr>
     118<tr><td>barretypoenrichie(1.22)</td><td>1</td></tr>
     119
     120<tr><td>agenda(0.12)</td><td>1</td></tr>
     121<tr><td>ancresintertitres(0.7)</td><td>1</td></tr>
     122<tr><td>tidy(0.1)</td><td>1</td></tr>
     123<tr><td>skeleditor(0.1)</td><td>1</td></tr>
     124<tr><td>typo(1.0)</td><td>1</td></tr>
     125<tr><td>lienscontenus(0.10)</td><td>1</td></tr>
     126
     127<tr><td>soyezcreateurs(1.9.2)</td><td>1</td></tr>
     128<tr><td>pb_visites(0.1)</td><td>1</td></tr>
     129<tr><td>convertisseur(0.1)</td><td>1</td></tr>
     130<tr><td>saveauto(0.3)</td><td>1</td></tr>
     131<tr><td>actijour(1.5)</td><td>1</td></tr>
     132<tr><td>typesdocuments(0.1)</td><td>1</td></tr>
     133
     134<tr><td>forms(0.3)</td><td>1</td></tr>
     135<tr><td>ecommerce(1.0)</td><td>1</td></tr>
     136<tr><td>console(0.1)</td><td>1</td></tr>
     137<tr><td>blip(2.2)</td><td>1</td></tr>
     138<tr><td>forcer_choix_rubrique(1.0)</td><td>1</td></tr>
     139<tr><td>smileys(0.1)</td><td>1</td></tr>
     140
     141<tr><td>tabledata(0.40)</td><td>1</td></tr>
     142<tr><td>_ajout_colonnes(1.0)</td><td>1</td></tr>
     143<tr><td>accesrestreint(0.11)</td><td>1</td></tr>
     144<tr><td>fadingrollover(0.1)</td><td>1</td></tr>
    73145<tr><td>spipicious(0.1)</td><td>1</td></tr>
     146<tr><td>forms(0.301)</td><td>1</td></tr>
     147
     148<tr><td>recommander(0.2)</td><td>1</td></tr>
     149<tr><td>ecard(0.1)</td><td>1</td></tr>
     150<tr><td>entravaux(1.0)</td><td>1</td></tr>
     151<tr><td>spip2spip(1.5)</td><td>1</td></tr>
     152<tr><td>malettre(0.1)</td><td>1</td></tr>
     153<tr><td>miroirsyndic(0.2)</td><td>1</td></tr>
     154
     155<tr><td>podcastclient(0.1)</td><td>1</td></tr>
     156<tr><td>squelettesmots(0.1 (1.9.2))</td><td>1</td></tr>
     157<tr><td>tabledata(0.3)</td><td>1</td></tr>
     158<tr><td>fckeditor2(1.0 (pour spip 1.9.1))</td><td>1</td></tr>
    74159<tr><td>qcm(0.1)</td><td>1</td></tr>
    75 <tr><td>saveauto(0.2)</td><td>1</td></tr>
    76 <tr><td>vst(0.1)</td><td>1</td></tr>
    77 <tr><td>forms(0.301)</td><td>1</td></tr>
    78 <tr><td>recommander(0.2)</td><td>1</td></tr>
     160<tr><td>boutons_admin_supp(1.2)</td><td>1</td></tr>
     161
     162<tr><td>phpmv(0.1)</td><td>1</td></tr>
     163<tr><td>enviar_email(0.1)</td><td>1</td></tr>
    79164<tr><td>spiplistes(1.9)</td><td>1</td></tr>
    80 <tr><td>tweak_spip(0.7)</td><td>1</td></tr>
     165<tr><td>portfolio(0.2)</td><td>1</td></tr>
     166<tr><td>blip(2.3)</td><td>1</td></tr>
    81167<tr><td>derebloc(0.2)</td><td>1</td></tr>
    82 <tr><td>spip2spip(1.5)</td><td>1</td></tr>
    83 <tr><td>barretypoenrichie(1.2)</td><td>1</td></tr>
    84 <tr><td>enviar_email(0.1)</td><td>1</td></tr>
    85 <tr><td>squelettesprofils(0.1)</td><td>1</td></tr>
     168
    86169<tr><td>jquery(1.0.3)</td><td>1</td></tr>
    87 <tr><td>wcalendar(0.11)</td><td>1</td></tr>
    88 <tr><td>phpmv(0.1)</td><td>1</td></tr>
    89 <tr><td>thickbox1(0.3)</td><td>1</td></tr>
    90 <tr><td>miroirsyndic(0.2)</td><td>1</td></tr>
    91170<tr><td>player(0.1)</td><td>1</td></tr>
    92171<tr><td>tweak_spip(0.1)</td><td>1</td></tr>
    93 <tr><td>boutons_admin_supp(1.2)</td><td>1</td></tr>
    94 <tr><td>ecard(0.1)</td><td>1</td></tr>
    95172<tr><td>flash_gordon(0.1)</td><td>1</td></tr>
    96 <tr><td>typo_guillemets(1.0)</td><td>1</td></tr>
    97 <tr><td>lienscontenus(0.10)</td><td>1</td></tr>
    98 <tr><td>smileys(0.1)</td><td>1</td></tr>
    99 <tr><td>boutonstexte(0.3.0)</td><td>1</td></tr>
    100 <tr><td>switcher(0.1)</td><td>1</td></tr>
    101 <tr><td>entravaux(1.0)</td><td>1</td></tr>
    102 <tr><td>fadingrollover(0.1)</td><td>1</td></tr>
    103 <tr><td>squelettesmots(0.1 (1.9.2))</td><td>1</td></tr>
    104 <tr><td>tabledata(0.3)</td><td>1</td></tr>
    105 <tr><td>target(0.1)</td><td>1</td></tr>
    106 <tr><td>tweak_spip(0.5)</td><td>1</td></tr>
    107 <tr><td>portfolio(0.2)</td><td>1</td></tr>
    108 <tr><td>podcastclient(0.1)</td><td>1</td></tr>
    109 <tr><td>fckeditor2(1.0 (pour spip 1.9.1))</td><td>1</td></tr>
    110 <tr><td>menuder(0.1)</td><td>1</td></tr>
    111 <tr><td>fragahah(0.1)</td><td>1</td></tr>
    112 <tr><td>malettre(0.1)</td><td>1</td></tr>
    113 </table>
     173<tr><td>squelettesprofils(0.1)</td><td>1</td></tr>
     174<tr><td>barretypoenrichie(1.2)</td><td>1</td></tr>
     175
     176<tr><td>dw2(2.12)</td><td>1</td></tr>
     177</table>
     178<h2>Nombre de plugins installes:</h2>
     179<table>
     180<tr><td>1 plugins</td><td>12</td></tr>
     181<tr><td>2 plugins</td><td>9</td></tr>
     182<tr><td>5 plugins</td><td>6</td></tr>
     183<tr><td>4 plugins</td><td>5</td></tr>
     184
     185<tr><td>3 plugins</td><td>5</td></tr>
     186<tr><td>6 plugins</td><td>3</td></tr>
     187<tr><td>7 plugins</td><td>3</td></tr>
     188<tr><td>11 plugins</td><td>2</td></tr>
     189<tr><td>13 plugins</td><td>1</td></tr>
     190<tr><td>24 plugins</td><td>1</td></tr>
     191
     192<tr><td>8 plugins</td><td>1</td></tr>
     193<tr><td>12 plugins</td><td>1</td></tr>
     194</table>
     195<p>Nombre total de sites ayant active un ou plusieurs plugins: 49</p>
    114196<h2>Erreurs:</h2>
    115197<table>
    116 <tr><td>aucune mention de spip.net</td><td>1419</td></tr>
    117 <tr><td>aucune mention de SPIP</td><td>926</td></tr>
    118 <tr><td>location</td><td>352</td></tr>
    119 <tr><td>erreur 404</td><td>96</td></tr>
     198<tr><td>aucune mention de spip.net</td><td>1905</td></tr>
     199<tr><td>aucune mention de SPIP</td><td>1246</td></tr>
     200
     201<tr><td>location</td><td>513</td></tr>
     202<tr><td>injoignable</td><td>298</td></tr>
     203<tr><td>erreur 404</td><td>121</td></tr>
    120204</table>
    121205</body>
  • _dev_/top10/stats.php

    r9935 r9937  
     1<html>
     2<head>
     3<title>Statistiques versions SPIP et plugins </title>
     4<script src="jquery.js" type="text/javascript"></script>
     5<script src="treemap.js" type="text/javascript"></script>
     6<script type="text/javascript">
     7jQuery(function(){
     8        jQuery("#clic").one('click', function() {
     9                jQuery(this).remove();
     10                jQuery("table").treemap(640,480);
     11        });
     12})
     13</script>
     14</head>
     15<body>
     16
     17<button id='clic' style='float:right;'>&gt;&gt; treemap</button>
     18
    119<?php
    220
     
    1533        $plugins = array();
    1634        $erreurs = array();
     35        $nbplugs = array();
    1736
    1837        foreach ($sites as $site) {
     
    2039                        $versions[$r[1]]++;
    2140
    22                         foreach (array_filter(explode(',', $r[4])) as $plugin)
    23                                 $plugins[$plugin]++;
     41                        if ($p = array_filter(explode(',', $r[4]))) {
     42                                foreach ($p as $plugin)
     43                                        $plugins[$plugin]++;
     44                                $nbplugs[count($p).' plugins'] ++;
     45                        }
    2446                }
    2547
     
    5678        affiche_table($plugins);
    5779
     80        echo "<h2>Nombre de plugins installes:</h2>\n";
     81        arsort($nbplugs);
     82        affiche_table($nbplugs);
     83
     84        echo "<p>Nombre total de sites ayant active un ou plusieurs plugins: ".array_sum($nbplugs)."</p>\n";
     85
     86
    5887        echo "<h2>Erreurs:</h2>\n";
    5988        arsort($erreurs);
     
    6291
    6392?>
     93</body>
     94</html>
Note: See TracChangeset for help on using the changeset viewer.