Research Article
Software Defect Prediction Based on Hybrid Swarm Intelligence and Deep Learning
Table 1
Commonly used software metrics for process-oriented software.
| Category | Metrics |
| McCabe metrics | Cyclomatic complexity () | Essential complexity (ev()) | Module design complexity (iv()) | Halstead metrics | Unique operators () | Unique operands () | Total operators () | Total operands ( ) | Vocabulary () | Length () | Program volume () | Program difficulty () | Program level (Lv) | Intelligence (I) | Programming effort () | Programming time (T) | LOC metrics | LOCphy | LOComment | LOBlank | LOCComment | Reformatted code information for file | Total source lines | Expansion factor | Procedure information | Average length of basic blocks | Procedure entry points | Procedure exit points | Comments associated with procedures | Total comments | Comments in headers | Comments in declarations | Ratio of comments to executable lines | Executable reformatted lines | Total comments/Executable lines | Header comments/executable lines | Declaration comments/executable lines | Code comments/executable lines | Complexity metrics | Knots | Loop/interval analysis | Number of loops | Depth of loop nesting | Number of order 1 intervals | Maximum interval nesting | Reducible intervals | LCSAJ and unreachability | Total LCSAJs | Reachable LCSAJs | Unreachable LCSAJs | Maximum LCSAJ density | Unreachable lines | Unreachable branches | Dataflow information | Globals in procedure | File fan in | Fan out |
|
|