Lines Matching refs:h_
19 h_ = h; in HTMLStatistics()
23 private HTMLReportGenerator h_ = null; field in HTMLStatistics
32 h_.reportFile = new PrintWriter(fos); in emitStatistics()
34 h_.writeStartHTMLHeader(); in emitStatistics()
42 h_.writeHTMLTitle("API Change Statistics"); in emitStatistics()
43 h_.writeStyleSheetRef(); in emitStatistics()
44 h_.writeText("</HEAD>"); in emitStatistics()
45 h_.writeText("<body class=\"gc-documentation\">"); in emitStatistics()
52 h_.writeText("<!-- Start of nav bar -->"); in emitStatistics()
58 h_.writeText("<div id=\"gc-container\" style=\"padding-left:1em;padding-right:1em;\">"); in emitStatistics()
59 h_.writeText("<a name=\"top\"></a>"); in emitStatistics()
60 h_.writeText("<div id=\"gc-header\">"); in emitStatistics()
61 h_.writeText(" <div id=\"logo\" style=\"padding-left:1em;\">"); in emitStatistics()
62 …h_.writeText(" <a href=\"../../../documentation.html\" target=\"_top\"><img style=\"border: 0;\… in emitStatistics()
63 h_.writeText(" </div> <!-- End logo -->"); in emitStatistics()
65 h_.writeText("<div class=\"and-diff-id\">"); in emitStatistics()
66 h_.writeText("<table class=\"diffspectable\">"); in emitStatistics()
67 h_.writeText("<tr>"); in emitStatistics()
68 h_.writeText(" <td colspan=\"2\" class=\"diffspechead\">API Diff Specification</td>"); in emitStatistics()
69 h_.writeText("</tr>"); in emitStatistics()
70 h_.writeText(" <tr>"); in emitStatistics()
71 h_.writeText(" <td class=\"diffspec\">To Version:</td>"); in emitStatistics()
72 h_.writeText(" <td class=\"diffvaluenew\">" + newAPIName + "</td>"); in emitStatistics()
73 h_.writeText(" </tr>"); in emitStatistics()
74 h_.writeText(" <tr>"); in emitStatistics()
75 h_.writeText(" <td class=\"diffspec\">From Version:</td>"); in emitStatistics()
76 h_.writeText(" <td class=\"diffvalueold\">" + oldAPIName + "</td>"); in emitStatistics()
77 h_.writeText(" </tr>"); in emitStatistics()
78 h_.writeText("<tr>"); in emitStatistics()
79 h_.writeText(" <td class=\"diffspec\">Generated</td>"); in emitStatistics()
80 h_.writeText(" <td class=\"diffvalue\">" + formatter.format( day ) + "</td>"); in emitStatistics()
81 h_.writeText("</tr>"); in emitStatistics()
82 h_.writeText("</table>"); in emitStatistics()
83 h_.writeText(" </div> <!-- End and-diff-id -->"); in emitStatistics()
85 h_.writeText(" <div class=\"and-diff-id\">"); in emitStatistics()
86 h_.writeText(" <table class=\"diffspectable\">"); in emitStatistics()
87 h_.writeText(" <tr>"); in emitStatistics()
88 …h_.writeText(" <td class=\"diffspec\" colspan=\"2\"><a href=\"../changes.html\" target=\"_t… in emitStatistics()
89 h_.writeText(" </tr>"); in emitStatistics()
90 h_.writeText(" </table>"); in emitStatistics()
91 h_.writeText(" </div> <!-- End and-diff-id -->"); in emitStatistics()
93 h_.writeText("</div> <!-- End gc-header -->"); in emitStatistics()
94 h_.writeText("<div id=\"codesiteContent\" style=\"margin-top: 70px;margin-bottom:80px;\">"); in emitStatistics()
97 …h_.writeText("<div style=\"xborder:1px solid yellow;vertical-align:top;padding:1em;margin-left:0;t… in emitStatistics()
98 h_.writeText(" <H1 class=\"pagecontenth1\">API Change Statistics</H1>"); in emitStatistics()
99 h_.writeText("</div>"); in emitStatistics()
102 h_.writeText("<p>"); in emitStatistics()
103 …h_.writeText("The percent change statistic reported for all elements in each API is defined recurs… in emitStatistics()
104 h_.writeText("<pre>"); in emitStatistics()
105 h_.writeText("Percentage difference = 100 * (added + removed + 2*changed)"); in emitStatistics()
106 h_.writeText(" -----------------------------------"); in emitStatistics()
107 h_.writeText(" sum of public elements in BOTH APIs"); in emitStatistics()
108 h_.writeText("</pre>"); in emitStatistics()
109 …h_.writeText("<p>where <code>added</code> is the number of packages added, <code>removed</code> is… in emitStatistics()
110 …h_.writeText("This definition is applied recursively for the classes and their program elements, s… in emitStatistics()
111 … h_.writeText("The definition ensures that if all packages are removed and all new packages are"); in emitStatistics()
112 …h_.writeText("added, the change will be 100%. Values are rounded here, so a value of 0% indicates … in emitStatistics()
114 …h_.writeText("<p>The overall difference between the two APIs is approximately <span style=\"color:… in emitStatistics()
115 h_.writeText("</p>"); in emitStatistics()
117 h_.writeText("<br><h2 class=\"pagecontenth2\">Contents</h2>"); in emitStatistics()
118 …h_.writeText("<dl><dt><a href=\"#packages\">Changed Packages</a></dt> <dd>Sorted by percentage dif… in emitStatistics()
119 …h_.writeText("<dt><a href=\"#classes\">Changed Classes and <i>Interfaces</i></a></dt><dd>Sorted by… in emitStatistics()
120 …h_.writeText("<dt><a href=\"#numbers\">Total of Differences</a></dt><dd>Listed by number and type<… in emitStatistics()
122 h_.writeText("<br>"); in emitStatistics()
123 h_.writeText("<a name=\"packages\"></a>"); in emitStatistics()
124 …h_.writeText("<h2 class=\"pagecontenth2\">Changed Packages, Sorted by Percentage Difference</h2>"); in emitStatistics()
127 h_.writeText("<br>"); in emitStatistics()
128 h_.writeText("<a name=\"classes\"></a>"); in emitStatistics()
129 …h_.writeText("<h2 class=\"pagecontenth2\">Changed Classes and <i>Interfaces</i>, Sorted by Percent… in emitStatistics()
132 h_.writeText("<br>"); in emitStatistics()
133 h_.writeText("<a name=\"numbers\"></a>"); in emitStatistics()
134 … h_.writeText("<h2 class=\"pagecontenth2\">Total of Differences, by Number and Type</h2>"); in emitStatistics()
135 h_.writeText("<p>"); in emitStatistics()
136 …h_.writeText("The table below lists the numbers of program elements (packages, classes, constructo… in emitStatistics()
137 h_.writeText("</p>"); in emitStatistics()
141 h_.writeText("</div><!-- end codesitecontent -->"); in emitStatistics()
142 …h_.writeText("<div style=\"padding-left: 10px; padding-right: 10px; margin-top: 0; padding-bottom:… in emitStatistics()
143 h_.writeText(" <table style=\"width: 100%; border: none;\"><tr>"); in emitStatistics()
144 … h_.writeText(" <td style=\"text-align:center;font-size: 10pt; border: none; color: ccc;\"> "); in emitStatistics()
145 h_.writeText(" <span>©2008 Google - "); in emitStatistics()
146 h_.writeText(" <a href=\"http://code.google.com\">Code Home</a> - "); in emitStatistics()
147 …h_.writeText(" <a href=\"http://www.google.com/accounts/TOS\">Site Terms of Sservice</a… in emitStatistics()
148 … h_.writeText(" <a href=\"http://www.google.com/privacy.html\">Privacy Policy</a> "); in emitStatistics()
149 h_.writeText(" </span>"); in emitStatistics()
150 … h_.writeText(" <div style=\"xborder 1px solid red;position:relative;margin-top:-2em;" ); in emitStatistics()
151 h_.writeText(" font-size:8pt;color:aaa;text-align:right;\">"); in emitStatistics()
152 …h_.writeText(" <em>Generated by <a href=\"http://www.jdiff.org/\">JDiff</a></em><br><img "); in emitStatistics()
153 h_.writeText(" align=\"right\" src=\"../../../assets/jdiff_logo.gif\">"); in emitStatistics()
154 h_.writeText(" </span>"); in emitStatistics()
155 h_.writeText(" </td>"); in emitStatistics()
156 h_.writeText(" </tr></table>"); in emitStatistics()
157 h_.writeText("</div>"); in emitStatistics()
158 h_.writeText("</div><!-- end gc-containter -->"); in emitStatistics()
160 … h_.writeText("<script src=\"http://www.google-analytics.com/ga.js\" type=\"text/javascript\">"); in emitStatistics()
161 h_.writeText("</script>"); in emitStatistics()
162 h_.writeText("<script type=\"text/javascript\">"); in emitStatistics()
163 h_.writeText(" try {"); in emitStatistics()
164 h_.writeText(" var pageTracker = _gat._getTracker(\"UA-18071-1\");"); in emitStatistics()
165 h_.writeText(" pageTracker._setAllowAnchor(true);"); in emitStatistics()
166 h_.writeText(" pageTracker._initData();"); in emitStatistics()
167 h_.writeText(" pageTracker._trackPageview();"); in emitStatistics()
168 h_.writeText(" } catch(e) {}"); in emitStatistics()
169 h_.writeText("</script>"); in emitStatistics()
171 h_.writeText("</BODY></HTML>"); in emitStatistics()
172 h_.reportFile.close(); in emitStatistics()
189 …h_.writeText("<TABLE summary=\"Packages sorted by percentage difference\" BORDER=\"1\" WIDTH=\"100… in emitPackagesByDiff()
190 h_.writeText("<TR WIDTH=\"20%\">"); in emitPackagesByDiff()
191 h_.writeText(" <TH>Percentage<br>Difference</TH>"); in emitPackagesByDiff()
192 h_.writeText(" <TH>Package</TH>"); in emitPackagesByDiff()
193 h_.writeText("</TR>"); in emitPackagesByDiff()
205 h_.writeText("<TR>"); in emitPackagesByDiff()
207 h_.writeText(" <TD ALIGN=\"center\">" + bucket + "</TD>"); in emitPackagesByDiff()
209 h_.writeText(" <TD ALIGN=\"center\"><1</TD>"); in emitPackagesByDiff()
210 …h_.writeText(" <TD><A HREF=\"pkg_" + pkg.name_ + h_.reportFileExt + "\">" + pkg.name_ + "</A></TD… in emitPackagesByDiff()
211 h_.writeText("</TR>"); in emitPackagesByDiff()
214 h_.writeText("</TABLE>"); in emitPackagesByDiff()
276 …h_.writeText("<TABLE summary=\"Classes sorted by percentage difference\" BORDER=\"1\" WIDTH=\"100%… in emitClassesByDiff()
277 h_.writeText("<TR WIDTH=\"20%\">"); in emitClassesByDiff()
278 h_.writeText(" <TH><b>Percentage<br>Difference</b></TH>"); in emitClassesByDiff()
279 h_.writeText(" <TH><b>Class or <i>Interface</i></b></TH>"); in emitClassesByDiff()
280 h_.writeText("</TR>"); in emitClassesByDiff()
292 h_.writeText("<TR>"); in emitClassesByDiff()
294 h_.writeText(" <TD ALIGN=\"center\">" + bucket + "</TD>"); in emitClassesByDiff()
296 h_.writeText(" <TD ALIGN=\"center\"><1</TD>"); in emitClassesByDiff()
297 h_.writeText(" <TD><A HREF=\"" + classDiff.name_ + h_.reportFileExt + "\">"); in emitClassesByDiff()
299 h_.writeText("<i>" + classDiff.name_ + "</i></A></TD>"); in emitClassesByDiff()
301 h_.writeText(classDiff.name_ + "</A></TD>"); in emitClassesByDiff()
302 h_.writeText("</TR>"); in emitClassesByDiff()
305 h_.writeText("</TABLE>"); in emitClassesByDiff()
400 …h_.writeText("<TABLE summary=\"Number of differences\" BORDER=\"1\" WIDTH=\"100%\" cellspacing=\"0… in emitNumbersByElement()
401 h_.writeText("<TR>"); in emitNumbersByElement()
402 h_.writeText(" <TH COLSPAN=5 NOWRAP>"); in emitNumbersByElement()
403 h_.writeText(" Number of Differences</TH>"); in emitNumbersByElement()
404 h_.writeText("</TR>"); in emitNumbersByElement()
405 h_.writeText("<TR>"); in emitNumbersByElement()
406 h_.writeText(" <TH> </TD>"); in emitNumbersByElement()
407 h_.writeText(" <TH ALIGN=\"center\"><b>Removals</b></TH>"); in emitNumbersByElement()
408 h_.writeText(" <TH ALIGN=\"center\"><b>Additions</b></TH>"); in emitNumbersByElement()
409 h_.writeText(" <TH ALIGN=\"center\"><b>Changes</b></TH>"); in emitNumbersByElement()
410 h_.writeText(" <TH ALIGN=\"center\"><b>Total</b></TH>"); in emitNumbersByElement()
411 h_.writeText("</TR>"); in emitNumbersByElement()
413 h_.writeText("<TR>"); in emitNumbersByElement()
414 h_.writeText(" <TD>Packages</TD>"); in emitNumbersByElement()
415 h_.writeText(" <TD ALIGN=\"right\">" + numPackagesRemoved + "</TD>"); in emitNumbersByElement()
416 h_.writeText(" <TD ALIGN=\"right\">" + numPackagesAdded + "</TD>"); in emitNumbersByElement()
417 h_.writeText(" <TD ALIGN=\"right\">" + numPackagesChanged + "</TD>"); in emitNumbersByElement()
419 h_.writeText(" <TD ALIGN=\"right\">" + numPackages + "</TD>"); in emitNumbersByElement()
420 h_.writeText("</TR>"); in emitNumbersByElement()
426 h_.writeText("<TR>"); in emitNumbersByElement()
427 h_.writeText(" <TD>Classes and <i>Interfaces</i></TD>"); in emitNumbersByElement()
428 h_.writeText(" <TD ALIGN=\"right\">" + numClassesRemoved + "</TD>"); in emitNumbersByElement()
429 h_.writeText(" <TD ALIGN=\"right\">" + numClassesAdded + "</TD>"); in emitNumbersByElement()
430 h_.writeText(" <TD ALIGN=\"right\">" + numClassesChanged + "</TD>"); in emitNumbersByElement()
432 h_.writeText(" <TD ALIGN=\"right\">" + numClasses + "</TD>"); in emitNumbersByElement()
433 h_.writeText("</TR>"); in emitNumbersByElement()
439 h_.writeText("<TR>"); in emitNumbersByElement()
440 h_.writeText(" <TD>Constructors</TD>"); in emitNumbersByElement()
441 h_.writeText(" <TD ALIGN=\"right\">" + numCtorsRemoved + "</TD>"); in emitNumbersByElement()
442 h_.writeText(" <TD ALIGN=\"right\">" + numCtorsAdded + "</TD>"); in emitNumbersByElement()
443 h_.writeText(" <TD ALIGN=\"right\">" + numCtorsChanged + "</TD>"); in emitNumbersByElement()
445 h_.writeText(" <TD ALIGN=\"right\">" + numCtors + "</TD>"); in emitNumbersByElement()
446 h_.writeText("</TR>"); in emitNumbersByElement()
452 h_.writeText("<TR>"); in emitNumbersByElement()
453 h_.writeText(" <TD>Methods</TD>"); in emitNumbersByElement()
454 h_.writeText(" <TD ALIGN=\"right\">" + numMethodsRemoved + "</TD>"); in emitNumbersByElement()
455 h_.writeText(" <TD ALIGN=\"right\">" + numMethodsAdded + "</TD>"); in emitNumbersByElement()
456 h_.writeText(" <TD ALIGN=\"right\">" + numMethodsChanged + "</TD>"); in emitNumbersByElement()
458 h_.writeText(" <TD ALIGN=\"right\">" + numMethods + "</TD>"); in emitNumbersByElement()
459 h_.writeText("</TR>"); in emitNumbersByElement()
465 h_.writeText("<TR>"); in emitNumbersByElement()
466 h_.writeText(" <TD>Fields</TD>"); in emitNumbersByElement()
467 h_.writeText(" <TD ALIGN=\"right\">" + numFieldsRemoved + "</TD>"); in emitNumbersByElement()
468 h_.writeText(" <TD ALIGN=\"right\">" + numFieldsAdded + "</TD>"); in emitNumbersByElement()
469 h_.writeText(" <TD ALIGN=\"right\">" + numFieldsChanged + "</TD>"); in emitNumbersByElement()
471 h_.writeText(" <TD ALIGN=\"right\">" + numFields + "</TD>"); in emitNumbersByElement()
472 h_.writeText("</TR>"); in emitNumbersByElement()
478 h_.writeText("<TR>"); in emitNumbersByElement()
479 h_.writeText(" <TD><b>Total</b></TD>"); in emitNumbersByElement()
480 h_.writeText(" <TD ALIGN=\"right\">" + numRemoved + "</TD>"); in emitNumbersByElement()
481 h_.writeText(" <TD ALIGN=\"right\">" + numAdded + "</TD>"); in emitNumbersByElement()
482 h_.writeText(" <TD ALIGN=\"right\">" + numChanged + "</TD>"); in emitNumbersByElement()
484 h_.writeText(" <TD ALIGN=\"right\">" + total + "</TD>"); in emitNumbersByElement()
485 h_.writeText("</TR>"); in emitNumbersByElement()
487 h_.writeText("</TABLE>"); in emitNumbersByElement()