From 4096f9f077e88664aed654c61a7ae0b59c3aa25d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fournier?= Date: Fri, 18 Aug 2017 17:58:12 +0200 Subject: [PATCH] Update doc --- docs/pages/pmd/languages/java_metrics_index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/pages/pmd/languages/java_metrics_index.md b/docs/pages/pmd/languages/java_metrics_index.md index 30dae4906b..c962f0a912 100644 --- a/docs/pages/pmd/languages/java_metrics_index.md +++ b/docs/pages/pmd/languages/java_metrics_index.md @@ -79,7 +79,9 @@ class Foo { nor are empty fall-through cases in `switch` statements. You can use this option to get results similar to those of the old `StdCyclomaticComplexityRule`, which is to be replaced. - +* Option `CycloVersion#CONSIDER_ASSERTS`: Assert statements are counted as if + they were `if (..) throw new AssertionError(..)`. Compatible with + `IGNORE_BOOLEAN_PATHS`. ## Lines of Code (LoC)