Skip to content

Instantly share code, notes, and snippets.

@thomas-holmes
Last active March 8, 2018 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomas-holmes/2739f6da52b42e7804607a35ced341c4 to your computer and use it in GitHub Desktop.
Save thomas-holmes/2739f6da52b42e7804607a35ced341c4 to your computer and use it in GitHub Desktop.
example cloc output
keipra@k1 ~/g/s/g/t/delivery-rl (master)> cloc . --exclude-dir=vendor,.vscode
60 text files.
60 unique files.
4 files ignored.
github.com/AlDanial/cloc v 1.74 T=0.06 s (947.4 files/s, 98349.4 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Go 46 977 117 4505
YAML 6 16 0 153
Markdown 3 25 0 63
make 1 6 0 18
TOML 1 4 20 13
-------------------------------------------------------------------------------
SUM: 57 1028 137 4752
-------------------------------------------------------------------------------
keipra@k1 ~/g/s/g/t/delivery-rl (master)> cloc . --exclude-dir=vendor,.vscode --by-file
60 text files.
60 unique files.
4 files ignored.
github.com/AlDanial/cloc v 1.74 T=0.07 s (874.9 files/s, 90817.2 lines/s)
----------------------------------------------------------------------------------------------------
File blank comment code
----------------------------------------------------------------------------------------------------
./game/world.go 104 24 477
./game/creature.go 88 9 475
./game/spells.go 57 6 249
./game/level_gen.go 44 2 248
./game/hud.go 41 1 202
./game/fov.go 31 1 167
./game/level.go 35 4 149
./game/main.go 44 4 147
./game/monsters/repository.go 36 4 120
./game/items/repository.go 36 4 120
./game/combat.go 18 9 116
./game/resource_test.go 10 0 115
./game/item.go 23 0 113
./game/inspect.go 20 2 106
./game/inventory.go 23 0 106
./game/util.go 12 0 97
./game/dice/roll.go 26 24 96
./game/messages/broker_test.go 31 0 82
./game/full_game_log.go 19 4 80
./game/monsters/definition.go 20 1 79
./game/monsters/repository_test.go 20 0 78
./game/items/repository_test.go 20 0 78
./game/tile.go 18 0 77
./game/monsters/definition_test.go 14 0 75
./game/dice/roll_test.go 8 0 68
./game/end_game.go 14 0 65
./game/equipment.go 13 1 62
./game/messages.go 13 0 62
./game/intro.go 15 0 61
./game/items/definition.go 12 0 59
./game/items/definition_test.go 14 0 59
./game/animation.go 14 3 56
./game/tracking.go 10 0 55
./game/fov_test.go 9 0 50
./design.md 15 0 46
./game/game_log.go 10 1 46
./game/messages/broker.go 13 7 43
./run_dir/assets/definitions/monsters.yaml 4 0 41
./run_dir/assets/definitions/natural_weapons.yaml 5 0 37
./game/menu.go 9 0 36
./run_dir/assets/definitions/weapons.yaml 4 0 31
./game/resource.go 7 2 26
./game/item_behavior.go 3 0 25
./run_dir/assets/definitions/consumeables.yaml 2 0 22
./Makefile 6 0 18
./game/gamelog/log.go 7 0 18
./game/entity.go 4 0 14
./Gopkg.toml 4 20 13
./run_dir/assets/definitions/shoes.yaml 1 0 13
./game/symbols.go 3 1 12
./game/colors.go 2 0 12
./game/energy.go 2 1 9
./todo.md 3 0 9
./.travis.yml 0 0 9
./game/input.go 2 0 8
./README.md 7 0 8
./game/actor.go 3 2 7
----------------------------------------------------------------------------------------------------
SUM: 1028 137 4752
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment