public class SloccountPublisherReport extends Object implements Serializable, SloccountReportInterface
Modifier and Type | Class and Description |
---|---|
static class |
SloccountPublisherReport.LanguageStatistics
Helper class to store language statistics.
|
static class |
SloccountPublisherReport.SlaveFile
Helper class to store a file name and an absolute path relative to the
slave machine.
|
Constructor and Description |
---|
SloccountPublisherReport() |
Modifier and Type | Method and Description |
---|---|
void |
add(String filePath,
String languageName,
String moduleName,
int lineCount,
int commentCount)
Add lines count.
|
void |
addSourceFile(File sourceFile)
Add a source file.
|
String |
getRootFolder()
Get the root folder.
|
List<SloccountPublisherReport.SlaveFile> |
getSourceFiles()
Get the source files.
|
SloccountReportStatistics |
getStatistics()
Get the statistics.
|
public SloccountReportStatistics getStatistics()
public List<SloccountPublisherReport.SlaveFile> getSourceFiles()
public void addSourceFile(File sourceFile)
sourceFile
- the source filepublic void add(String filePath, String languageName, String moduleName, int lineCount, int commentCount)
SloccountReportInterface
add
in interface SloccountReportInterface
filePath
- the filelanguageName
- the language namemoduleName
- the module namelineCount
- the line countcommentCount
- the comment countpublic String getRootFolder()
SloccountReportInterface
getRootFolder
in interface SloccountReportInterface
Copyright © 2016–2022. All rights reserved.