Research Article

Lessons Learnt from Gauging Software Metrics of Cabin Software in a Commercial Airliner

Table 4

Results overview.

MetricRecommendedWorstMeanStd. Dev.MedianWithin Rec.Remarkable modules

Lines of code72,3007,90110,5274,9255, 71
Number of modules 7116 15105, 71, 67
Functions per module1,11311158
Halstead length70,0002,8458,2579,493

Amount of comments ≥0.50.250.820.370.7281%1, 19, 46
Functions (per file)7 ± 224275,34671%5, 22, 48
Vocabulary size2,245445354358
Difficulty<302,324186.51431522.8%5, 71, 61
Volume 100–8000667 K20,69778,1839,05346%25, 71
Effort4,516 Billion69.50531 M2.3 M25, 71
Size of statements≤7462.997.920.9095%19, 27, 49, 50
Fan-In≤71,4761962151360%5, 66
Fan-out≤73,7011954431050%5, 66
Cyclomatic complexity 0–103835.74513045%5, 31, 33, 57
Nesting 0–5127.22.4759%53, 6, 2

GOTOs00000100%
Frequency1010.0811.683.8526
Coupling (out)2354441385, 67, 68
Coupling (in)2944147295, 67,68
Entry nodes7,951112207
Exit nodes (per function)5,6183.34