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

UiPath / uipathcli / 12390549287

18 Dec 2024 09:56AM UTC coverage: 86.121% (+0.05%) from 86.074%
12390549287

push

github

thschmitt
Add support to analyze studio projects

56 of 272 new or added lines in 8 files covered. (20.59%)

70 existing lines in 4 files now uncovered.

4660 of 5411 relevant lines covered (86.12%)

0.97 hits per line

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

0.0
/plugin/studio/package_analyze_result.go
1
package studio
2

3
type packageAnalyzeResult struct {
4
        Status     string                    `json:"status"`
5
        Violations []packageAnalyzeViolation `json:"violations"`
6
        Error      *string                   `json:"error"`
7
}
8

9
type packageAnalyzeViolation struct {
10
        ErrorCode           string                    `json:"errorCode"`
11
        Description         string                    `json:"description"`
12
        RuleName            string                    `json:"ruleName"`
13
        FilePath            string                    `json:"filePath"`
14
        ActivityId          *packageAnalyzeActivityId `json:"activityId"`
15
        ActivityDisplayName string                    `json:"activityDisplayName"`
16
        WorkflowDisplayName string                    `json:"workflowDisplayName"`
17
        Item                *packageAnalyzeItem       `json:"item"`
18
        ErrorSeverity       int                       `json:"errorSeverity"`
19
        Recommendation      string                    `json:"recommendation"`
20
        DocumentationLink   string                    `json:"documentationLink"`
21
}
22
type packageAnalyzeActivityId struct {
23
        Id    string `json:"id"`
24
        IdRef string `json:"idRef"`
25
}
26

27
type packageAnalyzeItem struct {
28
        Name string `json:"name"`
29
        Type int    `json:"type"`
30
}
31

NEW
32
func newSucceededPackageAnalyzeResult(violations []packageAnalyzeViolation, err string) *packageAnalyzeResult {
×
NEW
33
        return &packageAnalyzeResult{"Succeeded", violations, &err}
×
NEW
34
}
×
35

NEW
36
func newFailedPackageAnalyzeResult(violations []packageAnalyzeViolation, err string) *packageAnalyzeResult {
×
NEW
37
        return &packageAnalyzeResult{"Failed", violations, &err}
×
NEW
38
}
×
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

© 2026 Coveralls, Inc