Ant R Analysis

From Maisqual Private Wiki

Jump to: navigation, search

This article describes the steps followed to analyse the Apache Ant project with R.

[edit] Data at hand

We first download every release of Ant, which represents 21 versions, and analyse them with the SQuORE ISO9126_Maintainability_OO model.

Once completed, values are stored in the SQuORE database. We extract them with the Get_SQuORE_Data script and put them in a csv file: Ant Versions App.

The format of this file is the following:

  1. Application,Version,RULE_ANA,NCC_ANA,RKO_ANA,ROKR_ANA,RULE_CHAN,NCC_CHAN,RKO_CHAN,ROKR_CHAN,RULE_STAB,NCC_STAB,RKO_STAB,ROKR_STAB,RULE_TEST,NCC_TEST,RKO_TEST,ROKR_TEST,RULE,RULE_REQ,NCC,NCC_REQ,NCD,NCD_REQ,RKO,RKO_REQ,ROKR,ROKR_REQ,FILE,STAT,LC,CLOC,CLOC_NULL,CLOC_CODE,DBUG,BLAN,SLOC,BRAC,HLOC,MLOC,ELOC,COMR,SDOC,TOPT,TOPD,DOPT,DOPD,VOCF,AVGS,DFCX,NOP,CCN,NEST,NPAT,RETU,IF,ELSE,FOR,WHIL,DOWH,SWIT,CONT,LOOP,OREL,ANTH,TERN,BRKS,BRKL,CASE,CABL,DEF,EXIT,GOTO,ENTR,VG,APPD,MAXVG,AVGVG,CFCX,FCLO,CLOR,CFT,CFTC,STRU,FUNC,G_FUNC,F_FUNC,E_FUNC,D_FUNC,C_FUNC,B_FUNC,A_FUNC,G_STAT,F_STAT,E_STAT,D_STAT,C_STAT,B_STAT,A_STAT,FUMAI_DEBT,FUMAI_IDX,FUANA_DEBT,FUANA_IDX,FUCHAN_DEBT,FUCHAN_IDX,FUSTAB_DEBT,FUSTAB_IDX,FUTEST_DEBT,FUTEST_IDX,DITM,DIT,MII,NAC,DDT,NOC,NDC,THRO,CATC,TRY,NOM,XWMC,MPBL,MPRV,MPRT,MNON,MSTA,MCST,ANBR,APBL,APRV,APRT,ANON,ASTA,ACST,PNBR,PPBL,PPRV,PPRT,PNON,PSTA,PCST,WMC,CLAS,G_CLAS,F_CLAS,E_CLAS,D_CLAS,C_CLAS,B_CLAS,A_CLAS,CLMAI_DEBT,CLMAI_IDX,CLANA_DEBT,CLANA_IDX,CLCHAN_DEBT,CLCHAN_IDX,CLSTAB_DEBT,CLSTAB_IDX,CLTEST_DEBT,CLTEST_IDX,MAINTAINABILITY,ANALYSABILITY,CHANGEABILITY,STABILITY,TESTABILITY,TECH_DEBT_DST,TECH_DEBT_IDX,TECH_DEBT,FUNC_TDEBT,CLAS_TDEBT,SI,TXREM,TXADD,TXMOD,GCREM,GCADD,GCMOD,GCSIZ,MPI,TECH_DEBT_TREND,SIZE_TREND,BV,COST,QUALITY,SIL

All metrics available in the ISO9126_Maintainability_OO model have been retrieved. Some of them however are null, whereas other are constants. We will use R to filter them.


[edit] R Analysis

We import the csv file into R, and display the data frame:

Personal tools