• DocumentCode
    464173
  • Title

    Assessment of Code Quality through Classification of Unit Tests in VeriNeC

  • Author

    Jungo, Dominik ; Buchmann, David ; Ultes-Nitsche, Ulrich

  • Author_Institution
    Dept. of Comput. Sci., Fribourg Univ., Fribourg
  • Volume
    1
  • fYear
    2007
  • fDate
    21-23 May 2007
  • Firstpage
    177
  • Lastpage
    182
  • Abstract
    Unit testing is a tool for assessing code quality. Unit tests check the correctness of code fragments like methods, loops and conditional statements. Usually, every code fragment is involved in different tests. We propose a classification of tests, depending on the tested features, which delivers a higher detailed feedback than unclassified tests. Unclassified tests only deliver a feedback whether they failed or succeeded. The detailed feedback from the classified tests help to do a better code quality assessment and can be incorporated in tools helping to improve code quality. We demonstrate the power of this approach doing unit tests on network configuration.
  • Keywords
    computer networks; feedback; pattern classification; program testing; program verification; software quality; software tools; telecommunication computing; VeriNeC; code fragment correctness; code quality assessment; computer network configuration; conditional statement; feedback; unit test classification; unit testing; Best practices; Computer science; Computer security; Feedback; Java; Quality assessment; Quality management; Runtime; Testing; Writing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Advanced Information Networking and Applications Workshops, 2007, AINAW '07. 21st International Conference on
  • Conference_Location
    Niagara Falls, Ont.
  • Print_ISBN
    978-0-7695-2847-2
  • Type

    conf

  • DOI
    10.1109/AINAW.2007.101
  • Filename
    4221056