bridgedb / BridgeDb

The BridgeDb Library source code
https://bridgedb.org/
Apache License 2.0
28 stars 21 forks source link

Unit testing #195

Closed hbasaric closed 2 years ago

hbasaric commented 2 years ago

Added unit tests Added capability to read unknownDataSource.bridge file in test classes. Increased code coverage. Ran mvn clean install to recompile the project.

codecov[bot] commented 2 years ago

Codecov Report

Merging #195 (dabfb2e) into master (6037b9b) will increase coverage by 3.20%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #195      +/-   ##
==========================================
+ Coverage   12.39%   15.59%   +3.20%     
==========================================
  Files         165      165              
  Lines       10400    10400              
  Branches     1382     1382              
==========================================
+ Hits         1289     1622     +333     
+ Misses       8960     8606     -354     
- Partials      151      172      +21     
Impacted Files Coverage Δ
org.bridgedb/src/main/java/org/bridgedb/Xref.java 26.08% <0.00%> (-26.09%) :arrow_down:
...dgedb/file/IDMappingReaderFromDelimitedReader.java 60.41% <0.00%> (-2.09%) :arrow_down:
...ridgedb/src/main/java/org/bridgedb/DataSource.java 88.65% <0.00%> (-1.69%) :arrow_down:
...c/main/java/org/bridgedb/impl/TransitiveGraph.java 67.08% <0.00%> (+1.86%) :arrow_up:
...src/main/java/org/bridgedb/impl/InternalUtils.java 22.54% <0.00%> (+1.96%) :arrow_up:
...bridgedb.rdb/src/org/bridgedb/rdb/IDMapperRdb.java 18.51% <0.00%> (+3.70%) :arrow_up:
...ava/org/bridgedb/AbstractIDMapperCapabilities.java 78.57% <0.00%> (+7.14%) :arrow_up:
....bridgedb/src/main/java/org/bridgedb/BridgeDb.java 80.00% <0.00%> (+10.00%) :arrow_up:
.../src/main/java/org/bridgedb/file/IDMapperFile.java 68.96% <0.00%> (+10.34%) :arrow_up:
...edb.rdb/src/org/bridgedb/rdb/SimpleGdbFactory.java 26.08% <0.00%> (+26.08%) :arrow_up:
... and 12 more

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 6037b9b...dabfb2e. Read the comment docs.