Jakość kodu zależy od stosowania dobrych praktyk jego wytwarzania. W artykule przedstawiono metryki pomiaru jakości kodu tworzonego zgodnie z paradygmatem obiektowym i narzędzia informatyczne wyznaczające ich wartości. Rozpatrzono dwa przypadki rozwoju oprogramowania przez różne zespoły w różny sposób zarządzane. Przeanalizowano jakość kodu w kolejnych pięciu wersjach programów. Rezultaty badań pozwoliły na sformułowanie wniosku o przewadze metodyki lekkiej, na co wskazują lepsze wartości większości metryk.
EN
Code quality is strongly dependent on using best coding practices during it’s development. This paper presents various code quality metrics in object oriented programming and computer tools to it automatic measurement. Two cases of software development by two different teams were considered. Code quality was analyzed in five following program versions. This study shows better value of almost (but not all) code quality metrics developed using agile methodology. It raises the conclusion about agile methodology advantage.
2
Dostęp do pełnego tekstu na zewnętrznej witrynie WWW
Code refactoring is supported by many Integrated Development Environments. This paper is focused on the automated code refactoring of C# programs. We have analyzed more than sixty refactorings available in three popular IDEs. We cataloged different restrictions, defects, and other quality concerns associated with the implementation of the refactorings, taking into account both modification of the production code and of the corresponding test cases. An extension to automate selected refactoring improvements has been developed for the ReSharper platform and experimentally verified.
JavaScript jest wyłączony w Twojej przeglądarce internetowej. Włącz go, a następnie odśwież stronę, aby móc w pełni z niej korzystać.