Added: websites/production/commons/content/proper/commons-cli/jacoco/.sessions.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/jacoco/.sessions.html (added) +++ websites/production/commons/content/proper/commons-cli/jacoco/.sessions.html Sat May 9 18:19:15 2015 @@ -0,0 +1 @@ +<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href=".resources/report.css" type="text/css"/><link rel="shortcut icon" href=".resources/report.gif" type="image/gif"/><title>Sessions</title></head><body><div class="breadcrumb" id="breadcrumb"><span class="info"><a href=".sessions.html" class="el_session">Sessions</a></span><a href="index.html" class="el_report">Apache Commons CLI</a> > <span class="el_session">Sessions</span></div><h1>Sessions</h1><p>This coverage report is based on execution data from the following sessions:</p><table class="coverage" cellspacing="0"><thead><tr><td>Session</td><td>Start Time</td><td>Dump Time</td></tr></thead><tbody><tr><td><span class="el_session">localhost-d439a990</span></td><td>May 9, 2015 8:1 1:33 PM</td><td>May 9, 2015 8:11:34 PM</td></tr></tbody></table><p>Execution data for the following classes is considered in this report:</p><table class="coverage" cellspacing="0"><thead><tr><td>Class</td><td>Id</td></tr></thead><tbody><tr><td><span class="el_class">com.sun.proxy..Proxy1</span></td><td><code>86019e300c62076c</code></td></tr><tr><td><span class="el_class">com.sun.proxy..Proxy2</span></td><td><code>44bcd3c9f121e815</code></td></tr><tr><td><span class="el_class">com.sun.proxy..Proxy3</span></td><td><code>ec49c6bd2b6dcb86</code></td></tr><tr><td><a href="org.apache.commons.cli/AlreadySelectedException.html" class="el_class">org.apache.commons.cli.AlreadySelectedException</a></td><td><code>3750b901ad23f349</code></td></tr><tr><td><a href="org.apache.commons.cli/AmbiguousOptionException.html" class="el_class">org.apache.commons.cli.AmbiguousOptionException</a></td><td><code>eee39c02d18bf6f0</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.Application Test</span></td><td><code>f5b280ebd089e867</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.ArgumentIsOptionTest</span></td><td><code>43e8bf678f1c3b63</code></td></tr><tr><td><a href="org.apache.commons.cli/BasicParser.html" class="el_class">org.apache.commons.cli.BasicParser</a></td><td><code>4b24634e0dd4d578</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.BasicParserTest</span></td><td><code>aeead20130ea4e14</code></td></tr><tr><td><a href="org.apache.commons.cli/CommandLine.html" class="el_class">org.apache.commons.cli.CommandLine</a></td><td><code>62a51592c9706dba</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.CommandLineTest</span></td><td><code>c6af9718c74f7121</code></td></tr><tr><td><a href="org.apache.commons.cli/DefaultParser.html" class="el_class">org.apache.commons.cli.DefaultParser</a></td><td><code>7fcced7804b48fe1</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.DefaultParserTest</s pan></td><td><code>7cc88254d3a94513</code></td></tr><tr><td><a href="org.apache.commons.cli/GnuParser.html" class="el_class">org.apache.commons.cli.GnuParser</a></td><td><code>0063b94644c4f6c5</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.GnuParserTest</span></td><td><code>9429968c331a59a6</code></td></tr><tr><td><a href="org.apache.commons.cli/HelpFormatter.html" class="el_class">org.apache.commons.cli.HelpFormatter</a></td><td><code>078c9d2d846204ba</code></td></tr><tr><td><a href="org.apache.commons.cli/HelpFormatter$OptionComparator.html" class="el_class">org.apache.commons.cli.HelpFormatter.OptionComparator</a></td><td><code>ff04cf2d963f3a57</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.HelpFormatterTest</span></td><td><code>882cb1f300bbece2</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.HelpFormatterTest.1</span></td><td><code>05bd24786182c0e1</code></td></tr><tr><td><a href="org.apache.commons.cli/MissingA rgumentException.html" class="el_class">org.apache.commons.cli.MissingArgumentException</a></td><td><code>ae0692b36b42c33c</code></td></tr><tr><td><a href="org.apache.commons.cli/MissingOptionException.html" class="el_class">org.apache.commons.cli.MissingOptionException</a></td><td><code>9a185f9dda03d125</code></td></tr><tr><td><a href="org.apache.commons.cli/Option.html" class="el_class">org.apache.commons.cli.Option</a></td><td><code>d51d92f824340baf</code></td></tr><tr><td><a href="org.apache.commons.cli/Option$Builder.html" class="el_class">org.apache.commons.cli.Option.Builder</a></td><td><code>76736834af0da3e6</code></td></tr><tr><td><a href="org.apache.commons.cli/OptionBuilder.html" class="el_class">org.apache.commons.cli.OptionBuilder</a></td><td><code>64be9b6e2fdd52bc</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.OptionBuilderTest</span></td><td><code>f3f092545f109b16</code></td></tr><tr><td><a href="org.apache.commons.cli/OptionGroup.html" class="e l_class">org.apache.commons.cli.OptionGroup</a></td><td><code>ee625ca29811d2b8</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.OptionGroupTest</span></td><td><code>cde2daa9c121c651</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.OptionTest</span></td><td><code>ca2f8ac4ea0113dc</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.OptionTest.DefaultOption</span></td><td><code>d23eecdd134b00c2</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.OptionTest.TestOption</span></td><td><code>b503d5e7d33dd38b</code></td></tr><tr><td><a href="org.apache.commons.cli/OptionValidator.html" class="el_class">org.apache.commons.cli.OptionValidator</a></td><td><code>3c5ad53c774f4b7f</code></td></tr><tr><td><a href="org.apache.commons.cli/Options.html" class="el_class">org.apache.commons.cli.Options</a></td><td><code>280d3a2ab38516d5</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.OptionsTest</span></ td><td><code>f59d71c6305f8df0</code></td></tr><tr><td><a href="org.apache.commons.cli/ParseException.html" class="el_class">org.apache.commons.cli.ParseException</a></td><td><code>426a6abfc96c827f</code></td></tr><tr><td><a href="org.apache.commons.cli/Parser.html" class="el_class">org.apache.commons.cli.Parser</a></td><td><code>dbcda6dc0efadac7</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.ParserTestCase</span></td><td><code>bf9eb5ec7ad5440e</code></td></tr><tr><td><a href="org.apache.commons.cli/PatternOptionBuilder.html" class="el_class">org.apache.commons.cli.PatternOptionBuilder</a></td><td><code>08dc0c1d77be9925</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.PatternOptionBuilderTest</span></td><td><code>5f171820bf6e7778</code></td></tr><tr><td><a href="org.apache.commons.cli/PosixParser.html" class="el_class">org.apache.commons.cli.PosixParser</a></td><td><code>692b4612946d7e9f</code></td></tr><tr><td><span class="el_class">org.ap ache.commons.cli.PosixParserTest</span></td><td><code>92a331e5a535ec5c</code></td></tr><tr><td><a href="org.apache.commons.cli/TypeHandler.html" class="el_class">org.apache.commons.cli.TypeHandler</a></td><td><code>2f797f4e87e3af83</code></td></tr><tr><td><a href="org.apache.commons.cli/UnrecognizedOptionException.html" class="el_class">org.apache.commons.cli.UnrecognizedOptionException</a></td><td><code>de411c6bcd2709ec</code></td></tr><tr><td><a href="org.apache.commons.cli/Util.html" class="el_class">org.apache.commons.cli.Util</a></td><td><code>41c582299b209f90</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.UtilTest</span></td><td><code>346784abfdbe2ac2</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.ValueTest</span></td><td><code>827d797f975bedae</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.ValuesTest</span></td><td><code>2fb5769076e5c0d6</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.b ug.BugCLI133Test</span></td><td><code>dfd1379ce7070ac0</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.bug.BugCLI13Test</span></td><td><code>bb85dffd6f834620</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.bug.BugCLI148Test</span></td><td><code>388054d8c5eabff9</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.bug.BugCLI162Test</span></td><td><code>a87f658200ecaa43</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.bug.BugCLI18Test</span></td><td><code>61897d69f306514a</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.bug.BugCLI71Test</span></td><td><code>8b675a80d4b6edac</code></td></tr><tr><td><span class="el_class">org.apache.commons.cli.bug.BugsTest</span></td><td><code>889027b4caf06eef</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.NonAbstractClassFilter</span></td><td><code>fc97b6b24692a75a</code></td></tr><tr><td><span class="el_class">org.apache.ma ven.surefire.booter.BaseProviderFactory</span></td><td><code>a077c28d3a129f8a</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.BooterDeserializer</span></td><td><code>bb3db74acb658da4</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ClassLoaderConfiguration</span></td><td><code>ecd6032808102cae</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.Classpath</span></td><td><code>e6c3b2970f1c3d3e</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ClasspathConfiguration</span></td><td><code>119cb500297de47b</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ForkedBooter</span></td><td><code>6ae26db783532bb2</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ForkedBooter.1</span></td><td><code>01c93b097833a135</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ForkingReporterFactory</sp an></td><td><code>22ca6939cf62a8e4</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ForkingRunListener</span></td><td><code>cc4cc5de30aae8e6</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.PropertiesWrapper</span></td><td><code>fcb952a62ef35a39</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ProviderConfiguration</span></td><td><code>3c5c9b54887e30a0</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.StartupConfiguration</span></td><td><code>6be017bfe6c60c9d</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.SurefireReflector</span></td><td><code>6f4b77cb66d4530e</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.SystemPropertyManager</span></td><td><code>261358ae3c8f5c64</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.TypeEncodedValue</span></td><td><code>71071dc08d3c84c2 </code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.common.junit3.JUnit3TestChecker</span></td><td><code>7102b454a4fc6b40</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.common.junit4.JUnit4ProviderUtil</span></td><td><code>1039df7734959c58</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.common.junit4.JUnit4Reflector</span></td><td><code>851f7e70bd2cc617</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.common.junit4.JUnit4RunListener</span></td><td><code>2c083b05a924af0a</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.common.junit4.JUnit4RunListenerFactory</span></td><td><code>fc6a4376532e9afe</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.common.junit4.JUnit4TestChecker</span></td><td><code>acd246be8ad94713</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.common.junit4.JUnitTestFailureListener</span></td><td><code >b998681c2840c908</code></td></tr><tr><td><span >class="el_class">org.apache.maven.surefire.junit4.JUnit4Provider</span></td><td><code>eab13dec3ac5350a</code></td></tr><tr><td><span > >class="el_class">org.apache.maven.surefire.providerapi.AbstractProvider</span></td><td><code>48fba504365a6faa</code></td></tr><tr><td><span > >class="el_class">org.apache.maven.surefire.report.ConsoleOutputCapture</span></td><td><code>3ad1948cd2524509</code></td></tr><tr><td><span > >class="el_class">org.apache.maven.surefire.report.ConsoleOutputCapture.ForwardingPrintStream</span></td><td><code>c4638186934f58f1</code></td></tr><tr><td><span > >class="el_class">org.apache.maven.surefire.report.ReporterConfiguration</span></td><td><code>50ee22e7d5c3fdc3</code></td></tr><tr><td><span > >class="el_class">org.apache.maven.surefire.report.SimpleReportEntry</span></td><td><code>86610a5a9f4c26e8</code></td></tr><tr><td><span > >class="el_class">org.apache.maven.surefire.suite.RunResult</span></td><td><code>55f089d58bac6aaa</co de></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.testset.DirectoryScannerParameters</span></td><td><code>938f93f228c114af</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.testset.RunOrderParameters</span></td><td><code>a7ab3b73fed7c648</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.testset.TestArtifactInfo</span></td><td><code>8d9f3b982bce21e6</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.testset.TestRequest</span></td><td><code>2250ef66cb658366</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.DefaultRunOrderCalculator</span></td><td><code>b71c88c745e5f9a8</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.DefaultScanResult</span></td><td><code>f575654deac21794</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.ReflectionUtils</span></td><td><code>10f3396d19176a7e</code></td></tr><tr><td><span class="el_c lass">org.apache.maven.surefire.util.RunOrder</span></td><td><code>d427aa35f2905b55</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.TestsToRun</span></td><td><code>4a0c8997ce9ac0da</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.internal.ByteBuffer</span></td><td><code>399f90fc024d6440</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.internal.StringUtils</span></td><td><code>b917b1f0f17b9b8f</code></td></tr><tr><td><span class="el_class">org.junit.Assert</span></td><td><code>e2bac9fc5ef3a4be</code></td></tr><tr><td><span class="el_class">org.junit.internal.ComparisonCriteria</span></td><td><code>46e057da5e4340fb</code></td></tr><tr><td><span class="el_class">org.junit.internal.ExactComparisonCriteria</span></td><td><code>b46e382b993e25ce</code></td></tr><tr><td><span class="el_class">org.junit.internal.MethodSorter</span></td><td><code>e7c1106d3801ff54</code></td></tr><tr><td><span class="el_cla ss">org.junit.internal.MethodSorter.1</span></td><td><code>81fdc65e8fe19b52</code></td></tr><tr><td><span class="el_class">org.junit.internal.MethodSorter.2</span></td><td><code>bfe6560dc3722ab0</code></td></tr><tr><td><span class="el_class">org.junit.internal.builders.AllDefaultPossibilitiesBuilder</span></td><td><code>84f7fffb8cd30ad9</code></td></tr><tr><td><span class="el_class">org.junit.internal.builders.AnnotatedBuilder</span></td><td><code>0faf353d180c9332</code></td></tr><tr><td><span class="el_class">org.junit.internal.builders.IgnoredBuilder</span></td><td><code>e152f333c53967a6</code></td></tr><tr><td><span class="el_class">org.junit.internal.builders.JUnit3Builder</span></td><td><code>4a2cc8e608e1275e</code></td></tr><tr><td><span class="el_class">org.junit.internal.builders.JUnit4Builder</span></td><td><code>5902b7da0403f55c</code></td></tr><tr><td><span class="el_class">org.junit.internal.builders.SuiteMethodBuilder</span></td><td><code>1df136431e07e393</code></td></t r><tr><td><span class="el_class">org.junit.internal.requests.ClassRequest</span></td><td><code>f1e703dd2591ce5c</code></td></tr><tr><td><span class="el_class">org.junit.internal.runners.model.EachTestNotifier</span></td><td><code>0cb318e674165ac8</code></td></tr><tr><td><span class="el_class">org.junit.internal.runners.model.ReflectiveCallable</span></td><td><code>d591724635588bcb</code></td></tr><tr><td><span class="el_class">org.junit.internal.runners.rules.RuleMemberValidator</span></td><td><code>95b5ee2068ec6875</code></td></tr><tr><td><span class="el_class">org.junit.internal.runners.rules.RuleMemberValidator.Builder</span></td><td><code>f24845fa6fd065af</code></td></tr><tr><td><span class="el_class">org.junit.internal.runners.rules.RuleMemberValidator.DeclaringClassMustBePublic</span></td><td><code>1de994463c748d89</code></td></tr><tr><td><span class="el_class">org.junit.internal.runners.rules.RuleMemberValidator.FieldMustBeARule</span></td><td><code>e24e9f59de6fe5b7</code></t d></tr><tr><td><span class="el_class">org.junit.internal.runners.rules.RuleMemberValidator.FieldMustBeATestRule</span></td><td><code>690823bd2992f52e</code></td></tr><tr><td><span class="el_class">org.junit.internal.runners.rules.RuleMemberValidator.MemberMustBeNonStaticOrAlsoClassRule</span></td><td><code>1e703fb3e7f4e533</code></td></tr><tr><td><span class="el_class">org.junit.internal.runners.rules.RuleMemberValidator.MemberMustBePublic</span></td><td><code>806c174eb921b478</code></td></tr><tr><td><span class="el_class">org.junit.internal.runners.rules.RuleMemberValidator.MemberMustBeStatic</span></td><td><code>ac28a03dd36b2b5a</code></td></tr><tr><td><span class="el_class">org.junit.internal.runners.rules.RuleMemberValidator.MethodMustBeARule</span></td><td><code>88ea4a2237de2b8b</code></td></tr><tr><td><span class="el_class">org.junit.internal.runners.rules.RuleMemberValidator.MethodMustBeATestRule</span></td><td><code>9f4dd18a26005c18</code></td></tr><tr><td><span class="el_cl ass">org.junit.internal.runners.statements.ExpectException</span></td><td><code>d4f541ccb0309b8c</code></td></tr><tr><td><span class="el_class">org.junit.internal.runners.statements.InvokeMethod</span></td><td><code>05a7aa636afa2c39</code></td></tr><tr><td><span class="el_class">org.junit.internal.runners.statements.RunBefores</span></td><td><code>0701ea1d8962a22f</code></td></tr><tr><td><span class="el_class">org.junit.runner.Computer</span></td><td><code>06d3f5707f6df61a</code></td></tr><tr><td><span class="el_class">org.junit.runner.Computer.1</span></td><td><code>37b9c54416842dab</code></td></tr><tr><td><span class="el_class">org.junit.runner.Description</span></td><td><code>c7f1b09126c24b2b</code></td></tr><tr><td><span class="el_class">org.junit.runner.JUnitCore</span></td><td><code>712fa1527248c316</code></td></tr><tr><td><span class="el_class">org.junit.runner.Request</span></td><td><code>4f785af929bd628a</code></td></tr><tr><td><span class="el_class">org.junit.runner.Reques t.1</span></td><td><code>4c086d8a2b37df36</code></td></tr><tr><td><span class="el_class">org.junit.runner.Result</span></td><td><code>3a364b299d905039</code></td></tr><tr><td><span class="el_class">org.junit.runner.Result.Listener</span></td><td><code>bbae11d09f5b5a09</code></td></tr><tr><td><span class="el_class">org.junit.runner.Runner</span></td><td><code>f5abacc70e2e08a4</code></td></tr><tr><td><span class="el_class">org.junit.runner.notification.RunListener</span></td><td><code>a740fd873cf92a63</code></td></tr><tr><td><span class="el_class">org.junit.runner.notification.RunNotifier</span></td><td><code>ba709a76760379c2</code></td></tr><tr><td><span class="el_class">org.junit.runner.notification.RunNotifier.1</span></td><td><code>6eb5e06975b1ea02</code></td></tr><tr><td><span class="el_class">org.junit.runner.notification.RunNotifier.2</span></td><td><code>dc4db4223d160c08</code></td></tr><tr><td><span class="el_class">org.junit.runner.notification.RunNotifier.3</span></td><td>< code>7a903d9d1caf7673</code></td></tr><tr><td><span class="el_class">org.junit.runner.notification.RunNotifier.7</span></td><td><code>304ecd1b313cb650</code></td></tr><tr><td><span class="el_class">org.junit.runner.notification.RunNotifier.SafeNotifier</span></td><td><code>3b3dc2f2fc8cfc56</code></td></tr><tr><td><span class="el_class">org.junit.runner.notification.SynchronizedRunListener</span></td><td><code>0f89c0c6a77088e5</code></td></tr><tr><td><span class="el_class">org.junit.runners.BlockJUnit4ClassRunner</span></td><td><code>673d2df2f68a9490</code></td></tr><tr><td><span class="el_class">org.junit.runners.BlockJUnit4ClassRunner.1</span></td><td><code>b3af68717b17ffc6</code></td></tr><tr><td><span class="el_class">org.junit.runners.ParentRunner</span></td><td><code>df303f19df248a10</code></td></tr><tr><td><span class="el_class">org.junit.runners.ParentRunner.1</span></td><td><code>89f115a2214a3636</code></td></tr><tr><td><span class="el_class">org.junit.runners.ParentRunner.2 </span></td><td><code>0fc04165488ae7c7</code></td></tr><tr><td><span class="el_class">org.junit.runners.ParentRunner.3</span></td><td><code>65f7d637ed11f8f4</code></td></tr><tr><td><span class="el_class">org.junit.runners.Suite</span></td><td><code>33a049859f5803aa</code></td></tr><tr><td><span class="el_class">org.junit.runners.model.FrameworkField</span></td><td><code>d6d3c27befd6f49d</code></td></tr><tr><td><span class="el_class">org.junit.runners.model.FrameworkMember</span></td><td><code>83f9d72bb2731cf1</code></td></tr><tr><td><span class="el_class">org.junit.runners.model.FrameworkMethod</span></td><td><code>b9c1cccbfa624e4a</code></td></tr><tr><td><span class="el_class">org.junit.runners.model.FrameworkMethod.1</span></td><td><code>87d2600c48ade534</code></td></tr><tr><td><span class="el_class">org.junit.runners.model.RunnerBuilder</span></td><td><code>0281d51b4f8328d4</code></td></tr><tr><td><span class="el_class">org.junit.runners.model.Statement</span></td><td><code>9a75a a5de27bf4d5</code></td></tr><tr><td><span class="el_class">org.junit.runners.model.TestClass</span></td><td><code>90136128a3e4d163</code></td></tr><tr><td><span class="el_class">org.junit.runners.model.TestClass.FieldComparator</span></td><td><code>261449f31a730808</code></td></tr><tr><td><span class="el_class">org.junit.runners.model.TestClass.MethodComparator</span></td><td><code>5a734d8eaadb6011</code></td></tr><tr><td><span class="el_class">org.junit.validator.AnnotationValidatorFactory</span></td><td><code>e736331fde301341</code></td></tr><tr><td><span class="el_class">org.junit.validator.AnnotationsValidator</span></td><td><code>51f829810937d72f</code></td></tr><tr><td><span class="el_class">org.junit.validator.AnnotationsValidator.AnnotatableValidator</span></td><td><code>d211a963f22be103</code></td></tr><tr><td><span class="el_class">org.junit.validator.AnnotationsValidator.ClassValidator</span></td><td><code>1b463c4e6642e880</code></td></tr><tr><td><span class="el_class">or g.junit.validator.AnnotationsValidator.FieldValidator</span></td><td><code>64068b954dc56a31</code></td></tr><tr><td><span class="el_class">org.junit.validator.AnnotationsValidator.MethodValidator</span></td><td><code>f16b57f17c787036</code></td></tr><tr><td><span class="el_class">org.junit.validator.PublicClassValidator</span></td><td><code>3bac248cf06b18e4</code></td></tr><tr><td><span class="el_class">sun.text.resources.de.FormatData_de</span></td><td><code>e363e1272d24cb68</code></td></tr><tr><td><span class="el_class">sun.text.resources.de.FormatData_de_DE</span></td><td><code>e6b0327d080c982c</code></td></tr><tr><td><span class="el_class">sun.util.resources.de.CurrencyNames_de</span></td><td><code>d43a30bd36d54963</code></td></tr><tr><td><span class="el_class">sun.util.resources.de.CurrencyNames_de_DE</span></td><td><code>30be7314ab3602ce</code></td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2 .201409121644</span></div></body></html> \ No newline at end of file
Propchange: websites/production/commons/content/proper/commons-cli/jacoco/.sessions.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/commons/content/proper/commons-cli/jacoco/index.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/jacoco/index.html (added) +++ websites/production/commons/content/proper/commons-cli/jacoco/index.html Sat May 9 18:19:15 2015 @@ -0,0 +1 @@ +<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href=".resources/report.css" type="text/css"/><link rel="shortcut icon" href=".resources/report.gif" type="image/gif"/><title>Apache Commons CLI</title><script type="text/javascript" src=".resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href=".sessions.html" class="el_session">Sessions</a></span><span class="el_report">Apache Commons CLI</span></div><h1>Apache Commons CLI</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick="toggleSort(this)">Classes</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">189 of 4,878</td><td class="ctr2">96%</td><td class="bar">47 of 690</td><td class="ctr2">93%</td><td class="ctr1">60</td><td class="ctr2">612< /td><td class="ctr1">46</td><td class="ctr2">1,157</td><td class="ctr1">16</td><td class="ctr2">263</td><td class="ctr1">0</td><td class="ctr2">23</td></tr></tfoot><tbody><tr><td id="a0"><a href="org.apache.commons.cli/index.html" class="el_package">org.apache.commons.cli</a></td><td class="bar" id="b0"><img src=".resources/redbar.gif" width="4" height="10" title="189" alt="189"/><img src=".resources/greenbar.gif" width="115" height="10" title="4,689" alt="4,689"/></td><td class="ctr2" id="c0">96%</td><td class="bar" id="d0"><img src=".resources/redbar.gif" width="8" height="10" title="47" alt="47"/><img src=".resources/greenbar.gif" width="111" height="10" title="643" alt="643"/></td><td class="ctr2" id="e0">93%</td><td class="ctr1" id="f0">60</td><td class="ctr2" id="g0">612</td><td class="ctr1" id="h0">46</td><td class="ctr2" id="i0">1,157</td><td class="ctr1" id="j0">16</td><td class="ctr2" id="k0">263</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">23</td></tr></tbo dy></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html> \ No newline at end of file Propchange: websites/production/commons/content/proper/commons-cli/jacoco/index.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/commons/content/proper/commons-cli/jacoco/jacoco.csv ============================================================================== --- websites/production/commons/content/proper/commons-cli/jacoco/jacoco.csv (added) +++ websites/production/commons/content/proper/commons-cli/jacoco/jacoco.csv Sat May 9 18:19:15 2015 @@ -0,0 +1,24 @@ +GROUP,PACKAGE,CLASS,INSTRUCTION_MISSED,INSTRUCTION_COVERED,BRANCH_MISSED,BRANCH_COVERED,LINE_MISSED,LINE_COVERED,COMPLEXITY_MISSED,COMPLEXITY_COVERED,METHOD_MISSED,METHOD_COVERED +Apache Commons CLI,org.apache.commons.cli,PatternOptionBuilder,5,163,1,43,2,49,2,29,1,4 +Apache Commons CLI,org.apache.commons.cli,UnrecognizedOptionException,0,14,0,0,0,6,0,3,0,3 +Apache Commons CLI,org.apache.commons.cli,PosixParser,0,334,0,52,0,69,0,33,0,7 +Apache Commons CLI,org.apache.commons.cli,AmbiguousOptionException,0,61,0,4,0,16,0,5,0,3 +Apache Commons CLI,org.apache.commons.cli,MissingArgumentException,0,22,0,0,0,6,0,3,0,3 +Apache Commons CLI,org.apache.commons.cli,BasicParser,0,5,0,0,0,2,0,2,0,2 +Apache Commons CLI,org.apache.commons.cli,CommandLine,0,282,1,31,0,59,1,35,0,20 +Apache Commons CLI,org.apache.commons.cli,HelpFormatter,46,902,9,113,11,202,13,90,4,38 +Apache Commons CLI,org.apache.commons.cli,Option.Builder,9,88,0,6,3,29,2,16,2,13 +Apache Commons CLI,org.apache.commons.cli,DefaultParser,25,836,11,147,5,182,11,92,0,24 +Apache Commons CLI,org.apache.commons.cli,GnuParser,0,145,0,20,0,28,0,12,0,2 +Apache Commons CLI,org.apache.commons.cli,AlreadySelectedException,0,37,0,0,0,9,0,4,0,4 +Apache Commons CLI,org.apache.commons.cli,ParseException,0,4,0,0,0,2,0,1,0,1 +Apache Commons CLI,org.apache.commons.cli,Options,9,264,0,20,2,55,1,26,1,16 +Apache Commons CLI,org.apache.commons.cli,OptionValidator,3,86,0,16,1,13,1,11,1,3 +Apache Commons CLI,org.apache.commons.cli,Option,61,501,16,66,12,117,17,72,3,45 +Apache Commons CLI,org.apache.commons.cli,MissingOptionException,0,56,0,6,0,15,0,7,0,4 +Apache Commons CLI,org.apache.commons.cli,OptionBuilder,8,146,0,4,3,63,2,22,2,20 +Apache Commons CLI,org.apache.commons.cli,OptionGroup,0,130,1,13,0,35,1,15,0,9 +Apache Commons CLI,org.apache.commons.cli,Parser,9,389,5,71,2,104,4,47,0,13 +Apache Commons CLI,org.apache.commons.cli,HelpFormatter.OptionComparator,0,9,0,0,0,2,0,2,0,2 +Apache Commons CLI,org.apache.commons.cli,TypeHandler,11,156,3,17,4,38,4,16,1,9 +Apache Commons CLI,org.apache.commons.cli,Util,3,59,0,14,1,11,1,9,1,2 Added: websites/production/commons/content/proper/commons-cli/jacoco/jacoco.xml ============================================================================== --- websites/production/commons/content/proper/commons-cli/jacoco/jacoco.xml (added) +++ websites/production/commons/content/proper/commons-cli/jacoco/jacoco.xml Sat May 9 18:19:15 2015 @@ -0,0 +1 @@ [... 3 lines stripped ...] Propchange: websites/production/commons/content/proper/commons-cli/jacoco/jacoco.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AlreadySelectedException.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AlreadySelectedException.html (added) +++ websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AlreadySelectedException.html Sat May 9 18:19:15 2015 @@ -0,0 +1 @@ +<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>AlreadySelectedException</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CLI</a> > <a href="index.html" class="el_package">org.apache.commons.cli</a> > <span class="el_class">AlreadySelectedException</span></div><h1>AlreadySelectedException</h1><table class="coverage" cellspacing="0" id="coverageta ble"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 37</td><td class="ctr2">100%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">0</td><td class="ctr2">4 </td><td class="ctr1">0</td><td class="ctr2">9</td><td class="ctr1">0</td><td class="ctr2">4</td></tr></tfoot><tbody><tr><td id="a0"><a href="AlreadySelectedException.java.html#L60" class="el_method">AlreadySelectedException(OptionGroup, Option)</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="27" alt="27"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">5</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a1"><a href="AlreadySelectedException.java.html#L47" class="el_method">AlreadySelectedException(String)</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="17" height="10" title="4" alt="4"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1 ">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">2</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a3"><a href="AlreadySelectedException.java.html#L74" class="el_method">getOptionGroup()</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="13" height="10" title="3" alt="3"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i2">1</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a2"><a href="AlreadySelectedException.java.html#L85" class="el_method">getOption()</a></td><td class="bar" id="b3"><img src="../.resources/greenbar.gif" width="13" height="10" title="3" alt="3"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f3"> 0</td><td class="ctr2" id="g3">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i3">1</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html> \ No newline at end of file Propchange: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AlreadySelectedException.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AlreadySelectedException.java.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AlreadySelectedException.java.html (added) +++ websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AlreadySelectedException.java.html Sat May 9 18:19:15 2015 @@ -0,0 +1,88 @@ +<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>AlreadySelectedException.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CLI</a> > <a href="index.source.html" class="el_package">org.apache.commons.cli</a> > <span class="el_source">AlreadySelectedExcepti on.java</span></div><h1>AlreadySelectedException.java</h1><pre class="source lang-java linenums">/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.commons.cli; + +/** + * Thrown when more than one option in an option group + * has been provided. + * + * @version $Id: AlreadySelectedException.java 1443102 2013-02-06 18:12:16Z tn $ + */ +public class AlreadySelectedException extends ParseException +{ + /** + * This exception {@code serialVersionUID}. + */ + private static final long serialVersionUID = 3674381532418544760L; + + /** The option group selected. */ + private OptionGroup group; + + /** The option that triggered the exception. */ + private Option option; + + /** + * Construct a new <code>AlreadySelectedException</code> + * with the specified detail message. + * + * @param message the detail message + */ + public AlreadySelectedException(String message) + { +<span class="fc" id="L47"> super(message);</span> +<span class="fc" id="L48"> }</span> + + /** + * Construct a new <code>AlreadySelectedException</code> + * for the specified option group. + * + * @param group the option group already selected + * @param option the option that triggered the exception + * @since 1.2 + */ + public AlreadySelectedException(OptionGroup group, Option option) + { +<span class="fc" id="L60"> this("The option '" + option.getKey() + "' was specified but an option from this group "</span> +<span class="fc" id="L61"> + "has already been selected: '" + group.getSelected() + "'");</span> +<span class="fc" id="L62"> this.group = group;</span> +<span class="fc" id="L63"> this.option = option;</span> +<span class="fc" id="L64"> }</span> + + /** + * Returns the option group where another option has been selected. + * + * @return the related option group + * @since 1.2 + */ + public OptionGroup getOptionGroup() + { +<span class="fc" id="L74"> return group;</span> + } + + /** + * Returns the option that was added to the group and triggered the exception. + * + * @return the related option + * @since 1.2 + */ + public Option getOption() + { +<span class="fc" id="L85"> return option;</span> + } +} +</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html> \ No newline at end of file Propchange: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AlreadySelectedException.java.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AmbiguousOptionException.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AmbiguousOptionException.html (added) +++ websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AmbiguousOptionException.html Sat May 9 18:19:15 2015 @@ -0,0 +1 @@ +<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>AmbiguousOptionException</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CLI</a> > <a href="index.html" class="el_package">org.apache.commons.cli</a> > <span class="el_class">AmbiguousOptionException</span></div><h1>AmbiguousOptionException</h1><table class="coverage" cellspacing="0" id="coverageta ble"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 61</td><td class="ctr2">100%</td><td class="bar">0 of 4</td><td class="ctr2">100%</td><td class="ctr1">0</td><td class="ctr2"> 5</td><td class="ctr1">0</td><td class="ctr2">16</td><td class="ctr1">0</td><td class="ctr2">3</td></tr></tfoot><tbody><tr><td id="a1"><a href="AmbiguousOptionException.java.html#L69" class="el_method">createMessage(String, Collection)</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="48" alt="48"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120" height="10" title="4" alt="4"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">3</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">12</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a0"><a href="AmbiguousOptionException.java.html#L47" class="el_method">AmbiguousOptionException(String, Collection)</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="25" height="10" title="10" alt="10"/></td><td class="ctr2" id="c1" >100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td >class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" >id="h1">0</td><td class="ctr2" id="i1">3</td><td class="ctr1" >id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a2"><a >href="AmbiguousOptionException.java.html#L57" >class="el_method">getMatchingOptions()</a></td><td class="bar" id="b2"><img >src="../.resources/greenbar.gif" width="7" height="10" title="3" >alt="3"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d2"/><td >class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">0</td><td class="ctr2" >id="g2">1</td><td class="ctr1" id="h2">0</td><td class="ctr2" >id="i2">1</td><td class="ctr1" id="j2">0</td><td class="ctr2" >id="k2">1</td></tr></tbody></table><div class="footer"><span >class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> >0.7.2.201409121644</span></div></body></html> \ No newline at end of file Propchange: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AmbiguousOptionException.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AmbiguousOptionException.java.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AmbiguousOptionException.java.html (added) +++ websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AmbiguousOptionException.java.html Sat May 9 18:19:15 2015 @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>AmbiguousOptionException.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CLI</a> > <a href="index.source.html" class="el_package">org.apache.commons.cli</a> > <span class="el_source">AmbiguousOptionExcepti on.java</span></div><h1>AmbiguousOptionException.java</h1><pre class="source lang-java linenums">/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.commons.cli; + +import java.util.Collection; +import java.util.Iterator; + +/** + * Exception thrown when an option can't be identified from a partial name. + * + * @version $Id: AmbiguousOptionException.java 1669814 2015-03-28 18:09:26Z britter $ + * @since 1.3 + */ +public class AmbiguousOptionException extends UnrecognizedOptionException +{ + /** + * This exception {@code serialVersionUID}. + */ + private static final long serialVersionUID = 5829816121277947229L; + + /** The list of options matching the partial name specified */ + private final Collection<String> matchingOptions; + + /** + * Constructs a new AmbiguousOptionException. + * + * @param option the partial option name + * @param matchingOptions the options matching the name + */ + public AmbiguousOptionException(String option, Collection<String> matchingOptions) + { +<span class="fc" id="L47"> super(createMessage(option, matchingOptions), option);</span> +<span class="fc" id="L48"> this.matchingOptions = matchingOptions;</span> +<span class="fc" id="L49"> }</span> + + /** + * Returns the options matching the partial name. + * @return a collection of options matching the name + */ + public Collection<String> getMatchingOptions() + { +<span class="fc" id="L57"> return matchingOptions;</span> + } + + /** + * Build the exception message from the specified list of options. + * + * @param option + * @param matchingOptions + * @return + */ + private static String createMessage(String option, Collection<String> matchingOptions) + { +<span class="fc" id="L69"> StringBuilder buf = new StringBuilder("Ambiguous option: '");</span> +<span class="fc" id="L70"> buf.append(option);</span> +<span class="fc" id="L71"> buf.append("' (could be: ");</span> + +<span class="fc" id="L73"> Iterator<String> it = matchingOptions.iterator();</span> +<span class="fc bfc" id="L74" title="All 2 branches covered."> while (it.hasNext())</span> + { +<span class="fc" id="L76"> buf.append("'");</span> +<span class="fc" id="L77"> buf.append(it.next());</span> +<span class="fc" id="L78"> buf.append("'");</span> +<span class="fc bfc" id="L79" title="All 2 branches covered."> if (it.hasNext())</span> + { +<span class="fc" id="L81"> buf.append(", ");</span> + } + } +<span class="fc" id="L84"> buf.append(")");</span> + +<span class="fc" id="L86"> return buf.toString();</span> + } +} +</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html> \ No newline at end of file Propchange: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/AmbiguousOptionException.java.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/BasicParser.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/BasicParser.html (added) +++ websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/BasicParser.html Sat May 9 18:19:15 2015 @@ -0,0 +1 @@ +<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>BasicParser</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CLI</a> > <a href="index.html" class="el_package">org.apache.commons.cli</a> > <span class="el_class">BasicParser</span></div><h1>BasicParser</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id ="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 5</td><td class="ctr2">100%</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">0</td><td class="ctr2">2</td><td class="ctr1">0</td><td class="c tr2">2</td><td class="ctr1">0</td><td class="ctr2">2</td></tr></tfoot><tbody><tr><td id="a0"><a href="BasicParser.java.html#L28" class="el_method">BasicParser()</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="3" alt="3"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">1</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a1"><a href="BasicParser.java.html#L49" class="el_method">flatten(Options, String[], boolean)</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="80" height="10" title="2" alt="2"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">1< /td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html> \ No newline at end of file Propchange: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/BasicParser.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/BasicParser.java.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/BasicParser.java.html (added) +++ websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/BasicParser.java.html Sat May 9 18:19:15 2015 @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>BasicParser.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CLI</a> > <a href="index.source.html" class="el_package">org.apache.commons.cli</a> > <span class="el_source">BasicParser.java</span></div><h1>Ba sicParser.java</h1><pre class="source lang-java linenums">/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.commons.cli; + +/** + * The class BasicParser provides a very simple implementation of + * the {@link Parser#flatten(Options,String[],boolean) flatten} method. + * + * @version $Id: BasicParser.java 1443102 2013-02-06 18:12:16Z tn $ + * @deprecated since 1.3, use the {@link DefaultParser} instead + */ +@Deprecated +<span class="fc" id="L28">public class BasicParser extends Parser</span> +{ + /** + * <p>A simple implementation of {@link Parser}'s abstract + * {@link Parser#flatten(Options, String[], boolean) flatten} method.</p> + * + * <p><b>Note:</b> <code>options</code> and <code>stopAtNonOption</code> + * are not used in this <code>flatten</code> method.</p> + * + * @param options The command line {@link Options} + * @param arguments The command line arguments to be parsed + * @param stopAtNonOption Specifies whether to stop flattening + * when an non option is found. + * @return The <code>arguments</code> String array. + */ + @Override + protected String[] flatten(@SuppressWarnings("unused") Options options, + String[] arguments, + @SuppressWarnings("unused") boolean stopAtNonOption) + { + // just echo the arguments +<span class="fc" id="L49"> return arguments;</span> + } +} +</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html> \ No newline at end of file Propchange: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/BasicParser.java.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/CommandLine.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/CommandLine.html (added) +++ websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/CommandLine.html Sat May 9 18:19:15 2015 @@ -0,0 +1 @@ +<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>CommandLine</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CLI</a> > <a href="index.html" class="el_package">org.apache.commons.cli</a> > <span class="el_class">CommandLine</span></div><h1>CommandLine</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id ="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 282</td><td class="ctr2">100%</td><td class="bar">1 of 32</td><td class="ctr2">97%</td><td class="ctr1">1</td><td class="ctr2">36</td><td class="ctr1">0</td><td clas s="ctr2">59</td><td class="ctr1">0</td><td class="ctr2">20</td></tr></tfoot><tbody><tr><td id="a7"><a href="CommandLine.java.html#L265" class="el_method">getOptionProperties(String)</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="56" alt="56"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d1"><img src="../.resources/greenbar.gif" width="120" height="10" title="10" alt="10"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g0">6</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">10</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a14"><a href="CommandLine.java.html#L170" class="el_method">getOptionValues(String)</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="92" height="10" title="43" alt="43"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d2"><img src="../.resources/greenbar.gif" width="96" h eight="10" title="8" alt="8"/></td><td class="ctr2" id="e1">100%</td><td class="ctr1" id="f2">0</td><td class="ctr2" id="g1">5</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i2">6</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a19"><a href="CommandLine.java.html#L191" class="el_method">resolveOption(String)</a></td><td class="bar" id="b2"><img src="../.resources/greenbar.gif" width="66" height="10" title="31" alt="31"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d3"><img src="../.resources/greenbar.gif" width="72" height="10" title="6" alt="6"/></td><td class="ctr2" id="e2">100%</td><td class="ctr1" id="f3">0</td><td class="ctr2" id="g2">4</td><td class="ctr1" id="h2">0</td><td class="ctr2" id="i1">8</td><td class="ctr1" id="j2">0</td><td class="ctr2" id="k2">1</td></tr><tr><td id="a6"><a href="CommandLine.java.html#L93" class="el_method">getOptionObject(String)</a></td><td class="bar" id="b3"><img src="../.resources/greenb ar.gif" width="47" height="10" title="22" alt="22"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d6"/><td class="ctr2" id="e6">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g6">1</td><td class="ctr1" id="h3">0</td><td class="ctr2" id="i4">4</td><td class="ctr1" id="j3">0</td><td class="ctr2" id="k3">1</td></tr><tr><td id="a15"><a href="CommandLine.java.html#L113" class="el_method">getParsedOptionValue(String)</a></td><td class="bar" id="b4"><img src="../.resources/greenbar.gif" width="40" height="10" title="19" alt="19"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="12" height="10" title="1" alt="1"/><img src="../.resources/greenbar.gif" width="36" height="10" title="3" alt="3"/></td><td class="ctr2" id="e5">75%</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g3">3</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i3">5</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</ td></tr><tr><td id="a2"><a href="CommandLine.java.html#L46" class="el_method">CommandLine()</a></td><td class="bar" id="b5"><img src="../.resources/greenbar.gif" width="27" height="10" title="13" alt="13"/></td><td class="ctr2" id="c5">100%</td><td class="bar" id="d7"/><td class="ctr2" id="e7">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g7">1</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i5">4</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr><tr><td id="a11"><a href="CommandLine.java.html#L144" class="el_method">getOptionValue(String)</a></td><td class="bar" id="b6"><img src="../.resources/greenbar.gif" width="25" height="10" title="12" alt="12"/></td><td class="ctr2" id="c6">100%</td><td class="bar" id="d4"><img src="../.resources/greenbar.gif" width="24" height="10" title="2" alt="2"/></td><td class="ctr2" id="e3">100%</td><td class="ctr1" id="f6">0</td><td class="ctr2" id="g4">2</td><td class="ctr1" id="h6">0</td><td class="ctr2" id ="i8">2</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k6">1</td></tr><tr><td id="a4"><a href="CommandLine.java.html#L295" class="el_method">getArgs()</a></td><td class="bar" id="b7"><img src="../.resources/greenbar.gif" width="25" height="10" title="12" alt="12"/></td><td class="ctr2" id="c7">100%</td><td class="bar" id="d8"/><td class="ctr2" id="e8">n/a</td><td class="ctr1" id="f7">0</td><td class="ctr2" id="g8">1</td><td class="ctr1" id="h7">0</td><td class="ctr2" id="i6">3</td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k7">1</td></tr><tr><td id="a8"><a href="CommandLine.java.html#L372" class="el_method">getOptions()</a></td><td class="bar" id="b8"><img src="../.resources/greenbar.gif" width="25" height="10" title="12" alt="12"/></td><td class="ctr2" id="c8">100%</td><td class="bar" id="d9"/><td class="ctr2" id="e9">n/a</td><td class="ctr1" id="f8">0</td><td class="ctr2" id="g9">1</td><td class="ctr1" id="h8">0</td><td class="ctr2" id="i7">3</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k8">1</td></tr><tr><td id="a12"><a href="CommandLine.java.html#L231" class="el_method">getOptionValue(String, String)</a></td><td class="bar" id="b9"><img src="../.resources/greenbar.gif" width="21" height="10" title="10" alt="10"/></td><td class="ctr2" id="c9">100%</td><td class="bar" id="d5"><img src="../.resources/greenbar.gif" width="24" height="10" title="2" alt="2"/></td><td class="ctr2" id="e4">100%</td><td class="ctr1" id="f9">0</td><td class="ctr2" id="g5">2</td><td class="ctr1" id="h9">0</td><td class="ctr2" id="i9">2</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k9">1</td></tr><tr><td id="a17"><a href="CommandLine.java.html#L67" class="el_method">hasOption(String)</a></td><td class="bar" id="b10"><img src="../.resources/greenbar.gif" width="15" height="10" title="7" alt="7"/></td><td class="ctr2" id="c10">100%</td><td class="bar" id="d10"/><td class="ctr2" id="e10">n/a</td><td class="ctr1" id="f10">0</td><td class="ctr2" id="g 10">1</td><td class="ctr1" id="h10">0</td><td class="ctr2" id="i12">1</td><td class="ctr1" id="j10">0</td><td class="ctr2" id="k10">1</td></tr><tr><td id="a10"><a href="CommandLine.java.html#L247" class="el_method">getOptionValue(char, String)</a></td><td class="bar" id="b11"><img src="../.resources/greenbar.gif" width="12" height="10" title="6" alt="6"/></td><td class="ctr2" id="c11">100%</td><td class="bar" id="d11"/><td class="ctr2" id="e11">n/a</td><td class="ctr1" id="f11">0</td><td class="ctr2" id="g11">1</td><td class="ctr1" id="h11">0</td><td class="ctr2" id="i13">1</td><td class="ctr1" id="j11">0</td><td class="ctr2" id="k11">1</td></tr><tr><td id="a0"><a href="CommandLine.java.html#L341" class="el_method">addArg(String)</a></td><td class="bar" id="b12"><img src="../.resources/greenbar.gif" width="12" height="10" title="6" alt="6"/></td><td class="ctr2" id="c12">100%</td><td class="bar" id="d12"/><td class="ctr2" id="e12">n/a</td><td class="ctr1" id="f12">0</td><td class="c tr2" id="g12">1</td><td class="ctr1" id="h12">0</td><td class="ctr2" id="i10">2</td><td class="ctr1" id="j12">0</td><td class="ctr2" id="k12">1</td></tr><tr><td id="a1"><a href="CommandLine.java.html#L351" class="el_method">addOption(Option)</a></td><td class="bar" id="b13"><img src="../.resources/greenbar.gif" width="12" height="10" title="6" alt="6"/></td><td class="ctr2" id="c13">100%</td><td class="bar" id="d13"/><td class="ctr2" id="e13">n/a</td><td class="ctr1" id="f13">0</td><td class="ctr2" id="g13">1</td><td class="ctr1" id="h13">0</td><td class="ctr2" id="i11">2</td><td class="ctr1" id="j13">0</td><td class="ctr2" id="k13">1</td></tr><tr><td id="a16"><a href="CommandLine.java.html#L78" class="el_method">hasOption(char)</a></td><td class="bar" id="b14"><img src="../.resources/greenbar.gif" width="10" height="10" title="5" alt="5"/></td><td class="ctr2" id="c14">100%</td><td class="bar" id="d14"/><td class="ctr2" id="e14">n/a</td><td class="ctr1" id="f14">0</td><td class="ct r2" id="g14">1</td><td class="ctr1" id="h14">0</td><td class="ctr2" id="i14">1</td><td class="ctr1" id="j14">0</td><td class="ctr2" id="k14">1</td></tr><tr><td id="a5"><a href="CommandLine.java.html#L132" class="el_method">getOptionObject(char)</a></td><td class="bar" id="b15"><img src="../.resources/greenbar.gif" width="10" height="10" title="5" alt="5"/></td><td class="ctr2" id="c15">100%</td><td class="bar" id="d15"/><td class="ctr2" id="e15">n/a</td><td class="ctr1" id="f15">0</td><td class="ctr2" id="g15">1</td><td class="ctr1" id="h15">0</td><td class="ctr2" id="i15">1</td><td class="ctr1" id="j15">0</td><td class="ctr2" id="k15">1</td></tr><tr><td id="a9"><a href="CommandLine.java.html#L158" class="el_method">getOptionValue(char)</a></td><td class="bar" id="b16"><img src="../.resources/greenbar.gif" width="10" height="10" title="5" alt="5"/></td><td class="ctr2" id="c16">100%</td><td class="bar" id="d16"/><td class="ctr2" id="e16">n/a</td><td class="ctr1" id="f16">0</td><td c lass="ctr2" id="g16">1</td><td class="ctr1" id="h16">0</td><td class="ctr2" id="i16">1</td><td class="ctr1" id="j16">0</td><td class="ctr2" id="k16">1</td></tr><tr><td id="a13"><a href="CommandLine.java.html#L217" class="el_method">getOptionValues(char)</a></td><td class="bar" id="b17"><img src="../.resources/greenbar.gif" width="10" height="10" title="5" alt="5"/></td><td class="ctr2" id="c17">100%</td><td class="bar" id="d17"/><td class="ctr2" id="e17">n/a</td><td class="ctr1" id="f17">0</td><td class="ctr2" id="g17">1</td><td class="ctr1" id="h17">0</td><td class="ctr2" id="i17">1</td><td class="ctr1" id="j17">0</td><td class="ctr2" id="k17">1</td></tr><tr><td id="a18"><a href="CommandLine.java.html#L362" class="el_method">iterator()</a></td><td class="bar" id="b18"><img src="../.resources/greenbar.gif" width="8" height="10" title="4" alt="4"/></td><td class="ctr2" id="c18">100%</td><td class="bar" id="d18"/><td class="ctr2" id="e18">n/a</td><td class="ctr1" id="f18">0</td><td cl ass="ctr2" id="g18">1</td><td class="ctr1" id="h18">0</td><td class="ctr2" id="i18">1</td><td class="ctr1" id="j18">0</td><td class="ctr2" id="k18">1</td></tr><tr><td id="a3"><a href="CommandLine.java.html#L309" class="el_method">getArgList()</a></td><td class="bar" id="b19"><img src="../.resources/greenbar.gif" width="6" height="10" title="3" alt="3"/></td><td class="ctr2" id="c19">100%</td><td class="bar" id="d19"/><td class="ctr2" id="e19">n/a</td><td class="ctr1" id="f19">0</td><td class="ctr2" id="g19">1</td><td class="ctr1" id="h19">0</td><td class="ctr2" id="i19">1</td><td class="ctr1" id="j19">0</td><td class="ctr2" id="k19">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html> \ No newline at end of file Propchange: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/CommandLine.html ------------------------------------------------------------------------------ svn:eol-style = native Added: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/CommandLine.java.html ============================================================================== --- websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/CommandLine.java.html (added) +++ websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/CommandLine.java.html Sat May 9 18:19:15 2015 @@ -0,0 +1,381 @@ +<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>CommandLine.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons CLI</a> > <a href="index.source.html" class="el_package">org.apache.commons.cli</a> > <span class="el_source">CommandLine.java</span></div><h1>Co mmandLine.java</h1><pre class="source lang-java linenums">/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.commons.cli; + +import java.io.Serializable; +import java.util.ArrayList; +import java.util.Collection; +import java.util.Iterator; +import java.util.LinkedList; +import java.util.List; +import java.util.Properties; + +/** + * Represents list of arguments parsed against a {@link Options} descriptor. + * <p> + * It allows querying of a boolean {@link #hasOption(String opt)}, + * in addition to retrieving the {@link #getOptionValue(String opt)} + * for options requiring arguments. + * <p> + * Additionally, any left-over or unrecognized arguments, + * are available for further processing. + * + * @version $Id: CommandLine.java 1444365 2013-02-09 14:21:27Z tn $ + */ +public class CommandLine implements Serializable +{ + /** The serial version UID. */ + private static final long serialVersionUID = 1L; + + /** the unrecognised options/arguments */ +<span class="fc" id="L46"> private final List<String> args = new LinkedList<String>();</span> + + /** the processed options */ +<span class="fc" id="L49"> private final List<Option> options = new ArrayList<Option>();</span> + + /** + * Creates a command line. + */ + protected CommandLine() +<span class="fc" id="L55"> {</span> + // nothing to do +<span class="fc" id="L57"> }</span> + + /** + * Query to see if an option has been set. + * + * @param opt Short name of the option + * @return true if set, false if not + */ + public boolean hasOption(String opt) + { +<span class="fc" id="L67"> return options.contains(resolveOption(opt));</span> + } + + /** + * Query to see if an option has been set. + * + * @param opt character name of the option + * @return true if set, false if not + */ + public boolean hasOption(char opt) + { +<span class="fc" id="L78"> return hasOption(String.valueOf(opt));</span> + } + + /** + * Return the <code>Object</code> type of this <code>Option</code>. + * + * @param opt the name of the option + * @return the type of this <code>Option</code> + * @deprecated due to System.err message. Instead use getParsedOptionValue(String) + */ + @Deprecated + public Object getOptionObject(String opt) + { + try + { +<span class="fc" id="L93"> return getParsedOptionValue(opt);</span> + } +<span class="fc" id="L95"> catch (ParseException pe)</span> + { +<span class="fc" id="L97"> System.err.println("Exception found converting " + opt + " to desired type: " + pe.getMessage());</span> +<span class="fc" id="L98"> return null;</span> + } + } + + /** + * Return a version of this <code>Option</code> converted to a particular type. + * + * @param opt the name of the option + * @return the value parsed into a particular object + * @throws ParseException if there are problems turning the option value into the desired type + * @see PatternOptionBuilder + * @since 1.2 + */ + public Object getParsedOptionValue(String opt) throws ParseException + { +<span class="fc" id="L113"> String res = getOptionValue(opt);</span> +<span class="fc" id="L114"> Option option = resolveOption(opt);</span> + +<span class="pc bpc" id="L116" title="1 of 4 branches missed."> if (option == null || res == null)</span> + { +<span class="fc" id="L118"> return null;</span> + } + +<span class="fc" id="L121"> return TypeHandler.createValue(res, option.getType());</span> + } + + /** + * Return the <code>Object</code> type of this <code>Option</code>. + * + * @param opt the name of the option + * @return the type of opt + */ + public Object getOptionObject(char opt) + { +<span class="fc" id="L132"> return getOptionObject(String.valueOf(opt));</span> + } + + /** + * Retrieve the first argument, if any, of this option. + * + * @param opt the name of the option + * @return Value of the argument if option is set, and has an argument, + * otherwise null. + */ + public String getOptionValue(String opt) + { +<span class="fc" id="L144"> String[] values = getOptionValues(opt);</span> + +<span class="fc bfc" id="L146" title="All 2 branches covered."> return (values == null) ? null : values[0];</span> + } + + /** + * Retrieve the first argument, if any, of this option. + * + * @param opt the character name of the option + * @return Value of the argument if option is set, and has an argument, + * otherwise null. + */ + public String getOptionValue(char opt) + { +<span class="fc" id="L158"> return getOptionValue(String.valueOf(opt));</span> + } + + /** + * Retrieves the array of values, if any, of an option. + * + * @param opt string name of the option + * @return Values of the argument if option is set, and has an argument, + * otherwise null. + */ + public String[] getOptionValues(String opt) + { +<span class="fc" id="L170"> List<String> values = new ArrayList<String>();</span> + +<span class="fc bfc" id="L172" title="All 2 branches covered."> for (Option option : options)</span> + { +<span class="fc bfc" id="L174" title="All 4 branches covered."> if (opt.equals(option.getOpt()) || opt.equals(option.getLongOpt()))</span> + { +<span class="fc" id="L176"> values.addAll(option.getValuesList());</span> + } +<span class="fc" id="L178"> }</span> + +<span class="fc bfc" id="L180" title="All 2 branches covered."> return values.isEmpty() ? null : values.toArray(new String[values.size()]);</span> + } + + /** + * Retrieves the option object given the long or short option as a String + * + * @param opt short or long name of the option + * @return Canonicalized option + */ + private Option resolveOption(String opt) + { +<span class="fc" id="L191"> opt = Util.stripLeadingHyphens(opt);</span> +<span class="fc bfc" id="L192" title="All 2 branches covered."> for (Option option : options)</span> + { +<span class="fc bfc" id="L194" title="All 2 branches covered."> if (opt.equals(option.getOpt()))</span> + { +<span class="fc" id="L196"> return option;</span> + } + +<span class="fc bfc" id="L199" title="All 2 branches covered."> if (opt.equals(option.getLongOpt()))</span> + { +<span class="fc" id="L201"> return option;</span> + } + +<span class="fc" id="L204"> }</span> +<span class="fc" id="L205"> return null;</span> + } + + /** + * Retrieves the array of values, if any, of an option. + * + * @param opt character name of the option + * @return Values of the argument if option is set, and has an argument, + * otherwise null. + */ + public String[] getOptionValues(char opt) + { +<span class="fc" id="L217"> return getOptionValues(String.valueOf(opt));</span> + } + + /** + * Retrieve the first argument, if any, of an option. + * + * @param opt name of the option + * @param defaultValue is the default value to be returned if the option + * is not specified + * @return Value of the argument if option is set, and has an argument, + * otherwise <code>defaultValue</code>. + */ + public String getOptionValue(String opt, String defaultValue) + { +<span class="fc" id="L231"> String answer = getOptionValue(opt);</span> + +<span class="fc bfc" id="L233" title="All 2 branches covered."> return (answer != null) ? answer : defaultValue;</span> + } + + /** + * Retrieve the argument, if any, of an option. + * + * @param opt character name of the option + * @param defaultValue is the default value to be returned if the option + * is not specified + * @return Value of the argument if option is set, and has an argument, + * otherwise <code>defaultValue</code>. + */ + public String getOptionValue(char opt, String defaultValue) + { +<span class="fc" id="L247"> return getOptionValue(String.valueOf(opt), defaultValue);</span> + } + + /** + * Retrieve the map of values associated to the option. This is convenient + * for options specifying Java properties like <tt>-Dparam1=value1 + * -Dparam2=value2</tt>. The first argument of the option is the key, and + * the 2nd argument is the value. If the option has only one argument + * (<tt>-Dfoo</tt>) it is considered as a boolean flag and the value is + * <tt>"true"</tt>. + * + * @param opt name of the option + * @return The Properties mapped by the option, never <tt>null</tt> + * even if the option doesn't exists + * @since 1.2 + */ + public Properties getOptionProperties(String opt) + { +<span class="fc" id="L265"> Properties props = new Properties();</span> + +<span class="fc bfc" id="L267" title="All 2 branches covered."> for (Option option : options)</span> + { +<span class="fc bfc" id="L269" title="All 4 branches covered."> if (opt.equals(option.getOpt()) || opt.equals(option.getLongOpt()))</span> + { +<span class="fc" id="L271"> List<String> values = option.getValuesList();</span> +<span class="fc bfc" id="L272" title="All 2 branches covered."> if (values.size() >= 2)</span> + { + // use the first 2 arguments as the key/value pair +<span class="fc" id="L275"> props.put(values.get(0), values.get(1));</span> + } +<span class="fc bfc" id="L277" title="All 2 branches covered."> else if (values.size() == 1)</span> + { + // no explicit value, handle it as a boolean +<span class="fc" id="L280"> props.put(values.get(0), "true");</span> + } + } +<span class="fc" id="L283"> }</span> + +<span class="fc" id="L285"> return props;</span> + } + + /** + * Retrieve any left-over non-recognized options and arguments + * + * @return remaining items passed in but not parsed as an array + */ + public String[] getArgs() + { +<span class="fc" id="L295"> String[] answer = new String[args.size()];</span> + +<span class="fc" id="L297"> args.toArray(answer);</span> + +<span class="fc" id="L299"> return answer;</span> + } + + /** + * Retrieve any left-over non-recognized options and arguments + * + * @return remaining items passed in but not parsed as a <code>List</code>. + */ + public List<String> getArgList() + { +<span class="fc" id="L309"> return args;</span> + } + + /** + * jkeyes + * - commented out until it is implemented properly + * <p>Dump state, suitable for debugging.</p> + * + * @return Stringified form of this object + */ + + /* + public String toString() { + StringBuilder buf = new StringBuilder(); + + buf.append("[ CommandLine: [ options: "); + buf.append(options.toString()); + buf.append(" ] [ args: "); + buf.append(args.toString()); + buf.append(" ] ]"); + + return buf.toString(); + } + */ + + /** + * Add left-over unrecognized option/argument. + * + * @param arg the unrecognised option/argument. + */ + protected void addArg(String arg) + { +<span class="fc" id="L341"> args.add(arg);</span> +<span class="fc" id="L342"> }</span> + + /** + * Add an option to the command line. The values of the option are stored. + * + * @param opt the processed option + */ + protected void addOption(Option opt) + { +<span class="fc" id="L351"> options.add(opt);</span> +<span class="fc" id="L352"> }</span> + + /** + * Returns an iterator over the Option members of CommandLine. + * + * @return an <code>Iterator</code> over the processed {@link Option} + * members of this {@link CommandLine} + */ + public Iterator<Option> iterator() + { +<span class="fc" id="L362"> return options.iterator();</span> + } + + /** + * Returns an array of the processed {@link Option}s. + * + * @return an array of the processed {@link Option}s. + */ + public Option[] getOptions() + { +<span class="fc" id="L372"> Collection<Option> processed = options;</span> + + // reinitialise array +<span class="fc" id="L375"> Option[] optionsArray = new Option[processed.size()];</span> + + // return the array +<span class="fc" id="L378"> return processed.toArray(optionsArray);</span> + } +} +</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html> \ No newline at end of file Propchange: websites/production/commons/content/proper/commons-cli/jacoco/org.apache.commons.cli/CommandLine.java.html ------------------------------------------------------------------------------ svn:eol-style = native