(
&mut self,
unique_branches: HashMap<String, Vec<Branch>>,
deopt: &Deopt,
)
| 195 | } |
| 196 | |
| 197 | pub fn update_quality( |
| 198 | &mut self, |
| 199 | unique_branches: HashMap<String, Vec<Branch>>, |
| 200 | deopt: &Deopt, |
| 201 | ) -> Result<()> { |
| 202 | let mut quality = self.compute_quality(deopt)?; |
| 203 | quality.set_unique_branches(unique_branches); |
| 204 | self.set_quality(quality.clone()); |
| 205 | Ok(()) |
| 206 | } |
| 207 | |
| 208 | // Update the unique branches according the new coverage |
| 209 | pub fn update_unique_branches(&mut self, coming_branches: &HashMap<String, Vec<Branch>>) { |
no test coverage detected