debian/0000755000000000000000000000000011673751711007177 5ustar debian/cobertura.install0000644000000000000000000000020511673751151012550 0ustar debian/cobertura-report usr/bin debian/cobertura-merge usr/bin debian/cobertura-instrument usr/bin debian/cobertura-check usr/bin debian/watch0000644000000000000000000000021511673751151010224 0ustar version=3 opts=dversionmangle=s/\+dfsg// \ http://qa.debian.org/watch/sf.php/cobertura/cobertura-(.+)-src\.tar\.gz debian debian/orig-tar.sh debian/cobertura-instrument0000755000000000000000000000032411673751151013316 0ustar #!/bin/sh set -e JAVA_LIBS=/usr/share/java java -cp $JAVA_LIBS/cobertura.jar:$JAVA_LIBS/asm3.jar:$JAVA_LIBS/asm3-tree.jar:$JAVA_LIBS/log4j-1.2.jar:$JAVA_LIBS/oro.jar net.sourceforge.cobertura.instrument.Main $* debian/cobertura-runtime.pom0000644000000000000000000000241111673751151013357 0ustar 4.0.0 net.sourceforge.cobertura cobertura-runtime Cobertura :: Limited Runtime 1.9.4.1 pom Cobertura Runtime artifact to prevent unneeded dependencies at runtime. The GNU General Public License, Version 2 http://www.gnu.org/licenses/gpl.txt repo net.sourceforge.cobertura cobertura 1.9.4.1 oro oro asm asm asm asm-tree log4j log4j debian/cobertura-merge.sgml0000644000000000000000000000750211673751151013150 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Miguel"> Landaeta"> January 19, 2010"> 1"> miguel@miguel.cc"> COBERTURA-MERGE"> Debian"> GNU"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2010 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; merge multiple data files into a single data file &dhpackage; datafile ... DESCRIPTION &dhpackage; can be run after your JUnit tests to merge multiple data files into a single data file. OPTIONS Specify the name of the file containing metadata about your classes. This is the "destination" file into which the contents of the other data files will be merged. Default value: "./cobertura.ser". SEE ALSO junit(1), cobertura-instrument(1), cobertura-report(1), cobertura-check(1). AUTHOR This manual page was written by &dhusername; <&dhemail;> for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the terms of &gnu; General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/rules0000755000000000000000000000203311673751151010253 0ustar #!/usr/bin/make -f DEB_UPSTREAM_VERSION := \ $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)+dfsg-.*/\1/p') %: dh --with javahelper $@ override_dh_auto_build: ant -propertyfile debian/ant.properties dist docbook-to-man debian/cobertura-check.sgml > cobertura-check.1 docbook-to-man debian/cobertura-instrument.sgml > cobertura-instrument.1 docbook-to-man debian/cobertura-merge.sgml > cobertura-merge.1 docbook-to-man debian/cobertura-report.sgml > cobertura-report.1 override_dh_auto_install: dh_auto_install mh_installpom -plibcobertura-java $(CURDIR)/debian/cobertura.pom mh_installjar -plibcobertura-java -l $(CURDIR)/debian/cobertura.pom \ $(CURDIR)/cobertura.jar mh_installpom -plibcobertura-java $(CURDIR)/debian/cobertura-runtime.pom override_dh_auto_clean: dh_auto_clean mh_clean rm -rf build get-orig-source: uscan \ --verbose \ --no-symlink \ --upstream-version $(DEB_UPSTREAM_VERSION) \ --download-version $(DEB_UPSTREAM_VERSION) \ --destdir . \ --force-download debian/control0000644000000000000000000000437011673751151010604 0ustar Source: cobertura Maintainer: Debian Java Maintainers Uploaders: Miguel Landaeta Section: java Priority: optional Build-Depends: debhelper (>= 7.0.50~), ant, javahelper, default-jdk, libasm3-java, junit, liboro-java, liblog4j1.2-java, libservlet2.5-java, docbook-to-man, maven-repo-helper Standards-Version: 3.9.2 Homepage: http://cobertura.sourceforge.net/ Vcs-Git: git://git.debian.org/git/pkg-java/cobertura.git Vcs-Browser: http://git.debian.org/?p=pkg-java/cobertura.git Package: cobertura Architecture: all Depends: default-jre-headless | java5-runtime-headless, libcobertura-java (= ${binary:Version}), ${misc:Depends} Suggests: libcobertura-java-doc (= ${binary:Version}) Recommends: junit Description: java tool that calculates the percentage of code accessed by tests Tool that measures test coverage by instrumenting a Java code base and watching which lines of code are and are not executed as the test suite runs. In addition to identifying untested code and locating bugs, Cobertura can optimize code by flagging dead, unreachable code and can provide insights into how an API operates in practice. It is based on jcoverage. Package: libcobertura-java Architecture: all Depends: ant, liblog4j1.2-java, liboro-java, libasm3-java, libservlet2.5-java, ${misc:Depends} Suggests: libcobertura-java-doc (= ${binary:Version}), libjaxen-java, libjdom1-java, libxalan2-java, libxerces2-java Recommends: junit Description: java library that calculates the percentage of code accessed by tests Library that measures test coverage by instrumenting a Java code base and watching which lines of code are and are not executed as the test suite runs. In addition to identifying untested code and locating bugs, Cobertura can optimize code by flagging dead, unreachable code and can provide insights into how an API operates in practice. It is based on jcoverage. Package: libcobertura-java-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: libcobertura-java (= ${binary:Version}) Description: documentation for libcobertura-java Documentation for Cobertura which is a java library that calculates the percentage of code accessed by tests. This package includes the javadoc API and examples. debian/cobertura.docs0000644000000000000000000000000711673751151012032 0ustar README debian/cobertura-report.sgml0000644000000000000000000001233711673751151013366 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Miguel"> Landaeta"> January 19, 2010"> 1"> miguel@miguel.cc"> COBERTURA-REPORT"> Debian"> GNU"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2010 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; generate coverage reports &dhpackage; --destination dir directory DESCRIPTION &dhpackage; generates coverage reports from the source code directories and calculates the cyclomatic code complexity of each class. The HTML reports are also made of annotated versions of each source file, showing which lines of code were excercised. OPTIONS Specify the name of the file containing metadata about your classes. Default value: "./cobertura.ser". Specify a directory containing source code. All files listed after this are assumed to be underneath this directory. This should only be used if you want to include only a few specific files underneath a source tree and exclude all other files. Specify the output directory for the report. The type of report you want to generate. Default value: html. Specify the encoding used to read the source. See javadocs for java.nio.charset.Charset for more details. SEE ALSO junit(1), cobertura-instrument(1), cobertura-check(1), cobertura-merge(1). AUTHOR This manual page was written by &dhusername; <&dhemail;> for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the terms of &gnu; General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/cobertura-report0000755000000000000000000000032311673751151012420 0ustar #!/bin/sh set -e JAVA_LIBS=/usr/share/java java -cp $JAVA_LIBS/cobertura.jar:$JAVA_LIBS/asm3.jar:$JAVA_LIBS/asm3-tree.jar:$JAVA_LIBS/log4j-1.2.jar:$JAVA_LIBS/oro.jar net.sourceforge.cobertura.reporting.Main $* debian/cobertura.pom0000644000000000000000000000274511673751151011710 0ustar 4.0.0 net.sourceforge.cobertura cobertura 1.9.4.1 Cobertura Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage. It is based on jcoverage. http://cobertura.sourceforge.net The GNU General Public License, Version 2 http://www.gnu.org/licenses/gpl.txt repo oro oro 2.0.8 asm asm 3.2 asm asm-tree 3.2 log4j log4j 1.2.15 system /usr/share/java/log4j-1.2.jar org.apache.ant ant 1.7.1 debian/maven.rules0000644000000000000000000000022211673751151011353 0ustar asm asm jar s/.*/3.x/ * asm asm-tree jar s/.*/3.x/ * log4j log4j jar s/1\.2\..*/1.2.x/ * org.apache.ant s/ant/ant-parent/ pom s/1\.7\..*/1.7.x/ * debian/cobertura-check.sgml0000644000000000000000000001502011673751151013120 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Miguel"> Landaeta"> January 19, 2010"> 1"> miguel@miguel.cc"> COBERTURA-CHECK"> Debian"> GNU"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2010 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; show which classes do not have adequate test coverage &dhpackage; DESCRIPTION &dhpackage; can be run after your JUnit tests to show which classes do not have adequate test coverage. OPTIONS If no parameters are specified then all values will be set to 50%. Specify the minimum acceptable branch coverage rate needed by each class. This should be an integer value between 0 and 100. Default value is 0. Specify the name of the file containing metadata about your classes. Default value: "./cobertura.ser". Specify the minimum acceptable line coverage rate needed by each class. This should be an integer value between 0 and 100. Default value is 0. For finer grained control, you can optionally specify minimum branch and line coverage rates for individual classes using any number of regular expressions. Specify the minimum acceptable average branch coverage rate needed by each package. This should be an integer value between 0 and 100. Default value is 0. Specify the minimum acceptable average line coverage rate needed by each package. This should be an integer value between 0 and 100. Default value is 0. Specify the minimum acceptable average branch coverage rate needed by the project as a whole. This should be an integer value between 0 and 100. Default value is 0. Specify the minimum acceptable average line coverage rate needed by the project as a whole. This should be an integer value between 0 and 100. Default value is 0. SEE ALSO junit(1), cobertura-instrument(1), cobertura-report(1), cobertura-merge(1). AUTHOR This manual page was written by &dhusername; <&dhemail;> for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the terms of &gnu; General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/cobertura-merge0000755000000000000000000000031711673751151012207 0ustar #!/bin/sh set -e JAVA_LIBS=/usr/share/java java -cp $JAVA_LIBS/cobertura.jar:$JAVA_LIBS/asm3.jar:$JAVA_LIBS/asm3-tree.jar:$JAVA_LIBS/log4j-1.2.jar:$JAVA_LIBS/oro.jar net.sourceforge.cobertura.merge.Main $* debian/classpath-debian0000644000000000000000000000021411673751151012317 0ustar usr/share/java/asm3.jar usr/share/java/asm3-tree.jar usr/share/java/oro.jar usr/share/java/log4j-1.2.jar usr/share/java/servlet-api-2.5.jar debian/copyright0000644000000000000000000013664711673751151011151 0ustar The sources where downloaded as http://downloads.sourceforge.net/project/cobertura/cobertura/1.9.3/cobertura-1.9.3-bin.tar.gz?use_mirror=hivelocity. License: GPL-2+ The full text of the GPL is distributed in /usr/share/common-licenses/GPL-2 on Debian systems. License: Apache-2.0 The full text of the Apache License 2.0 is distributed in /usr/share/common-licenses/Apache-2.0 on Debian systems. License: Apache-1.1 The Apache Software License, Version 1.1 Copyright (c) 2000 The Apache Software Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The end-user documentation included with the redistribution, if any, must include the following acknowlegement: "This product includes software developed by the Apache Software Foundation (http://www.apache.org/)." Alternately, this acknowlegement may appear in the software itself, if and wherever such third-party acknowlegements normally appear. 4. The names "Ant" and "Apache Software Foundation" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact apache@apache.org. 5. Products derived from this software may not be called "Apache" nor may "Apache" appear in their names without prior written permission of the Apache Group. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ==================================================================== This software consists of voluntary contributions made by many individuals on behalf of the Apache Software Foundation. For more information on the Apache Software Foundation, please see . Portions of this software are based upon public domain software originally written at the National Center for Supercomputing Applications, University of Illinois, Urbana-Champaign. License: MPL-1.1 MOZILLA PUBLIC LICENSE Version 1.1 --------------- 1. Definitions. 1.0.1. "Commercial Use" means distribution or otherwise making the Covered Code available to a third party. 1.1. "Contributor" means each entity that creates or contributes to the creation of Modifications. 1.2. "Contributor Version" means the combination of the Original Code, prior Modifications used by a Contributor, and the Modifications made by that particular Contributor. 1.3. "Covered Code" means the Original Code or Modifications or the combination of the Original Code and Modifications, in each case including portions thereof. 1.4. "Electronic Distribution Mechanism" means a mechanism generally accepted in the software development community for the electronic transfer of data. 1.5. "Executable" means Covered Code in any form other than Source Code. 1.6. "Initial Developer" means the individual or entity identified as the Initial Developer in the Source Code notice required by Exhibit A. 1.7. "Larger Work" means a work which combines Covered Code or portions thereof with code not governed by the terms of this License. 1.8. "License" means this document. 1.8.1. "Licensable" means having the right to grant, to the maximum extent possible, whether at the time of the initial grant or subsequently acquired, any and all of the rights conveyed herein. 1.9. "Modifications" means any addition to or deletion from the substance or structure of either the Original Code or any previous Modifications. When Covered Code is released as a series of files, a Modification is: A. Any addition to or deletion from the contents of a file containing Original Code or previous Modifications. B. Any new file that contains any part of the Original Code or previous Modifications. 1.10. "Original Code" means Source Code of computer software code which is described in the Source Code notice required by Exhibit A as Original Code, and which, at the time of its release under this License is not already Covered Code governed by this License. 1.10.1. "Patent Claims" means any patent claim(s), now owned or hereafter acquired, including without limitation, method, process, and apparatus claims, in any patent Licensable by grantor. 1.11. "Source Code" means the preferred form of the Covered Code for making modifications to it, including all modules it contains, plus any associated interface definition files, scripts used to control compilation and installation of an Executable, or source code differential comparisons against either the Original Code or another well known, available Covered Code of the Contributor's choice. The Source Code can be in a compressed or archival form, provided the appropriate decompression or de-archiving software is widely available for no charge. 1.12. "You" (or "Your") means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License or a future version of this License issued under Section 6.1. For legal entities, "You" includes any entity which controls, is controlled by, or is under common control with You. For purposes of this definition, "control" means (a) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (b) ownership of more than fifty percent (50%) of the outstanding shares or beneficial ownership of such entity. 2. Source Code License. 2.1. The Initial Developer Grant. The Initial Developer hereby grants You a world-wide, royalty-free, non-exclusive license, subject to third party intellectual property claims: (a) under intellectual property rights (other than patent or trademark) Licensable by Initial Developer to use, reproduce, modify, display, perform, sublicense and distribute the Original Code (or portions thereof) with or without Modifications, and/or as part of a Larger Work; and (b) under Patents Claims infringed by the making, using or selling of Original Code, to make, have made, use, practice, sell, and offer for sale, and/or otherwise dispose of the Original Code (or portions thereof). (c) the licenses granted in this Section 2.1(a) and (b) are effective on the date Initial Developer first distributes Original Code under the terms of this License. (d) Notwithstanding Section 2.1(b) above, no patent license is granted: 1) for code that You delete from the Original Code; 2) separate from the Original Code; or 3) for infringements caused by: i) the modification of the Original Code or ii) the combination of the Original Code with other software or devices. 2.2. Contributor Grant. Subject to third party intellectual property claims, each Contributor hereby grants You a world-wide, royalty-free, non-exclusive license (a) under intellectual property rights (other than patent or trademark) Licensable by Contributor, to use, reproduce, modify, display, perform, sublicense and distribute the Modifications created by such Contributor (or portions thereof) either on an unmodified basis, with other Modifications, as Covered Code and/or as part of a Larger Work; and (b) under Patent Claims infringed by the making, using, or selling of Modifications made by that Contributor either alone and/or in combination with its Contributor Version (or portions of such combination), to make, use, sell, offer for sale, have made, and/or otherwise dispose of: 1) Modifications made by that Contributor (or portions thereof); and 2) the combination of Modifications made by that Contributor with its Contributor Version (or portions of such combination). (c) the licenses granted in Sections 2.2(a) and 2.2(b) are effective on the date Contributor first makes Commercial Use of the Covered Code. (d) Notwithstanding Section 2.2(b) above, no patent license is granted: 1) for any code that Contributor has deleted from the Contributor Version; 2) separate from the Contributor Version; 3) for infringements caused by: i) third party modifications of Contributor Version or ii) the combination of Modifications made by that Contributor with other software (except as part of the Contributor Version) or other devices; or 4) under Patent Claims infringed by Covered Code in the absence of Modifications made by that Contributor. 3. Distribution Obligations. 3.1. Application of License. The Modifications which You create or to which You contribute are governed by the terms of this License, including without limitation Section 2.2. The Source Code version of Covered Code may be distributed only under the terms of this License or a future version of this License released under Section 6.1, and You must include a copy of this License with every copy of the Source Code You distribute. You may not offer or impose any terms on any Source Code version that alters or restricts the applicable version of this License or the recipients' rights hereunder. However, You may include an additional document offering the additional rights described in Section 3.5. 3.2. Availability of Source Code. Any Modification which You create or to which You contribute must be made available in Source Code form under the terms of this License either on the same media as an Executable version or via an accepted Electronic Distribution Mechanism to anyone to whom you made an Executable version available; and if made available via Electronic Distribution Mechanism, must remain available for at least twelve (12) months after the date it initially became available, or at least six (6) months after a subsequent version of that particular Modification has been made available to such recipients. You are responsible for ensuring that the Source Code version remains available even if the Electronic Distribution Mechanism is maintained by a third party. 3.3. Description of Modifications. You must cause all Covered Code to which You contribute to contain a file documenting the changes You made to create that Covered Code and the date of any change. You must include a prominent statement that the Modification is derived, directly or indirectly, from Original Code provided by the Initial Developer and including the name of the Initial Developer in (a) the Source Code, and (b) in any notice in an Executable version or related documentation in which You describe the origin or ownership of the Covered Code. 3.4. Intellectual Property Matters (a) Third Party Claims. If Contributor has knowledge that a license under a third party's intellectual property rights is required to exercise the rights granted by such Contributor under Sections 2.1 or 2.2, Contributor must include a text file with the Source Code distribution titled "LEGAL" which describes the claim and the party making the claim in sufficient detail that a recipient will know whom to contact. If Contributor obtains such knowledge after the Modification is made available as described in Section 3.2, Contributor shall promptly modify the LEGAL file in all copies Contributor makes available thereafter and shall take other steps (such as notifying appropriate mailing lists or newsgroups) reasonably calculated to inform those who received the Covered Code that new knowledge has been obtained. (b) Contributor APIs. If Contributor's Modifications include an application programming interface and Contributor has knowledge of patent licenses which are reasonably necessary to implement that API, Contributor must also include this information in the LEGAL file. (c) Representations. Contributor represents that, except as disclosed pursuant to Section 3.4(a) above, Contributor believes that Contributor's Modifications are Contributor's original creation(s) and/or Contributor has sufficient rights to grant the rights conveyed by this License. 3.5. Required Notices. You must duplicate the notice in Exhibit A in each file of the Source Code. If it is not possible to put such notice in a particular Source Code file due to its structure, then You must include such notice in a location (such as a relevant directory) where a user would be likely to look for such a notice. If You created one or more Modification(s) You may add your name as a Contributor to the notice described in Exhibit A. You must also duplicate this License in any documentation for the Source Code where You describe recipients' rights or ownership rights relating to Covered Code. You may choose to offer, and to charge a fee for, warranty, support, indemnity or liability obligations to one or more recipients of Covered Code. However, You may do so only on Your own behalf, and not on behalf of the Initial Developer or any Contributor. You must make it absolutely clear than any such warranty, support, indemnity or liability obligation is offered by You alone, and You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of warranty, support, indemnity or liability terms You offer. 3.6. Distribution of Executable Versions. You may distribute Covered Code in Executable form only if the requirements of Section 3.1-3.5 have been met for that Covered Code, and if You include a notice stating that the Source Code version of the Covered Code is available under the terms of this License, including a description of how and where You have fulfilled the obligations of Section 3.2. The notice must be conspicuously included in any notice in an Executable version, related documentation or collateral in which You describe recipients' rights relating to the Covered Code. You may distribute the Executable version of Covered Code or ownership rights under a license of Your choice, which may contain terms different from this License, provided that You are in compliance with the terms of this License and that the license for the Executable version does not attempt to limit or alter the recipient's rights in the Source Code version from the rights set forth in this License. If You distribute the Executable version under a different license You must make it absolutely clear that any terms which differ from this License are offered by You alone, not by the Initial Developer or any Contributor. You hereby agree to indemnify the Initial Developer and every Contributor for any liability incurred by the Initial Developer or such Contributor as a result of any such terms You offer. 3.7. Larger Works. You may create a Larger Work by combining Covered Code with other code not governed by the terms of this License and distribute the Larger Work as a single product. In such a case, You must make sure the requirements of this License are fulfilled for the Covered Code. 4. Inability to Comply Due to Statute or Regulation. If it is impossible for You to comply with any of the terms of this License with respect to some or all of the Covered Code due to statute, judicial order, or regulation then You must: (a) comply with the terms of this License to the maximum extent possible; and (b) describe the limitations and the code they affect. Such description must be included in the LEGAL file described in Section 3.4 and must be included with all distributions of the Source Code. Except to the extent prohibited by statute or regulation, such description must be sufficiently detailed for a recipient of ordinary skill to be able to understand it. 5. Application of this License. This License applies to code to which the Initial Developer has attached the notice in Exhibit A and to related Covered Code. 6. Versions of the License. 6.1. New Versions. Netscape Communications Corporation ("Netscape") may publish revised and/or new versions of the License from time to time. Each version will be given a distinguishing version number. 6.2. Effect of New Versions. Once Covered Code has been published under a particular version of the License, You may always continue to use it under the terms of that version. You may also choose to use such Covered Code under the terms of any subsequent version of the License published by Netscape. No one other than Netscape has the right to modify the terms applicable to Covered Code created under this License. 6.3. Derivative Works. If You create or use a modified version of this License (which you may only do in order to apply it to code which is not already Covered Code governed by this License), You must (a) rename Your license so that the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape", "MPL", "NPL" or any confusingly similar phrase do not appear in your license (except to note that your license differs from this License) and (b) otherwise make it clear that Your version of the license contains terms which differ from the Mozilla Public License and Netscape Public License. (Filling in the name of the Initial Developer, Original Code or Contributor in the notice described in Exhibit A shall not of themselves be deemed to be modifications of this License.) 7. DISCLAIMER OF WARRANTY. COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER. 8. TERMINATION. 8.1. This License and the rights granted hereunder will terminate automatically if You fail to comply with terms herein and fail to cure such breach within 30 days of becoming aware of the breach. All sublicenses to the Covered Code which are properly granted shall survive any termination of this License. Provisions which, by their nature, must remain in effect beyond the termination of this License shall survive. 8.2. If You initiate litigation by asserting a patent infringement claim (excluding declatory judgment actions) against Initial Developer or a Contributor (the Initial Developer or Contributor against whom You file such action is referred to as "Participant") alleging that: (a) such Participant's Contributor Version directly or indirectly infringes any patent, then any and all rights granted by such Participant to You under Sections 2.1 and/or 2.2 of this License shall, upon 60 days notice from Participant terminate prospectively, unless if within 60 days after receipt of notice You either: (i) agree in writing to pay Participant a mutually agreeable reasonable royalty for Your past and future use of Modifications made by such Participant, or (ii) withdraw Your litigation claim with respect to the Contributor Version against such Participant. If within 60 days of notice, a reasonable royalty and payment arrangement are not mutually agreed upon in writing by the parties or the litigation claim is not withdrawn, the rights granted by Participant to You under Sections 2.1 and/or 2.2 automatically terminate at the expiration of the 60 day notice period specified above. (b) any software, hardware, or device, other than such Participant's Contributor Version, directly or indirectly infringes any patent, then any rights granted to You by such Participant under Sections 2.1(b) and 2.2(b) are revoked effective as of the date You first made, used, sold, distributed, or had made, Modifications made by that Participant. 8.3. If You assert a patent infringement claim against Participant alleging that such Participant's Contributor Version directly or indirectly infringes any patent where such claim is resolved (such as by license or settlement) prior to the initiation of patent infringement litigation, then the reasonable value of the licenses granted by such Participant under Sections 2.1 or 2.2 shall be taken into account in determining the amount or value of any payment or license. 8.4. In the event of termination under Sections 8.1 or 8.2 above, all end user license agreements (excluding distributors and resellers) which have been validly granted by You or any distributor hereunder prior to termination shall survive termination. 9. LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU. 10. U.S. GOVERNMENT END USERS. The Covered Code is a "commercial item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer software" and "commercial computer software documentation," as such terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all U.S. Government End Users acquire Covered Code with only those rights set forth herein. 11. MISCELLANEOUS. This License represents the complete agreement concerning subject matter hereof. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable. This License shall be governed by California law provisions (except to the extent applicable law, if any, provides otherwise), excluding its conflict-of-law provisions. With respect to disputes in which at least one party is a citizen of, or an entity chartered or registered to do business in the United States of America, any litigation relating to this License shall be subject to the jurisdiction of the Federal Courts of the Northern District of California, with venue lying in Santa Clara County, California, with the losing party responsible for costs, including without limitation, court costs and reasonable attorneys' fees and expenses. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any law or regulation which provides that the language of a contract shall be construed against the drafter shall not apply to this License. 12. RESPONSIBILITY FOR CLAIMS. As between Initial Developer and the Contributors, each party is responsible for claims and damages arising, directly or indirectly, out of its utilization of rights under this License and You agree to work with Initial Developer and Contributors to distribute such responsibility on an equitable basis. Nothing herein is intended or shall be deemed to constitute any admission of liability. 13. MULTIPLE-LICENSED CODE. Initial Developer may designate portions of the Covered Code as "Multiple-Licensed". "Multiple-Licensed" means that the Initial Developer permits you to utilize portions of the Covered Code under Your choice of the NPL or the alternative licenses, if any, specified by the Initial Developer in the file described in Exhibit A. EXHIBIT A -Mozilla Public License. ``The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Original Code is ______________________________________. The Initial Developer of the Original Code is ________________________. Portions created by ______________________ are Copyright (C) ______ _______________________. All Rights Reserved. Contributor(s): ______________________________________. Alternatively, the contents of this file may be used under the terms of the _____ license (the "[___] License"), in which case the provisions of [______] License are applicable instead of those above. If you wish to allow use of your version of this file only under the terms of the [____] License and not to allow others to use your version of this file under the MPL, indicate your decision by deleting the provisions above and replace them with the notice and other provisions required by the [___] License. If you do not delete the provisions above, a recipient may use your version of this file under either the MPL or the [___] License." [NOTE: The text of this Exhibit A may differ slightly from the text of the notices in the Source Code files of the Original Code. You should use the text of this Exhibit A rather than the text found in the Original Code Source Code for Your Modifications.] Note: To clarify any doubt regarding the incompatibility between GPL-2+ and Apache-1.1 licenses, upstream comments about this: "The use of the Apache Software License in Cobertura is very straight forward. Cobertura includes a set of ant tasks which can be used to call Cobertura. Ant itself is licensed under the Apache Software License, Version 2.0. Because ant tasks are loaded directly into the runtime of ant, and the GPL is incompatable with all versions of the Apache Software License, ant tasks can not be licensed under the GPL. For this reason, the Cobertura ant tasks are licensed under the Apache Software License, Version 1.1. And because these ant tasks are not GPL-compatable, but the rest of Cobertura is GPL, when these ant tasks invoke Cobertura they must do so by exec'ing a new JVM." For more information about this, please visit upstream's website available at http://cobertura.sourceforge.net/license.html. Files: * Copyright: © 2005 Björn Beskow , © 2008 Matt Cordes , © 2005 Erik Dick , © 2005 Mark Doliner , © 2005 Joakim Erdfelt , © 2008 Julian Gamble , © 2006 Dan Godfrey , © 2008 Tri Bao Ho , © 2006 Naoki Iwami , © 2003 jcoverage ltd., © 2009 John Lewis , © 2005 Grzegorz Lukasik , © 2006 Jiri Mares , © 2009 Amit Nithianandan , © 2005 Olivier Parent , © 2009 Ed Randall , © 2005 Alex Ruiz , © 2005 James Seigel , © 2005 Mark Sinke , © 2009 Charlie Squires , © 2005 Jeremy Thomerson , © 2009 Chris van Es , © 2006 Srivathsan Varadarajan , © 2005 Nathan Wilson , © 2005 Alexei Yudichev , © 2010 Piotr Tabor License: GPL-2+ Files: antLibrary/* Copyright: © 2008 John Lewis License: Apache-1.1 Files: src/net/sourceforge/cobertura/javancss/* Copyright: © 2000 Chr. Clemens Lee License: GPL-2+ Files: src/net/sourceforge/cobertura/javancss/ccl/* Copyright: © 2000 Chr. Clemens Lee License: MPL-1.1, GPL-2+, LGPL-2.1 Files: src/net/sourceforge/cobertura/ant/Regex.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner License: Apache-1.1 Files: src/net/sourceforge/cobertura/ant/CommonMatchingTask.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Joakim Erdfelt, © 2005 Grzegorz Lukasik, © 2006 Srivathsan Varadarajan, © 2008 Matt Cordes, © 2008 John Lewis License: Apache-1.1 Files: src/net/sourceforge/cobertura/ant/ReportTask.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Jeremy Thomerson, © 2005 Grzegorz Lukasik License: Apache-1.1 Files: src/net/sourceforge/cobertura/ant/IncludeClasses.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2006 John Lewis License: Apache-1.1 Files: src/net/sourceforge/cobertura/ant/Ignore.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner License: Apache-1.1 Files: src/net/sourceforge/cobertura/ant/InstrumentTask.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Joakim Erdfelt, © 2005 Grzegorz Lukasik, © 2005 Alexei Yudichev, © 2006 John Lewis, © 2006 Jiri Mares License: Apache-1.1 Files: src/net/sourceforge/cobertura/ant/CheckTask.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Nathan Wilson, © 2005 Alex Ruiz License: Apache-1.1 Files: src/net/sourceforge/cobertura/ant/MergeTask.java Copyright © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Joakim Erdfelt, © 2005 Grzegorz Lukasik License: Apache-1.1 Files: src/net/sourceforge/cobertura/ant/AntUtil.java Copyright: © 2006 Mark Doliner, © 2006 John Lewis License: Apache-1.1 Files: src/net/sourceforge/cobertura/ant/ExcludeClasses.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2006 John Lewis License: Apache-1.1 Files: src/net/sourceforge/cobertura/ant/IgnoreBranches.java Copyright: © 2006 Jiri Mares License: Apache-1.1 Files: src/net/sourceforge/cobertura/check/PackageCoverage.java Copyright: © 2005 Mark Doliner License: GPL-2+ Files: src/net/sourceforge/cobertura/check/Main.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Nathan Wilson, © 2009 Charlie Squires License: GPL-2+ Files: src/net/sourceforge/cobertura/check/CoverageRate.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner License: GPL-2+ Files: src/net/sourceforge/cobertura/webapp/FlushCoberturaServlet.java Copyright: © 2009 Amit Nithianandan, © 2009 John Lewis License: Apache-1.1, GPL-2+ Files: src/net/sourceforge/cobertura/webapp/web.xml Copyright: © 2009 Amit Nithianandan License: Apache-2.0 Files: src/net/sourceforge/cobertura/reporting/xml/SummaryXMLReport.java Copyright: © 2008 Julian Gamble License: GPL-2+ Files: src/net/sourceforge/cobertura/reporting/xml/XMLReport.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Jeremy Thomerson, © 2006 Jiri Mares, © 2008 Julian Gamble License: GPL-2+ Files: src/net/sourceforge/cobertura/reporting/Main.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Jeremy Thomerson, © 2005 Grzegorz Lukasik, © 2006 Dan Godfrey License: GPL-2+ Files: src/net/sourceforge/cobertura/reporting/ComplexityCalculator.java Copyright: © 2005 Mark Doliner, © 2005 Jeremy Thomerson, © 2005 Grzegorz Lukasik, © 2008 Tri Bao Ho, © 2009 John Lewis License: GPL-2+ Files: src/net/sourceforge/cobertura/reporting/html/JavaToHtml.java Copyright: © 2005 Mark Doliner License: GPL-2+ Files: src/net/sourceforge/cobertura/reporting/html/SourceFileDataBaseNameComparator.java Copyright: © 2005 Mark Doliner License: GPL-2+ Files: src/net/sourceforge/cobertura/reporting/html/HTMLReport.java Copyright © 2005 Mark Doliner, © 2005 Grzegorz Lukasik, © 2005 Jeremy Thomerson, © 2006 Naoki Iwami, © 2009 Charlie Squires, © 2009 John Lewis License: GPL-2+ Files: src/net/sourceforge/cobertura/reporting/html/files/CopyFiles.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner License: GPL-2+ Files: src/net/sourceforge/cobertura/reporting/html/files/sortabletable.js Copyright: © 1998-2004 Erik Arvidsson License: WebFX Non-Commercial License, WebFX Commercial license, GPL-2+ Note: WebFX website (http://webfx.eae.net/license.html) states that their components were relicensed under Apache Software License 2.0 (Apache-2.0), allowing anyone to use them free of charge. Files: src/net/sourceforge/cobertura/reporting/html/files/stringbuilder.js Copyright: © 1998-2002 Erik Arvidsson License: WebFX Non-Commercial License, WebFX Commercial license, GPL-2+ Note: WebFX website (http://webfx.eae.net/license.html) states that their components were relicensed under Apache Software License 2.0 (Apache-2.0), allowing anyone to use them free of charge. Files: src/net/sourceforge/cobertura/reporting/html/files/customsorttypes.js Copyright: © 2005 Mark Doliner, © 2005 Olivier Parent License: GPL-2+ Files: src/net/sourceforge/cobertura/util/StringUtil.java Copyright: © 2005 Jeremy Thomerson License: Apache-1.1, GPL-2+ Files: src/net/sourceforge/cobertura/util/CommandLineBuilder.java Copyright: © 2005 Grzegorz Lukasik License: Apache-1.1, GPL-2+ Files: src/net/sourceforge/cobertura/util/FileFinder.java Copyright: © 2005 Jeremy Thomerson, © 2005 Grzegorz Lukasik, © 2009 Charlie Squires, © 2009 John Lewis License: GPL-2+ Files: src/net/sourceforge/cobertura/util/RegexUtil.java Copyright: © 2005 Mark Doliner, © 2006 John Lewis License: Apache-1.1, GPL-2+ Files: src/net/sourceforge/cobertura/util/FileLocker.java Copyright: © 2006 John Lewis, © 2006 Mark Doliner, © 2009 Chris van Es License: Apache-1.1, GPL-2+ Files: src/net/sourceforge/cobertura/util/Header.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Erik Dick License: GPL-2+ Files: src/net/sourceforge/cobertura/util/ArchiveUtil.java Copyright: © 2005 Grzegorz Lukasik, © 2006 John Lewis, © 2006 Mark Doliner License: Apache-1.1, GPL-2+ Files: src/net/sourceforge/cobertura/util/ConfigurationUtil.java Copyright: © 2007 Joakim Erdfelt License: GPL-2+ Files: src/net/sourceforge/cobertura/util/IOUtil.java Copyright: © 2005 Grzegorz Lukasik, © 2006 John Lewis, © 2007 Ignat Zapolsky License: Apache-1.1, GPL-2+ Files: src/net/sourceforge/cobertura/util/Source.java Copyright: © 2009 John Lewis License: Apache-1.1, GPL-2+ Files: src/net/sourceforge/cobertura/coveragedata/JumpData.java Copyright: © 2006 Jiri Mares License: GPL-2+ Files: src/net/sourceforge/cobertura/coveragedata/PackageData.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Jeremy Thomerson License: GPL-2+ Files: src/net/sourceforge/cobertura/coveragedata/HasBeenInstrumented.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner License: GPL-2+ Files: src/net/sourceforge/cobertura/coveragedata/CoverageDataFileHandler.java Copyright: © 2003 jcoverage ltd. © 2005 Mark Doliner, © 2007 Joakim Erdfelt, © 2007 Ignat Zapolsky License: GPL-2+ Files: src/net/sourceforge/cobertura/coveragedata/SwitchData.java Copyright: © 2006 Jiri Mares License: GPL-2+ Files: src/net/sourceforge/cobertura/coveragedata/SourceFileData.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Jeremy Thomerson, © 2006 Jiri Mares License: GPL-2+ Files: src/net/sourceforge/cobertura/coveragedata/ClassData.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2006 Jiri Mares License: GPL-2+ Files: src/net/sourceforge/cobertura/coveragedata/ProjectData.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Grzegorz Lukasik, © 2005 Björn Beskow, © 2006 John Lewis, © 2009 Chris van Es, © 2009 Ed Randall, © 2010 Charlie Squires, © 2010 Piotr Tabor License: GPL-2+ Files: src/net/sourceforge/cobertura/coveragedata/BranchCoverageData.java Copyright: © 2006 Jiri Mares License: GPL-2+ Files: src/net/sourceforge/cobertura/coveragedata/CoverageDataContainer.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Jeremy Thomerson, © 2005 Mark Sinke License: GPL-2+ Files: src/net/sourceforge/cobertura/coveragedata/LineData.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Mark Sinke, © 2006 Jiri Mares License: GPL-2+ Files: src/net/sourceforge/cobertura/coveragedata/SaveTimer.java Copyright: © 2005 Mark Doliner License: GPL-2+ Files: src/net/sourceforge/cobertura/coveragedata/CoverageData.java Copyright: © 2005 Mark Doliner License: GPL-2+ Files: src/net/sourceforge/cobertura/coveragedata/TouchCollector.java, src/net/sourceforge/cobertura/coveragedata/countermaps/AtomicCounterMap.java, src/net/sourceforge/cobertura/coveragedata/countermaps/CounterMap.java Copyright: © 2010 Piotr Tabor License: Apache-1.1, GPL-2+ Files: src/net/sourceforge/cobertura/instrument/Archive.java Copyright: © 2006 John Lewis, © 2006 Mark Doliner License: Apache-1.1, GPL-2+ Files: src/net/sourceforge/cobertura/instrument/NewLocalVariableMethodAdapter.java Copyright: © 2006 Jiri Mares License: GPL-2+ Files: src/net/sourceforge/cobertura/instrument/CoberturaFile.java Copyright: © 2006 John Lewis License: Apache-1.1, GPL-2+ Files: src/net/sourceforge/cobertura/instrument/JumpHolder.java Copyright: © 2006 Jiri Mares License: GPL-2+ Files: src/net/sourceforge/cobertura/instrument/Main.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Joakim Erdfelt, © 2005 Grzegorz Lukasik, © 2006 John Lewis, © 2006 Jiri Mares License: GPL-2+ Files: src/net/sourceforge/cobertura/instrument/SwitchHolder.java Copyright: © 2006 Jiri Mares License: GPL-2+ Files: src/net/sourceforge/cobertura/instrument/ClassPattern.java Copyright: © 2006 John Lewis License: Apache-1.1, GPL-2+ Files: src/net/sourceforge/cobertura/instrument/SecondPassMethodInstrumenter.java Copyright: © 2005 Mark Doliner, © 2006 Jiri Mares, © 2010 Piotr Tabor License: GPL-2+ Files: src/net/sourceforge/cobertura/instrument/ClassInstrumenter.java Copyright: © 2005 Mark Doliner, © 2006 Jiri Mares License: GPL-2+ Files: src/net/sourceforge/cobertura/instrument/FirstPassMethodInstrumenter.java Copyright: © 2005 Mark Doliner, © 2006 Jiri Mares License: GPL-2+ Files: src/net/sourceforge/cobertura/merge/Main.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2005 Joakim Erdfelt, © 2005 Mark Sinke, © 2005 Grzegorz Lukasik License: GPL-2+ Files: src-2/* Copyright: © 2005 Jeremy Thomerson License: GPL-2+ Files: examples/functionaltest1/src/test/first/Test.java, examples/functionaltest1/src/test/second/B.java, examples/functionaltest1/src/test/first/B.java, examples/functionaltest1/src/test/second/A.java Copyright: © 2006 John Lewis License: GPL-2+, Apache-1.1 Files: examples/functionalconditiontest/src/test/condition/Test.java Copyright: © 2007 John Lewis License: GPL-2+, Apache-1.1 Files: examples/functionaltest1/src/test/first/A.java Copyright: © 2008 John Lewis License: GPL-2+, Apache-1.1 Files: examples/basic/src/com/example/simple/SimpleTest.java, examples/basic/src/com/example/simple/Simple.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner License: GPL-2+ Files: examples/groovy/src/com/example/simple/SimpleTest.groovy, examples/groovy/src/com/example/simple/Simple.groovy Copyright: © 2003 jcoverage ltd., © 2006 Mark Doliner License: GPL-2+ Files: test/HelloWorld.java, test/net/sourceforge/cobertura/reporting/xml/XMLReportTest.java test/net/sourceforge/cobertura/reporting/JUnitXMLParserEntityResolver.java test/net/sourceforge/cobertura/reporting/html/JavaToHtmlTest.java test/net/sourceforge/cobertura/reporting/html/files/CopyFilesTest.java test/net/sourceforge/cobertura/coveragedata/CoverageDataFileHandlerTest.java Copyright: © 2005 Mark Doliner License: GPL-2+ Files: test/net/sourceforge/cobertura/coveragedata/ProjectDataTest.java Copyright: © 2005 Mark Doliner, © 2010 Piotr Tabor License: GPL-2+ Files: test/SomeOtherClassTest.java, test/net/sourceforge/cobertura/util/StringUtilTest.java test/net/sourceforge/cobertura/util/FileFlooder.java Copyright: © 2005 Jeremy Thomerson License: GPL-2+ Files: test/net/sourceforge/cobertura/test/util/TestUtil.groovy, test/net/sourceforge/cobertura/test/util/WebappServer.groovy test/net/sourceforge/cobertura/webapp/test/WebAppFunctionalTest.groovy test/net/sourceforge/cobertura/thread/test/* Copyright: © 2009 John Lewis License: Apache-1.1 Files: test/net/sourceforge/cobertura/ant/FunctionalTest.java Copyright: © 2008 John Lewis, © 2006 Mark Doliner License: GPL-2+, Apache-1.1 Files: test/net/sourceforge/cobertura/ant/Util.java, test/net/sourceforge/cobertura/ant/FunctionalConditionCoverageTest.java Copyright: © 2006 John Lewis, © 2006 Mark Doliner License: GPL-2+, Apache-1.1 Files: test/net/sourceforge/cobertura/reporting/ComplexityCalculatorTest.java, test/net/sourceforge/cobertura/util/IOUtilTest.java, test/net/sourceforge/cobertura/merge/MergeMainTest.java Copyright: © 2005 Grzegorz Lukasik License: GPL-2+ Files: test/net/sourceforge/cobertura/reporting/JUnitXMLHelper.java Copyright: © 2006 Mark Doliner, © 2006 John Lewis License: GPL-2+ Files: test/net/sourceforge/cobertura/reporting/JUnitXMLParserErrorHandler.java Copyright: © 2005 Mark Doliner, © 2005 Grzegorz Lukasik License: GPL-2+ Files: test/net/sourceforge/cobertura/reporting/ComplexityCalculator2Test.groovy Copyright: © 2008 John Lewis License: Apache-1.1 Files: test/net/sourceforge/cobertura/util/FileFinderTest.java Copyright: © 2005 James Seigel, © 2005 Grzegorz Lukasik License: GPL-2+ Files: test/net/sourceforge/cobertura/util/CommandLineBuilderTest.java Copyright: © 2005 Grzegorz Lukasik License: GPL-2+, Apache-1.1 Files: test/net/sourceforge/cobertura/util/FileFixture.java Copyright: © 2005 James Seigel, © 2005 Grzegorz Lukasik, © 2008 John Lewis License: GPL-2+ Files: test/net/sourceforge/cobertura/util/FileFinder2Test.groovy Copyright: © 2008 Charlie Squires, © 2008 John Lewis License: Apache-1.1 Files: test/net/sourceforge/cobertura/coveragedata/SwitchDataTest.java, test/net/sourceforge/cobertura/coveragedata/JumpDataTest.java Copyright: © 2006 Jiri Mares License: GPL-2+ Files: test/net/sourceforge/cobertura/coveragedata/LineDataTest.java test/net/sourceforge/cobertura/coveragedata/PackageDataTest.java Copyright: © 2005 Mark Doliner, © 2006 Jiri Mares License: GPL-2+ Files: test/net/sourceforge/cobertura/coveragedata/ClassDataTest.java Copyright: © 2003 jcoverage ltd., © 2005 Mark Doliner, © 2006 Jiri Mares License: GPL-2+ Files: test/net/sourceforge/cobertura/coveragedata/TouchCollectorTest.java Copyright: © 2010 John Lewis License: Apache-1.1, GPL-2+ Files: test/net/sourceforge/cobertura/coveragedata/countermaps/AtomicCounterMapTest.java Copyright: © 2010 Piotr Tabor License: Apache-1.1, GPL-2+ Files: test/net/sourceforge/cobertura/merge/MergeTest.java Copyright: © 2005 Grzegorz Lukasik, © 2006 Jiri Mares License: GPL-2+ Files: debian/* Copyright: © 2010 Miguel Landaeta , © 2010 Gabriele Giacone <1o5g4r8o@gmail.com> License: GPL-2+ debian/compat0000644000000000000000000000000211673751151010373 0ustar 7 debian/libcobertura-java-doc.install0000644000000000000000000000023011673751151014717 0ustar build/api usr/share/doc/libcobertura-java build/dist/package-bin/cobertura-*/examples usr/share/doc/libcobertura-java debian/source/0000755000000000000000000000000011673751151010475 5ustar debian/source/format0000644000000000000000000000001411673751151011703 0ustar 3.0 (quilt) debian/cobertura-check0000755000000000000000000000031711673751151012165 0ustar #!/bin/sh set -e JAVA_LIBS=/usr/share/java java -cp $JAVA_LIBS/cobertura.jar:$JAVA_LIBS/asm3.jar:$JAVA_LIBS/asm3-tree.jar:$JAVA_LIBS/log4j-1.2.jar:$JAVA_LIBS/oro.jar net.sourceforge.cobertura.check.Main $* debian/libcobertura-java-doc.doc-base0000644000000000000000000000051611673751151014735 0ustar Document: libcobertura-java-doc Title: API for Cobertura Author: Mark Doliner Abstract: java library that calculates the percentage of code accessed by tests Section: Programming Format: HTML Index: /usr/share/doc/libcobertura-java/api/index.html Files: /usr/share/doc/libcobertura-java/api/*.html debian/orig-tar.sh0000755000000000000000000000101011673751151011250 0ustar #!/bin/sh set -x # called by uscan with '--upstream-version' echo "version $2" package=`dpkg-parsechangelog | sed -n 's/^Source: //p'` debian_version=`dpkg-parsechangelog | sed -ne 's/^Version: \(.*+dfsg\)-.*/\1/p'` TAR="$package"_${debian_version}.orig.tar.gz DIR=$package-${debian_version}.orig # clean up the upstream tarball tar xfz $3 mkdir $DIR mv cobertura-*/* $DIR GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude 'lib/*' --exclude 'etc/dtds/*' $DIR rm -rf $3 ./$DIR cobertura-$2 debian/ant.properties0000644000000000000000000000017711673751151012102 0ustar # Ensure that source and target are 1.5 # For backwards compat on Java 7 ant.build.javac.source=1.5 ant.build.javac.target=1.5 debian/clean0000644000000000000000000000005311673751151010200 0ustar *.tar.bz2 *.tar.gz *.zip cobertura.jar *.1 debian/changelog0000644000000000000000000000254311673751151011053 0ustar cobertura (1.9.4.1+dfsg-3) unstable; urgency=low [ Miguel Landaeta ] * debian/control: Fixed typo in Vcs-Git field. * Bump Standards-Version to 3.9.2. No changes were required. * Add mh_clean call to clean target. * Drop versioned dependencies since they are satisfied even in stable. [ James Page ] * Fix FTBFS with OpenJDK 7 (LP: #888927) (Closes: #651395): - d/ant.properties: Set source/target to 1.5 for javac and javadoc ant tasks to ensure backwards compatibility and avoid Java 7 encoding errors. - d/rules: Use ant.properties when building. -- Miguel Landaeta Thu, 08 Dec 2011 19:11:17 -0430 cobertura (1.9.4.1+dfsg-2) unstable; urgency=low * Now Build-Depends on libservlet2.5-java and add a missing Depends on the same package. (Closes: #580842). * Simplify list of JRE dependences for cobertura and drop JRE dependences for libcobertura-java as Java libraries are no longer required to depend on a JVM. -- Miguel Landaeta Tue, 11 May 2010 19:21:46 -0430 cobertura (1.9.4.1+dfsg-1) unstable; urgency=low * New upstream release. -- Miguel Landaeta Sat, 06 Mar 2010 22:36:44 -0430 cobertura (1.9.3+dfsg-1) unstable; urgency=low * Initial release (closes: #561177). -- Miguel Landaeta Tue, 26 Jan 2010 21:44:48 -0430 debian/cobertura-instrument.sgml0000644000000000000000000001340011673751151014253 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Miguel"> Landaeta"> January 19, 2010"> 1"> miguel@miguel.cc"> COBERTURA-INSTRUMENT"> Debian"> GNU"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2010 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; add coverage instrumentation to existing classes &dhpackage; classes ... DESCRIPTION &dhpackage; inserts instrumentation instructions directly into your compiled Java classes. When these instructions are encountered by the Java Virtual Machine, the inserted code increments various counters so that it is possible to tell which instructions have been encountered and which have not. OPTIONS Classes may be specified individually, or as a directory tree containing multiple classes. Specify the base directory containing the classes you want to instrument. This command line parameter should appear before any classes. If you are instrumenting classes in different directories, you should specify multiple basedirs. Specify the name of the file to use for storing the metadata about your classes. This is a single file containing serialized Java classes. It contains information about the names of classes in your project, their method names, line numbers, etc. It will be updated as your tests are run, and will be referenced by the Cobertura reporting command. Default value: "./cobertura.ser". Specify the output directory for the instrumented classes. If no destination directory is specified, then the uninstrumented classes will be overwritten with their instrumented counterparts. Specify a regular expression to filter out certain lines of your source code. This is useful for ignoring logging statements, for example. You can have as many <ignore/> statements as you want. By default no files are ignored. SEE ALSO junit(1), cobertura-check(1), cobertura-report(1), cobertura-merge(1). AUTHOR This manual page was written by &dhusername; <&dhemail;> for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the terms of &gnu; General Public License, Version 2 or any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/patches/0000755000000000000000000000000011673751151010624 5ustar debian/patches/build_with_system_jars.diff0000644000000000000000000000156311673751151016240 0ustar diff --git a/build.properties b/build.properties index 4641708..530a635 100644 --- a/build.properties +++ b/build.properties @@ -8,11 +8,10 @@ eclipse.dir=/opt/eclipse etc.dir=etc examples.dir=examples examples.functionalconditiontest.dir=examples/functionalconditiontest/src -lib.dir=lib +lib.dir=/usr/share/java src.dir=src othersrc.dir=src-2 test.src.dir=test -jetty.dir=jetty # Directories for generated output build.dir=build diff --git a/build.xml b/build.xml index 2a19d41..5120052 100644 --- a/build.xml +++ b/build.xml @@ -18,12 +18,7 @@ - - - - - - + debian/patches/add_classpath_to_manifest.diff0000644000000000000000000000073111673751151016641 0ustar diff --git a/build.xml b/build.xml index 7c689da..9aac115 100644 --- a/build.xml +++ b/build.xml @@ -137,6 +137,7 @@ + debian/patches/series0000644000000000000000000000007311673751151012041 0ustar build_with_system_jars.diff add_classpath_to_manifest.diff debian/cobertura.manpages0000644000000000000000000000011611673751151012676 0ustar cobertura-check.1 cobertura-instrument.1 cobertura-merge.1 cobertura-report.1 debian/libcobertura-java.jlibs0000644000000000000000000000001611673751151013613 0ustar cobertura.jar debian/README.Debian-source0000644000000000000000000000105211673751151012532 0ustar The upstream tarball has been modified as follows, to comply with DFSG: * All .jar files under lib and antLibrary/common directories has been removed since Debian packages must build with libraries installed on system. * All files under etc/dtds has been removed since it is not clear if such files can be distributed. Some files have copyright notices like 'All rights reserved' and there are others that is not clear if they are distributable or not. -- Miguel Landaeta Fri, 29 Jan 2010 21:11:56 -0430