SpecHygiene

Reqnroll / SpecFlow hygiene report
16 findings

Scanned 2 feature file(s) · 7 scenario(s) · 20 step(s)·2026-07-22 17:39

Unused code55 element(s) with no references · scanned 3 method(s), 4 class(es), 1 interface(s)
KindElementContaining typeVisibilityLocation
MethodFormatDeprecatedPriceHelperprivateHelpers/PriceHelper.cs:10
MethodLegacyDiscountPriceHelperprivateHelpers/PriceHelper.cs:8
MethodObsoleteRoundingPriceHelperprivateHelpers/PriceHelper.cs:9
ClassOrphanReportBuilderinternalHelpers/DeadCode.cs:4
InterfaceIUnusedValidatorinternalHelpers/DeadCode.cs:10
Unused step definitions6Coverage 45.5% · 5/11 bindings used · 6 unused
KindPatternMethodLocation
Thenthe cart is sorted alphabeticallyCartSteps.ThenTheCartIsSortedAlphabeticallySteps/CartSteps.cs:22
Giventhe user is a premium memberCartSteps.GivenTheUserIsAPremiumMemberSteps/CartSteps.cs:25
Whenthe session times outCartSteps.WhenTheSessionTimesOutSteps/CartSteps.cs:28
Thenan audit entry is writtenCheckoutSteps.ThenAnAuditEntryIsWrittenSteps/CheckoutSteps.cs:13
Giventhe store is closed for maintenanceCheckoutSteps.GivenTheStoreIsClosedForMaintenanceSteps/CheckoutSteps.cs:16
Whenthe order is archived after 30 daysCheckoutSteps.WhenTheOrderIsArchivedSteps/CheckoutSteps.cs:19
Data errors55 feature-file issue(s)
Scenario Outlines defined as Scenarios2

A Scenario has an Examples: table — it should be declared as a Scenario Outline.

Tax applied by regionCheckout.feature:9
IssueDeclared as Scenario but has an Examples: table — should be a Scenario Outline.
Examples columnsregion
Add several itemsShoppingCart.feature:14
IssueDeclared as Scenario but has an Examples: table — should be a Scenario Outline.
Examples columnsitemcount
Undefined placeholders — missing values3

A <placeholder> in the steps has no matching Examples column or @DataSource value.

Redeem loyalty pointsCheckout.feature:20
Missing<redeemAmount><remaining>
Affected steps
line 20: When they redeem <redeemAmount> points
line 21: Then the balance is <remaining>
Defined in Examplespoints
Checkout total after couponShoppingCart.feature:27
Missing<expectedTotal>
Affected steps
line 27: Then the total is <expectedTotal>
Defined in ExamplesitemCountcoupon