Flog shows you the most torturous code you wrote. The more painful the code, the higher the score. The higher the score, the harder it is to test. Run it against your best stuff. I double-dog dare you. Flog essentially scores an ABC metric: Assignments, Branches, Calls, with particular attention placed on calls. Run flog on all your code. Try this: find lib -name \*.rb | xargs flog Whatever is at the top of the report is worth looking at. This is how it works: Confessions of a Ruby Sadist sudo gem install flog class Test def blah a = eval "1+1" if a == 2 then puts "yay" end end end Is seen by flog as: Test#blah: (11.2) 6.0: eval 1.2: branch 1.2: == 1.2: puts 1.2: assignment 0.4: lit_fixnum and reported as: class Test def blah # 11.2 = a = eval "1+1" # 1.2 + 6.0 + if...
← more from No Quarter MVSIC MVRCH SVBSCRIPTION Carpenter Brut supported by / Digital Album Includes unlimited streaming via the free Bandcamp app, plus high-quality download in MP3, FLAC and more. Buy Now €13 EUR or more Send as Gift † Carpenter Vice † Førtifem Design † PRE ORDER ONLY † T-Shirt/Apparel † AVAILABLE AROUND AUGUST 21th † We’re sorry to announce you that because of a problem with the transporter, there will be a delivery exception for the « Carpenter Vice » Tee-shirts. Because of this delay independent of our will, the shippings will only start on august 21th instead of july 28th as initially due. We’re really sorry for this huge inconvenience and for those who want to be refund, please get back to us with your name , email and Paypal transaction number. Thanks for...