???????е?????????????? Maven ?????????????


????
? 5. Maven ???????

???????????????£?
????mvn clean install
?????????????????????????
????mvn sonar:sonar
????Maven ????????????????????絥????????????????????????? Sonar ???????????????????????? Sonar ?????ò????????????? pom.xml ??????????? Maven ????????? settings.xml ????????????????£?
<profile>
<id>sonar</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<sonar.jdbc.url>
jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8
</sonar.jdbc.url>
<sonar.jdbc.driver>com.mysql.jdbc.Driver</sonar.jdbc.driver>
<sonar.jdbc.username>sonar</sonar.jdbc.username>
<sonar.jdbc.password>sonar</sonar.jdbc.password>
<sonar.host.url>http://localhost:9000</sonar.host.url>
</properties>
</profile>
?????? Soanr ???????????????? Sonar ???????????Sonar ????????????Щ??????з?????????????????????????????????????????????????????????
???????? Radiator ????????????????????????????ò??????????????????


????
? 6. Radiator ????????

????Sonar ?????????
??????????????Sonar ???????????????????????????????????????Sonar ??????????????????и??????????????
?????????? Technical Debt ??????????????????ò????????????????????????????????е?“???????”?????????????????? 1992 ???? Ward Cunningham ??????????“The WyCash Portfolio Management System”??????????????????????????????????????? Martin Fowler ????? ??? ???????????????????????????????“???????????????”????????淶?????????????????????????
????Soanr ?? Technical Debt ?????????????????????????е??????????????????????????????????????????????


????
? 7. Technical Debt ?????

?????????????????????????????????????????????????????????????


????
? 8. Sonar ???y???

?????????????????????????????????????£?


????
? 9. ???????? Technical Debt ???

????????????????????


????
? 10. ???ò????? Technical Debt ???

????????? Average time to cover complexity of one (in hours) ?? 0.2 ???? 0.01 ??Coverage ??????С???????????????????????????á??????????????????????????????????????????????????????????????Χ????
????????????????????????Sonar ??ò??????????????????????????????????????Щ????????????????????????????????????????????????????????????????????μ?????????????????????
??????????
????Sonar ???????????????????????????????????????? PMD??FindBugs ????????????????????????????????????????????