Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: separated automated detection tables

...

The following table summarizes the examples flagged as violations by SureLogic tools Flashlight:

Noncompliant Code Example

FlashLight

Message

JSureFlagged

Message

non-static lock object for static data

No

No obvious issues

method synchronization for static data

No

No obvious issues

The following table summarizes the examples flagged as violations by SureLogic JSure:

Noncompliant Code Example

Flagged

Message

non-static lock object for static data

Yes

modeling problem: static region "counter" should be protected by a static field

method synchronization for static data

No

No obvious issues

Yes

modeling problem: static region "counter" should be protected by a static field

...