Menu

#114 Create IllegalString rule

open
nobody
None
5
2013-02-16
2010-11-30
Chris Mair
No

Create rule that checks for a illegal String that must not exist within the source code of each configured file. (generic)

Discussion

  • Hamlet D'Arcy

    Hamlet D'Arcy - 2010-11-30

    What is an example of an illegal string? Curse words?

     
  • Chris Mair

    Chris Mair - 2010-11-30

    >> What is an example of an illegal string? Curse words?

    LOL. I was debating with myself about whether to implement this rule or not. I may still do it just for symmetry and the possibility of future usefulness. The RequiredString and RequiredRegex rules has been useful. And my colleagues and I are already using the IllegalRegex rule to check for disallowed method calls from controller classes within our codebase.

     

Log in to post a comment.