Research Article

[Retracted] SFN: A Novel Scalable Feature Network for Vulnerability Representation of Open-Source Codes

Table 2

The calculation results of function granularity metrics.

Function granularity metricsCalculation results

Program length (N)
Number of delivered bugs (B)
Difficulty (D)
Effort (E)
Time required to program (T)
Volume (V)
Calculated program length ()
McCab number (CC)
Maintainability (M)
The number of committed bugs per line (O)