Comments (8)
In most JNI function's catch blocks can not be tested because exceptions in theses function can not be generated by any induced test scenarios.
from vmf.
In file global.cpp line 70-72 can not be tested because this code works only if system function return error code (-1).
from vmf.
In metadataset.cpp line 67 can not be tested because to Metadata class instance field 'm_vReferences' can not be added reference with null pointer instead of shared pointer to Metadata class instance. Since Reference instances are created and added to 'm_vReferences' field only via Metadata::addReference() method which have check reference's Metadata isn't null.
from vmf.
In metadata.cpp line 119 can not be tested because Metadata class instance field 'm_nNumOfFrames' can not ever become < 0.
from vmf.
In metadata.cpp lines 425, 448, 508 can not be tested because Metadata class instance field 'm_spDesc' can not be ever null pointer.
from vmf.
In metadatastream.cpp lines 380 and 418 can not be tested because MetadataSchema instance's field 'Name' can not be wherever set to empty.
from vmf.
In https://github.com/anna-plyakina/vmf/blob/vmf_improve_test_coverage2/modules/vmfcore/src/metadatastream.cpp#L693 and 705 can not be tested because VideoSegment instance's fields "duration", "height", "width" can not be ever set to negative value.
from vmf.
the final coverage result is 77.57% (+13.48%).
from vmf.
Related Issues (18)
- Java bindings HOT 2
- Missing classes in VMF ref man HOT 2
- Enable CI HOT 3
- Use of STL classes in VMF API produces problems on Windows in DLL case HOT 1
- Metadata Compression HOT 4
- vmf::Variant::Type values are changed in new vmf_rawbuffer - needs to be restored
- queryByReference(...) functions are confusing
- New VMF 3.0 API ideas HOT 1
- Impossible to get value of single-value metadata HOT 1
- Encryption feature HOT 3
- Incorrect saving metadata sequence HOT 1
- MetadataDesc constructor adds unnamed ReferenceDesc to class field even if it already exists. HOT 1
- Statistics object HOT 1
- class `MetadataStream::VideoSegment` is not documented. HOT 1
- Need to remove MetaString type
- Work of Metadata::addReference() method is not as expected in case unique references. HOT 1
- vmf_rawbuffer::operator=(): size member is not assigned HOT 1
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 vmf.