MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / has_new_branch

Method has_new_branch

src/feedback/observer.rs:89–91  ·  view source on GitHub ↗

New branch is the branch triggers a new bucket bitmap of this branch.

(&mut self, coverage: &CodeCoverage)

Source from the content-addressed store, hash-verified

87
88 // New branch is the branch triggers a new bucket bitmap of this branch.
89 pub fn has_new_branch(&mut self, coverage: &CodeCoverage) -> HashMap<String, Vec<BranchState>> {
90 self.branches.has_new(coverage)
91 }
92
93 // Unique branch is the branch that have not been triggered before.
94 pub fn has_unique_branch(&mut self, coverage: &CodeCoverage) -> HashMap<String, Vec<Branch>> {

Callers 6

minimizeFunction · 0.80
from_coverageMethod · 0.80
merge_coverageMethod · 0.80
sync_from_previousMethod · 0.80

Calls 1

has_newMethod · 0.80

Tested by 1