How big is Angular?

$ cloc-1.6.0 --by-file ~/angular-1.2.0/angular!(*scen*,*min*|*.css) ------------------- File code ------------------- angular.js 7730 mocks.js 806 animate.js 591 route.js 260 sanitize.js 232 touch.js 231 resource.js 210 cookies.js 75 loader.js 58 ------------------- SUM: 10193 -------------------

BB: Unit of measure

Backbone: 937 LOC = 1 BB

  • Ember: 16.7 BB (+ jQuery)
  • Angular: 7.8 BB
  • Cute: 0.6 BB

Comparison

$ cloc --by-file targets/ http://cloc.sourceforge.net v 1.60 ------------------------- File code ------------------------- ember-1.3.1.js 15825 angular.js 7386 backbone1.1.0.js 937 -------------------------

With cute

$ cloc --by-file targets/ http://cloc.sourceforge.net v 1.60 ------------------------- File code ------------------------- ember-1.3.1.js 15825 angular-1.2.0.js 7386 backbone1.1.0.js 937 cute-0.1.js 591 -------------------------