https://github.com/nikolajlauridsen/linecount
How many lines is that?
https://github.com/nikolajlauridsen/linecount
Last synced: 2 months ago
JSON representation
How many lines is that?
- Host: GitHub
- URL: https://github.com/nikolajlauridsen/linecount
- Owner: nikolajlauridsen
- License: mit
- Created: 2017-02-19T19:41:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-09T15:55:38.000Z (almost 8 years ago)
- Last Synced: 2025-01-20T11:48:09.763Z (4 months ago)
- Language: Java
- Size: 122 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# LineCount
#### How many lines is that?Ever wondered how many lines of your über new code codebase is? LineCount will tell ya'
Made in cofee... I mean Java
Made as my final project for a programming course.
# How to use
1. Download the .zip from the releases page
2. Extract the zip
3. Launch LineCount.jar, make sure that fileparsers.yml is present in the same folder as LineCount.jar
4. Press choose folder and choose your project folder in the pop-up
5. Add your project files by clicking it in the added list and then clicking the + icon
6. Click generate
7. Inspect output# Example report output
# Saved Project Report
## Project Overview
Report saved: 19/05/2017Project folder: D:\Github\LineCount
Number of Files: 21
### Code Tally
| Code | Comments | Whitespace | Total |
|--------------|-------------|-------------|-------|
| 1082 (56,8%) | 518 (27,2%) | 304 (16,0%) | 1904 |## File Overview
| Filename | Extension | Path | Code | Comments | Whitespace | Total |
|-----------------------|-----------|-----------------------------------------------------------|--------------|-------------|-------------|-------|
| CodeFile.java | java | src\LineCount\FileOperations\Files\CodeFile.java | 79 (44,9%) | 62 (35,2%) | 35 (19,9%) | 176 |
| ReportFile.java | java | src\LineCount\FileOperations\Files\ReportFile.java | 112 (65,1%) | 33 (19,2%) | 27 (15,7%) | 172 |
| TextFile.java | java | src\LineCount\FileOperations\Files\TextFile.java | 41 (45,6%) | 37 (41,1%) | 12 (13,3%) | 90 |
| FileParser.java | java | src\LineCount\FileOperations\Parsing\FileParser.java | 37 (51,4%) | 24 (33,3%) | 11 (15,3%) | 72 |
| FileParserModel.java | java | src\LineCount\FileOperations\Parsing\FileParserModel.java | 5 (55,6%) | 3 (33,3%) | 1 (11,1%) | 9 |
| ParserChooser.java | java | src\LineCount\FileOperations\Parsing\ParserChooser.java | 37 (53,6%) | 21 (30,4%) | 11 (15,9%) | 69 |
| FileFilter.java | java | src\LineCount\FileOperations\Utils\FileFilter.java | 66 (48,9%) | 52 (38,5%) | 17 (12,6%) | 135 |
| FileHelp.java | java | src\LineCount\FileOperations\Utils\FileHelp.java | 37 (59,7%) | 13 (21,0%) | 12 (19,4%) | 62 |
| InvalidGlobError.java | java | src\LineCount\FileOperations\Utils\InvalidGlobError.java | 6 (54,5%) | 4 (36,4%) | 1 (9,1%) | 11 |
| BoxHelp.java | java | src\LineCount\GUI\BoxHelp.java | 26 (53,1%) | 17 (34,7%) | 6 (12,2%) | 49 |
| ErrorPanel.java | java | src\LineCount\GUI\Elements\ErrorPanel.java | 45 (63,4%) | 12 (16,9%) | 14 (19,7%) | 71 |
| FilePicker.java | java | src\LineCount\GUI\Elements\FilePicker.java | 146 (62,4%) | 46 (19,7%) | 42 (17,9%) | 234 |
| FileTable.java | java | src\LineCount\GUI\Elements\FileTable.java | 63 (67,0%) | 16 (17,0%) | 15 (16,0%) | 94 |
| ErrorFrame.java | java | src\LineCount\GUI\Windows\ErrorFrame.java | 21 (50,0%) | 15 (35,7%) | 6 (14,3%) | 42 |
| ProjectManager.java | java | src\LineCount\GUI\Windows\ProjectManager.java | 116 (64,1%) | 36 (19,9%) | 29 (16,0%) | 181 |
| ProjectReport.java | java | src\LineCount\GUI\Windows\ProjectReport.java | 88 (57,5%) | 41 (26,8%) | 24 (15,7%) | 153 |
| Main.java | java | src\LineCount\Main.java | 7 (63,6%) | 1 (9,1%) | 3 (27,3%) | 11 |
| Config.java | java | src\LineCount\Utils\Config.java | 7 (63,6%) | 3 (27,3%) | 1 (9,1%) | 11 |
| MdHelp.java | java | src\LineCount\Utils\MdHelp.java | 48 (48,0%) | 36 (36,0%) | 16 (16,0%) | 100 |
| StringHelp.java | java | src\LineCount\Utils\StringHelp.java | 68 (50,4%) | 46 (34,1%) | 21 (15,6%) | 135 |
| fileparsers.yml | yml | fileparsers.yml | 27 (100,0%) | 0 (0,0%) | 0 (0,0%) | 27 |
| Total | N/A | D:\Github\LineCount | 1082 (56,8%) | 518 (27,2%) | 304 (16,0%) | 1904 |