This discussion is archived
3 Replies Latest reply: Mar 25, 2013 1:13 AM by gimbal2 RSS

Unit Interfacing

985432 Newbie
Currently Being Moderated
Hi Guys,

We made an application using Java.. But we received a suggestion that we need to improve on this:

Unit Interfacing: The percentage of lines of code residing in units with 3 or more parameters should not exceed 15%. The percentage in units with 5 or more parameters should not exceed
4%. The percentage in units with 7 or more parameters should not exceed 0.8%.


Can you help me?

Regards
  • 1. Re: Unit Interfacing
    rp0428 Guru
    Currently Being Moderated
    >
    We made an application using Java.. But we received a suggestion that we need to improve on this:

    Unit Interfacing: The percentage of lines of code residing in units with 3 or more parameters should not exceed 15%. The percentage in units with 5 or more parameters should not exceed
    4%. The percentage in units with 7 or more parameters should not exceed 0.8%.

    Can you help me?
    >
    No - Java has NOTHING called units so 'units with parameters' has no meaning.

    Who made the suggestion? Why do you think you should listen to them?

    You need to provide more information about what you are talking about and why you think it is an issue or problem.
  • 2. Re: Unit Interfacing
    985432 Newbie
    Currently Being Moderated
    Hi,

    One of our third party vendor..


    Also, here is another one:

    High complexity rating

    The unit of complexity is calculated based on the number of branches + 1 in a method. Eg. The more branch cases(eg. if then else) in a method will cause a high complexity rating.

    Can you help?

    Regards
  • 3. Re: Unit Interfacing
    gimbal2 Guru
    Currently Being Moderated
    user2000609 wrote:
    Can you help?
    Help with what exactly? You are getting some odd questions about your code and now you want people to help you with that without providing them access to the code? You will have to pay someone to come help you with this if you can't do it yourself.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points