组织ID: |
net.sourceforge.cobertura |
项目ID: |
cobertura |
版本: |
2.0.1 |
最后修改时间: |
2018-10-24 15:09:57 |
包类型: |
jar |
标题: |
Cobertura code coverage |
描述: |
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.
|
大小: |
517.97KB |
|
Maven引入代码: |
<dependency>
<groupId>net.sourceforge.cobertura</groupId>
<artifactId>cobertura</artifactId>
<version>2.0.1</version>
</dependency>
|
Gradle引入代码: |
net.sourceforge.cobertura:cobertura:2.0.1
|
下载Jar包: |
|
POM文件内容: |
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>net.sourceforge.cobertura</groupId>
<artifactId>cobertura</artifactId>
<version>2.0.1</version>
<packaging>jar</packaging>
<name>Cobertura code coverage</name>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<description>
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.
</description>
<url>http://cobertura.sourceforge.net</url>
<pluginRepositories>
<pluginRepository>
<id>sonatype-releases</id>
<url>http://oss.sonatype.org/content/repositories/releases</url>
</pluginRepository>
<pluginRepository>
<id>clojars.org</id>
<url>http://clojars.org/repo</url>
</pluginRepository>
</pluginRepositories>
<properties>
<asmVersion>4.1</asmVersion>
<xercesVersion>2.6.2</xercesVersion>
<xalanVersion>2.6.0</xalanVersion>
<oroVersion>2.0.8</oroVersion>
<jaxenVersion>1.1-beta-8</jaxenVersion>
<commonsioVersion>2.4</commonsioVersion>
<antVersion>1.8.3</antVersion>
<jettyVersion>8.1.2.v20120308</jettyVersion>
<simplexmlVersion>2.6.2</simplexmlVersion>
<guavaVersion>13.0.1</guavaVersion>
<groovyVersion>1.6-RC-1</groovyVersion>
<jsr305Version>1.3.2</jsr305Version>
<javaccVersion>5.0</javaccVersion>
<log4jVersion>1.2.9</log4jVersion>
<junitVersion>4.11</junitVersion>
<jdkVersion>1.7</jdkVersion>
<surefireVersion>2.12.3</surefireVersion>
<plugin.java.formatter.version>0.3.1</plugin.java.formatter.version>
<plugin.mvn.compiler.version>2.3.2</plugin.mvn.compiler.version>
<plugin.mvn.jar.version>2.3.2</plugin.mvn.jar.version>
<plugin.pmd.version>3.0.1</plugin.pmd.version>
<plugin.jdoc.version>2.9</plugin.jdoc.version>
<plugin.findbugs.version>2.5.2</plugin.findbugs.version>
</properties>
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>${asmVersion}</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId>
<version>${asmVersion}</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
<version>${asmVersion}</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-util</artifactId>
<version>${asmVersion}</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-analysis</artifactId>
<version>${asmVersion}</version>
</dependency>
<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>${xercesVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>xalan</artifactId>
<version>${xalanVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>oro</groupId>
<artifactId>oro</artifactId>
<version>${oroVersion}</version>
</dependency>
<dependency>
<groupId>jaxen</groupId>
<artifactId>jaxen</artifactId>
<version>${jaxenVersion}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commonsioVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>${antVersion}</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-junit</artifactId>
<version>${antVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-servlet</artifactId>
<version>${jettyVersion}</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>${groovyVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.java.dev.javacc</groupId>
<artifactId>javacc</artifactId>
<version>${javaccVersion}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>0</version>
<scope>system</scope>
<systemPath>${toolsjar}</systemPath>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>${log4jVersion}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junitVersion}</version>
<scope>test</scope>
</dependency>
</dependencies>
<profiles>
<profile>
<id>WindowsProfile</id>
<activation>
<os>
<family>Windows</family>
</os>
</activation>
<properties>
<toolsjar>${java.home}/../lib/tools.jar</toolsjar>
</properties>
</profile>
<profile>
<id>UnixProfile</id>
<activation>
<os>
<family>unix</family>
<name>Linux</name>
</os>
</activation>
<properties>
<toolsjar>${java.home}/../lib/tools.jar</toolsjar>
</properties>
</profile>
<profile>
<id>OSXProfile</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<toolsjar>${java.home}/../lib/tools.jar</toolsjar>
</properties>
</profile>
</profiles>
<build>
<plugins>
<!--
https://code.google.com/p/maven-java-formatter-plugin/
https://github.com/treymarc/maven-java-formatter-plugin
-->
<plugin>
<groupId>com.googlecode.maven-java-formatter-plugin</groupId>
<artifactId>maven-java-formatter-plugin</artifactId>
<version>${plugin.java.formatter.version}</version>
<executions>
<execution>
<goals>
<goal>format</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Cobertura requires custom jdk version for providing the support for the latest jdk. -->
<plugin>
<groupId>com.code54.mojo</groupId>
<artifactId>buildversion-plugin</artifactId>
<version>1.0.2</version>
<executions>
<execution>
<goals><goal>set-properties</goal></goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${plugin.mvn.compiler.version}</version>
<configuration>
<fork>true</fork>
<source>${jdkVersion}</source>
<target>${jdkVersion}</target>
<excludes>
<exclude>**/test/*.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${plugin.mvn.jar.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefireVersion}</version>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<excludes>
<exclude>**/test/condition/**</exclude>
<exclude>**/examples/functionaltest1/**</exclude>
</excludes>
</configuration>
</plugin>
<!-- This is required to assemble all of the binary files. -->
<!-- The descriptor has more detailed information about what is included/excluded. -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.2.1</version>
<configuration>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>packageBins</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>${plugin.pmd.version}</version>
<configuration>
<failOnViolation>false</failOnViolation>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
<goal>cpd-check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>${plugin.findbugs.version}</version>
<configuration>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- This is to build the coberturaFlush.war file necessary for servlets. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.3</version>
<configuration>
<warName>coberturaFlush</warName>
<webXml>src/main/resources/net/sourceforge/cobertura/webapp/web.xml</webXml>
<packagingIncludes>WEB-INF/classes/net/sourceforge/cobertura/webapp/FlushCoberturaServlet.class</packagingIncludes>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>lib/</classpathPrefix>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>prepare-war</id>
<phase>prepare-package</phase>
<goals>
<goal>war</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.4.1</version>
<configuration>
<localCheckout>true</localCheckout>
<pushChanges>false</pushChanges>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${plugin.jdoc.version}</version>
</plugin>
</plugins>
</reporting>
<scm>
<connection>scm:git:git://github.com/cobertura/cobertura</connection>
<developerConnection>scm:git:git@github.com:cobertura/cobertura.git</developerConnection>
<url>http://github.com/cobertura/cobertura</url>
<tag>cobertura-runtime-2.0.1</tag>
</scm>
<developers>
<developer>
<id>schristou88</id>
<name>Steven Christou</name>
<email>schristou88@gmail.com</email>
<roles>
<role>Developer</role>
</roles>
<timezone>+6</timezone>
</developer>
</developers>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</project>
|
Jar包内容: |
META-INF/MANIFEST.MF
tasks.properties
COPYING
log4j.properties
COPYRIGHT
net.sourceforge.cobertura.util.ConfigurationUtil.class
net.sourceforge.cobertura.util.StringUtil.class
net.sourceforge.cobertura.util.FileLocker.class
net.sourceforge.cobertura.util.RegexUtil.class
net.sourceforge.cobertura.util.Source.class
net.sourceforge.cobertura.util.IOUtil.class
net.sourceforge.cobertura.util.CommandLineBuilder.class
net.sourceforge.cobertura.util.ArchiveUtil.class
net.sourceforge.cobertura.util.FileFinder.class
net.sourceforge.cobertura.util.Header.class
net.sourceforge.cobertura.util.FileFinder$1.class
net.sourceforge.cobertura.util.FileFinder$JarZipFilter.class
net.sourceforge.cobertura.javancss.PackageMetric.class
net.sourceforge.cobertura.javancss.ObjectMetric.class
net.sourceforge.cobertura.javancss.Javancss.class
net.sourceforge.cobertura.javancss.FunctionMetric.class
net.sourceforge.cobertura.javancss.ccl.Exitable.class
net.sourceforge.cobertura.javancss.ccl.Util.class
net.sourceforge.cobertura.javancss.ccl.FileUtil.class
net.sourceforge.cobertura.javancss.ccl.Init.class
net.sourceforge.cobertura.javancss.Metric.class
net.sourceforge.cobertura.javancss.parser.java15.Token.class
net.sourceforge.cobertura.javancss.parser.java15.debug.JavaParser15Debug.class
net.sourceforge.cobertura.javancss.parser.java15.debug.Token.class
net.sourceforge.cobertura.javancss.parser.java15.debug.JavaParser15Debug$1.class
net.sourceforge.cobertura.javancss.parser.java15.debug.JavaParser15Debug$ModifierSet.class
net.sourceforge.cobertura.javancss.parser.java15.debug.JavaParser15DebugConstants.class
net.sourceforge.cobertura.javancss.parser.java15.debug.ParseException.class
net.sourceforge.cobertura.javancss.parser.java15.debug.JavaCharStream.class
net.sourceforge.cobertura.javancss.parser.java15.debug.TokenMgrError.class
net.sourceforge.cobertura.javancss.parser.java15.debug.Token$GTToken.class
net.sourceforge.cobertura.javancss.parser.java15.debug.JavaParser15DebugTokenManager.class
net.sourceforge.cobertura.javancss.parser.java15.debug.JavaParser15Debug$LookaheadSuccess.class
net.sourceforge.cobertura.javancss.parser.java15.JavaParser15Constants.class
net.sourceforge.cobertura.javancss.parser.java15.JavaParser15$ModifierSet.class
net.sourceforge.cobertura.javancss.parser.java15.JavaParser15.class
net.sourceforge.cobertura.javancss.parser.java15.JavaParser15$LookaheadSuccess.class
net.sourceforge.cobertura.javancss.parser.java15.ParseException.class
net.sourceforge.cobertura.javancss.parser.java15.JavaParser15TokenManager.class
net.sourceforge.cobertura.javancss.parser.java15.JavaCharStream.class
net.sourceforge.cobertura.javancss.parser.java15.TokenMgrError.class
net.sourceforge.cobertura.javancss.parser.java15.JavaParser15$1.class
net.sourceforge.cobertura.javancss.parser.java15.Token$GTToken.class
net.sourceforge.cobertura.javancss.parser.JavaParser.class
net.sourceforge.cobertura.javancss.parser.JavaParserInterface.class
net.sourceforge.cobertura.javancss.parser.JavaParser$JJCalls.class
net.sourceforge.cobertura.javancss.parser.Token.class
net.sourceforge.cobertura.javancss.parser.JavaParserConstants.class
net.sourceforge.cobertura.javancss.parser.debug.JavaParserDebug$1.class
net.sourceforge.cobertura.javancss.parser.debug.JavaParserDebug$LookaheadSuccess.class
net.sourceforge.cobertura.javancss.parser.debug.Token.class
net.sourceforge.cobertura.javancss.parser.debug.JavaParserDebug.class
net.sourceforge.cobertura.javancss.parser.debug.ParseException.class
net.sourceforge.cobertura.javancss.parser.debug.JavaCharStream.class
net.sourceforge.cobertura.javancss.parser.debug.JavaParserDebugTokenManager.class
net.sourceforge.cobertura.javancss.parser.debug.TokenMgrError.class
net.sourceforge.cobertura.javancss.parser.debug.JavaParserDebugConstants.class
net.sourceforge.cobertura.javancss.parser.debug.JavaParserDebug$ModifierSet.class
net.sourceforge.cobertura.javancss.parser.debug.JavaParserDebug$JJCalls.class
net.sourceforge.cobertura.javancss.parser.JavaParserTokenManager.class
net.sourceforge.cobertura.javancss.parser.JavaParser$ModifierSet.class
net.sourceforge.cobertura.javancss.parser.JavaParser$LookaheadSuccess.class
net.sourceforge.cobertura.javancss.parser.ParseException.class
net.sourceforge.cobertura.javancss.parser.JavaCharStream.class
net.sourceforge.cobertura.javancss.parser.TokenMgrError.class
net.sourceforge.cobertura.javancss.parser.JavaParser$1.class
net.sourceforge.cobertura.coveragedata.CoverageData.class
net.sourceforge.cobertura.coveragedata.SwitchData.class
net.sourceforge.cobertura.coveragedata.ClassData.class
net.sourceforge.cobertura.coveragedata.CoverageDataContainer.class
net.sourceforge.cobertura.coveragedata.CoverageDataFileHandler.class
net.sourceforge.cobertura.coveragedata.LineData.class
net.sourceforge.cobertura.coveragedata.JumpData.class
net.sourceforge.cobertura.coveragedata.ProjectData.class
net.sourceforge.cobertura.coveragedata.LightClassmapListener.class
net.sourceforge.cobertura.coveragedata.TouchCollector$ApplyToClassDataLightClassmapListener.class
net.sourceforge.cobertura.coveragedata.BranchCoverageData.class
net.sourceforge.cobertura.coveragedata.TouchCollector.class
net.sourceforge.cobertura.coveragedata.SaveTimer.class
net.sourceforge.cobertura.coveragedata.SourceFileData.class
net.sourceforge.cobertura.coveragedata.PackageData.class
net.sourceforge.cobertura.instrument.Archive.class
net.sourceforge.cobertura.instrument.AbstractFindTouchPointsClassInstrumenter.class
net.sourceforge.cobertura.instrument.Main.class
net.sourceforge.cobertura.instrument.FindTouchPointsMethodAdapter$Abc.class
net.sourceforge.cobertura.instrument.CoberturaFile.class
net.sourceforge.cobertura.instrument.Main$1.class
net.sourceforge.cobertura.instrument.CoberturaInstrumenter$InstrumentationResult.class
net.sourceforge.cobertura.instrument.HistoryMethodAdapter.class
net.sourceforge.cobertura.instrument.CoberturaInstrumenter.class
net.sourceforge.cobertura.instrument.ContextMethodAwareMethodAdapter.class
net.sourceforge.cobertura.instrument.TouchPointListener.class
net.sourceforge.cobertura.instrument.pass1.CodeFootstamp.class
net.sourceforge.cobertura.instrument.pass1.DetectDuplicatedCodeMethodVisitor.class
net.sourceforge.cobertura.instrument.pass1.DetectIgnoredCodeMethodVisitor.class
net.sourceforge.cobertura.instrument.pass1.DetectDuplicatedCodeMethodVisitor$LineIdWithCodeFootstamp.class
net.sourceforge.cobertura.instrument.pass1.DetectIgnoredCodeMethodVisitor$IgnoredStatus.class
net.sourceforge.cobertura.instrument.pass1.DetectDuplicatedCodeClassVisitor.class
net.sourceforge.cobertura.instrument.pass1.DetectIgnoredCodeClassVisitor.class
net.sourceforge.cobertura.instrument.pass3.InjectCodeTouchPointListener.class
net.sourceforge.cobertura.instrument.pass3.InjectCodeClassInstrumenter.class
net.sourceforge.cobertura.instrument.pass3.AbstractCodeProvider$Abcd.class
net.sourceforge.cobertura.instrument.pass3.AbstractCodeProvider.class
net.sourceforge.cobertura.instrument.pass3.InjectCodeClassInstrumenter$GenerateCallCoberturaInitMethodVisitor.class
net.sourceforge.cobertura.instrument.pass3.CodeProvider.class
net.sourceforge.cobertura.instrument.pass3.AtomicArrayCodeProvider.class
net.sourceforge.cobertura.instrument.pass3.FastArrayCodeProvider.class
net.sourceforge.cobertura.instrument.ClassPattern.class
net.sourceforge.cobertura.instrument.pass2.BuildClassMapClassVisitor.class
net.sourceforge.cobertura.instrument.pass2.BuildClassMapTouchPointListener.class
net.sourceforge.cobertura.instrument.tp.JumpTouchPointDescriptor.class
net.sourceforge.cobertura.instrument.tp.ClassMap.class
net.sourceforge.cobertura.instrument.tp.SwitchTouchPointDescriptor.class
net.sourceforge.cobertura.instrument.tp.LineTouchPointDescriptor.class
net.sourceforge.cobertura.instrument.tp.TouchPointDescriptor.class
net.sourceforge.cobertura.instrument.Main$LoggerWrapper.class
net.sourceforge.cobertura.instrument.FindTouchPointsMethodAdapter.class
net.sourceforge.cobertura.check.Main.class
net.sourceforge.cobertura.check.CoverageRate.class
net.sourceforge.cobertura.check.PackageCoverage.class
net.sourceforge.cobertura.CoverageIgnore.class
net.sourceforge.cobertura.webapp.FlushCoberturaServlet.class
net/sourceforge/cobertura/webapp/web.xml
net.sourceforge.cobertura.merge.Main.class
net.sourceforge.cobertura.reporting.ComplexityCalculator$Complexity.class
net.sourceforge.cobertura.reporting.Main.class
#内容未全部加载,请点击展开加载全部代码(NowJava.com)
|
依赖Jar: |
asm-${asmVersion}.jar
/org.ow2.asm/asm/${asmVersion}
查看asm所有版本文件
asm-tree-${asmVersion}.jar
/org.ow2.asm/asm-tree/${asmVersion}
查看asm-tree所有版本文件
asm-commons-${asmVersion}.jar
/org.ow2.asm/asm-commons/${asmVersion}
查看asm-commons所有版本文件
asm-util-${asmVersion}.jar
/org.ow2.asm/asm-util/${asmVersion}
查看asm-util所有版本文件
asm-analysis-${asmVersion}.jar
/org.ow2.asm/asm-analysis/${asmVersion}
查看asm-analysis所有版本文件
xercesImpl-${xercesVersion}.jar
/xerces/xercesImpl/${xercesVersion}
查看xercesImpl所有版本文件
xalan-${xalanVersion}.jar
/xalan/xalan/${xalanVersion}
查看xalan所有版本文件
oro-${oroVersion}.jar
/oro/oro/${oroVersion}
查看oro所有版本文件
jaxen-${jaxenVersion}.jar
/jaxen/jaxen/${jaxenVersion}
查看jaxen所有版本文件
commons-io-${commonsioVersion}.jar
/commons-io/commons-io/${commonsioVersion}
查看commons-io所有版本文件
ant-${antVersion}.jar
/org.apache.ant/ant/${antVersion}
查看ant所有版本文件
ant-junit-${antVersion}.jar
/org.apache.ant/ant-junit/${antVersion}
查看ant-junit所有版本文件
jetty-servlet-${jettyVersion}.jar
/org.eclipse.jetty/jetty-servlet/${jettyVersion}
查看jetty-servlet所有版本文件
groovy-all-${groovyVersion}.jar
/org.codehaus.groovy/groovy-all/${groovyVersion}
查看groovy-all所有版本文件
javacc-${javaccVersion}.jar
/net.java.dev.javacc/javacc/${javaccVersion}
查看javacc所有版本文件
tools-0.jar
/com.sun/tools/0
查看tools所有版本文件
log4j-${log4jVersion}.jar
/log4j/log4j/${log4jVersion}
查看log4j所有版本文件
junit-${junitVersion}.jar
/junit/junit/${junitVersion}
查看junit所有版本文件
|