CoreOffice / XMLCoder

Easy XML parsing using Codable protocols in Swift
https://coreoffice.github.io/XMLCoder/
MIT License
795 stars 107 forks source link

Run Danger with GitHub Actions #163

Closed MaxDesiatov closed 4 years ago

codecov[bot] commented 4 years ago

Codecov Report

Merging #163 into master will decrease coverage by 0.4%. The diff coverage is 71.42%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #163      +/-   ##
==========================================
- Coverage   72.93%   72.52%   -0.41%     
==========================================
  Files          43       43              
  Lines        2457     2264     -193     
==========================================
- Hits         1792     1642     -150     
+ Misses        665      622      -43
Impacted Files Coverage Δ
...es/XMLCoder/Decoder/XMLDecoderImplementation.swift 67.35% <100%> (-1.86%) :arrow_down:
...s/XMLCoder/Encoder/XMLKeyedEncodingContainer.swift 71.65% <100%> (-0.29%) :arrow_down:
...s/XMLCoder/Decoder/XMLKeyedDecodingContainer.swift 80.66% <100%> (-2.4%) :arrow_down:
...XMLCoder/Decoder/XMLUnkeyedDecodingContainer.swift 36.49% <50%> (+0.19%) :arrow_up:
Sources/XMLCoder/Auxiliaries/Box/DoubleBox.swift 60% <0%> (-6.67%) :arrow_down:
Sources/XMLCoder/Decoder/XMLDecoder.swift 75.19% <0%> (-2.43%) :arrow_down:
Sources/XMLCoder/Auxiliaries/XMLStackParser.swift 93.61% <0%> (-0.88%) :arrow_down:
Sources/XMLCoder/Encoder/XMLEncoder.swift 83.16% <0%> (-0.62%) :arrow_down:
... 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 ae6a0f0...e4ac62c. Read the comment docs.

github-actions[bot] commented 4 years ago
Fails
:no_entry_sign: **Sources/XMLCoder/Decoder/XMLDecoderImplementation.swift#L196** - Function should have complexity 10 or less: currently complexity equals 11 (`cyclomatic_complexity`)
:no_entry_sign: **Sources/XMLCoder/Decoder/XMLDecoderImplementation.swift#L493** - File should contain 400 lines or less: currently contains 493 (`file_length`)
:no_entry_sign: **Sources/XMLCoder/Decoder/XMLKeyedDecodingContainer.swift#L226** - Function body should span 50 lines or less excluding comments and whitespace: currently spans 75 lines (`function_body_length`)
:no_entry_sign: **Sources/XMLCoder/Decoder/XMLKeyedDecodingContainer.swift#L226** - Function should have complexity 10 or less: currently complexity equals 14 (`cyclomatic_complexity`)

Generated by :no_entry_sign: Danger Swift against e4ac62ce6031ac77752aba746fa96f6dedd3e2ba