Skip to content

Instantly share code, notes, and snippets.

@wjwwood
Created September 19, 2015 02:21
Show Gist options
  • Select an option

  • Save wjwwood/a18fbc58dc76c9aa35ae to your computer and use it in GitHub Desktop.

Select an option

Save wjwwood/a18fbc58dc76c9aa35ae to your computer and use it in GitHub Desktop.
Calculating the LoC for ROS Jade Desktop-Full
william@farl /tmp/jade
% rosinstall_generator desktop_full --deps --tar --rosdistro jade > jade-desktop_full.rosinstall
william@farl /tmp/jade
% wstool init ./src jade-desktop_full.rosinstall
Using initial elements from: jade-desktop_full.rosinstall
Writing /private/tmp/jade/src/.rosinstall
[actionlib] Fetching https://github.com/ros-gbp/actionlib-release/archive/release/jade/actionlib/1.11.4-0.tar.gz (version actionlib-release-release-jade-actionlib-1.11.4-0) to /private/tmp/jade/src/actionlib
[actionlib] Done.
[angles] Fetching https://github.com/ros-gbp/geometry_angles_utils-release/archive/release/jade/angles/1.9.10-0.tar.gz (version geometry_angles_utils-release-release-jade-angles-1.9.10-0) to /private/tmp/jade/src/angles
[...] snippet for brevity [...]
[xacro] Done.
update complete.
william@farl /tmp/jade
% cloc .
5903 text files.
5687 unique files.
2106 files ignored.
http://cloc.sourceforge.net v 1.64 T=19.04 s (203.7 files/s, 33023.0 lines/s)
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
C++ 959 35987 47444 162453
Python 1020 23691 53026 88801
C/C++ Header 832 21850 51990 71504
XML 463 1673 726 16050
CMake 391 2763 3355 12240
C 12 3368 4684 11063
Lisp 57 1134 1775 5234
YAML 55 45 75 1405
MSBuild script 8 0 0 1261
HTML 7 120 8 1160
Perl 1 276 368 806
Bourne Shell 30 154 53 589
make 14 139 75 552
Bourne Again Shell 15 60 48 434
ASP.Net 9 2 0 70
Elixir 1 0 0 59
CSS 1 9 0 45
MATLAB 2 9 2 44
awk 1 1 0 15
DOS Batch 1 1 1 3
--------------------------------------------------------------------------------
SUM: 3879 91282 163630 373788
--------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment