Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


This shows you the differences between two versions of the page.

Link to this comparison view

private:daniel:public:scam2018:feature_envy [2018/06/11 15:53]
Daniel Speicher created
private:daniel:public:scam2018:feature_envy [2018/06/12 11:23] (current)
Daniel Speicher
Line 24: Line 24:
 envy is the  data." ​ [Fowler 1999, p. 80]  envy is the  data." ​ [Fowler 1999, p. 80] 
-Smell/​Metrics: ​ This module provides a +Smell/​Metrics:​ This  module provides a  executable definition of the  code smell 
-executable ​ definition of  the  code smell  "​feature ​ envy" (feature_envy/​1) ​ in +"​feature ​  ​envy" ​   (feature_envy/​1) ​  ​in   ​methods ​  ​and    other   ​executables 
-methods ​ and other  executables ​ (executable/​1). The  specification follows ​ the +(executable/​1). The  specification follows ​ the sugggestions from  R.  Marinescu 
-sugggestions from  R.  Marinescu and  M.  Lanza  in [Lanza, ​Marinescu ​ 2006, pp. +and  M.   ​Lanza  in  [Lanza,  ​Marinescu ​2006,  pp.   ​84-87]. ​  ​Their  "​detection 
-84-87]. ​ Their "​detection strategy"​ does consider ​ data as the focus of envy and +strategy"​ does  ​consider ​data  as the  focus of envy  and therefore ​ detects the 
-therefore ​ detects the  specific form  of  feature envy  sometimes called ​ "data +specific form of feature envy sometimes called ​ "data envy"​. ​ It is based on the 
-envy"​. ​  ​It  is based  on  the  number of  accessed ​ fields ​ from other  classes +number of  accessed fields from other  classes (access_to_foreign_data/​2,​ ATFD), 
-(access_to_foreign_data/​2,​ ATFD), the  ratio of accessed ​own  ​fields compared to +the   ​ratio  of   ​accessed  ​own   fields ​  ​compared ​ to   ​all  accessed ​  ​fields 
-all  accessed fields ​ (locality_of_attribute_access/​2, ​ LAA) and  the number ​ of +(locality_of_attribute_access/​2,​ LAA) and the number of foreign classes of which 
-foreign ​ classes ​ of  which   field   ​is  accessed ​ by  the  executable ​ under +   field    is    accessed ​   by   ​the    executable ​   under    consideration 
-consideration (foreign_data_providers/​2,​ FDP).+(foreign_data_providers/​2,​ FDP).
 Structure: ​ The definition ​ of the  metrics including ​ the complementary ​ metric Structure: ​ The definition ​ of the  metrics including ​ the complementary ​ metric
private/daniel/public/scam2018/feature_envy.txt · Last modified: 2018/06/12 11:23 by Daniel Speicher

SEWiki, © 2019