• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

davidcole1340 / ext-php-rs / 14285655645

05 Apr 2025 08:46PM CUT coverage: 13.062%. First build
14285655645

Pull #416

github

Xenira
ci(coverage): add coverage reporting

Refs: #415
Pull Request #416: ci(coverage): add coverage reporting

520 of 3981 relevant lines covered (13.06%)

1.23 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/crates/macros/src/helpers.rs
1
use crate::class::{parse_attribute, ParsedAttribute};
2
use syn::Attribute;
3

4
/// Takes a list of attributes and returns a list of doc comments retrieved from
5
/// the attributes.
6
pub fn get_docs(attrs: &[Attribute]) -> Vec<String> {
×
7
    let mut docs = vec![];
×
8

9
    for attr in attrs {
×
10
        if let Ok(Some(ParsedAttribute::Comment(doc))) = parse_attribute(attr) {
×
11
            docs.push(doc);
×
12
        }
13
    }
14

15
    docs
×
16
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc