Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Don't feed the zombies!

Don't feed the zombies!

Charla sobre proyectos zombie y mantenibilidad para Rubyconf Uruguay 2014.

Ernesto Tagwerker

May 23, 2014
Tweet

More Decks by Ernesto Tagwerker

Other Decks in Programming

Transcript

  1. Calidad (ISO 9126) • Funcionalidad • Confiabilidad • Usabilidad •

    Eficiencia • Mantenibilidad • Portabilidad
  2. describe 'the homepage' do it 'should not explode' do visit

    '/home' expect(page).to have_content 'Welcome!' end end
  3. ombushop$ flog -g .! 24226.6: flog total! 9.7: flog/method average!

    ! 2511.0: Admin total! 87.7: Admin::TaxonsController#update_before ./ app/controllers/admin/taxons_controller.rb:59! 79.1: Admin::ApplicationHelper#show_wizard? ./ app/helpers/admin/application_helper.rb:114! 60.3: Admin::VariantsController#create ./app/ controllers/admin/variants_controller.rb:92! 48.7: Admin::OrdersController#update ./app/ controllers/admin/orders_controller.rb:24! ...!
  4. dinero_mail_ipn$ flog -g .! 584.9: flog total! 8.0: flog/method average!

    ! 189.1: TestDineroMailIpn total! 62.7: TestDineroMailIpn::context(when I query the Dinero Mail API via GET)::should#return OK with 1 payment ./test/test_dinero_mail_ipn.rb:20! 62.7: TestDineroMailIpn::context(when I query the Dinero Mail API via GET)::should#return OK with 2 payments ./test/test_dinero_mail_ipn.rb:43! 19.2: TestDineroMailIpn::context(when I query the Dinero Mail API via GET)::should#return Error for the query ./test/test_dinero_mail_ipn.rb:66!
  5. CSS

  6. Further Reading • http://12factor.net/ • http://en.wikipedia.org/wiki/ISO/IEC_9126 • http://blog.codeclimate.com/blog/2013/08/07/deciphering-ruby-code-metrics/ • http://www.amazon.com/Design-Patterns-Elements-Reusable-Object-Oriented/

    dp/0201633612 • http://www.amazon.com/Extreme-Programming-Explained-Embrace-Edition/ dp/0321278658 • http://www.smashingmagazine.com/2013/08/02/other-interface-atomic- design-sass/