diff --git a/README.md b/README.md index 4903a0b7..8cacb75b 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,11 @@ and then: ```bash $ java -jar jpeek-jar-with-dependencies.jar --sources . --target ./jpeek ``` + jPeek will analyze Java files in the current directory. XML reports will be generated in the `./jpeek` directory. Enjoy. diff --git a/src/main/java/org/jpeek/App.java b/src/main/java/org/jpeek/App.java index ed9a0df2..b3196b08 100644 --- a/src/main/java/org/jpeek/App.java +++ b/src/main/java/org/jpeek/App.java @@ -200,6 +200,14 @@ public void analyze() throws IOException { ) ); } + if (this.params.containsKey("LCOM4")) { + reports.add( + new XslReport( + chain.transform(skeleton), xsl, + new ReportData("LCOM4", this.params, 0.5d, -0.1d) + ) + ); + } if (this.params.containsKey("NHD")) { reports.add( new XslReport(