tsbonev / nharker

NHaker - an offline writing organization tool
0 stars 0 forks source link

nharker-core: restructure articles #144

Closed tsbonev closed 6 years ago

tsbonev commented 6 years ago

Part of #139. Retouched some documentation and test code style. Closes #143. Refactored Articles to contain a reference to their catalogues. Closes #142. Refactored Catalogues to only care about their inheritance trees and not about Articles. Refactored Entries to keep a reference to their parent article. Closes #138.

codecov[bot] commented 6 years ago

Codecov Report

Merging #144 into master will decrease coverage by 0.05%. The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #144      +/-   ##
============================================
- Coverage     96.41%   96.35%   -0.06%     
+ Complexity      280      277       -3     
============================================
  Files            32       33       +1     
  Lines           975      934      -41     
  Branches         93       88       -5     
============================================
- Hits            940      900      -40     
  Misses            4        4              
+ Partials         31       30       -1
Impacted Files Coverage Δ Complexity Δ
.../com/tsbonev/nharker/core/helpers/OrderedRefMap.kt 94.73% <ø> (ø) 0 <0> (?)
.../kotlin/com/tsbonev/nharker/core/ArticleRequest.kt 100% <ø> (ø) 1 <0> (?)
...otlin/com/tsbonev/nharker/core/CatalogueRequest.kt 100% <ø> (ø) 1 <0> (ø) :arrow_down:
.../tsbonev/nharker/server/helpers/ExceptionLogger.kt 100% <ø> (ø) 20 <0> (-2) :arrow_down:
...tsbonev/nharker/server/workflow/ArticleWorkflow.kt 94.85% <100%> (+0.03%) 22 <0> (ø) :arrow_down:
...m/tsbonev/nharker/server/workflow/EntryWorkflow.kt 98% <100%> (+0.04%) 11 <0> (ø) :arrow_down:
...in/kotlin/com/tsbonev/nharker/core/EntryRequest.kt 100% <100%> (ø) 2 <1> (+1) :arrow_up:
.../main/kotlin/com/tsbonev/nharker/core/Catalogue.kt 100% <100%> (ø) 5 <1> (-1) :arrow_down:
...bonev/nharker/server/workflow/CatalogueWorkflow.kt 98.71% <100%> (-0.34%) 12 <0> (-3)
.../src/main/kotlin/com/tsbonev/nharker/core/Entry.kt 100% <100%> (ø) 5 <2> (+1) :arrow_up:
... and 5 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 44b411a...6132c0a. Read the comment docs.