Difference between revisions of "Software Static Test Software Overview"
m (→Coding Standards) |
m (→UnitTest) |
||
Line 38: | Line 38: | ||
==UnitTest == | ==UnitTest == | ||
− | See [[jUnit]] and [[PhpUnit]] | + | See [[jUnit]] and [[PhpUnit]] and [[Unit Test]] |
− | |||
− | |||
− | |||
== See also == | == See also == |
Revision as of 10:01, 22 February 2021
Static Test Software gives a measurable quality value (Metrics) of an existing software (development) project.
Introduction
Checking Tools do not make the software better. First of all make concrete engagements, appointments and agreements on how the software project will be made, which result in:
- Compilation warnings rules and Lint (Language Interpreter) rules.
- Coding Standards Rules.
- Documentation Standards.
- Unit Test and coverage percentage.
- Deliverabeles
The Checking-Tools are the methods to verify the compliance to the agreements. This page only handles the static checking tools.
Compiler lint
The error and warning messages during the making of the software. Errors are in their nature not allowed, but also warnings may cause severe problems. How to cope with these kind of errors?
Coding Standards
CheckStyle
Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task. This makes it ideal for projects that want to enforce a coding standard.
Checkstyle is highly configurable and can be made to support almost any coding standard. An example configuration files are supplied supporting the Sun Code Conventions, Google Java Style.
See CheckStyle for an Ant and Maven installation description for CheckStyle.
FindBugs
FindBugs is a program which uses static analysis to look for bugs in Java code. It is free software, distributed under the terms of the Lesser GNU Public License. The name FindBugs™ and the FindBugs logo are trademarked by The University of Maryland. FindBugs has been downloaded more than a million times.
See FindBugs for an Ant installation description for FindBugs.
PMD
See PMD.
UnitTest
See jUnit and PhpUnit and Unit Test