Comments (2)
TestCoverageEvaluator was created at the very first beginning of the project and not used since. I updated the code a bit to make not throw errors.
It is still not working correctly but now shows some (wrong) output when you pass -c
as a CLI parameter
[INFO TestCoverageEvaluator] Fdom Coverage: 0.0
[INFO TestCoverageEvaluator] fRang Coverage: 0.0
[INFO TestCoverageEvaluator] fDep Coverage: 0.0
[INFO TestCoverageEvaluator] fCard Coverage: 0.0
[INFO TestCoverageEvaluator] fMem Coverage: 0.0
[INFO TestCoverageEvaluator] fCDep Coverage: 0.0
if this is updated to provide the correct numbers it could probably handle your use case.
Each metric measures a specific test coverage according to pages 3-4 in http://svn.aksw.org/papers/2014/WWW_Databugger/public.pdf
the lower the metric numbers the fewer cases are actually tested in the input source.
This class was more like a hack to generate table 4 in the paper.
What is does (or what I remember it was doing) is
- relate RDFUnit patterns to each metric
- calculates class & property statistics for the input source
- exploit some rdfunit pattern hacks to get the classes / properties / patters associated with each test case and calculate the metrics
It needs some work to get this in a good shape & usable. Let me know if working in this directions covers your goal
from rdfunit.
Note that, ideally, the metrics should be identified by doing pattern identification inside the SPARQL queries.
This would also work on non pattern-based test cases or pattern-based test cases where the pattern is not associated with coverage metrics.
However, this approach handles most cases easily.
from rdfunit.
Related Issues (20)
- AggregatedTestExecutor (and other executors) do not properly close QueryExecutionFactory instances HOT 4
- Any plans to publish version 0.8.22 in the maven repo and as Docker image? HOT 1
- Webservice does not build HOT 4
- Docker image for webservice HOT 3
- Show actual latest release on Github homepage HOT 1
- Result levels are different or not all existing comparing to the help text HOT 1
- There is a problem with maxCount ? HOT 4
- replacing values from SPARQL based constraints in the sh:message HOT 1
- Default cache ignores `-T 0` setting HOT 1
- Object in blank node of testCase is artificial for SHACL NodeShapes HOT 2
- Feature: Allow for using bearer token with secured SPARQL endpoints HOT 1
- sh:xone constraints not supported HOT 1
- sh:not constraints not supported HOT 1
- sh:qualifiedValueShape constraints not supported
- Allow relative paths in command line configuration when specifying -s
- Automatic Constraint Detection based on RDFS/OWL broken HOT 1
- ShEx support? HOT 3
- Unable to build project using docker. HOT 4
- Question: number of instances for a given class rule HOT 4
- Issue running RDFUnit Docker in a Kubernetes environment HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdfunit.