Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 5,727 for covered (0.31 sec)

  1. platforms/jvm/jacoco/src/testFixtures/groovy/org/gradle/testing/jacoco/plugins/fixtures/JacocoReportXmlFixture.groovy

                    def covered = 0
                    if (it.counter.size() > 0) {
                        def classCounter = it.counter.find { it.@type == "CLASS" }
                        missed = Integer.parseInt(******@****.***ng())
                        covered = Integer.parseInt(classCounter.@covered.toString())
                    }
    
                    return new Coverage(name, covered, missed)
                })
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 16:03:36 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. src/cmd/cover/func.go

    		total += int64(b.NumStmt)
    		if b.Count > 0 {
    			covered += int64(b.NumStmt)
    		}
    	}
    	return covered, total
    }
    
    // Pkg describes a single package, compatible with the JSON output from 'go list'; see 'go help list'.
    type Pkg struct {
    	ImportPath string
    	Dir        string
    	Error      *struct {
    		Err string
    	}
    }
    
    func findPkgs(profiles []*cover.Profile) (map[string]*Pkg, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 17:49:12 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  3. src/testing/cover.go

    // It is not covered (yet) by the Go 1 compatibility guidelines.
    type CoverBlock struct {
    	Line0 uint32 // Line number for block start.
    	Col0  uint16 // Column number for block start.
    	Line1 uint32 // Line number for block end.
    	Col1  uint16 // Column number for block end.
    	Stmts uint16 // Number of statements included in this block.
    }
    
    var cover Cover
    
    // Cover records information about test coverage checking.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:37:31 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. licenses/sigs.k8s.io/yaml/goyaml.v3/LICENSE

    This project is covered by two different licenses: MIT and Apache.
    
    #### MIT License ####
    
    The following files were ported to Go from C files of libyaml, and thus
    are still covered by their original MIT license, with the additional
    copyright staring in 2011 when the project was ported over:
    
        apic.go emitterc.go parserc.go readerc.go scannerc.go
        writerc.go yamlh.go yamlprivateh.go
    
    Copyright (c) 2006-2010 Kirill Simonov
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 19:53:28 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. src/cmd/cover/html.go

    // the profile covered by the test run.
    // In effect, it reports the coverage of a given source file.
    func percentCovered(p *cover.Profile) float64 {
    	var total, covered int64
    	for _, b := range p.Blocks {
    		total += int64(b.NumStmt)
    		if b.Count > 0 {
    			covered += int64(b.NumStmt)
    		}
    	}
    	if total == 0 {
    		return 0
    	}
    	return float64(covered) / float64(total) * 100
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 08 14:33:36 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/graph/TestUtil.java

        // Properties not covered by equals()
        assertThat(graphA.allowsSelfLoops()).isEqualTo(graphB.allowsSelfLoops());
        assertThat(graphA.nodeOrder()).isEqualTo(graphB.nodeOrder());
    
        assertThat(graphA).isEqualTo(graphB);
      }
    
      static void assertStronglyEquivalent(ValueGraph<?, ?> graphA, ValueGraph<?, ?> graphB) {
        // Properties not covered by equals()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/99-minor/structs/66408.md

    <!-- This is a new package; covered in 6-stdlib/3-structs.md. -->...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 21:19:39 UTC 2024
    - 66 bytes
    - Viewed (0)
  8. pkg/config/host/name.go

    // - they're fully resolved (i.e. not wildcarded) and match exactly (i.e. an exact string match)
    // - one or both are wildcarded (e.g. "*.foo.com"), in which case we use wildcard resolution rules
    // to determine if n is covered by o or o is covered by n.
    // e.g.:
    //
    //	Name("foo.com").Matches("foo.com")   = true
    //	Name("foo.com").Matches("bar.com")   = false
    //	Name("*.com").Matches("foo.com")     = true
    //	Name("bar.com").Matches("*.com")     = true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 09 16:25:50 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/covdata/doc.go

    selecting a specific reporting, merging, or data manipulation operation.
    Descriptions on the various modes (run "go tool cover <mode> -help" for
    specifics on usage of a given mode):
    
    1. Report percent of statements covered in each profiled package
    
    	$ go tool covdata percent -i=profiledir
    	cov-example/p	coverage: 41.1% of statements
    	main	coverage: 87.5% of statements
    	$
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 03 12:57:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/cover_coverpkg_with_init.txt

    # statements in the packages matched by "./..."; package "a" (for
    # example) has two statements so we expect 20.0% stmts covered. Go
    # 1.19 would print 50% here (due to force importing of all ./...
    # packages); prior to the fix for #58770 Go 1.20 would show 100%
    # coverage. For packages "x" and "f" (which have no tests), check for
    # 0% stmts covered (as opposed to "no test files").
    
    go test -count=1 -coverprofile=cov.dat -coverpkg=./... ./...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 30 12:33:44 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top