Added: websites/staging/commonsrdf/content/jacoco/jacoco-sessions.html ============================================================================== --- websites/staging/commonsrdf/content/jacoco/jacoco-sessions.html (added) +++ websites/staging/commonsrdf/content/jacoco/jacoco-sessions.html Wed Nov 30 23:45:19 2016 @@ -0,0 +1 @@ +<?xml version="1.0" encoding="UTF-8"?><!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="jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="jacoco-resources/report.gif" type="image/gif"/><title>Sessions</title></head><body><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="jacoco-sessions.html" class="el_session">Sessions</a></span><a href="index.html" class="el_report">Commons RDF API</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">biggiebuntu-af992de3</span></td><td>Nov 30, 2016 11:43:00 PM</td><td>Nov 30, 2016 11:43:02 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><a href="org.apache.commons.rdf.api/Dataset.html" class="el_class">org.apache.commons.rdf.api.Dataset</a></td><td><code>6737460327f461e7</code></td></tr><tr><td><span class="el_class">org.apache.commons.rdf.api.DefaultDatasetTest</span></td><td><code>8c10cb2bde40e8f6</code></td></tr><tr><td><span class="el_class">org.apache.commons.rdf.api.DefaultGraphTest</span></td><td><code>af434d8b25cff9c3</code></td></tr><tr><td><span class="el_class">org.apache.commons.rdf.api.DefaultQuadTest</span></td><td><code>de33c6da4c49e7e8</code></td></tr><tr><td><span class="el_class">org.apache.commons.rdf.api.DefaultRDFTermFactoryTest</span></td><td><code>59a9c61e61d50527</code></td></tr><tr><td><span class="el_class">org.apache.commons.rdf.api .DefaultRDFTermFactoryTest.1</span></td><td><code>0dec82997aa02fc1</code></td></tr><tr><td><span class="el_class">org.apache.commons.rdf.api.DummyDataset</span></td><td><code>520fc4e9ad47fe32</code></td></tr><tr><td><span class="el_class">org.apache.commons.rdf.api.DummyDatasetTest</span></td><td><code>b361f4a6e2d971a3</code></td></tr><tr><td><span class="el_class">org.apache.commons.rdf.api.DummyGraph</span></td><td><code>739b2e42fce175ed</code></td></tr><tr><td><span class="el_class">org.apache.commons.rdf.api.DummyGraphTest</span></td><td><code>9d83cb64b349f906</code></td></tr><tr><td><span class="el_class">org.apache.commons.rdf.api.DummyIRI</span></td><td><code>1972fe58ce8343f9</code></td></tr><tr><td><span class="el_class">org.apache.commons.rdf.api.DummyIRITest</span></td><td><code>d874d776cb7b7359</code></td></tr><tr><td><span class="el_class">org.apache.commons.rdf.api.DummyQuad</span></td><td><code>b979cb33d9685e75</code></td></tr><tr><td><span class="el_class">org.apache. commons.rdf.api.DummyQuadTest</span></td><td><code>911dfa8022b40953</code></td></tr><tr><td><span class="el_class">org.apache.commons.rdf.api.DummyTriple</span></td><td><code>a219495603064f31</code></td></tr><tr><td><span class="el_class">org.apache.commons.rdf.api.DummyTripleTest</span></td><td><code>ebe44b266bd6fdd5</code></td></tr><tr><td><a href="org.apache.commons.rdf.api/Graph.html" class="el_class">org.apache.commons.rdf.api.Graph</a></td><td><code>d2ea33bead4ec6e1</code></td></tr><tr><td><a href="org.apache.commons.rdf.api/Quad.html" class="el_class">org.apache.commons.rdf.api.Quad</a></td><td><code>0b66147786c094d6</code></td></tr><tr><td><a href="org.apache.commons.rdf.api/Quad$1.html" class="el_class">org.apache.commons.rdf.api.Quad.1</a></td><td><code>3bf5779d11a138e9</code></td></tr><tr><td><a href="org.apache.commons.rdf.api/RDFSyntax.html" class="el_class">org.apache.commons.rdf.api.RDFSyntax</a></td><td><code>94ac926485733bd6</code></td></tr><tr><td><span class="el_c lass">org.apache.commons.rdf.api.RDFSyntaxTest</span></td><td><code>ac9f5d82b660e047</code></td></tr><tr><td><a href="org.apache.commons.rdf.api/RDFTermFactory.html" class="el_class">org.apache.commons.rdf.api.RDFTermFactory</a></td><td><code>4f777a7ee0f0264b</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.maven.surefire.booter.BaseProviderFactory</span></td><td><code>1863c3f5bbbd786f</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.BiProperty</span></td><td><code>3811df161ff4aaa9</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.BooterDeserializer</span></td><td><code>c83397fbff06643d</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.apach e.maven.surefire.booter.Classpath</span></td><td><code>9fa80090913f56d2</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.Command</span></td><td><code>6ecf946aa8d2df56</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.CommandReader</span></td><td><code>1b895077377f24ce</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.CommandReader.1</span></td><td><code>606842280b6ff99b</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.CommandReader.CommandRunnable</span></td><td><code>a7b877ee122885cd</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ForkedBooter</span></td><td><code>8a17eb0b7b54baf7</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ForkedBooter.1</span></td><td><co de>8ade34fbe7fa4c9e</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ForkedBooter.2</span></td><td><code>36ee353e01c0e482</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ForkedBooter.3</span></td><td><code>30e74f6bd08a5abf</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ForkedBooter.4</span></td><td><code>a02071697fadd7c1</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ForkedBooter.5</span></td><td><code>dffbe6c6c2234bf7</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ForkingReporterFactory</span></td><td><code>f5ffc73889b06268</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ForkingRunListener</span></td><td><code>1a6b3fe387024e94</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.MasterProcessCommand</span></td><td><code>c8c52c2b4f2fa353</code></td></tr><tr><td><spa n class="el_class">org.apache.maven.surefire.booter.PropertiesWrapper</span></td><td><code>f976b7dccf0ef18a</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.ProviderConfiguration</span></td><td><code>6e4106aa3a326db1</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.Shutdown</span></td><td><code>018da1b80039bf2d</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>99f9b7a3eb4c9e6f</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.booter.SystemPropertyManager</span></td><td><code>55457b88b7bddc95</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 .cli.CommandLineOption</span></td><td><code>923f88578fe31ad5</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.common.junit3.JUnit3TestChecker</span></td><td><code>d37625d6438b0aac</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.common.junit4.JUnit4Reflector</span></td><td><code>52042be78e73e38c</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.common.junit4.JUnit4RunListener</span></td><td><code>3a58d4eadd2ee599</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.common.junit4.JUnit4RunListenerFactory</span></td><td><code>5469bc692788ab18</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>d0146df09768b20f</code></td></tr><tr><td><span class="el_class">org.apache.maven.su refire.common.junit4.Notifier</span></td><td><code>861d75221ebf2039</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.junit4.JUnit4Provider</span></td><td><code>6f3778cd4b56e126</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.junit4.JUnit4Provider.1</span></td><td><code>11af5d46bbaa2107</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>c06f9613965ef2c2</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.report.ConsoleOutputCapture.ForwardingPrintStream</span></td><td><code>7f92c3646e7b182b</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.report.ReporterConfiguration</span></td><td><code>67e392be5e1a77a1</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.report.S impleReportEntry</span></td><td><code>7b33e601309d6567</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.shade.org.apache.maven.shared.utils.StringUtils</span></td><td><code>3e59d8fdda9dfb75</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.suite.RunResult</span></td><td><code>28f41bd127d85475</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.testset.DirectoryScannerParameters</span></td><td><code>219594604215c6e1</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.testset.IncludedExcludedPatterns</span></td><td><code>37d9d14a6b3ad341</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.testset.ResolvedTest</span></td><td><code>f5f1024767ced79d</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.testset.ResolvedTest.Type</span></td><td><code>7ae2ea912d005b15</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.testset.RunOrderParamete rs</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.TestListResolver</span></td><td><code>2aebed2326ea2644</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.testset.TestRequest</span></td><td><code>cc7669ca5d548729</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.CloseableIterator</span></td><td><code>48d9735bbd6f0c84</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.DefaultRunOrderCalculator</span></td><td><code>4afd46e16a876f49</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.DefaultScanResult</span></td><td><code>d9429f91d01e491f</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.ReflectionUtils</span></td><td><code>203674eb25a55c03</code></td> </tr><tr><td><span class="el_class">org.apache.maven.surefire.util.RunOrder</span></td><td><code>8a86963ef224158a</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.TestsToRun</span></td><td><code>380f935826fdc068</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.TestsToRun.ClassesIterator</span></td><td><code>fb7b4f0fe4d54ac0</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.internal.DaemonThreadFactory</span></td><td><code>b96b11c2e08610ae</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.internal.DaemonThreadFactory.NamedThreadFactory</span></td><td><code>b161fdb4f57065ff</code></td></tr><tr><td><span class="el_class">org.apache.maven.surefire.util.internal.StringUtils</span></td><td><code>d3369c3ee1b803fd</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 .MethodSorter</span></td><td><code>e7c1106d3801ff54</code></td></tr><tr><td><span class="el_class">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></tr><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.run ners.rules.RuleMemberValidator.FieldMustBeARule</span></td><td><code>e24e9f59de6fe5b7</code></td></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.MethodM ustBeATestRule</span></td><td><code>9f4dd18a26005c18</code></td></tr><tr><td><span class="el_class">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.runner.Description</span></td><td><code>c7f1b09126c24b2b</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.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.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.FrameworkM ethod</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>9a75aa5de27bf4d5</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.valid ator.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">org.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></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html> \ No newline at end of file
Added: websites/staging/commonsrdf/content/jacoco/jacoco.csv ============================================================================== --- websites/staging/commonsrdf/content/jacoco/jacoco.csv (added) +++ websites/staging/commonsrdf/content/jacoco/jacoco.csv Wed Nov 30 23:45:19 2016 @@ -0,0 +1,8 @@ +GROUP,PACKAGE,CLASS,INSTRUCTION_MISSED,INSTRUCTION_COVERED,BRANCH_MISSED,BRANCH_COVERED,LINE_MISSED,LINE_COVERED,COMPLEXITY_MISSED,COMPLEXITY_COVERED,METHOD_MISSED,METHOD_COVERED +Commons RDF API,org.apache.commons.rdf.api,Quad.new Triple() {...},1,71,3,7,0,13,3,8,0,6 +Commons RDF API,org.apache.commons.rdf.api,RDFTermFactory,0,40,0,0,0,8,0,8,0,8 +Commons RDF API,org.apache.commons.rdf.api,Quad,0,5,0,0,0,1,0,1,0,1 +Commons RDF API,org.apache.commons.rdf.api,RDFSyntax,0,182,0,0,0,20,0,9,0,9 +Commons RDF API,org.apache.commons.rdf.api,Dataset,0,19,0,0,0,3,0,3,0,3 +Commons RDF API,org.apache.commons.rdf.api,Graph,0,27,0,0,0,5,0,5,0,5 +Commons RDF API,org.apache.commons.rdf.experimental,RDFParser,22,0,2,0,5,0,4,0,3,0 Added: websites/staging/commonsrdf/content/jacoco/jacoco.xml ============================================================================== --- websites/staging/commonsrdf/content/jacoco/jacoco.xml (added) +++ websites/staging/commonsrdf/content/jacoco/jacoco.xml Wed Nov 30 23:45:19 2016 @@ -0,0 +1 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?><!DOCTYPE report PUBLIC "-//JACOCO//DTD Report 1.0//EN" "report.dtd"><report name="Commons RDF API"><sessioninfo id="biggiebuntu-af992de3" start="1480549380348" dump="1480549382746"/><package name="org/apache/commons/rdf/api"><class name="org/apache/commons/rdf/api/Quad$1"><method name="<init>" desc="(Lorg/apache/commons/rdf/api/Quad;)V" line="154"><counter type="INSTRUCTION" missed="0" covered="6"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="getSubject" desc="()Lorg/apache/commons/rdf/api/BlankNodeOrIRI;" line="157"><counter type="INSTRUCTION" missed="0" covered="4"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="getPredicate" desc="()Lorg/apache/commons/rdf/api/IRI;" line="162"><count er type="INSTRUCTION" missed="0" covered="4"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="getObject" desc="()Lorg/apache/commons/rdf/api/RDFTerm;" line="167"><counter type="INSTRUCTION" missed="0" covered="4"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="equals" desc="(Ljava/lang/Object;)Z" line="172"><counter type="INSTRUCTION" missed="1" covered="34"/><counter type="BRANCH" missed="3" covered="7"/><counter type="LINE" missed="0" covered="8"/><counter type="COMPLEXITY" missed="3" covered="3"/><counter type="METHOD" missed="0" covered="1"/></method><method name="hashCode" desc="()I" line="186"><counter type="INSTRUCTION" missed="0" covered="19"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><cou nter type="METHOD" missed="0" covered="1"/></method><counter type="INSTRUCTION" missed="1" covered="71"/><counter type="BRANCH" missed="3" covered="7"/><counter type="LINE" missed="0" covered="13"/><counter type="COMPLEXITY" missed="3" covered="8"/><counter type="METHOD" missed="0" covered="6"/><counter type="CLASS" missed="0" covered="1"/></class><class name="org/apache/commons/rdf/api/RDFTermFactory"><method name="createBlankNode" desc="()Lorg/apache/commons/rdf/api/BlankNode;" line="32"><counter type="INSTRUCTION" missed="0" covered="5"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="createBlankNode" desc="(Ljava/lang/String;)Lorg/apache/commons/rdf/api/BlankNode;" line="36"><counter type="INSTRUCTION" missed="0" covered="5"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered=" 1"/></method><method name="createGraph" desc="()Lorg/apache/commons/rdf/api/Graph;" line="40"><counter type="INSTRUCTION" missed="0" covered="5"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="createIRI" desc="(Ljava/lang/String;)Lorg/apache/commons/rdf/api/IRI;" line="44"><counter type="INSTRUCTION" missed="0" covered="5"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="createLiteral" desc="(Ljava/lang/String;)Lorg/apache/commons/rdf/api/Literal;" line="48"><counter type="INSTRUCTION" missed="0" covered="5"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="createLiteral" desc="(Ljava/lang/String;Lorg/apache/commons/rdf/api/IRI;)Lorg/a pache/commons/rdf/api/Literal;" line="53"><counter type="INSTRUCTION" missed="0" covered="5"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="createLiteral" desc="(Ljava/lang/String;Ljava/lang/String;)Lorg/apache/commons/rdf/api/Literal;" line="58"><counter type="INSTRUCTION" missed="0" covered="5"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="createTriple" desc="(Lorg/apache/commons/rdf/api/BlankNodeOrIRI;Lorg/apache/commons/rdf/api/IRI;Lorg/apache/commons/rdf/api/RDFTerm;)Lorg/apache/commons/rdf/api/Triple;" line="63"><counter type="INSTRUCTION" missed="0" covered="5"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><counter type="INSTRUCTION" missed="0" covered="40"/><counter type="LINE" missed="0" covered="8"/><counter type="COMPLEXITY" missed="0" covered="8"/><counter type="METHOD" missed="0" covered="8"/><counter type="CLASS" missed="0" covered="1"/></class><class name="org/apache/commons/rdf/api/Quad"><method name="asTriple" desc="()Lorg/apache/commons/rdf/api/Triple;" line="154"><counter type="INSTRUCTION" missed="0" covered="5"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><counter type="INSTRUCTION" missed="0" covered="5"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/><counter type="CLASS" missed="0" covered="1"/></class><class name="org/apache/commons/rdf/api/RDFSyntax"><method name="values" desc="()[Lorg/apache/commons/rdf/api/RDFSyntax;" line="37"><counter type="INSTRUCTION" missed="0" covered="4"/><counter typ e="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="valueOf" desc="(Ljava/lang/String;)Lorg/apache/commons/rdf/api/RDFSyntax;" line="37"><counter type="INSTRUCTION" missed="0" covered="5"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="toString" desc="()Ljava/lang/String;" line="141"><counter type="INSTRUCTION" missed="0" covered="3"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="<init>" desc="(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V" line="144"><counter type="INSTRUCTION" missed="0" covered="17"/><counter type="LINE" missed="0" covered="6"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type= "METHOD" missed="0" covered="1"/></method><method name="byMediaType" desc="(Ljava/lang/String;)Ljava/util/Optional;" line="171"><counter type="INSTRUCTION" missed="0" covered="16"/><counter type="LINE" missed="0" covered="2"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="byFileExtension" desc="(Ljava/lang/String;)Ljava/util/Optional;" line="190"><counter type="INSTRUCTION" missed="0" covered="11"/><counter type="LINE" missed="0" covered="2"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="lambda$byFileExtension$1" desc="(Ljava/lang/String;Lorg/apache/commons/rdf/api/RDFSyntax;)Z" line="191"><counter type="INSTRUCTION" missed="0" covered="5"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="lambda$byMediaType$0" desc="(Ljav a/lang/String;Lorg/apache/commons/rdf/api/RDFSyntax;)Z" line="172"><counter type="INSTRUCTION" missed="0" covered="5"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="<clinit>" desc="()V" line="37"><counter type="INSTRUCTION" missed="0" covered="116"/><counter type="LINE" missed="0" covered="9"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><counter type="INSTRUCTION" missed="0" covered="182"/><counter type="LINE" missed="0" covered="20"/><counter type="COMPLEXITY" missed="0" covered="9"/><counter type="METHOD" missed="0" covered="9"/><counter type="CLASS" missed="0" covered="1"/></class><class name="org/apache/commons/rdf/api/Dataset"><method name="close" desc="()V" line="104"><counter type="INSTRUCTION" missed="0" covered="1"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" m issed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="iterate" desc="()Ljava/lang/Iterable;" line="296"><counter type="INSTRUCTION" missed="0" covered="7"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="iterate" desc="(Ljava/util/Optional;Lorg/apache/commons/rdf/api/BlankNodeOrIRI;Lorg/apache/commons/rdf/api/IRI;Lorg/apache/commons/rdf/api/RDFTerm;)Ljava/lang/Iterable;" line="352"><counter type="INSTRUCTION" missed="0" covered="11"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><counter type="INSTRUCTION" missed="0" covered="19"/><counter type="LINE" missed="0" covered="3"/><counter type="COMPLEXITY" missed="0" covered="3"/><counter type="METHOD" missed="0" covered="3"/><counter type="CLASS" missed="0" covered="1"/></class> <class name="org/apache/commons/rdf/api/Graph"><method name="close" desc="()V" line="95"><counter type="INSTRUCTION" missed="0" covered="1"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="getTriples" desc="()Ljava/util/stream/Stream;" line="187"><counter type="INSTRUCTION" missed="0" covered="3"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="getTriples" desc="(Lorg/apache/commons/rdf/api/BlankNodeOrIRI;Lorg/apache/commons/rdf/api/IRI;Lorg/apache/commons/rdf/api/RDFTerm;)Ljava/util/stream/Stream;" line="204"><counter type="INSTRUCTION" missed="0" covered="6"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="iterate" desc="()Ljava/lang /Iterable;" line="245"><counter type="INSTRUCTION" missed="0" covered="7"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="iterate" desc="(Lorg/apache/commons/rdf/api/BlankNodeOrIRI;Lorg/apache/commons/rdf/api/IRI;Lorg/apache/commons/rdf/api/RDFTerm;)Ljava/lang/Iterable;" line="296"><counter type="INSTRUCTION" missed="0" covered="10"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><counter type="INSTRUCTION" missed="0" covered="27"/><counter type="LINE" missed="0" covered="5"/><counter type="COMPLEXITY" missed="0" covered="5"/><counter type="METHOD" missed="0" covered="5"/><counter type="CLASS" missed="0" covered="1"/></class><sourcefile name="RDFTermFactory.java"><line nr="32" mi="0" ci="5" mb="0" cb="0"/><line nr="36" mi="0" ci="5" mb="0" cb="0"/><line nr="40" m i="0" ci="5" mb="0" cb="0"/><line nr="44" mi="0" ci="5" mb="0" cb="0"/><line nr="48" mi="0" ci="5" mb="0" cb="0"/><line nr="53" mi="0" ci="5" mb="0" cb="0"/><line nr="58" mi="0" ci="5" mb="0" cb="0"/><line nr="63" mi="0" ci="5" mb="0" cb="0"/><counter type="INSTRUCTION" missed="0" covered="40"/><counter type="LINE" missed="0" covered="8"/><counter type="COMPLEXITY" missed="0" covered="8"/><counter type="METHOD" missed="0" covered="8"/><counter type="CLASS" missed="0" covered="1"/></sourcefile><sourcefile name="Quad.java"><line nr="154" mi="0" ci="11" mb="0" cb="0"/><line nr="157" mi="0" ci="4" mb="0" cb="0"/><line nr="162" mi="0" ci="4" mb="0" cb="0"/><line nr="167" mi="0" ci="4" mb="0" cb="0"/><line nr="172" mi="0" ci="3" mb="0" cb="2"/><line nr="173" mi="0" ci="2" mb="0" cb="0"/><line nr="175" mi="0" ci="3" mb="0" cb="2"/><line nr="176" mi="0" ci="2" mb="0" cb="0"/><line nr="178" mi="0" ci="3" mb="0" cb="0"/><line nr="179" mi="0" ci="8" mb="1" cb="1"/><line nr="180" mi="0" ci="6" mb="1" cb="1"/><line nr="181" mi="1" ci="7" mb="1" cb="1"/><line nr="186" mi="0" ci="19" mb="0" cb="0"/><counter type="INSTRUCTION" missed="1" covered="76"/><counter type="BRANCH" missed="3" covered="7"/><counter type="LINE" missed="0" covered="13"/><counter type="COMPLEXITY" missed="3" covered="9"/><counter type="METHOD" missed="0" covered="7"/><counter type="CLASS" missed="0" covered="2"/></sourcefile><sourcefile name="Dataset.java"><line nr="104" mi="0" ci="1" mb="0" cb="0"/><line nr="296" mi="0" ci="7" mb="0" cb="0"/><line nr="352" mi="0" ci="11" mb="0" cb="0"/><counter type="INSTRUCTION" missed="0" covered="19"/><counter type="LINE" missed="0" covered="3"/><counter type="COMPLEXITY" missed="0" covered="3"/><counter type="METHOD" missed="0" covered="3"/><counter type="CLASS" missed="0" covered="1"/></sourcefile><sourcefile name="Graph.java"><line nr="95" mi="0" ci="1" mb="0" cb="0"/><line nr="187" mi="0" ci="3" mb="0" cb="0"/><line nr="204" mi="0" ci="6" mb="0" cb="0"/><line nr= "245" mi="0" ci="7" mb="0" cb="0"/><line nr="296" mi="0" ci="10" mb="0" cb="0"/><counter type="INSTRUCTION" missed="0" covered="27"/><counter type="LINE" missed="0" covered="5"/><counter type="COMPLEXITY" missed="0" covered="5"/><counter type="METHOD" missed="0" covered="5"/><counter type="CLASS" missed="0" covered="1"/></sourcefile><sourcefile name="RDFSyntax.java"><line nr="37" mi="0" ci="45" mb="0" cb="0"/><line nr="46" mi="0" ci="10" mb="0" cb="0"/><line nr="55" mi="0" ci="10" mb="0" cb="0"/><line nr="63" mi="0" ci="10" mb="0" cb="0"/><line nr="71" mi="0" ci="10" mb="0" cb="0"/><line nr="79" mi="0" ci="10" mb="0" cb="0"/><line nr="87" mi="0" ci="10" mb="0" cb="0"/><line nr="95" mi="0" ci="10" mb="0" cb="0"/><line nr="103" mi="0" ci="10" mb="0" cb="0"/><line nr="141" mi="0" ci="3" mb="0" cb="0"/><line nr="144" mi="0" ci="4" mb="0" cb="0"/><line nr="145" mi="0" ci="3" mb="0" cb="0"/><line nr="146" mi="0" ci="3" mb="0" cb="0"/><line nr="147" mi="0" ci="3" mb="0" cb="0"/><line nr="1 48" mi="0" ci="3" mb="0" cb="0"/><line nr="149" mi="0" ci="1" mb="0" cb="0"/><line nr="171" mi="0" ci="9" mb="0" cb="0"/><line nr="172" mi="0" ci="12" mb="0" cb="0"/><line nr="190" mi="0" ci="4" mb="0" cb="0"/><line nr="191" mi="0" ci="12" mb="0" cb="0"/><counter type="INSTRUCTION" missed="0" covered="182"/><counter type="LINE" missed="0" covered="20"/><counter type="COMPLEXITY" missed="0" covered="9"/><counter type="METHOD" missed="0" covered="9"/><counter type="CLASS" missed="0" covered="1"/></sourcefile><counter type="INSTRUCTION" missed="1" covered="344"/><counter type="BRANCH" missed="3" covered="7"/><counter type="LINE" missed="0" covered="49"/><counter type="COMPLEXITY" missed="3" covered="34"/><counter type="METHOD" missed="0" covered="32"/><counter type="CLASS" missed="0" covered="6"/></package><package name="org/apache/commons/rdf/experimental"><class name="org/apache/commons/rdf/experimental/RDFParser"><method name="target" desc="(Lorg/apache/commons/rdf/api/Graph;)Lorg/a pache/commons/rdf/experimental/RDFParser;" line="193"><counter type="INSTRUCTION" missed="5" covered="0"/><counter type="LINE" missed="1" covered="0"/><counter type="COMPLEXITY" missed="1" covered="0"/><counter type="METHOD" missed="1" covered="0"/></method><method name="target" desc="(Lorg/apache/commons/rdf/api/Dataset;)Lorg/apache/commons/rdf/experimental/RDFParser;" line="223"><counter type="INSTRUCTION" missed="8" covered="0"/><counter type="LINE" missed="1" covered="0"/><counter type="COMPLEXITY" missed="1" covered="0"/><counter type="METHOD" missed="1" covered="0"/></method><method name="lambda$target$0" desc="(Lorg/apache/commons/rdf/api/Graph;Lorg/apache/commons/rdf/api/Quad;)V" line="194"><counter type="INSTRUCTION" missed="9" covered="0"/><counter type="BRANCH" missed="2" covered="0"/><counter type="LINE" missed="3" covered="0"/><counter type="COMPLEXITY" missed="2" covered="0"/><counter type="METHOD" missed="1" covered="0"/></method><counter type="INSTRUCTION" missed="22 " covered="0"/><counter type="BRANCH" missed="2" covered="0"/><counter type="LINE" missed="5" covered="0"/><counter type="COMPLEXITY" missed="4" covered="0"/><counter type="METHOD" missed="3" covered="0"/><counter type="CLASS" missed="1" covered="0"/></class><sourcefile name="RDFParser.java"><line nr="193" mi="5" ci="0" mb="0" cb="0"/><line nr="194" mi="4" ci="0" mb="2" cb="0"/><line nr="195" mi="4" ci="0" mb="0" cb="0"/><line nr="197" mi="1" ci="0" mb="0" cb="0"/><line nr="223" mi="8" ci="0" mb="0" cb="0"/><counter type="INSTRUCTION" missed="22" covered="0"/><counter type="BRANCH" missed="2" covered="0"/><counter type="LINE" missed="5" covered="0"/><counter type="COMPLEXITY" missed="4" covered="0"/><counter type="METHOD" missed="3" covered="0"/><counter type="CLASS" missed="1" covered="0"/></sourcefile><counter type="INSTRUCTION" missed="22" covered="0"/><counter type="BRANCH" missed="2" covered="0"/><counter type="LINE" missed="5" covered="0"/><counter type="COMPLEXITY" missed="4" covered="0"/><counter type="METHOD" missed="3" covered="0"/><counter type="CLASS" missed="1" covered="0"/></package><counter type="INSTRUCTION" missed="23" covered="344"/><counter type="BRANCH" missed="5" covered="7"/><counter type="LINE" missed="5" covered="49"/><counter type="COMPLEXITY" missed="7" covered="34"/><counter type="METHOD" missed="3" covered="32"/><counter type="CLASS" missed="1" covered="6"/></report> \ No newline at end of file Added: websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Dataset.html ============================================================================== --- websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Dataset.html (added) +++ websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Dataset.html Wed Nov 30 23:45:19 2016 @@ -0,0 +1 @@ +<?xml version="1.0" encoding="UTF-8"?><!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="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>Dataset</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF API</a> > <a href="index.html" class="el_package">org.apache.commons.rdf.api</a> > <span class="el_class">Dataset</span></div><h1>Dataset</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sort able" 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 19</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">3</td><td class="ctr1">0</td><td class="ctr2">3</td><td class="ctr1">0</td><td class="ctr2">3</td></tr></tfoot><tbody><tr><td id="a2"><a href="Dataset.java.html#L352" class="el_method">iterate(Optional, BlankNodeOrIRI, IRI, RDFTerm)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="11" alt="11"/></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="Dataset.java.html#L296" class="el_method">iterate()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="76" height="10" title="7" alt="7"/></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><t d class="ctr2" id="i1">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a0"><a href="Dataset.java.html#L104" class="el_method">close()</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="10" height="10" title="1" alt="1"/></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.7.201606060606</span></div></body></html> \ No newline at end of file Added: websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Dataset.java.html ============================================================================== --- websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Dataset.java.html (added) +++ websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Dataset.java.html Wed Nov 30 23:45:19 2016 @@ -0,0 +1,355 @@ +<?xml version="1.0" encoding="UTF-8"?><!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="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>Dataset.java</title><link rel="stylesheet" href="../jacoco-resources/prettify.css" type="text/css"/><script type="text/javascript" src="../jacoco-resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF API</a> > <a href="index.source.html" class="el_package">org.apache.commons.rdf.api</a> > <span class="el_source">Dataset.java< /span></div><h1>Dataset.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.rdf.api; + +import java.util.ConcurrentModificationException; +import java.util.Iterator; +import java.util.Optional; +import java.util.stream.Stream; + +/** + * An <a href="http://www.w3.org/TR/rdf11-concepts/#section-rdf-dataset"> RDF + * 1.1 dataset</a>, a set of RDF quads, as defined by + * <a href="http://www.w3.org/TR/rdf11-concepts/" >RDF-1.1 Concepts and Abstract + * Syntax</a>, a W3C Recommendation published on 25 February 2014. + * + * @since 0.3.0-incubating + * @see RDF#createDataset() + */ +public interface Dataset extends AutoCloseable, GraphLike<Quad> { + + /** + * Add a quad to the dataset, possibly mapping any of the components of the + * Quad to those supported by this dataset. + * + * @param quad + * The quad to add + */ + @Override + void add(Quad quad); + + /** + * Add a quad to the dataset, possibly mapping any of the components to + * those supported by this dataset. + * + * @param graphName + * The graph the quad belongs to, or <code>null</code> for the + * default graph + * @param subject + * The quad subject + * @param predicate + * The quad predicate + * @param object + * The quad object + */ + void add(BlankNodeOrIRI graphName, BlankNodeOrIRI subject, IRI predicate, RDFTerm object); + + /** + * Check if dataset contains quad. + * + * @param quad + * The quad to check. + * @return True if the dataset contains the given Quad. + */ + @Override + boolean contains(Quad quad); + + /** + * Check if dataset contains a pattern of quads. + * + * @param graphName + * The graph the quad belongs to, wrapped as an {@link Optional} + * (<code>null</code> is a wildcard, {@link Optional#empty()} is + * the default graph) + * @param subject + * The quad subject (<code>null</code> is a wildcard) + * @param predicate + * The quad predicate (<code>null</code> is a wildcard) + * @param object + * The quad object (<code>null</code> is a wildcard) + * @return True if the dataset contains any quads that match the given + * pattern. + */ + boolean contains(Optional<BlankNodeOrIRI> graphName, BlankNodeOrIRI subject, IRI predicate, RDFTerm object); + + /** + * Close the dataset, relinquishing any underlying resources. + * <p> + * For example, this would close any open file and network streams and free + * database locks held by the dataset implementation. + * <p> + * The behaviour of the other dataset methods are undefined after closing + * the dataset. + * <p> + * Implementations might not need {@link #close()}, hence the default + * implementation does nothing. + */ + @Override + default void close() throws Exception { +<span class="fc" id="L104"> }</span> + + /** + * Get the default graph of this dataset. + * <p> + * The {@link Triple}s of the default graph are equivalent to the + * {@link Quad}s in this Dataset which has the {@link Quad#getGraphName()} + * set to {@link Optional#empty()}. + * <p> + * It is unspecified if modifications to the returned Graph are reflected in + * this Dataset. + * <p> + * The returned graph MAY be empty. + * + * @see #getGraph(BlankNodeOrIRI) + * @return The default graph of this Dataset + */ + Graph getGraph(); + + /** + * Get a named graph in this dataset. + * <p> + * The {@link Triple}s of the named graph are equivalent to the the Quads of + * this Dataset which has the {@link Quad#getGraphName()} equal to the + * provided <code>graphName</code>, or equal to {@link Optional#empty()} if + * the provided <code>graphName</code> is <code>null</code>. + * <p> + * It is unspecified if modifications to the returned Graph are reflected in + * this Dataset. + * <p> + * It is unspecified if requesting an unknown or empty graph will return + * {@link Optional#empty()} or create a new empty {@link Graph}. + * + * @see #getGraph() + * @see #getGraphNames() + * @param graphName + * The name of the graph, or <code>null</code> for the default + * graph. + * @return The named Graph, or {@link Optional#empty()} if the dataset do + * not contain the named graph. + */ + Optional<Graph> getGraph(BlankNodeOrIRI graphName); + + /** + * Get the graph names in this Dataset. + * <p> + * The set of returned graph names is equivalent to the set of unique + * {@link Quad#getGraphName()} of all the {@link #stream()} of this dataset + * (excluding the default graph). + * <p> + * The returned {@link Stream} SHOULD NOT contain duplicate graph names. + * <p> + * The graph names can be used with {@link #getGraph(BlankNodeOrIRI)} to + * retrieve the corresponding {@link Graph}, however callers should be aware + * of any concurrent modifications to the Dataset may cause such calls to + * return {@link Optional#empty()}. + * <p> + * Note that a Dataset always contains a <strong>default graph</strong> + * which is not named, and thus is not represented in the returned Stream. + * The default graph is accessible via {@link #getGraph()} or by using + * {@link Optional#empty()} in the Quad access methods). + * + * @return A {@link Stream} of the graph names of this Dataset. + */ + Stream<BlankNodeOrIRI> getGraphNames(); + + /** + * Remove a concrete quad from the dataset. + * + * @param quad + * quad to remove + */ + @Override + void remove(Quad quad); + + /** + * Remove a concrete pattern of quads from the default graph of the dataset. + * + * @param graphName + * The graph the quad belongs to, wrapped as an {@link Optional} + * (<code>null</code> is a wildcard, {@link Optional#empty()} is + * the default graph) + * @param subject + * The quad subject (<code>null</code> is a wildcard) + * @param predicate + * The quad predicate (<code>null</code> is a wildcard) + * @param object + * The quad object (<code>null</code> is a wildcard) + */ + void remove(Optional<BlankNodeOrIRI> graphName, BlankNodeOrIRI subject, IRI predicate, RDFTerm object); + + /** + * Clear the dataset, removing all quads. + */ + @Override + void clear(); + + /** + * Number of quads contained by the dataset. + * <p> + * The count of a set does not include duplicates, consistent with the + * {@link Quad#equals(Object)} equals method for each {@link Quad}. + * + * @return The number of quads in the dataset + */ + @Override + long size(); + + /** + * Get all quads contained by the dataset.<br> + * <p> + * The iteration does not contain any duplicate quads, as determined by the + * {@link Quad#equals(Object)} method for each {@link Quad}. + * <p> + * The behaviour of the {@link Stream} is not specified if + * {@link #add(Quad)}, {@link #remove(Quad)} or {@link #clear()} are called + * on the {@link Dataset} before it terminates. + * <p> + * Implementations may throw {@link ConcurrentModificationException} from + * Stream methods if they detect a conflict while the Stream is active. + * + * @return A {@link Stream} over all of the quads in the dataset + */ + @Override + Stream<? extends Quad> stream(); + + /** + * Get all quads contained by the dataset matched with the pattern. + * <p> + * The iteration does not contain any duplicate quads, as determined by the + * {@link Quad#equals(Object)} method for each {@link Quad}. + * <p> + * The behaviour of the {@link Stream} is not specified if + * {@link #add(Quad)}, {@link #remove(Quad)} or {@link #clear()} are called + * on the {@link Dataset} before it terminates. + * <p> + * Implementations may throw {@link ConcurrentModificationException} from + * Stream methods if they detect a conflict while the Stream is active. + * + * @param graphName + * The graph the quad belongs to, wrapped as an {@link Optional} + * (<code>null</code> is a wildcard, {@link Optional#empty()} is + * the default graph) + * @param subject + * The quad subject (<code>null</code> is a wildcard) + * @param predicate + * The quad predicate (<code>null</code> is a wildcard) + * @param object + * The quad object (<code>null</code> is a wildcard) + * @return A {@link Stream} over the matched quads. + */ + Stream<? extends Quad> stream(Optional<BlankNodeOrIRI> graphName, BlankNodeOrIRI subject, IRI predicate, + RDFTerm object); + + /** + * Get an Iterable for iterating over all quads in the dataset. + * <p> + * This method is meant to be used with a Java for-each loop, e.g.: + * + * <pre> + * for (Quad t : dataset.iterate()) { + * System.out.println(t); + * } + * </pre> + * + * The behaviour of the iterator is not specified if {@link #add(Quad)}, + * {@link #remove(Quad)} or {@link #clear()}, are called on the + * {@link Dataset} before it terminates. It is undefined if the returned + * {@link Iterator} supports the {@link Iterator#remove()} method. + * <p> + * Implementations may throw {@link ConcurrentModificationException} from + * Iterator methods if they detect a concurrency conflict while the Iterator + * is active. + * <p> + * The {@link Iterable#iterator()} must only be called once, that is the + * Iterable must only be iterated over once. A {@link IllegalStateException} + * may be thrown on attempt to reuse the Iterable. + * <p> + * The default implementation of this method will call {@link #stream()} to + * return its {@link Stream#iterator()}. + * + * @return A {@link Iterable} that returns {@link Iterator} over all of the + * quads in the dataset + * @throws IllegalStateException + * if the {@link Iterable} has been reused + * @throws ConcurrentModificationException + * if a concurrency conflict occurs while the Iterator is + * active. + */ + @Override + @SuppressWarnings("unchecked") + default Iterable<Quad> iterate() throws ConcurrentModificationException, IllegalStateException { +<span class="fc" id="L296"> return ((Stream<Quad>) stream())::iterator;</span> + } + + /** + * Get an Iterable for iterating over the quads in the dataset that match + * the pattern. + * <p> + * This method is meant to be used with a Java for-each loop, e.g.: + * + * <pre> + * IRI alice = factory.createIRI("http://example.com/alice"); + * IRI knows = factory.createIRI("http://xmlns.com/foaf/0.1/"); + * for (Quad t : dataset.iterate(null, alice, knows, null)) { + * System.out.println(t.getGraphName()); + * System.out.println(t.getObject()); + * } + * </pre> + * <p> + * The behaviour of the iterator is not specified if {@link #add(Quad)}, + * {@link #remove(Quad)} or {@link #clear()}, are called on the + * {@link Dataset} before it terminates. It is undefined if the returned + * {@link Iterator} supports the {@link Iterator#remove()} method. + * <p> + * Implementations may throw {@link ConcurrentModificationException} from + * Iterator methods if they detect a concurrency conflict while the Iterator + * is active. + * <p> + * The {@link Iterable#iterator()} must only be called once, that is the + * Iterable must only be iterated over once. A {@link IllegalStateException} + * may be thrown on attempt to reuse the Iterable. + * <p> + * The default implementation of this method will call + * {@link #stream(Optional, BlankNodeOrIRI, IRI, RDFTerm)} to return its + * {@link Stream#iterator()}. + * + * @param graphName + * The graph the quad belongs to, wrapped as an {@link Optional} + * (<code>null</code> is a wildcard, {@link Optional#empty()} is + * the default graph) + * @param subject + * The quad subject (<code>null</code> is a wildcard) + * @param predicate + * The quad predicate (<code>null</code> is a wildcard) + * @param object + * The quad object (<code>null</code> is a wildcard) + * @return A {@link Iterable} that returns {@link Iterator} over the + * matching quads in the dataset + * @throws IllegalStateException + * if the {@link Iterable} has been reused + * @throws ConcurrentModificationException + * if a concurrency conflict occurs while the Iterator is + * active. + */ + @SuppressWarnings("unchecked") + default Iterable<Quad> iterate(final Optional<BlankNodeOrIRI> graphName, final BlankNodeOrIRI subject, final IRI predicate, + final RDFTerm object) throws ConcurrentModificationException, IllegalStateException { +<span class="fc" id="L352"> return ((Stream<Quad>) stream(graphName, subject, predicate, object))::iterator;</span> + } +} +</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html> \ No newline at end of file Added: websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Graph.html ============================================================================== --- websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Graph.html (added) +++ websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Graph.html Wed Nov 30 23:45:19 2016 @@ -0,0 +1 @@ +<?xml version="1.0" encoding="UTF-8"?><!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="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>Graph</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF API</a> > <a href="index.html" class="el_package">org.apache.commons.rdf.api</a> > <span class="el_class">Graph</span></div><h1>Graph</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 27</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">5</td><td class="ctr1">0</td><td class ="ctr2">5</td><td class="ctr1">0</td><td class="ctr2">5</td></tr></tfoot><tbody><tr><td id="a4"><a href="Graph.java.html#L296" class="el_method">iterate(BlankNodeOrIRI, IRI, RDFTerm)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="10" alt="10"/></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="a3"><a href="Graph.java.html#L245" class="el_method">iterate()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="84" height="10" title="7" alt="7"/></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="i 1">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr><tr><td id="a2"><a href="Graph.java.html#L204" class="el_method">getTriples(BlankNodeOrIRI, IRI, RDFTerm)</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="72" height="10" title="6" alt="6"/></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="a1"><a href="Graph.java.html#L187" class="el_method">getTriples()</a></td><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" width="36" 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><tr><td id="a0"><a href="Graph.java.html#L95" class="el_method">close()</a></td><td class="bar" id="b4"><img src="../jacoco-resources/greenbar.gif" width="12" height="10" title="1" alt="1"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html> \ No newline at end of file Added: websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Graph.java.html ============================================================================== --- websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Graph.java.html (added) +++ websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Graph.java.html Wed Nov 30 23:45:19 2016 @@ -0,0 +1,299 @@ +<?xml version="1.0" encoding="UTF-8"?><!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="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>Graph.java</title><link rel="stylesheet" href="../jacoco-resources/prettify.css" type="text/css"/><script type="text/javascript" src="../jacoco-resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF API</a> > <a href="index.source.html" class="el_package">org.apache.commons.rdf.api</a> > <span class="el_source">Graph.java</spa n></div><h1>Graph.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.rdf.api; + +import java.util.ConcurrentModificationException; +import java.util.Iterator; +import java.util.stream.Stream; + +/** + * An <a href="http://www.w3.org/TR/rdf11-concepts/#section-rdf-graph"> RDF 1.1 + * Graph</a>, a set of RDF triples, as defined by + * <a href="http://www.w3.org/TR/rdf11-concepts/" >RDF-1.1 Concepts and Abstract + * Syntax</a>, a W3C Recommendation published on 25 February 2014. + * + * @see RDF#createGraph() + */ +public interface Graph extends AutoCloseable, GraphLike<Triple> { + + /** + * Add a triple to the graph, possibly mapping any of the components of the + * Triple to those supported by this Graph. + * + * @param triple + * The triple to add + */ + @Override + void add(Triple triple); + + /** + * Add a triple to the graph, possibly mapping any of the components to + * those supported by this Graph. + * + * @param subject + * The triple subject + * @param predicate + * The triple predicate + * @param object + * The triple object + */ + void add(BlankNodeOrIRI subject, IRI predicate, RDFTerm object); + + /** + * Check if graph contains triple. + * + * @param triple + * The triple to check. + * @return True if the Graph contains the given Triple. + */ + @Override + boolean contains(Triple triple); + + /** + * Check if graph contains a pattern of triples. + * + * @param subject + * The triple subject (null is a wildcard) + * @param predicate + * The triple predicate (null is a wildcard) + * @param object + * The triple object (null is a wildcard) + * @return True if the Graph contains any Triples that match the given + * pattern. + */ + boolean contains(BlankNodeOrIRI subject, IRI predicate, RDFTerm object); + + /** + * Close the graph, relinquishing any underlying resources. + * <p> + * For example, this would close any open file and network streams and free + * database locks held by the Graph implementation. + * <p> + * The behaviour of the other Graph methods are undefined after closing the + * graph. + * <p> + * Implementations might not need {@link #close()}, hence the default + * implementation does nothing. + */ + @Override + default void close() throws Exception { +<span class="fc" id="L95"> }</span> + + /** + * Remove a concrete triple from the graph. + * + * @param triple + * triple to remove + */ + @Override + void remove(Triple triple); + + /** + * Remove a concrete pattern of triples from the graph. + * + * @param subject + * The triple subject (null is a wildcard) + * @param predicate + * The triple predicate (null is a wildcard) + * @param object + * The triple object (null is a wildcard) + */ + void remove(BlankNodeOrIRI subject, IRI predicate, RDFTerm object); + + /** + * Clear the graph, removing all triples. + */ + @Override + void clear(); + + /** + * Number of triples contained by the graph. + * <p> + * The count of a set does not include duplicates, consistent with the + * {@link Triple#equals(Object)} equals method for each {@link Triple}. + * + * @return The number of triples in the graph + */ + @Override + long size(); + + /** + * Get all triples contained by the graph.<br> + * <p> + * The iteration does not contain any duplicate triples, as determined by + * the {@link Triple#equals(Object)} method for each {@link Triple}. + * <p> + * The behaviour of the {@link Stream} is not specified if + * {@link #add(Triple)}, {@link #remove(Triple)} or {@link #clear()} are + * called on the {@link Graph} before it terminates. + * <p> + * Implementations may throw {@link ConcurrentModificationException} from + * Stream methods if they detect a conflict while the Stream is active. + * + * @since 0.3.0-incubating + * @return A {@link Stream} over all of the triples in the graph + */ + @Override + Stream<? extends Triple> stream(); + + /** + * Get all triples contained by the graph matched with the pattern. + * <p> + * The iteration does not contain any duplicate triples, as determined by + * the {@link Triple#equals(Object)} method for each {@link Triple}. + * <p> + * The behaviour of the {@link Stream} is not specified if + * {@link #add(Triple)}, {@link #remove(Triple)} or {@link #clear()} are + * called on the {@link Graph} before it terminates. + * <p> + * Implementations may throw {@link ConcurrentModificationException} from + * Stream methods if they detect a conflict while the Stream is active. + * <p> + * + * @since 0.3.0-incubating + * @param subject + * The triple subject (null is a wildcard) + * @param predicate + * The triple predicate (null is a wildcard) + * @param object + * The triple object (null is a wildcard) + * @return A {@link Stream} over the matched triples. + */ + Stream<? extends Triple> stream(BlankNodeOrIRI subject, IRI predicate, RDFTerm object); + + /** + * This method is deprecated, use the equivalent method {@link #stream()} + * instead. + * + * @return A {@link Stream} over all triples. + */ + @Deprecated + default Stream<? extends Triple> getTriples() { +<span class="fc" id="L187"> return stream();</span> + } + + /** + * This method is deprecated, use the equivalent method + * {@link #stream(BlankNodeOrIRI, IRI, RDFTerm)} instead. + * + * @param subject + * The triple subject (null is a wildcard) + * @param predicate + * The triple predicate (null is a wildcard) + * @param object + * The triple object (null is a wildcard) + * @return A {@link Stream} over the matched triples. + */ + @Deprecated + default Stream<? extends Triple> getTriples(final BlankNodeOrIRI subject, final IRI predicate, final RDFTerm object) { +<span class="fc" id="L204"> return stream(subject, predicate, object);</span> + } + + /** + * Get an Iterable for iterating over all triples in the graph. + * <p> + * This method is meant to be used with a Java for-each loop, e.g.: + * + * <pre> + * for (Triple t : graph.iterate()) { + * System.out.println(t); + * } + * </pre> + * + * The behaviour of the iterator is not specified if {@link #add(Triple)}, + * {@link #remove(Triple)} or {@link #clear()}, are called on the + * {@link Graph} before it terminates. It is undefined if the returned + * {@link Iterator} supports the {@link Iterator#remove()} method. + * <p> + * Implementations may throw {@link ConcurrentModificationException} from + * Iterator methods if they detect a concurrency conflict while the Iterator + * is active. + * <p> + * The {@link Iterable#iterator()} must only be called once, that is the + * Iterable must only be iterated over once. A {@link IllegalStateException} + * may be thrown on attempt to reuse the Iterable. + * <p> + * The default implementation of this method will call {@link #stream()} to return + * its {@link Stream#iterator()}. + * + * @return A {@link Iterable} that returns {@link Iterator} over all of the + * triples in the graph + * @throws IllegalStateException + * if the {@link Iterable} has been reused + * @throws ConcurrentModificationException + * if a concurrency conflict occurs while the Iterator is + * active. + */ + @Override + @SuppressWarnings("unchecked") + default Iterable<Triple> iterate() throws ConcurrentModificationException, IllegalStateException { +<span class="fc" id="L245"> return ((Stream<Triple>) stream())::iterator;</span> + } + + /** + * Get an Iterable for iterating over the triples in the graph that match + * the pattern. + * <p> + * This method is meant to be used with a Java for-each loop, e.g.: + * + * <pre> + * IRI alice = factory.createIRI("http://example.com/alice"); + * IRI knows = factory.createIRI("http://xmlns.com/foaf/0.1/"); + * for (Triple t : graph.iterate(alice, knows, null)) { + * System.out.println(t.getObject()); + * } + * </pre> + * <p> + * The behaviour of the iterator is not specified if {@link #add(Triple)}, + * {@link #remove(Triple)} or {@link #clear()}, are called on the + * {@link Graph} before it terminates. It is undefined if the returned + * {@link Iterator} supports the {@link Iterator#remove()} method. + * <p> + * Implementations may throw {@link ConcurrentModificationException} from + * Iterator methods if they detect a concurrency conflict while the Iterator + * is active. + * <p> + * The {@link Iterable#iterator()} must only be called once, that is the + * Iterable must only be iterated over once. A {@link IllegalStateException} + * may be thrown on attempt to reuse the Iterable. + * <p> + * The default implementation of this method will call + * {@link #stream(BlankNodeOrIRI, IRI, RDFTerm)} to return its + * {@link Stream#iterator()}. + * + * @param subject + * The triple subject (null is a wildcard) + * @param predicate + * The triple predicate (null is a wildcard) + * @param object + * The triple object (null is a wildcard) + * @return A {@link Iterable} that returns {@link Iterator} over the + * matching triples in the graph + * @throws IllegalStateException + * if the {@link Iterable} has been reused + * @throws ConcurrentModificationException + * if a concurrency conflict occurs while the Iterator is + * active. + */ + @SuppressWarnings("unchecked") + default Iterable<Triple> iterate(final BlankNodeOrIRI subject, final IRI predicate, final RDFTerm object) + throws ConcurrentModificationException, IllegalStateException { +<span class="fc" id="L296"> return ((Stream<Triple>) stream(subject, predicate, object))::iterator;</span> + } +} +</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html> \ No newline at end of file Added: websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Quad$1.html ============================================================================== --- websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Quad$1.html (added) +++ websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Quad$1.html Wed Nov 30 23:45:19 2016 @@ -0,0 +1 @@ +<?xml version="1.0" encoding="UTF-8"?><!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="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>Quad.new Triple() {...}</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF API</a> > <a href="index.html" class="el_package">org.apache.commons.rdf.api</a> > <span class="el_class">Quad.new Triple() {...}</span></div><h1>Quad.new Triple() {...}</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">1 of 72</td><td class="ctr2">99%</td><td class="bar">3 of 10</td><td class="ctr2">70%</td><td class="ctr1">3</td>< td class="ctr2">11</td><td class="ctr1">0</td><td class="ctr2">13</td><td class="ctr1">0</td><td class="ctr2">6</td></tr></tfoot><tbody><tr><td id="a0"><a href="Quad.java.html#L172" class="el_method">equals(Object)</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="3" height="10" title="1" alt="1"/><img src="../jacoco-resources/greenbar.gif" width="116" height="10" title="34" alt="34"/></td><td class="ctr2" id="c5">97%</td><td class="bar" id="d0"><img src="../jacoco-resources/redbar.gif" width="36" height="10" title="3" alt="3"/><img src="../jacoco-resources/greenbar.gif" width="84" height="10" title="7" alt="7"/></td><td class="ctr2" id="e0">70%</td><td class="ctr1" id="f0">3</td><td class="ctr2" id="g0">6</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">8</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a4"><a href="Quad.java.html#L186" class="el_method">hashCode()</a></td><td class="bar" id="b1"><img src=" ../jacoco-resources/greenbar.gif" width="65" height="10" title="19" alt="19"/></td><td class="ctr2" id="c0">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><tr><td id="a5"><a href="Quad.java.html#L154" class="el_method">{...}</a></td><td class="bar" id="b2"><img src="../jacoco-resources/greenbar.gif" width="20" height="10" title="6" alt="6"/></td><td class="ctr2" id="c1">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="a3"><a href="Quad.java.html#L157" class="el_method">getSubject()</a></td><td class="bar" id="b3"><img src="../jacoco-resources/greenbar.gif" wi dth="13" height="10" title="4" alt="4"/></td><td class="ctr2" id="c2">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><tr><td id="a2"><a href="Quad.java.html#L162" class="el_method">getPredicate()</a></td><td class="bar" id="b4"><img src="../jacoco-resources/greenbar.gif" width="13" height="10" title="4" alt="4"/></td><td class="ctr2" id="c3">100%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">0</td><td class="ctr2" id="g4">1</td><td class="ctr1" id="h4">0</td><td class="ctr2" id="i4">1</td><td class="ctr1" id="j4">0</td><td class="ctr2" id="k4">1</td></tr><tr><td id="a1"><a href="Quad.java.html#L167" class="el_method">getObject()</a></td><td class="bar" id="b5"><img src="../jacoco-resources/greenbar.gif" width="13" height="10" title="4" alt="4"/></td><td class="ctr2" id="c4">100%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f5">0</td><td class="ctr2" id="g5">1</td><td class="ctr1" id="h5">0</td><td class="ctr2" id="i5">1</td><td class="ctr1" id="j5">0</td><td class="ctr2" id="k5">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html> \ No newline at end of file Added: websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Quad.html ============================================================================== --- websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Quad.html (added) +++ websites/staging/commonsrdf/content/jacoco/org.apache.commons.rdf.api/Quad.html Wed Nov 30 23:45:19 2016 @@ -0,0 +1 @@ +<?xml version="1.0" encoding="UTF-8"?><!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="../jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="../jacoco-resources/report.gif" type="image/gif"/><title>Quad</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Commons RDF API</a> > <a href="index.html" class="el_package">org.apache.commons.rdf.api</a> > <span class="el_class">Quad</span></div><h1>Quad</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">1</td><td class="ctr1">0</td><td class="ct r2">1</td><td class="ctr1">0</td><td class="ctr2">1</td></tr></tfoot><tbody><tr><td id="a0"><a href="Quad.java.html#L154" class="el_method">asTriple()</a></td><td class="bar" id="b0"><img src="../jacoco-resources/greenbar.gif" width="120" height="10" title="5" alt="5"/></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></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.7.201606060606</span></div></body></html> \ No newline at end of file