View source | View content page | Page history | Printable version   

Projects:Java Sources Formatting/QA

Test plan

This project will not introduce any change in functionality nor performance. Therefore not specific tests need to be written/planned.

Impact

The only expected impact of this project is in merging repositories. In order to measure it, an artificial "big changeset affecting many Java files" was created. We created a diff in a repository without reformatting that generates changes in all debug to log statements that perform String concatenation: find -name "*.java" | xargs sed -Ei 's#(debug\(.*)" \+ (^")*#\1{}", \2# (it contains 1104 hunks), applying this changeset in a formatted repository, 67% of the hunks applied without conflict. If the repository with the changes was previously formatted as explained in sources migration guide, the number of conflicts was highly reduced.

Retrieved from "http://wiki.openbravo.com/wiki/Projects:Java_Sources_Formatting/QA"

This page has been accessed 426 times. This page was last modified on 21 January 2019, at 12:37. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.