CodeIgniter metric system based on PHP