{"id":3277,"date":"2014-04-30T00:49:04","date_gmt":"2014-04-30T00:49:04","guid":{"rendered":"http:\/\/www.gubatron.com\/blog\/?p=3277"},"modified":"2014-04-30T00:49:04","modified_gmt":"2014-04-30T00:49:04","slug":"how-many-lines-of-code-are-there-inside-bitcoin-core-client","status":"publish","type":"post","link":"https:\/\/www.gubatron.com\/blog\/how-many-lines-of-code-are-there-inside-bitcoin-core-client\/","title":{"rendered":"How many lines of code are there inside Bitcoin-Core client?"},"content":{"rendered":"<p>According to <b>cloc<\/b> this is the line count breakdown, 87% of the project is all C\/C++ header files and code.<\/p>\n<pre>\r\nhttp:\/\/cloc.sourceforge.net v 1.60  T=7.23 s (72.2 files\/s, 43792.9 lines\/s)\r\n-------------------------------------------------------------------------------\r\nLanguage                     files          blank        comment           code\r\n-------------------------------------------------------------------------------\r\nC++                            244           9985           6246         211500\r\nC\/C++ Header                   188           5346           4617          35399\r\nBourne Shell                    26           2576           2571          20090\r\nmake                            12            905           1105           7221\r\nm4                              17            376             98           3697\r\nPython                          18            333            224           1615\r\nHTML                             3             85              0           1136\r\nYAML                             8             21            115            545\r\nC                                1             43             11            336\r\nObjective C++                    2             37             14            153\r\nCSS                              1             10              1             78\r\nIDL                              1              1              0             20\r\nXML                              1              0              0             10\r\n-------------------------------------------------------------------------------\r\nSUM:                           522          19718          15002         281800\r\n-------------------------------------------------------------------------------<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>According to cloc this is the line count breakdown, 87% of the project is all C\/C++ header files and code. http:\/\/cloc.sourceforge.net v 1.60 T=7.23 s (72.2 files\/s, 43792.9 lines\/s) &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- Language files blank comment code &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- C++ 244 9985 6246 211500 C\/C++ Header 188 5346 4617 35399 Bourne Shell 26 2576 2571 20090 make 12 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1361,15],"tags":[1258,1437],"class_list":["post-3277","post","type-post","status-publish","format-standard","hentry","category-bitcoin-2","category-code","tag-bitcoin","tag-code"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5Unzf-QR","jetpack-related-posts":[{"id":1922,"url":"https:\/\/www.gubatron.com\/blog\/think-youre-in-a-big-project\/","url_meta":{"origin":3277,"position":0},"title":"Think you&#8217;re in a big project?","author":"gubatron","date":"May 18, 2010","format":false,"excerpt":"Recently I became curious on how many lines of code a huge open source project I contribute to has on what languages. I found a tool called \"cloc\" on sourceforge, check out the results and I dare you to think again if you think you're in a big project. [bash]\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2759,"url":"https:\/\/www.gubatron.com\/blog\/frostwire-nearing-1mm-lines-of-source-code\/","url_meta":{"origin":3277,"position":1},"title":"FrostWire nearing 1MM lines of Source Code","author":"gubatron","date":"July 31, 2012","format":false,"excerpt":"-------------------------------------------------------------------------------- Language files blank comment code -------------------------------------------------------------------------------- Java 6700 230082 339218 818509 HTML 403 8751 4745 72384 XML 70 1112 996 11029 C++ 6 220 317 806 CSS 10 202 132 799 JSP 16 64 606 777 Javascript 5 77 54 571 XSLT 4 134 298 553 XSD 7 40\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1978,"url":"https:\/\/www.gubatron.com\/blog\/how-many-lines-of-code-does-it-take-to-create-the-android-os\/","url_meta":{"origin":3277,"position":2},"title":"How many lines of code does it take to create the Android OS?","author":"gubatron","date":"May 23, 2010","format":false,"excerpt":"This is a report done on all the projects that make up for the android project, my copy of it is synced as of May 23rd 2010, 6pm [bash] -------------------------------------------------------------------------------- Language files blank comment code -------------------------------------------------------------------------------- XML 4130 26919 62996 3044624 C 7191 494387 685731 2826741 Java 16473 423278 986294\u2026","rel":"","context":"In &quot;Android&quot;","block_context":{"text":"Android","link":"https:\/\/www.gubatron.com\/blog\/category\/android\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3241,"url":"https:\/\/www.gubatron.com\/blog\/setting-up-eclipse-as-your-ide-for-bitcoin-c-development-on-macosx\/","url_meta":{"origin":3277,"position":3},"title":"Setting up Eclipse as your IDE for Bitcoin C++ development on MacOSX.","author":"gubatron","date":"February 9, 2014","format":false,"excerpt":"If you are a Java developer used to the productivity levels achieved by working with eclipse's code navigation, code completion and refactoring tools, it's worth your time staying in eclipse for any sort of C++ development. This post refers specifically to getting your eclipse environment to work with a particular\u2026","rel":"","context":"In &quot;BitCoin&quot;","block_context":{"text":"BitCoin","link":"https:\/\/www.gubatron.com\/blog\/category\/bitcoin-2\/"},"img":{"alt_text":"Screen Shot 2014-02-09 at 1.09.39 PM","src":"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2014\/02\/Screen-Shot-2014-02-09-at-1.09.39-PM.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2014\/02\/Screen-Shot-2014-02-09-at-1.09.39-PM.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/www.gubatron.com\/blog\/wp-content\/uploads\/2014\/02\/Screen-Shot-2014-02-09-at-1.09.39-PM.png?resize=525%2C300 1.5x"},"classes":[]},{"id":3195,"url":"https:\/\/www.gubatron.com\/blog\/how-to-import-a-backed-up-wallet-in-bitcoin-qt\/","url_meta":{"origin":3277,"position":4},"title":"How to import a backed up wallet in Bitcoin-Qt","author":"gubatron","date":"November 20, 2013","format":false,"excerpt":"The Bitcoin-Qt client has an export feature, but not an import feature, importing a wallet is a bit of a manual process and it can be quite scary for the non-computer saavy since you need to do this kind of stuff because you got a new computer or your old\u2026","rel":"","context":"In &quot;BitCoin&quot;","block_context":{"text":"BitCoin","link":"https:\/\/www.gubatron.com\/blog\/category\/bitcoin-2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":470,"url":"https:\/\/www.gubatron.com\/blog\/how-to-build-pyqt4-for-windows\/","url_meta":{"origin":3277,"position":5},"title":"How to build PyQt4 for Windows","author":"gubatron","date":"February 23, 2007","format":false,"excerpt":"- Make sure you don't have cygwin or C:devkitPromsysbin in your path, or else your make files can end up trying to run the Makefile using 'sh' and all the makefile we're about to use are meant to run from the windows command line. If for some odd reason you\u2026","rel":"","context":"In &quot;Code&quot;","block_context":{"text":"Code","link":"https:\/\/www.gubatron.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/3277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/comments?post=3277"}],"version-history":[{"count":1,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/3277\/revisions"}],"predecessor-version":[{"id":3278,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/posts\/3277\/revisions\/3278"}],"wp:attachment":[{"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/media?parent=3277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/categories?post=3277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gubatron.com\/blog\/wp-json\/wp\/v2\/tags?post=3277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}