Reference Manual

Table of Contents

1. Introduction
Foreword
About This Document
Contacting Squoring Technologies Product Support
Responsabilities
Getting the Latest Version of this Manual
2. Coding Standards
Ada Rule Set
Backward goto
No Abort
No final else
Use of goto
Exit Label
Exit when
Loop name
No Delay
'when others' in exception handler
Parameter order
Multiple exits
Multiple Exit in loop
C-Style Rule Set
Use of continue
Multiple break
Multiple exits
No Compound statement
Label out a switch
Missing Break
No final else
Missing Default
No case in switch
Fallthrough
Assignment in Boolean
Assignment without Comparison
Use of goto
Backward goto
Code before first case
Risky Empty Statement
COBOL Rule Set
Column 7 for * and D Only
Code in Uppercase
Empty line after EXIT
Empty lines around DIVISION
Empty line after SECTION
COMPUTE instead of ADD
COMPUTE instead of SUBSTRACT
No Conditional GOTO
Perform with no THRU
Missing END-IF
Missing END-EVALUATE
Variable declaration format
No Backward Goto
Single GOBACK
No procedural COPY
No RENAMES
No Homonymous
No more than 3 nested IF
No ALTER
No MOVE CORRESPONDING
Use COMP for OCCURS
Use SYNCHRONIZED
Open file once
Close file once
No DEBUG MODE
No Variables S9(9)
BLOCK Clause
Use WHEN OTHER
No INITIALIZE
Close open file
Use FILE STATUS
READ-WRITE Instruction
Standard Label
COBOL CICS Rule Set
No SORT under
No RELEASE under CICS
No RETURN under CICS
No MERGE under CICS
No FILE CONTROL under CICS
No FILE SECTION under CICS
No USE under CICS
No ACCEPT under CICS
No CLOSE under CICS
No DELETE under CICS
No DISPLAY CONSOLE under CICS
No DISPLAY SYSPUNCH under CICS
No OPEN under CICS
No READ under CICS
No RERUN under CICS
No REWRITE under CICS
No START under CICS
No STOP under CICS
No WRITE under CICS
Use CALL
Single ENTRY
No INPUT-OUTPUT under CICS
No I-O CONTROL under CICS
No FD under CICS
No SD under CICS
3. Source Code Metrics
ada Metrics
Number of Parameters
Cyclomatic Complexity
Maximum Nested Structures
Non-Cyclic Paths
Return Statements
IF Statements
ELSE Clauses
For Statements
While Statements
Loop Statements
Case statements
Orelse operators
Andthen Operators
OR operators
AND operators
Case Blocks
Exit statements
GOTO Statements
Exception handlers
Exception When blocks
Raise statements
Label Statements
Declare operators
Types
Subtypes
Derived types
Variables
Constants
Renamed objects
Exceptions
Declared functions
Separate functions/procedures
Separate packages
Separate tasks
Protected objects
With statements
Public variables
Public types
Public constants
Public exceptions
Public functions
Private variables
Private types
Private constant
Private exceptions
Private functions/Procedures
Entry Statements
Generic object
C-Style Metrics
Number of Functions
Assignment Operators
Comparison Operators
Standard Operators
Special Operators
Cyclomatic Complexity
Non-Cyclic Paths
Return Statements
Number of Parameters
For Statements
While Statements
Do While Statements
Switch Statements
Continue Statements
Loop Statements
Orelse operators
Andthen Operators
Ternary operators
Break in Switch
Break in Loop
Case Labels
Case Blocks
Call to exit
OO Metrics
Number of Classes
Depth of Inheritance Tree
Depth of Inheritance Tree
Multiple Inheritance Indicator
Number of Ancestors
Depth of Descendant Tree
Number Of Children
Number of Descendants
Number of Methods
Number of Method Implemented
Weighted Method per Class
Public Methods
Private Methods
Protected Internal Methods
Protected Methods
Internal Methods
Methods without Accessibility
Static Methods
Number of Attributes
Public Data
Private data
Protected Internal Data
Protected Data
Internal Data
Number of data without accessibility
Static Data
Constant Data
Properties
Public Properties
Private Properties
Protected Internal Properties
Protected Properties
Internal Properties
Properties without Accessibility
Static Properties
Constant Properties
Properties with Get
Properties with Set
Throw Statements
Catch Statements
Try Statements
COBOL Metrics
Number of Files
Number of Sections
Number of paragraphs
Line Count
Comment Lines
Blank Lines
Source Lines Of Code
Operator Occurrences
Operand Occurrences
Distinct Operators
Distinct Operands
Maximum Nested Structures
Executable Statements
EXIT Statements
STOP Statements
GOTO Statements
IF Statements
EVALUATE Statements
PERFORM Statements
VARYING Clauses
TIMES Clauses
UNTIL Clauses
ELSE Clauses
WHEN Clauses
CALL Statements
Conditions
Data Declarations
File Declarations
Data Used
Files Used
Arithmetic Operators
XML Metrics
Number of Files
Line Count
Comment Lines
Blank Lines
Source Lines Of Code
Operator Occurrences
Operand Occurrences
Distinct Operators
Distinct Operands
Maximum Nested Structures
Number of XML elements
Number of attributes
Number of comment blocks
Number of text blocks
4. Repository Connectors
Folder Path
Description
Usage
Zip Upload
Description
Usage
TFS
Description
Usage
Synergy
Description
Usage
ClearCase
Description
Usage
Git
Description
Usage
Perforce
Description
Usage
SVN
Description
Usage
PTC Integrity
Description
Usage
CVS
Description
Usage
Using Multiple Nodes
Using Data Provider Input Files From Version Control
5. Data Providers
AntiC
Description
Usage
Automotive Coverage Import
Description
Usage
Automotive Tag Import
Description
Usage
BullseyeCoverage Code Coverage Analyzer
Description
Usage
CPD
Description
Usage
CPD (plugin)
Description
Usage
Cppcheck
Description
Usage
Cppcheck (plugin)
Description
Usage
CPPTest
Description
Usage
Cantata
Description
Usage
CheckStyle
Description
Usage
CheckStyle (plugin)
Description
Usage
CheckStyle for SQALE (plugin)
Description
Usage
Cobertura
Description
Usage
CodeSonar
Description
Usage
Compiler
Description
Usage
Coverity
Description
Usage
FindBugs
Description
Usage
FindBugs (plugin)
Description
Usage
Function Relaxer
Description
Usage
FxCop
Description
Usage
GCov
Description
Usage
GNATcheck
Description
Usage
GNATCompiler
Description
Usage
JUnit
Description
Usage
JaCoCo
Description
Usage
Klocwork
Description
Usage
Rational Logiscope
Description
Usage
MemUsage
Description
Usage
NCover
Description
Usage
Oracle PLSQL compiler Warning checker
Description
Usage
MISRA Rule Checking using PC-lint
Description
Usage
PMD
Description
Usage
PMD (plugin)
Description
Usage
Polyspace
Description
Usage
Polyspace MISRA
Description
Usage
Polyspace (plugin)
Description
Usage
MISRA Rule Checking with QAC
Description
Usage
Unit Test Code Coverage from Rational Test RealTime
Description
Usage
ReqIF
Description
Usage
SQL Code Guard
Description
Usage
Squan Sources
Description
Usage
Squore Import
Description
Usage
Squore Virtual Project
Description
Usage
StyleCop
Description
Usage
StyleCop (plugin)
Description
Usage
Tessy
Description
Usage
VectorCAST 6.3
Description
Usage
Configuration Checker
Description
Usage
Csv Coverage Import
Description
Usage
CSV Findings
Description
Usage
Csv Tag Import
Description
Usage
Csv Test Results Import
Description
Usage
OSLC
Description
Usage
pep8
Description
Usage
pep8 (plugin)
Description
Usage
pylint
Description
Usage
pylint (plugin)
Description
Usage
Qac_8_2
Description
Usage
Creating your own Data Providers
Choosing the Right Data Provider Framework
Extending a Framework
Data Provider Parameters
Localising your Data Provider
6. Cloning Detection
Cloning Metrics
CC - Code Cloned
CFTC - Control Flow Token (CFT) Cloned
CAC - Children Artefact Cloned
CN - Clones Number
RS - Repeated Substrings (Repeated Code Blocks)
CFTRS - Repeated Substrings in Control Flow Token
ICC - Inner Code Cloned
ICFTC - Inner Control Flow Token Cloned
Cloning Violations
CC (R_NOCC)
CFTC (R_NOCFTC)
CAC (R_NOCAC)
RS (R_NORS)
CFTRS (R_NOCFTRS)
7. Glossary
Acceptance Testing
Accessibility
Accuracy
Accuracy of Measurement
Acquirer
Action
Activity
Actor
Adaptability
Agreement
Analysability
Analysis Model
Architecture
Attractiveness
Attribute
Availability
Base Measure
Baseline
Branch
Branch Coverage
Branch Testing
Budget
Build
Call Graph
Capability Maturity Model
Certification
Certification Criteria
Change Control Board
Change Control System
Change Management
Changeability
Co-existence
Code
Code Coverage
Code Freeze
Code Review
Code Verification
Coding
Cohesion
Commercial-Off-The-Shelf (COTS)
Commit
Commitment
Compatibility
Complexity
Component
Conciseness
Condition
Configuration
Configuration Control
Configuration Item
Configuration Management
Configuration Management System
Conflict
Conformance
Connectivity
Consistency
Constraint
Content Coupling
Context of Use
Contract
Control Coupling
Control Flow
Control Flow Diagram
Convention
Correctability
Correctness
Coupling
Coverage
Criteria
Criticality
Custom Software
Customer
Data
Data Coupling
Data Flow
Data Flow Diagram
Data Management
Data Model
Data Processing
Data Provider
Data Store
Data Type
Database
Decision Criteria
Decoupling
Defect
Degree of Confidence
Deliverable
Delivery
Dependability
Deployment
Derived Measure
Design
Design Pattern
Developer
Development
Development Testing
Direct Measure
Direct Metric
Document
Documentation
Dynamic Analysis
Earned Value
Effectiveness
Efficiency
Efficiency Compliance
Effort
Encapsulation
End User
Entity
Entry Point
Environment
Error
Error Tolerance
Evaluation
Evaluation Activity
Evaluation Group
Evaluation Method
Evaluation Module
Evaluation Technology
Evaluation Tool
Execute
Execution Efficiency
Execution Time
Exit
Expandability
Extendability
External Attribute
External Measure
External Quality
External Software Quality
Facility
Failure
Failure Rate
Fault
Fault Tolerance
Feasibility
Feature
Feature Freeze
Finite State Machine
Flexibility
Frozen Branch
Function
Functional Analysis
Functional Requirement
Functional Size
Functional Testing
Functional Unit
Functionality
Functionality Compliance
Generality
Generic Practice
Glossary
Goal
Granularity
Historical Information
Hybrid Coupling
Impact Analysis
Implementation
Implied Needs
Incremental Development
Indicator
Indicator Value
Indirect Measure
Indirect Metric
Information
Information Analysis
Information Management
Information Need
Information Product
Inspection
Installability
Installation Manual
Integration
Integration Test
Integrity
Interface Testing
Intermediate Software Product
Internal Attribute
Internal Measure
Internal Quality
Internal Software Quality
Interoperability
Interoperability Testing
Interval Scale
Item
Iteration
Key Practices
Key Process Area
Knowledge Base
Learnability
Lessons Learned
Level of Performance
Life Cycle
Life Cycle Model
Maintainability
Maintainability Compliance
Maintainer
Maintenance
Maintenance Manual
Maturity
Measurable Concept
Measurand
Measure
Measurement
Measurement Analyst
Measurement Experience Base
Measurement Function
Measurement Method
Measurement Procedure
Measurement Process
Measurement Process Owner
Measurement Sponsor
Measurement User
Metric
Milestone
Mock Object
Model
Modifiability
Modifiable
Modularity
Module
Moke Object
Multidimensional Analysis
Network
Nonfunctional Requirement
Nontechnical Requirement
Object
Object Model
Object Oriented Design
Observation
Observation Period
Operability
Operand
Operational Testing
Operator
Operator Manual
Optional Attribute
Optional Requirement
Organisational Unit
Path
Path Analysis
Path Testing
Pathological Coupling
Peer Review
Performance
Performance Indicator
Performance Testing
Pilot Project
Portability
Portability Compliance
Practice
Precision
Predictive Metric
Procedure
Process
Process Assessment
Process Assessment Model
Process Capability
Process Capability Determination
Process Capability Level
Process Context
Process Improvement
Process Improvement Objective
Process Improvement Program
Process Improvement Project
Process Metric
Process Outcome
Process Performance
Process Purpose
Product
Product Line
Product Metric
Productivity
Programmer Manual
Project
Project Management
Project Phase
Prototype
Qualification
Qualification Testing
Quality
Quality Assurance
Quality Control
Quality Evaluation
Quality Factor
Quality Management
Quality Measure Element
Quality Metric
Quality Model
Quality in Use
Rating
Rating Level
Readability
Recoverability
Recovery
Reengineering
Regression Testing
Release
Reliability
Reliability Compliance
Repeatability of Results of Measurements
Replaceability
Reproducibility of Results of Measurements
Request For Change
Request For Information
Request For Proposal
Requirement
Requirements Analysis
Requirements Derivation
Requirements Document
Requirements Engineering
Requirements Partitioning
Requirements Review
Requirements Specification
Requirements Traceability
Requirements Traceability Matrix
Resource
Resource Utilisation
Result
Retirement
Reverse Engineering
Risk
Risk Acceptance
Risk Analysis
Robustness
Role
Routine
Run
Safety
Satisfaction
Scale
Security
Service
Service Level Agreement
Simplicity
Software
Software Asset Management
Software Development Process
Software Engineering
Software Item
Software Life Cycle
Software Product Evaluation
Software Quality
Software Quality Characteristic
Software Quality Evaluation
Software Quality Measure
Software Repository
Software Unit
Source Code
Specification
Stability
Stage
Stakeholder
Standard
Standard Process
Statement
Statement Testing
Statement of Work
Static Analysis
Statistical Process Control
Step
Stress Testing
Structural Testing
Stub
Suitability
Supplier
Support
Support Manual
System
System Testing
Task
Technical Requirement
Technique
Test
Test Case
Test Case Suite
Test Coverage
Test Documentation
Test Environment
Test Objective
Test Plan
Test Procedure
Testability
Testing
Testing Description
Time Behaviour
Tool
Total Quality Management
Traceability
Traceable
Trunk
Understandability
Unit Test
Unit of Measurement
Usability
Usability Compliance
User
User Documentation
User Manual
Validation
Value
Verification
Version
Work Breakdown Structure
Work Product
8. Standards
CMMi
DOD-STD-2167A
IEC 61508
IEC 61508-3
IEC 61508-7
IEEE 1012
IEEE 1058
IEEE 1061
IEEE 1074
IEEE 1220
IEEE 1233
IEEE 1320
IEEE 1362
IEEE 1490
IEEE 610.12
IEEE 829
IEEE 830
IEEE 982
ISO 5806
ISO 8402
ISO 9001
ISO 9127
ISO 9241
ISO 9241-10
ISO 9241-11
ISO/IEC 12119
ISO/IEC 12207
ISO/IEC 14143
ISO/IEC 14143-1
ISO/IEC 14143-3
ISO/IEC 14598
ISO/IEC 14598-1
ISO/IEC 14598-2
ISO/IEC 14598-3
ISO/IEC 14598-4
ISO/IEC 14598-5
ISO/IEC 14598-6
ISO/IEC 14756
ISO/IEC 14764
ISO/IEC 15026
ISO/IEC 15026-1
ISO/IEC 15026-2
ISO/IEC 15288
ISO/IEC 15289
ISO/IEC 15414
ISO/IEC 15474
ISO/IEC 15474-1
ISO/IEC 15474-2
ISO/IEC 15504
ISO/IEC 15504-1
ISO/IEC 15504-2
ISO/IEC 15504-3
ISO/IEC 15504-4
ISO/IEC 15504-5
ISO/IEC 15504-6
ISO/IEC 15504-7
ISO/IEC 15846
ISO/IEC 15910
ISO/IEC 15939
ISO/IEC 19759
ISO/IEC 19770
ISO/IEC 19770-1
ISO/IEC 19770-2
ISO/IEC 20000
ISO/IEC 2382
ISO/IEC 2382-1
ISO/IEC 25000
ISO/IEC 25001
ISO/IEC 25010
ISO/IEC 25012
ISO/IEC 25020
ISO/IEC 25021
ISO/IEC 25030
ISO/IEC 25040
ISO/IEC 25045
ISO/IEC 25051
ISO/IEC 25060
ISO/IEC 25062
ISO/IEC 26514
ISO/IEC 29881
ISO/IEC 90003
ISO/IEC 9126
ISO/IEC 9126-1
ISO/IEC 9126-2
ISO/IEC 9126-3
ISO/IEC 9126-4
ISO/IEC 9294
ISO/IEC 99
ISO/IEC SQuaRE
ISO/IEC/IEEE 15289
ISO/IEC/IEEE 24765
RTCA/EUROCAE
SIGIST
Team Software Process
Index