Back to all rules
What this rule checks
Flags [cite: N] markers left in comments by AI tools like Perplexity — strong indicator that code was generated, not written
Configuration
When off, this rule is excluded from pipeline runs. Changes apply immediately.
Code Examples
PASS — this code satisfies the rule
float ballX = 0;

void setup() {
  size(400, 400);
}

void draw() {
  background(255);
  // move the ball to the right
  ballX = ballX + 2;
  ellipse(ballX, 200, 30, 30);
}
FAIL — this code triggers the rule
float ballX = 0;

void setup() {
  size(400, 400);
}

void draw() {
  background(255);
  // move the ball to the right [cite: 4]
  ballX = ballX + 2;
  ellipse(ballX, 200, 30, 30);
}
Overview
Category Academic Integrity
Type Custom Zita
Priority 1 (1 = highest, 5 = lowest)
Status Active
PMD Configuration
Java class nl.utwente.processing.pmd.rules.HasCitationCommentsRule
Message template AI citation marker detected.