|
| |
| | Code coverage - Wikipedia, the free encyclopedia |
 | | However, there is no general-purpose algorithm for identifying infeasible paths (because such an algorithm could be used to solve the halting problem). |  | | Code coverage techniques were amongst the first techniques invented for systematic software testing. |  | | Techniques for practical path coverage testing instead attempt to identify classes of code paths that differ only in the number of loop executions, and to achieve "basis path" coverage the tester must cover all the path classes. |
|
http://en.wikipedia.org/wiki/Code_coverage
(465 words)
|
|
| |
| | Code Coverage Analysis |
 | | This variation of path coverage considers only sub-paths that can easily be represented in the program source code, without requiring a flow graph [Woodward1980]. |  | | As with data flow analysis for code optimization, pointers also present problems. |  | | For example, variations distinguish between the use of a variable in a computation versus a use in a decision, and between local and global variables. |
|
http://www.bullseye.com/coverage.html
(3104 words)
|
|
| |
| | [No title] |
 | | In other systems the preparation of code coverage, during which time you determine which methods you will monitor, and the reporting part, where you analyze the results, are often performed by two different programs. |  | | Even though code coverage analysis is a critical part of testing any significant software product, it is often so time-consuming in development environments before.NET that it is simply not done. |  | | The code coverage environment is activated with a simple enable.bat file that registers the profiler and sets three shell variables. |
|
http://msdn.microsoft.com/msdnmag/issues/04/04/CodeCoverageAnalysis/default.aspx
(4909 words)
|
|
| |
| | Testing and Code Coverage |
 | | When using code coverage, as with every other part of the software engineering process, it is important to be pragmatic. |  | | Using code coverage is a way to try to cover more of the testing problem space so that we come closer to proving the absence of faults, or at least the absence of a certain class of faults. |  | | Given that the use of code coverage can find errors even in the specification, it makes sense to use it as early as possible in the development process. |
|
http://homepage.hispeed.ch/pjcj/testing_and_code_coverage/paper.html
(4310 words)
|
|
| |
| | JavaRanch Journal - January 2004 - Introduction to Code Coverage |
 | | Code coverage analysis could be implemented by having the virtual machine keep count of which parts of the loaded classes are executed. |  | | The statement coverage measure is possibly the easiest to implement considering that it can be applied over bytecode, which is a lot simpler to parse than source code having a touch of human handiwork in it. |  | | There are some variations to the path coverage measure that try to tackle this problem, mostly by simplifying the problem to a manageable size, for example by considering loops to have only two possible paths; zero or more rounds (or one or more in the case of do-while). |
|
http://www.javaranch.com/newsletter/200401/IntroToCodeCoverage.html
(3618 words)
|
|
| |
| | The Future of Code-Coverage Tools |
 | | Because of this overlap, code coverage analysis will soon be an integral part of optimizing compilers and will be provided as an option by major vendors. |  | | In these optimizations, generic code on the critical path of the application is specialized to improve performance for a particular instance. |  | | Presentation of Coverage Information The computing industry is seeing a widespread move toward distributed software development environments including offshore outsourcing to reduce costs. |
|
http://www.stickyminds.com/se/S7580.asp
(2733 words)
|
|
| |
| | /* Rambling comments... */: Code coverage and testing |
 | | The coverage data was useful; it clearly highlighted the code where we'd only written the first test and it also showed us where we had failed to add tests that executed various failure paths. |  | | Often the untouched error situations were hard to get to; validation of input at one level in the code made it impossible for duplicated validation logic to fail lower in the code, but sometimes it's hard to see that... |  | | Many of the classes that had pretty complete coverage had many of the exceptional code paths untouched; pass in an incorrect key to a factory object and it throws an exception, you need to remember to test for that. |
|
http://www.lenholgate.com/archives/000365.html
(596 words)
|
|
| |
| | Chris Justus - Server Side Guy: 100% code coverage no guarentee... |
 | | While code coverage is a great and noble goal we should all strive for, it is no guarentee that the code won't fail... |  | | All of my examples had 100% code coverage, but were all capable of failing to various degrees - from throwing runtime exceptions to not evaluating 3 + 4.5 correctly... |  | | I think there's a lot of software out there with segments of code that has not been executed by the developer before going out the door. |
|
http://serversideguy.blogspot.com/2004/07/100-code-coverage-no-guarentee.html
(914 words)
|
|
| |
| | Code-coverage Tool |
 | | High coverage of performance-critical modules is essential to taking full advantage of profile-guided optimizations. |  | | More than one basic block was generated for the code at this position. |  | | Source characters are scanned until reaching a position in the source that is indicated by the profile information as the beginning of a basic block. |
|
http://www.ncsa.uiuc.edu/UserInfo/Resources/Software/Intel/Compilers/8.0/c_ug/lin1006.htm
(1893 words)
|
|
| |
| | EclipsePro Test - Documentation |
 | | The information about how the class is to be run and what kind of coverage information to gather is captured in a special kind of launch configuration. |  | | Deciding which one is right for your needs depends primarily on the complexity of the code being run. |  | | If you are going to distribute the class files from your local machine, you need to be careful to uninstrument the code before you package it for delivery. |
|
http://www.instantiations.com/eclipsepro/coverage-details.htm
(712 words)
|
|
| |
| | KOALOG / Products / Koalog Code Coverage |
 | | The only difference between the evaluation version and the commercial version is that the former limits the code coverage computation to 100 classes and can only be used for a period of 15 days. |  | | Hence, the code coverage computation becomes a simple task that can be easily integrated into a more global procedure for code quality insurance. |  | | stores the code coverage results in sessions which are saved on disk and can be merged. |
|
http://www.koalog.com/php/kover.php
(430 words)
|
|
| |
| | Brian Marick - Tools |
 | | The idea is to check if the code handles an error case. |  | | For example, if you're testing a square root function, one idea for a test would be "test a number less than zero". |  | | To use it, programmers scatter tracing statements throughout their code. |
|
http://www.testing.com/tools.html
(709 words)
|
|
| |
| | EETimes.com - Code coverage techniques -- a hands-on view |
 | | An expression coverage tool would see no problem in reporting that certain combinations of the expression inputs were not covered, even though by construction, they are mutually exclusive and therefore formally unreachable. |  | | Often overlooked, the first limitation of RTL coverage tools is that they do not know anything about what the design is supposed to do. |  | | While doing so will quickly increase the coverage results to whatever management asks for, it is the wrong approach from a methodology standpoint. |
|
http://www.eetimes.com/news/design/showArticle.jhtml?articleID=16505696
(2664 words)
|
|
| |
| | SureCov - Code Coverage |
 | | The most intuitive display of a text-oriented design is often in the original code. |  | | By analyzing the source code without burdening the simulator, typical overhead is 3x less than other coverage tools. |  | | You don't want to have a special version of your Verilog HDL for coverage analysis. |
|
http://www.verisity.com/products/surecov.html
(494 words)
|
|
| |
| | Code Coverage |
 | | By using, Dynamic Code Coverage your team will improve your software quality immediately. |  | | The output can be summarized in a variety of ways in order get different views on the depth of coverage. |  | | Easily integrate code coverage into your develop, testing and production environments |
|
http://www.dynamic-memory.com/coverageanalysis.php
(258 words)
|
|
| |
| | OptimizeIt Code Coverage Troubleshooting for Windows |
 | | Remember to include the version of Windows you are running, the version of Optimizeit Code Coverage and the version of the JDK you are using, and give as much information as possible about the problem. |  | | In some environments, the Optimizeit Code Coverage Audit System may require more than 10 seconds to initialize. |  | | This problem can occur if Optimizeit Code Coverage user interface runs out of memory. |
|
http://community.borland.com/article/0,1410,28390,00.html
(1536 words)
|
|
| |
| | Passing the Test: Magellan Improves Your Code |
 | | The Scout test prioritization tool in Magellan analyzes the code coverage information in a Magellan database and projects the coverage of those tests onto new versions of the program files. |  | | Magellan collects coverage information that shows precisely what parts of the program have been tested. |  | | A promising area of research tracks the data used in relational operators, statements that test whether two objects are "less than," "equal to," or "greater than" one another. |
