(&self)
| 38 | |
| 39 | impl CovFunction { |
| 40 | pub fn get_name(&self) -> &str { |
| 41 | if let Some(seq) = self.name.rfind(':') { |
| 42 | return &self.name[seq + 1..]; |
| 43 | } |
| 44 | &self.name |
| 45 | } |
| 46 | |
| 47 | pub fn compute_line_coverage(&self) -> f32 { |
| 48 | if self.lines.is_empty() { |
no outgoing calls
no test coverage detected