Skip to content

Commit

Permalink
[improve] Refactor inspectory-core and amm modules
Browse files Browse the repository at this point in the history
  • Loading branch information
LaviniaCioloca committed May 8, 2018
1 parent 049a72c commit a1c04ad
Show file tree
Hide file tree
Showing 24 changed files with 330 additions and 250 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

/**
* Bean class having method dynamics values of each file in repository.
*
*
* <p>
* {@code supernovaMethods}: Number of Supernova Methods existent in file.
* <br />
Expand All @@ -34,7 +34,7 @@
* <br />
* {@code pulsarSeverity}: Total severity value of Pulsar methods in file.
* </p>
*
*
* @author Lavinia Cioloca
*
*/
Expand All @@ -49,15 +49,16 @@ public Integer getNumberOfSupernovaMethods() {
return numberOfSupernovaMethods;
}

public void setNumberOfSupernovaMethods(Integer numberOfSupernovaMethods) {
public void setNumberOfSupernovaMethods(
final Integer numberOfSupernovaMethods) {
this.numberOfSupernovaMethods = numberOfSupernovaMethods;
}

public Integer getNumberOfPulsarMethods() {
return numberOfPulsarMethods;
}

public void setNumberOfPulsarMethods(Integer numberOfPulsarMethods) {
public void setNumberOfPulsarMethods(final Integer numberOfPulsarMethods) {
this.numberOfPulsarMethods = numberOfPulsarMethods;
}

Expand All @@ -66,7 +67,7 @@ public Integer getSupernovaMethodsSeverityPoints() {
}

public void setSupernovaMethodsSeverityPoints(
Integer supernovaMethodsSeverityPoints) {
final Integer supernovaMethodsSeverityPoints) {
this.supernovaMethodsSeverityPoints = supernovaMethodsSeverityPoints;
}

Expand All @@ -75,7 +76,7 @@ public Integer getPulsarMethodsSeverityPoints() {
}

public void setPulsarMethodsSeverityPoints(
Integer pulsarMethodsSeverityPoints) {
final Integer pulsarMethodsSeverityPoints) {
this.pulsarMethodsSeverityPoints = pulsarMethodsSeverityPoints;
}

Expand All @@ -90,7 +91,7 @@ public String toString() {
}

@Override
public boolean equals(Object obj) {
public boolean equals(final Object obj) {
if (obj == this) {
return true;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
/**
* Bean class having the entire result information after applying Astronomical
* Methods Metric onto methods.
*
*
* @author Lavinia Cioloca
*
*/
Expand All @@ -53,142 +53,143 @@ public ArrayList<Commit> getCommits() {
return commits;
}

public void setCommits(ArrayList<Commit> commits) {
public void setCommits(final ArrayList<Commit> commits) {
this.commits = commits;
}

public String getFileName() {
return fileName;
}

public void setFileName(String fileName) {
public void setFileName(final String fileName) {
this.fileName = fileName;
}

public String getClassName() {
return className;
}

public void setClassName(String className) {
public void setClassName(final String className) {
this.className = className;
}

public String getMethodName() {
return methodName;
}

public void setMethodName(String methodName) {
public void setMethodName(final String methodName) {
this.methodName = methodName;
}

public Integer getActualSize() {
return actualSize;
}

public void setActualSize(Integer actualSize) {
public void setActualSize(final Integer actualSize) {
this.actualSize = actualSize;
}

public Integer getInitialSize() {
return initialSize;
}

public void setInitialSize(Integer initialSize) {
public void setInitialSize(final Integer initialSize) {
this.initialSize = initialSize;
}

public Integer getNumberOfChanges() {
return numberOfChanges;
}

public void setNumberOfChanges(Integer numberOfChanges) {
public void setNumberOfChanges(final Integer numberOfChanges) {
this.numberOfChanges = numberOfChanges;
}

public Boolean getMethodDeleted() {
return methodDeleted;
}

public void setMethodDeleted(Boolean methodDeleted) {
public void setMethodDeleted(final Boolean methodDeleted) {
this.methodDeleted = methodDeleted;
}

public ArrayList<Integer> getChangesList() {
return changesList;
}

public void setChangesList(ArrayList<Integer> changesList) {
public void setChangesList(final ArrayList<Integer> changesList) {
this.changesList = changesList;
}

public Boolean isPulsar() {
return isPulsar;
}

public void setPulsar(Boolean isPulsar) {
public void setPulsar(final Boolean isPulsar) {
this.isPulsar = isPulsar;
}

public Boolean isSupernova() {
return isSupernova;
}

public void setSupernova(Boolean isSupernova) {
public void setSupernova(final Boolean isSupernova) {
this.isSupernova = isSupernova;
}

public Boolean getIsPulsar() {
return isPulsar;
}

public void setIsPulsar(Boolean isPulsar) {
public void setIsPulsar(final Boolean isPulsar) {
this.isPulsar = isPulsar;
}

public Boolean getIsSupernova() {
return isSupernova;
}

public void setIsSupernova(Boolean isSupernova) {
public void setIsSupernova(final Boolean isSupernova) {
this.isSupernova = isSupernova;
}

public Integer getPulsarSeverity() {
return pulsarSeverity;
}

public void setPulsarSeverity(Integer pulsarSeverity) {
public void setPulsarSeverity(final Integer pulsarSeverity) {
this.pulsarSeverity = pulsarSeverity;
}

public Integer getSupernovaSeverity() {
return supernovaSeverity;
}

public void setSupernovaSeverity(Integer supernovaSeverity) {
public void setSupernovaSeverity(final Integer supernovaSeverity) {
this.supernovaSeverity = supernovaSeverity;
}

public PulsarCriteria getPulsarCriteria() {
return pulsarCriteria;
}

public void setPulsarCriteria(PulsarCriteria pulsarCriteria) {
public void setPulsarCriteria(final PulsarCriteria pulsarCriteria) {
this.pulsarCriteria = pulsarCriteria;
}

public SupernovaCriteria getSupernovaCriteria() {
return supernovaCriteria;
}

public void setSupernovaCriteria(SupernovaCriteria supernovaCriteria) {
public void setSupernovaCriteria(
final SupernovaCriteria supernovaCriteria) {
this.supernovaCriteria = supernovaCriteria;
}

/**
* Retrieve the method's entire information line to be written in the CSV
* file.
*
*
* @return An ArrayList of Strings data type.
*/
public ArrayList<String> getMethodInformationLine() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/**
* Bean class having values of Pulsar metric.
*
*
* @author Lavinia Cioloca
*
*/
Expand All @@ -37,7 +37,7 @@ public Integer getRecentCyclesPoints() {
return recentCyclesPoints;
}

public void setRecentCyclesPoints(Integer recentCyclesPoints) {
public void setRecentCyclesPoints(final Integer recentCyclesPoints) {
this.recentCyclesPoints = recentCyclesPoints;
}

Expand All @@ -46,23 +46,23 @@ public Integer getAverageSizeIncreasePoints() {
}

public void setAverageSizeIncreasePoints(
Integer averageSizeIncreasePoints) {
final Integer averageSizeIncreasePoints) {
this.averageSizeIncreasePoints = averageSizeIncreasePoints;
}

public Integer getMethodSizePoints() {
return methodSizePoints;
}

public void setMethodSizePoints(Integer methodSizePoints) {
public void setMethodSizePoints(final Integer methodSizePoints) {
this.methodSizePoints = methodSizePoints;
}

public Integer getActivityStatePoints() {
return activityStatePoints;
}

public void setActivityStatePoints(Integer activityStatePoints) {
public void setActivityStatePoints(final Integer activityStatePoints) {
this.activityStatePoints = activityStatePoints;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/**
* Bean class having values of Supernova metric.
*
*
* @author Lavinia Cioloca
*
*/
Expand All @@ -38,15 +38,15 @@ public Integer getLeapsSizePoints() {
return leapsSizePoints;
}

public void setLeapsSizePoints(Integer leapsSizePoints) {
public void setLeapsSizePoints(final Integer leapsSizePoints) {
this.leapsSizePoints = leapsSizePoints;
}

public Integer getRecentLeapsSizePoints() {
return recentLeapsSizePoints;
}

public void setRecentLeapsSizePoints(Integer recentLeapsSizePoints) {
public void setRecentLeapsSizePoints(final Integer recentLeapsSizePoints) {
this.recentLeapsSizePoints = recentLeapsSizePoints;
}

Expand All @@ -55,23 +55,23 @@ public Integer getSubsequentRefactoringPoints() {
}

public void setSubsequentRefactoringPoints(
Integer subsequentRefactoringPoints) {
final Integer subsequentRefactoringPoints) {
this.subsequentRefactoringPoints = subsequentRefactoringPoints;
}

public Integer getMethodSizePoints() {
return methodSizePoints;
}

public void setMethodSizePoints(Integer methodSizePoints) {
public void setMethodSizePoints(final Integer methodSizePoints) {
this.methodSizePoints = methodSizePoints;
}

public Integer getActivityStatePoints() {
return activityStatePoints;
}

public void setActivityStatePoints(Integer activityStatePoints) {
public void setActivityStatePoints(final Integer activityStatePoints) {
this.activityStatePoints = activityStatePoints;
}

Expand Down
Loading

0 comments on commit a1c04ad

Please sign in to comment.