|
http://research.microsoft.com/displayArticle.aspx?id=707
(855 words)
|
|
| |
| | Code Coverage |
 | | The data gathered for code coverage is obtained by a module distributed along with PyDev, based on the Perforce Defect Tracking Integration Project (actually, it was just slightly modified so that the output and input could be given in other ways). |  | | Basically, you do some runs with the code coverage run, then you choose a dir from where you want coverage information and can browse it as much as you want (results for the file or folder + subfolders always on the left). |  | | See coverage information for a file or folder + subfolders |
|
http://pydev.sourceforge.net/codecoverage.html
(199 words)
|
|
| |
| | Code coverage @ SharpToolbox - .NET tools, libraries and add-ins - DotNet tools |
 | | - Instruments code at the byte or object level. |  | | If source code is not available, you still get coverage information for your assemblies. |  | | Windows application that analyzes managed assemblies and reports information about the IL instructions that have been executed as a result of executing that assembly. |
|
http://sharptoolbox.com/Category17e209d0-aba5-4612-a2ec-86bb91c04c16.aspx
(473 words)
|
|
| |
| | NCover - A test code coverage tool for C# .NET |
 | | FAQ - Why code coverage, when you should do it and what you should do first. |  | | We've enhanced the diff functionality so you can see how changes to the code have affected the coverage percentage (for better or for worse). |  | | The NAnt tasks have been seperated out into a seperate assembly (NCoverNAnt.dll), so you will now have to reference this assembly in the loadtasks part of the nant build file. |
|
http://ncover.sourceforge.net
(231 words)
|
|
| |
| | Civilunrest |
 | | After months of coding I think I have a decent framework. |  | | I will share some code and documentation about this framework in the future. |  | | Posted in General, Sri Lanka, Work, Coding |
|
http://www.civilunrest.biz
(267 words)
|
|
| |
| | Open Source Code Coverage Tools in Java |
 | | The goal of InsECT is to provide detailed coverage information about Java programs by taking into full account the object-oriented behavior and language features of Java. |  | | It is optimized for use with the JUnit unit test package, the Ant Java build facility, and the Maven project management toolkit. |  | | InsECT instruments (inserts instructions into) Java class files at the bytecode level with probes to report information about a system at runtime. |
|
http://java-source.net/open-source/code-coverage
(602 words)
|
|
| |
| | Anders Norås' blog : The inner works of code coverage instrumentation in VS Team System |
 | | Cyclomatic complexity is in essence the number of execution paths for a section of code. |  | | The number 1 is a numeric representation of a true boolean. |  | | You can calculate the number of test cases needed to cover the entire method and code coverage tools help you determine which parts of your code your test cases cover and which parts they don't. |
|
http://dotnetjunkies.com/WebLog/anoras/archive/2004/09/20/26199.aspx
(853 words)
|
|
| |
| | GroboUtils - Code Coverage Design (V2) |
 | | The reason why the author decided to create his own code coverage tool, rather than use Gretel, is that Gretel requires a Gretel-compiled "main" method to be executed first. |  | | If the recompiled classes log the classname with a checksum, then each part can uniquely identify each class file. |  | | The goal of the codecoverage package is to capture the lines of code that were executed in a Java VM. |
|
http://groboutils.sourceforge.net/codecoverage/v2_design.html
(648 words)
|
|
| |
| | Tim Sneath : Free .NET Code Coverage Tool |
 | | To the rescue comes Stuart Richardson, one of my colleagues in the UK Solutions Development Centre, who's put together a tool that performs code coverage on.NET assemblies written in any language (it operates at the IL level). |  | | In summary, it's well worth grabbing this tool from GotDotNet and using it as part of your own development / testing process - you may be surprised at what you find! |  | | One such tool is support for logging of code coverage information, an area that's often overlooked in the software testing that many of us conduct on our applications. |
|
http://blogs.msdn.com/tims/archive/2004/02/23/78255.aspx
(486 words)
|
|
| |
| | Coverage - Experience-Based Papers |
 | | I wrote my first code coverage tool around 1982. |  | | In this spot, the author of this page will occasionally summarize the discussion in the Forum. |  | | For example, which lines of code in the program were never executed? |
|
http://www.testingcraft.com/coverage.html
(260 words)
|
|
| |
| | Portal5ive |
 | | Filed under: Software, Coding, Web Design, Work by Dilantha |  | | Filed under: Links, Software, Tips & Tricks, Coding by Dilantha |  | | If you are maintaining an old code base you could use many of these to analyze your code and clean up. |
