Skip to content

Conversation

@Bertk
Copy link
Contributor

@Bertk Bertk commented Mar 13, 2016

  • support regular expression with file header check
  • improve LOC function check (ignore comments)

Bertk added 2 commits March 13, 2016 07:17
add regular expression
-do not count comments
-search for "Copyright", "Vendor", "2015" within one line
@guwirth guwirth added this to the M 0.9.5 milestone Mar 13, 2016
import org.sonar.squidbridge.checks.ChecksHelper;
import org.sonar.squidbridge.checks.SquidCheck;

@Rule(key = "TooManyLinesOfCodeInFunction",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a test for this check?

@guwirth
Copy link
Collaborator

guwirth commented Mar 13, 2016

👍

guwirth added a commit that referenced this pull request Mar 13, 2016
@guwirth guwirth merged commit 773b307 into SonarOpenCommunity:master Mar 13, 2016
@Bertk Bertk deleted the enh_checks branch November 4, 2016 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants