Skip to content

Adding a rule to suggest constructor injection over Provides method

Codecov / codecov/patch failed Nov 2, 2024 in 0s

70.83% of diff hit (target 89.47%)

View this Pull Request on Codecov

70.83% of diff hit (target 89.47%)

Annotations

Check warning on line 30 in lint/dagger/src/main/java/dev/whosnickdoglio/dagger/DaggerRulesIssueRegistry.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

lint/dagger/src/main/java/dev/whosnickdoglio/dagger/DaggerRulesIssueRegistry.kt#L30

Added line #L30 was not covered by tests

Check warning on line 37 in lint/dagger/src/main/java/dev/whosnickdoglio/dagger/detectors/ConstructorInjectionOverProvidesDetector.kt

See this annotation in the file changed.

@codecov codecov / codecov/patch

lint/dagger/src/main/java/dev/whosnickdoglio/dagger/detectors/ConstructorInjectionOverProvidesDetector.kt#L34-L37

Added lines #L34 - L37 were not covered by tests