|
http://www.portal5ive.com
(370 words)
|
|
| |
| | Ned Batchelder: coverage |
 | | Another little suggestion, how about passing a file like object to report() rather than using print statements - handy if you want to put the results in a file. |  | | Sancho is a unit testing framework that includes code coverage measurement. |  | | It uses the code analysis tools and tracing hooks provided in the Python standard library to determine which lines are executable, and which have been executed. |
|
http://www.nedbatchelder.com/code/modules/coverage.html
(1107 words)
|
|
| |
| | Cenqua Clover Code Coverage for Java |
 | | Set coverage goals for your project and Clover will check them automatically. |  | | Clover can also be used to find "dead code" in an application; code that is no longer used by the application that can be safely removed. |  | | Clover is a powerful and highly configurable code coverage analysis tool. |
|
http://www.cenqua.com/clover
(386 words)
|
|
| |
| | SourceForge.net: Project Info - EMMA code coverage |
 | | It differs from the existing tools by enabling coverage profiling on large scale enterprise software projects with simultaneous emphasis on fast individual development. |  | | EMMA is a fast Java code coverage tool based on bytecode instrumentation. |  | | Operating System: OS Independent (Written in an interpreted language) |
|
http://sourceforge.net/projects/emma
(135 words)
|
|
| |
| | Code Coverage |
 | | The currently implemented code coverage class is decision coverage. |  | | There are many different classes of code coverage. |  | | A counter example is path coverage, which in many cases cannot be achieved. |
|
http://hansel.sourceforge.net/doc/coverage.html
(117 words)
|
|
| |
| | DevPartner Java Edition: Code Coverage Analysis |
 | | With DevPartner Java Edition, you can perform code analysis throughout development and unit testing to automatically locate unexecuted code in applications and components. |  | | This unique capability identifies the most recently changed code, or code that is undergoing changes. |  | | Locate untested code across multiple tiers and systems |
|
http://www.compuware.com/products/devpartner/1602_ENG_HTML.htm
(196 words)
|
|
| |
| | Bullseye Testing Technology |
 | | BullseyeCoverage is the leading C++ code coverage analyzer in usability, reliability, and platform support. |  | | Quickly find untested C++ code and measure testing completeness. |
|
http://www.bullseye.com
(31 words)
|
|
| |
| | code blue - definition of code blue in the Medical dictionary - by the Free Online Medical Dictionary, Thesaurus and ... |
 | | code blue - definition of code blue in the Medical dictionary - by the Free Online Medical Dictionary, Thesaurus and Encyclopedia. |  | | This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. |  | | A medical emergency in which a team of medical personnel work to revive an individual in cardiac arrest. |
|
http://medical-dictionary.thefreedictionary.com/code+blue
(91 words)
|
|
| |
| | [Python-Dev] Code coverage tool updated |
 | | The Python code coverage tool available at http://coverage.livinglogic.de/ has been updated. |  | | (It runs the Python test suite once a month and makes the resulting code coverage info available as a web application). |
|
http://mail.python.org/pipermail/python-dev/2004-November/049727.html
(93 words)
|
|
| |
| | Zip Code Coverage |
 | | *Listings are in numerical order by Zip Code. |  | | In-Home Repair is also available in many of these areas for a fee. |  | | CEI provides In-Home services in the following geographical areas, cities and zip codes. |
|
http://www.consolidatedelectronics.com/inhomeservices.htm
(54 words)
|
|
| |
| | Michael Tsai - Blog - Python Code Coverage |
 | | Ned Batchelder has released a new version of coverage.py. |  | | Michael Tsai - Blog - Python Code Coverage |  | | You must be logged in to post a comment. |
|
http://mjtsai.com/blog/2004/12/13/python-code-coverage
(26 words)
|
|
| |
| | TPC.INT Coverage List |
 | | New York (complete coverage of this area code) |  | | Toll-Free (our call will be placed from Montreal, Canada) |  | | Hawaii, Maui, Lanai, Molokai, Oahu, and Kauai (complete coverage) |
|
http://www-usa.tpc.int/fax_cover_auto.html
(167 words)
|
|
|