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

spdx / tools-golang / 10193235292

01 Aug 2024 06:28AM UTC coverage: 54.995% (-40.5%) from 95.483%
10193235292

Pull #247

github

kzantow
chore: require go 1.20

Signed-off-by: Keith Zantow <kzantow@gmail.com>
Pull Request #247: feat: prototype v3_0 model

504 of 6474 new or added lines in 3 files covered. (7.78%)

4 existing lines in 1 file now uncovered.

7712 of 14023 relevant lines covered (55.0%)

12.6 hits per line

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

0.0
/spdx/v3/v3_0/relationships.go
1
package v3_0
2

3
type Relationships struct {
4
        relationships []IRelationship
5
}
6

NEW
7
func (r Relationships) From(element IElement) Relationships {
×
NEW
8
        var out []IRelationship
×
NEW
9
        for _, r := range r.relationships {
×
NEW
10
                if r.GetFrom() == element {
×
NEW
11
                        out = append(out, r)
×
NEW
12
                }
×
13
        }
NEW
14
        return Relationships{out}
×
15
}
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