rspec/rules/S4487/rspecator.adoc
2023-06-15 08:54:48 +02:00

31 lines
788 B
Plaintext

ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
=== Message
Remove this unread private field 'xxxx' or refactor the code to use its value.
=== Highlighting
* primary: Field name declaration
* secondary: Statements changing its value
'''
== Comments And Links
(visible only on this page)
=== relates to: S1144
=== relates to: S1854
=== on 15 Oct 2019, 10:44:10 Andrei Epure wrote:
Note that:
* the implementation of this rule only considers fields. Other members (e.g. properties) are considered by the RSPEC-1144 C# implementation.
* to avoid overlap of this rule with RSPEC-1450, the RSPEC-1450 C# implementation has been modified to only raise when the field is written before being read
endif::env-github,rspecator-view[]