6983N/A * You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
6983N/A * file and include the License file at legal-notices/CDDLv1_0.txt.
675N/A "TD,TH {background:white;margin:0;line-height:100%;padding-left:0.5em;padding-right:0.5em;} " +
675N/A "TABLE.s TD.ds {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#F0F0F0;} " +
675N/A "TABLE.s TD.dm {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#BCCFF9;} " +
675N/A "TABLE.s TD.dd {padding-left:0.25em;padding-right:0.25em;text-align:right;background:#AAAAAA;color:#FFFFFF} " +
675N/A "TABLE.s TH {padding-left:0.25em;padding-right:0.25em;text-align:left;background:#F0F0F0;} " +
711N/A } catch (BuildException e) {
711N/A e.printStackTrace();
675N/A throw new BuildException("emmaDataPath attribute is not set. It must be set to the path of the EMMA data directory");
675N/A throw new BuildException("outputPath attribute is not set. It must be set to a valid directory where the report will be generated");
1849N/A throw new BuildException("fromRevision attribute is not set. It must be set to the revision from which the diff is generated (e.g. BASE).");
1590N/A System.out.println("ERROR: An error occurred while processing diff output: " + ie.toString() + " Quitting...");
689N/A System.out.println("Coverage diff completed in " + (System.currentTimeMillis() - start) + " ms.");
578N/A mdata = (IMetaData) mdata.merge(_mdata); // note: later datapath entries override earlier ones
578N/A cdata = (ICoverageData) cdata.merge(_cdata); // note: later datapath entries override earlier ones
689N/A verboseOut(emmaCoverageDataFileCount + " file(s) read and merged in " + (System.currentTimeMillis() - start) + " ms");
578N/A System.out.println("nothing to do: no runtime coverage data found in any of the data files");
578N/A System.out.println("no collected coverage data found in any of the data files [Diff output will not include coverage data]");
578N/A System.out.println("no collected line coverage data found in any of the data files [Diff output will not include coverage data]");
578N/A throws IOException {
578N/A throws IOException
675N/A addItemRow(srcFilePath.toString(), emmaSourceItem, modCoverage, false, coverageTable, null, false, false);
1849N/A html.addH(2, "Coverage Information Not Available (e.g. file is not in src/, is not java, is an interface, or was deleted)", null);
578N/A int workingCopyBegin;
578N/A int workingCopyRange;
578N/A int otherCopyBegin;
675N/A return modCoverage;
578N/A throws IOException {
578N/A return sourceItem;
675N/A if(includeName)
675N/A final boolean includeName)
675N/A if(includeName)
711N/A // Enable this with -Dtest.diff.verbose=true from the commandline