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

common-workflow-language / cwlviewer / #1994

12 May 2026 06:57PM UTC coverage: 70.713% (+0.4%) from 70.334%
#1994

Pull #751

github

kinow
Parse and validate Git URLs parsing URL, instead of using regexes (CodeQL security and performance warnings)
Pull Request #751: Bump org.springframework.boot:spring-boot-starter-parent from 3.1.4 to 4.1.0-RC1

93 of 148 new or added lines in 29 files covered. (62.84%)

19 existing lines in 3 files now uncovered.

1695 of 2397 relevant lines covered (70.71%)

0.71 hits per line

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

0.0
/src/main/java/org/commonwl/view/validation/BitbucketUrlValidator.java
1
/*
2
 * Licensed to the Apache Software Foundation (ASF) under one
3
 * or more contributor license agreements.  See the NOTICE file
4
 * distributed with this work for additional information
5
 * regarding copyright ownership.  The ASF licenses this file
6
 * to you under the Apache License, Version 2.0 (the
7
 * "License"); you may not use this file except in compliance
8
 * with the License.  You may obtain a copy of the License at
9
 *
10
 *   http://www.apache.org/licenses/LICENSE-2.0
11
 *
12
 * Unless required by applicable law or agreed to in writing,
13
 * software distributed under the License is distributed on an
14
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
 * KIND, either express or implied.  See the License for the
16
 * specific language governing permissions and limitations
17
 * under the License.
18
 */
19

20
package org.commonwl.view.validation;
21

22
/** Validate Bitbucket repository URLs. */
NEW
23
public class BitbucketUrlValidator extends AbstractGitValidator {
×
24
  protected String host() {
NEW
25
    return "bitbucket.org";
×
26
  }
27

28
  protected String repoBaseUrl(String owner, String repo) {
NEW
29
    return "https://bitbucket.org/" + owner + "/" + repo + ".git";
×
30
  }
31
}
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