statisticsnorway / java-vtl

An Open Source Java implementation of the Validation Transformation Language, based on the VTL 1.1 draft specification. The implementation follows the JSR-223 Java Scripting API and exposes a simple connector interface one can implement in order to integrate with any data stores. VTL is a standard language for defining validation and transformation rules (set of operators, their syntax and semantics) for any kind of statistical data.
http://java-vtl.org
Apache License 2.0
21 stars 7 forks source link

Throw exception on division by zero #72

Closed pawbu closed 8 months ago

pawbu commented 6 years ago

Solves https://github.com/statisticsnorway/java-vtl/issues/66

codecov[bot] commented 6 years ago

Codecov Report

Merging #72 into develop will increase coverage by 0.07%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #72      +/-   ##
===========================================
+ Coverage    77.38%   77.45%   +0.07%     
===========================================
  Files          133      133              
  Lines         3316     3318       +2     
  Branches       383      383              
===========================================
+ Hits          2566     2570       +4     
+ Misses         634      633       -1     
+ Partials       116      115       -1
Impacted Files Coverage Δ
...odel/src/main/java/no/ssb/vtl/model/VTLNumber.java 66.66% <100%> (+2.38%) :arrow_up:
...odel/src/main/java/no/ssb/vtl/model/VTLObject.java 83.67% <0%> (+4.08%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3d5c204...d52c597. Read the comment docs.