[phpMyAdmin Developers] Refactoring a controller

Marc Delisle marc at infomarc.info
Thu Oct 29 06:26:45 CET 2015


Hi Madhura and Atul,

I was looking at indexAction() in DatabaseStructureController.class.php,
which is 566 lines. I find it too long to be manageable, and PMD agrees [0].

Do you consider this method a work in progress? Does MVC mandate that
indexAction() should remain that size?

[0]
http://ci.phpmyadmin.net/job/phpMyAdmin/1588/pmdResult/type.-385120790/file.-1544904175/

-- 
Marc Delisle | phpMyAdmin



More information about the Developers mailing list