Funcionalidad De Kiuwan
Total Page:16
File Type:pdf, Size:1020Kb
Date: 02/16/2015 Review: Feb 2015 Version Changes Feb 2015 It updates contents to Kiuwan February 2015’s release. We thank Lourdes Ortiz Saqudo, from Universidad de Huelva, for reviewing the document and detecting some errors. II CHANGES LOG ..................................................................................................................... II CONTRIBUTIONS AND ACKNOWLEDGMENTS .......................................................... II CONTENT ............................................................................................................................. III INDEX OF FIGURES ........................................................................................................... VI 1 INTRODUCTION ............................................................................................................ 1 2 KIUWAN ........................................................................................................................... 1 2.1 FUNCTIONALITIES ........................................................................................................................................... 2 2.2 TARGET USERS ............................................................................................................................................... 3 2.3 HIGHLIGHTS .................................................................................................................................................. 3 2.4 ADVANTAGES ................................................................................................................................................ 4 2.5 ROI ............................................................................................................................................................. 4 2.6 WHY KIUWAN? ............................................................................................................................................. 5 3 WORKING WITH KIUWAN ......................................................................................... 7 3.1 BASIC CONCEPTS ............................................................................................................................................ 7 3.2 STATIC ANALYSIS WITH KIUWAN ........................................................................................................................ 8 3.3 QUALITY METRICS AND INDICATORS ................................................................................................................. 12 3.3.1 First level indicators ....................................................................................................................... 13 3.3.1.1 Quality indicator ................................................................................................................................... 13 3.3.1.2 Effort to target ..................................................................................................................................... 13 3.3.1.3 Risk index ............................................................................................................................................. 13 3.3.2 Second level indicators .................................................................................................................. 14 3.3.2.1 Number of defects ............................................................................................................................... 14 3.3.2.2 Duplicated code ................................................................................................................................... 14 3.3.2.3 Lines of code ........................................................................................................................................ 14 3.3.2.4 Function points .................................................................................................................................... 14 3.3.2.5 Complexity by function ........................................................................................................................ 14 3.4 GENERATING AUTOMATIC ACTION PLANS .......................................................................................................... 15 3.5 QUALITY MODELS MANAGEMENT .................................................................................................................... 17 3.6 HELPING MANAGEMENT: DECISION QUADRANTS ................................................................................................. 21 4 KIUWAN MAIN FEATURES ...................................................................................... 24 4.1 CODE MEASUREMENT AND ANALYSIS ................................................................................................................ 25 4.1.1 Measure and analyze the code ...................................................................................................... 26 4.1.2 Analyze the software securely in the cloud .................................................................................... 27 4.1.3 Multi-language/multi-technology applications support ................................................................ 28 4.1.4 Applications partial analysis .......................................................................................................... 29 4.1.5 Analysis configuration of ABAP applications ................................................................................. 29 4.1.6 Analysis configuration in C/C++ applications ................................................................................. 30 III 4.1.7 Comparing analyses ....................................................................................................................... 31 4.1.8 Code metrics .................................................................................................................................. 32 4.1.9 Duplicated code detection ............................................................................................................. 33 4.1.10 List of defects ............................................................................................................................ 33 4.1.11 Defects Mute ............................................................................................................................. 34 4.1.12 Technical Debt or Effort to Target ............................................................................................ 35 4.1.13 Kiuwan Rule Developer & Rules API .......................................................................................... 36 4.2 SECURITY AND PRIVACY ................................................................................................................................. 36 4.2.1 Analyze the code locally ................................................................................................................. 37 4.2.2 Multiuser environment .................................................................................................................. 38 4.2.3 Multi-tenant architecture .............................................................................................................. 39 4.2.4 Processing personal data ............................................................................................................... 39 4.2.5 Access to Kiuwan ........................................................................................................................... 40 4.2.6 Backup ........................................................................................................................................... 40 4.2.7 Data persistence policy .................................................................................................................. 40 4.3 CUSTOM QUALITY MODELS ............................................................................................................................. 42 4.3.1 Kiuwan software indicators ........................................................................................................... 43 4.3.2 Índice de Riesgo ................................................................................. ¡Error! Marcador no definido. 4.3.3 A default quality model ................................................................................................................. 45 4.3.4 Customizing our quality models ..................................................................................................... 46 4.3.5 Reuse your rulesets from PMD, Checkstyle and FindBugs ............................................................. 48 4.3.6 Comparing quality models ............................................................................................................. 49 4.3.7 Quality Models reports .................................................................................................................. 49 4.4 CAPABILITIES FOR DECISION MAKING ................................................................................................................ 51 4.4.1 Notifications .................................................................................................................................. 52 4.4.2 Portfolios management ................................................................................................................. 52 4.4.3 Global View ...................................................................................................................................