public class Statistics
extends java.lang.Object
| Constructor and Description |
|---|
Statistics() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getMissingFiles()
Get the list of files that are missing the copyright notice
|
java.util.List<java.lang.String> |
getNotUpdatedFiles()
Get the list of files that were not updated
|
int |
getNumFiles()
Get the total number of files scanned
|
int |
getNumFound()
Get the number of copyright notices found
|
int |
getNumMissing()
Get the number of missing copyright notices
|
int |
getNumNotUpdated()
Get the number of files that were not updated
|
int |
getNumUpdated()
Get the number of files that were updated
|
java.util.List<java.lang.String> |
getUpdatedFiles()
Get the list of files that were updated
|
void |
incrementNumFiles()
increment the number of files
|
void |
incrementNumFound()
increment the number of files with copyright notices found
|
void |
incrementNumMissing(java.lang.String filePath)
increment the number of files with copyright notices missing
|
void |
incrementNumNotUpdated(java.lang.String filePath)
increment the number of files that the copyright was not updated
|
void |
incrementNumUpdated(java.lang.String filePath)
increment the number of files that the copyright was updated
|
public void incrementNumFiles()
public void incrementNumFound()
public void incrementNumMissing(java.lang.String filePath)
filePath - the path of the filepublic void incrementNumUpdated(java.lang.String filePath)
filePath - the path of the filepublic void incrementNumNotUpdated(java.lang.String filePath)
filePath - the path of the filepublic int getNumFiles()
public int getNumFound()
public int getNumMissing()
public int getNumUpdated()
public int getNumNotUpdated()
public java.util.List<java.lang.String> getMissingFiles()
public java.util.List<java.lang.String> getUpdatedFiles()
public java.util.List<java.lang.String> getNotUpdatedFiles()