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

torand / FasterSQL / 13316820294

13 Feb 2025 08:49PM UTC coverage: 56.762% (+11.0%) from 45.739%
13316820294

push

github

web-flow
Merge pull request #8 from torand/testcontainers

feat: misc additions

143 of 336 branches covered (42.56%)

Branch coverage included in aggregate %.

97 of 171 new or added lines in 34 files covered. (56.73%)

6 existing lines in 6 files now uncovered.

772 of 1276 relevant lines covered (60.5%)

3.21 hits per line

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

50.0
/src/main/java/io/github/torand/fastersql/expression/arithmetic/ArithmeticExpressions.java
1
/*
2
 * Copyright (c) 2024 Tore Eide Andersen
3
 *
4
 * Licensed under the Apache License, Version 2.0 (the "License");
5
 * you may not use this file except in compliance with the License.
6
 * You may obtain a copy of the License at
7
 *
8
 *      http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 * Unless required by applicable law or agreed to in writing, software
11
 * distributed under the License is distributed on an "AS IS" BASIS,
12
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 * See the License for the specific language governing permissions and
14
 * limitations under the License.
15
 */
16
package io.github.torand.fastersql.expression.arithmetic;
17

18
import io.github.torand.fastersql.expression.Expression;
19

20
public final class ArithmeticExpressions {
21
    private ArithmeticExpressions() {}
22

23
    public static Addition add(Expression first, Expression second) {
24
        return new Addition(first, second, null);
7✔
25
    }
26

27
    public static Subtraction subtract(Expression first, Expression second) {
NEW
28
        return new Subtraction(first, second, null);
×
29
    }
30

31
    public static Multiplication multiply(Expression first, Expression second) {
32
        return new Multiplication(first, second, null);
7✔
33
    }
34

35
    public static Division divide(Expression first, Expression second) {
NEW
36
        return new Division(first, second, null);
×
37
    }
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