001/*-------------------------------------------------------------------------+
002|                                                                          |
003| Copyright 2005-2011 the ConQAT Project                                   |
004|                                                                          |
005| Licensed under the Apache License, Version 2.0 (the "License");          |
006| you may not use this file except in compliance with the License.         |
007| You may obtain a copy of the License at                                  |
008|                                                                          |
009|    http://www.apache.org/licenses/LICENSE-2.0                            |
010|                                                                          |
011| Unless required by applicable law or agreed to in writing, software      |
012| distributed under the License is distributed on an "AS IS" BASIS,        |
013| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
014| See the License for the specific language governing permissions and      |
015| limitations under the License.                                           |
016+-------------------------------------------------------------------------*/
017package eu.cqse.check.framework.core;
018
019/**
020 * A collection of group names that are used by the built-in checks.
021 */
022public class CheckGroupNames {
023
024        /** The bad practice group name */
025        public static final String BAD_PRACTICE = "Bad practice";
026
027        /**
028         * The bad practice group name for Clang checks. Keep them separate for now to
029         * make it easier to filter for them and search for bugs. Once they are "stable"
030         * the entire check group can easily be migrated to {@link #BAD_PRACTICE}.
031         */
032        public static final String BAD_PRACTICE_CLANG = "Bad practice - Clang";
033
034        /** The correctness group name */
035        public static final String CORRECTNESS = "Correctness";
036
037        /** The Unused code group name */
038        public static final String UNUSED_CODE = "Unused code";
039
040        /** The Performance code group name */
041        public static final String PERFORMANCE = "Performance";
042
043        /** The Security code group name */
044        public static final String SECURITY = "Security";
045
046        /** The Test conventions group name */
047        public static final String TEST_CONVENTIONS = "Test Conventions";
048
049        /** The Exception Handling group name */
050        public static final String EXCEPTION_HANDLING = "Exception Handling";
051
052        /** The Formatting group name */
053        public static final String FORMATTING = "Formatting";
054
055        /** The Embedded Software group name */
056        public static final String EMBEDDED_SOFTWARE = "Embedded Software";
057
058        /** The Readability group name */
059        public static final String READABILITY = "Readability";
060
061        /** The Findings suppression group name */
062        public static final String FINDINGS_SUPPRESSION = "Findings Suppression";
063
064        /** Python 3 compatibility group name. */
065        public static final String PYTHON_3_COMPATIBILITY = "Python 3 Compatibility";
066
067        /** Python 2 compatibility group name. */
068        public static final String PYTHON_2_COMPATIBILITY = "Python 2 Compatibility";
069
070        /** Python 2 and 3 compatibility group name. */
071        public static final String PYTHON_2_AND_3_COMPATIBILITY = "Python 2 and 3 Compatibility";
072}