Back to all rules
What this rule checks
Sketch parses into a valid syntax tree (aliased from ProcessingJavaBuildRule; no compilation — processing-java is not run)
Configuration
When off, this rule is excluded from pipeline runs. Changes apply immediately.
Code Examples
PASS — this code satisfies the rule
void setup() {
  size(400, 400);
}

void draw() {
  background(255);
  ellipse(mouseX, mouseY, 50, 50);
}
FAIL — this code triggers the rule
void setup() {
  size(400, 400)  // missing semicolon
}

void draw() {
  background(255);
  ellipse(mouseX, mouseY, 50, 50);
}
Overview
Category Topic Getting Started
Level Basic
Type Custom Zita
Priority 1 (1 = highest, 5 = lowest)
Status Active
PMD Configuration
Message template Sketch must build successfully