Giter VIP home page Giter VIP logo

Comments (8)

anna-khakimova avatar anna-khakimova commented on August 28, 2024

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.

anna-khakimova avatar anna-khakimova commented on August 28, 2024

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.

anna-khakimova avatar anna-khakimova commented on August 28, 2024

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.

anna-khakimova avatar anna-khakimova commented on August 28, 2024

In metadata.cpp line 119 can not be tested because Metadata class instance field 'm_nNumOfFrames' can not ever become < 0.

from vmf.

anna-khakimova avatar anna-khakimova commented on August 28, 2024

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.

anna-khakimova avatar anna-khakimova commented on August 28, 2024

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.

anna-khakimova avatar anna-khakimova commented on August 28, 2024

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.

apavlenko avatar apavlenko commented on August 28, 2024

the final coverage result is 77.57% (+13.48%).

from vmf.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.