{"action":"created","issue":{"url":"https://api.github.com/repos/TEAMMATES/teammates/issues/6034","repository_url":"https://api.github.com/repos/TEAMMATES/teammates","labels_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/6034/labels{/name}","comments_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/6034/comments","events_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/6034/events","html_url":"https://github.com/TEAMMATES/teammates/issues/6034","id":173610987,"number":6034,"title":"Lines of code (LOC) count in README is not accurate","user":{"login":"paradite","id":1209810,"avatar_url":"https://avatars.githubusercontent.com/u/1209810?v=3","gravatar_id":"","url":"https://api.github.com/users/paradite","html_url":"https://github.com/paradite","followers_url":"https://api.github.com/users/paradite/followers","following_url":"https://api.github.com/users/paradite/following{/other_user}","gists_url":"https://api.github.com/users/paradite/gists{/gist_id}","starred_url":"https://api.github.com/users/paradite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paradite/subscriptions","organizations_url":"https://api.github.com/users/paradite/orgs","repos_url":"https://api.github.com/users/paradite/repos","events_url":"https://api.github.com/users/paradite/events{/privacy}","received_events_url":"https://api.github.com/users/paradite/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-27T19:16:30Z","updated_at":"2016-08-28T13:15:54Z","closed_at":"2016-08-28T06:09:56Z","body":"The current README shows this:\r\n![screen shot 2016-08-28 at 2 55 47 am](https://cloud.githubusercontent.com/assets/1209810/18029471/4ed52d48-6ccb-11e6-98cb-3d50c15119a3.png)\r\n\r\nWhich differs significantly from what I gathered from `cloc` on latest master branch:\r\n```\r\n[~/workspace/teammates/src (master)]\r\n$ cloc .\r\n    1680 text files.\r\n    1591 unique files.                                          \r\n     286 files ignored.\r\n\r\ngithub.com/AlDanial/cloc v 1.70  T=14.25 s (98.4 files/s, 38279.9 lines/s)\r\n-------------------------------------------------------------------------------\r\nLanguage                     files          blank        comment           code\r\n-------------------------------------------------------------------------------\r\nHTML                           384            886             18         346680\r\nJava                           746          27965          11054         103411\r\nJSON                            60            581              0          25532\r\nJavaScript                     122           2606           2057          13256\r\nCSS                             19            314             92           7559\r\nJSP                             59            244             32           2399\r\nXML                             11             65             56            666\r\nMarkdown                         1              1              0              2\r\n-------------------------------------------------------------------------------\r\nSUM:                          1402          32662          13309         499505\r\n-------------------------------------------------------------------------------\r\n```\r\n\r\nBased on the issue #336,  I also looked at the analysis from this website:\r\nhttps://www.openhub.net/p/teammates/analyses/latest/languages_summary\r\nThe data is from 4 months ago, but the distribution is similar to what I got from `cloc`, HTML being more than Java."},"comment":{"url":"https://api.github.com/repos/TEAMMATES/teammates/issues/comments/242974283","html_url":"https://github.com/TEAMMATES/teammates/issues/6034#issuecomment-242974283","issue_url":"https://api.github.com/repos/TEAMMATES/teammates/issues/6034","id":242974283,"user":{"login":"damithc","id":1673303,"avatar_url":"https://avatars.githubusercontent.com/u/1673303?v=3","gravatar_id":"","url":"https://api.github.com/users/damithc","html_url":"https://github.com/damithc","followers_url":"https://api.github.com/users/damithc/followers","following_url":"https://api.github.com/users/damithc/following{/other_user}","gists_url":"https://api.github.com/users/damithc/gists{/gist_id}","starred_url":"https://api.github.com/users/damithc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damithc/subscriptions","organizations_url":"https://api.github.com/users/damithc/orgs","repos_url":"https://api.github.com/users/damithc/repos","events_url":"https://api.github.com/users/damithc/events{/privacy}","received_events_url":"https://api.github.com/users/damithc/received_events","type":"User","site_admin":false},"created_at":"2016-08-28T13:15:54Z","updated_at":"2016-08-28T13:15:54Z","body":"As long as the numbers are not grossly unrepresentative, it's ok to be off by a few KLoC."}}
{"actor":{"display_login":"damithc"}}