|
20 | 20 | </div> |
21 | 21 | <div class="clear"/> |
22 | 22 | </div> |
23 | | - <h3>Overall</h3> |
24 | | - <table class="reportTable"> |
25 | | - <thead> |
26 | | - <tr> |
27 | | - <th>Category</th> |
28 | | - <th>Count</th> |
29 | | - <th>Average Response Duration(ms)</th> |
30 | | - <th>Max Response Duration(ms)</th> |
31 | | - </tr> |
32 | | - </thead> |
33 | | - <tbody> |
34 | | - <xsl:for-each select="overall/statistics"> |
35 | | - <xsl:variable name="category"> |
36 | | - <xsl:value-of select="./@category"/> |
37 | | - </xsl:variable> |
38 | | - <tr class="{$category}"> |
39 | | - |
40 | | - <td> |
41 | | - <a href="/linkchecker/Overall#{$category}"> |
42 | | - <xsl:value-of select="@category"/> |
43 | | - </a> |
44 | | - </td> |
45 | | - <td class='text-right'> |
46 | | - <xsl:value-of select="format-number(@count, '###,##0')"/> |
47 | | - </td> |
48 | | - <td class='text-right'> |
49 | | - <xsl:value-of select="format-number(@avgRespTime, '###,##0.0')"/> |
50 | | - </td> |
51 | | - <td class='text-right'> |
52 | | - <xsl:value-of select="format-number(@maxRespTime, '###,##0.0')"/> |
53 | | - </td> |
54 | | - </tr> |
55 | | - </xsl:for-each> |
56 | | - </tbody> |
57 | | - <tfoot> |
58 | | - <tr> |
59 | | - <td colspan="5"> |
60 | | - Total number with response: |
61 | | - <xsl:value-of select="format-number(overall/@totNumOfLinksWithDuration, '###,##0')"/> |
62 | | - · |
63 | | - Average Response Duration(ms): |
64 | | - <xsl:value-of select="format-number(overall/@avgRespTime,'###,##0.0')"/> |
65 | | - · |
66 | | - Max Response Duration(ms): |
67 | | - <xsl:value-of select="format-number(overall/@maxRespTime,'###,##0.0')"/> |
68 | | - </td> |
69 | | - </tr> |
70 | | - </tfoot> |
71 | | - </table> |
72 | | - <br /> |
73 | | - <img src="/img/linkchecker/Overall.png" alt="timeline of link checking results" width="800" higth="200" /> |
74 | | - <br/> |
75 | | - <h3>Metadata Providers:</h3> |
76 | | - |
77 | | - <xsl:for-each select="collection"> |
78 | | - |
79 | | - <xsl:variable name="name" select="@name"/> |
80 | | - |
81 | | - <h4> |
82 | | - <xsl:value-of select="replace($name,'_',' ')"/> |
83 | | - </h4> |
| 23 | + <article> |
| 24 | + <h3>Overall</h3> |
84 | 25 | <table class="reportTable"> |
85 | 26 | <thead> |
86 | 27 | <tr> |
87 | | - |
88 | 28 | <th>Category</th> |
89 | 29 | <th>Count</th> |
90 | 30 | <th>Average Response Duration(ms)</th> |
91 | 31 | <th>Max Response Duration(ms)</th> |
92 | 32 | </tr> |
93 | 33 | </thead> |
94 | 34 | <tbody> |
95 | | - <xsl:for-each select="statistics"> |
| 35 | + <xsl:for-each select="overall/statistics"> |
96 | 36 | <xsl:variable name="category"> |
97 | 37 | <xsl:value-of select="./@category"/> |
98 | 38 | </xsl:variable> |
99 | 39 | <tr class="{$category}"> |
| 40 | + |
100 | 41 | <td> |
101 | | - <a href="/linkchecker/{$name}#{$category}"> |
| 42 | + <a href="/linkchecker/Overall#{$category}"> |
102 | 43 | <xsl:value-of select="@category"/> |
103 | 44 | </a> |
104 | 45 | </td> |
|
117 | 58 | <tfoot> |
118 | 59 | <tr> |
119 | 60 | <td colspan="5"> |
120 | | - Total Number With Response: |
121 | | - <xsl:value-of select="format-number(@totNumOfLinksWithDuration, '###,##0')"/> |
| 61 | + Total number with response: |
| 62 | + <xsl:value-of select="format-number(overall/@totNumOfLinksWithDuration, '###,##0')"/> |
122 | 63 | · |
123 | 64 | Average Response Duration(ms): |
124 | | - <xsl:value-of select="format-number(@avgRespTime,'###,##0.0')"/> |
| 65 | + <xsl:value-of select="format-number(overall/@avgRespTime,'###,##0.0')"/> |
125 | 66 | · |
126 | 67 | Max Response Duration(ms): |
127 | | - <xsl:value-of select="format-number(@maxRespTime,'###,##0.0')"/> |
| 68 | + <xsl:value-of select="format-number(overall/@maxRespTime,'###,##0.0')"/> |
128 | 69 | </td> |
129 | 70 | </tr> |
130 | 71 | </tfoot> |
131 | 72 | </table> |
132 | | - <br/> |
133 | | - <img alt="timeline of link checking results" width="800" higth="200"> |
134 | | - <xsl:attribute name="src"> |
135 | | - <xsl:text>/img/linkchecker/</xsl:text> |
136 | | - <xsl:value-of select="$name" /> |
137 | | - <xsl:text>.png</xsl:text> |
138 | | - </xsl:attribute> |
139 | | - </img> |
140 | | - <br /> |
| 73 | + <img class="chart" src="/img/linkchecker/Overall.png" alt="timeline of link checking results" width="800" higth="200" /> |
| 74 | + </article> |
| 75 | + <xsl:for-each select="collection"> |
| 76 | + <article> |
| 77 | + <xsl:variable name="name" select="@name"/> |
| 78 | + |
| 79 | + <h3> |
| 80 | + <xsl:value-of select="replace($name,'_',' ')"/> |
| 81 | + </h3> |
| 82 | + <table class="reportTable"> |
| 83 | + <thead> |
| 84 | + <tr> |
| 85 | + |
| 86 | + <th>Category</th> |
| 87 | + <th>Count</th> |
| 88 | + <th>Average Response Duration(ms)</th> |
| 89 | + <th>Max Response Duration(ms)</th> |
| 90 | + </tr> |
| 91 | + </thead> |
| 92 | + <tbody> |
| 93 | + <xsl:for-each select="statistics"> |
| 94 | + <xsl:variable name="category"> |
| 95 | + <xsl:value-of select="./@category"/> |
| 96 | + </xsl:variable> |
| 97 | + <tr class="{$category}"> |
| 98 | + <td> |
| 99 | + <a href="/linkchecker/{$name}#{$category}"> |
| 100 | + <xsl:value-of select="@category"/> |
| 101 | + </a> |
| 102 | + </td> |
| 103 | + <td class='text-right'> |
| 104 | + <xsl:value-of select="format-number(@count, '###,##0')"/> |
| 105 | + </td> |
| 106 | + <td class='text-right'> |
| 107 | + <xsl:value-of select="format-number(@avgRespTime, '###,##0.0')"/> |
| 108 | + </td> |
| 109 | + <td class='text-right'> |
| 110 | + <xsl:value-of select="format-number(@maxRespTime, '###,##0.0')"/> |
| 111 | + </td> |
| 112 | + </tr> |
| 113 | + </xsl:for-each> |
| 114 | + </tbody> |
| 115 | + <tfoot> |
| 116 | + <tr> |
| 117 | + <td colspan="5"> |
| 118 | + Total Number With Response: |
| 119 | + <xsl:value-of select="format-number(@totNumOfLinksWithDuration, '###,##0')"/> |
| 120 | + · |
| 121 | + Average Response Duration(ms): |
| 122 | + <xsl:value-of select="format-number(@avgRespTime,'###,##0.0')"/> |
| 123 | + · |
| 124 | + Max Response Duration(ms): |
| 125 | + <xsl:value-of select="format-number(@maxRespTime,'###,##0.0')"/> |
| 126 | + </td> |
| 127 | + </tr> |
| 128 | + </tfoot> |
| 129 | + </table> |
| 130 | + <img class="chart" alt="timeline of link checking results" width="800" higth="200"> |
| 131 | + <xsl:attribute name="src"> |
| 132 | + <xsl:text>/img/linkchecker/</xsl:text> |
| 133 | + <xsl:value-of select="$name" /> |
| 134 | + <xsl:text>.png</xsl:text> |
| 135 | + </xsl:attribute> |
| 136 | + </img> |
| 137 | + </article> |
141 | 138 | </xsl:for-each> |
142 | 139 | </xsl:template> |
143 | 140 | </xsl:stylesheet> |
0 commit comments