Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/main/java/org/jpeek/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public App(final Path source, final Path target,

* @throws IOException If fails
* Analyze method is too big. We need to extract report building from
* here and use a map instead of if statements se we can make
* here and use a map instead of if statements so we can make
* easier to add and remove metrics from execution.
*/
@SuppressWarnings({
Expand Down Expand Up @@ -300,7 +300,7 @@ private boolean copyXsl(final String name) throws IOException {
}

/**
* Copy XSL.
* Copy XSD.

* @param name The name of resource
* @return TRUE if copied
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/org/jpeek/Metrics.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Metrics

* <p>Enumeration representing various metrics along with their configuration.
* <p>Enumeration representing various metrics along with their configuration.</p>
*/
public enum Metrics {

Expand All @@ -34,7 +34,7 @@ public enum Metrics {
LCOM5(true, 0.5d, -0.1d),

/**
* Lack of Cohesion in Methods 4 metric. Measuring Coupling and Cohesion In
* Lack of Cohesion in Methods 4 metric. Measuring Coupling and Cohesion In
* Object-Oriented Systems
*/
LCOM4(true, 0.5d, -0.1d),
Expand All @@ -60,7 +60,7 @@ public enum Metrics {
/**
* A Sensitive Metric of Class Cohesion metric.
* [A] new metric [...] yielding meaningful values [...] more sensitive than those previously
* reported,
* reported
*/
SCOM(true, null, null),

Expand Down
18 changes: 9 additions & 9 deletions src/main/java/org/jpeek/ReportData.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ final class ReportData {
/**
* The metric.
*/
private final String metr;
private final String metric;

/**
* Mean.
*/
private final double man;
private final double mean;

/**
* Sigma.
*/
private final double sig;
private final double sigma;

/**
* XSL params.
Expand Down Expand Up @@ -76,34 +76,34 @@ final class ReportData {
*/
ReportData(final String name, final Map<String, Object> args, final double mean,
final double sigma) {
this.metr = name;
this.metric = name;
this.args = new MapOf<String, Object>(new HashMap<>(args));
this.man = mean;
this.sig = sigma;
this.mean = mean;
this.sigma = sigma;
}

/**
* Metric name accessor.
* @return The metric
*/
public String metric() {
return this.metr;
return this.metric;
}

/**
* Mean accessor.
* @return The mean
*/
public double mean() {
return this.man;
return this.mean;
}

/**
* Sigma accessor.
* @return Sigma
*/
public double sigma() {
return this.sig;
return this.sigma;
}

/**
Expand Down
Loading