ASP.net Code Cloning{1}


Frequently change in requirements, tight delivery deadline and complex application architecture slow down web applications development and encourage code cloning. Web application frameworks mainly support developers to speed up development by providing libraries for database access, session management, and they often promote code reuse. In this paper, we provide a systematic study of cloning in six (6) Web Applications of different sizes, developed using Classic ASP.NET and ASP.NET MVC framework to find out whether there is any relation between frameworks and code cloning. The contribution of our study is: 1) the study results shows which framework in .NET technology can be chosen to avoid cloning in development of web application; 2) the cloning metrics that we have calculated and applied in our study may be useful in other similar studies.

I found this an interesting article on how with streamlined server languages such as ASP.net, different websites will choose to cut and paste code from a central data hub. This Re-using has been sighted on about one-quarter of all websites observed by this report. This seems to represent the mindset of many developers that the World Wide Web is a maintenance era of its Life Cycle, as it its is simpler to instead figuring out new methodologies of writing a website, it is much simpler to clone’s another developers’ templates and modify it accordingly.

 

 

Islam, M.R.; Islam, M.R.; Islam, M.M.; Halim, T.; , “A study of code cloning in server pages of web applications developed using classic ASP.NET and ASP.NET MVC framework,” Computer and Information Technology (ICCIT), 2011 14th International Conference on , vol., no., pp.497-502, 22-24 Dec. 2011
doi: 10.1109/ICCITechn.2011.6164840
URL: http://0-ieeexplore.ieee.org.opac.library.csupomona.edu/stamp/stamp.jsp?tp=&arnumber=6164840&isnumber=6164770