Closed Mkohm closed 4 years ago
:exclamation: No coverage uploaded for pull request base (
master@825a8b7
). Click here to learn what that means. The diff coverage is75%
.
@@ Coverage Diff @@
## master #31 +/- ##
======================================
Coverage ? 65%
Complexity ? 19
======================================
Files ? 3
Lines ? 40
Branches ? 7
======================================
Hits ? 26
Misses ? 11
Partials ? 3
Impacted Files | Coverage Δ | Complexity Δ | |
---|---|---|---|
...t/hint/rules/UseCompositionInsteadOfInheritance.kt | 88.88% <75%> (ø) |
19 <0> (?) |
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 825a8b7...dcad24b. Read the comment docs.
Square
is using inheritance, consider using composition instead.Does
Square
want to expose the complete interface (setHeight, setWidth
) ofRectangle
such thatSquare
can be used whereRectangle
is expected? Indicates inheritance.Does
Square
? want only some/part of the behavior exposed byRectangle
? Indicates Composition.Generated by :no_entry_sign: Danger