0

Recently, I was reading a paper whose name is "On the Effectiveness of Concern Metrics to Detect Code Smells: An Empirical Study".

I come from a non-English speaking country, and I can not quite understand what Concern Metrics means in the field of software engineering.

It is not referring to the relationship between objects?

I have some understanding of java and c #, some people may be able to use java to give me an example.

Thanks.

Jiabin
  • 3
  • 1
  • 1
    This question may be more appropriate in [Software Engineering](http://softwareengineering.stackexchange.com/) – Fredrik Lundvall Nov 24 '16 at 02:01
  • @FredrikLundvall when referring other sites, it is often helpful to point that [cross-posting is frowned upon](http://meta.stackexchange.com/tags/cross-posting/info) – gnat Nov 24 '16 at 06:21
  • @gnat Ok, thanks! If OP should want to post a question on another site, should they delete the one here? – Fredrik Lundvall Nov 24 '16 at 06:36

1 Answers1

0

Like it is said in the paper's abstract: "While traditional metrics quantify properties of software modules, concern metrics quantify concern properties, such as scattering and tangling." Are you familiar to the cross-cutting concern concept? This question provides examples of concerns: Cross cutting concern example Try to read papers on aspect-oriented programming (AOP) to grasp more concepts in order to understand better the relationship between concerns and code. The metrics are attempts to quantify, for instance, the amount of scatterness of a concern (e.g. login) over the source code.

Community
  • 1
  • 1
darlinton
  • 2,131
  • 16
  • 21
  • 1
    Thank you very much for your answer. Now I know that I have been following the concept of writing my java code, for example, in the realization of separation of concerns, but do not know it is called concern. – Jiabin Nov 27 '16 at 10:21
  • @Jiabin if this is the answer you were expecting, please mark it as answered. if you need further clarification, please let me know how I can help you. – darlinton Nov 28 '16 at 14:25