I have the same problem with this code:

public boolean contains(float x, float y) {
    return this.x <= x && this.x + this.width >= x && this.y <= y && this.y + this.height >= y;
}

I get 1 but the real complexity is 5.

Regards