@ExportedBean public class SloccountReportStatistics extends Object implements Serializable
Constructor and Description |
---|
SloccountReportStatistics(List<SloccountLanguageStatistics> statistics)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getAllLanguages()
Get names of all languages.
|
int |
getCommentCount()
Get total comments count.
|
String |
getCommentCountString()
Get total comments count.
|
int |
getFileCount()
Get total files count.
|
String |
getFileCountString()
Get total files count.
|
SloccountLanguageStatistics |
getLanguage(String name)
Get language statistics for a concrete language.
|
int |
getLanguageCount()
Get total languages count.
|
String |
getLanguageCountString()
Get total files count.
|
int |
getLineCount()
Get total lines count.
|
String |
getLineCountString()
Get total lines count.
|
List<SloccountLanguageStatistics> |
getStatistics()
Get the statistics.
|
public SloccountReportStatistics(List<SloccountLanguageStatistics> statistics)
statistics
- the statistics per language@Exported(name="languages") public List<SloccountLanguageStatistics> getStatistics()
@Exported(name="totalLines") public int getLineCount()
@Exported(name="totalFiles") public int getFileCount()
@Exported(name="totalLanguages") public int getLanguageCount()
@Exported(name="totalComments") public int getCommentCount()
public String getLineCountString()
public String getFileCountString()
public String getCommentCountString()
public String getLanguageCountString()
public SloccountLanguageStatistics getLanguage(String name)
name
- the language nameCopyright © 2016–2022. All rights reserved.