Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Studio 12.3: Discover and Uncover User's Guide Oracle Solaris Studio 12.3 Information Library |
Memory Error Discovery Tool (Discover)
2. Memory Error Discovery Tool (Discover)
Uncover is a simple and easy to use command-line tool for measuring code coverage of applications. Code coverage is an important part of software testing. It gives you information on which areas of your code are exercised in testing and which are not, enabling you to improve your test suites to test more of your code. The coverage information reported by Uncover can be at a function, statement, basic block, or instruction level.
Uncover provides a unique feature called uncoverage, which allows you to quickly find major functional areas that are not being tested. Other advantages of Uncover code coverage over other types of instrumentation are:
The slowdown relative to uninstrumented code is fairly small.
Since Uncover operates on binaries, it can work with any optimized binary.
Measurements can be done by instrumenting the shipping binary. The application does not have to be built differently for coverage testing.
Uncover provides a simple procedure for instrumenting the binary, running tests, and displaying the results.
Uncover is multithread safe and multiprocess safe.