- •Министерство Образования и Науки рф
- •Выполнение работы Программа наPascal
- •Создание программы на я.П. Си
- •Текст программы на я.П. Ассемблер
- •Расчет метрик Измеримые характеристики программ Pascal
- •Assembler
- •Расчетные характеристики программы
- •Автоматическая оценка работы программ Pascal
- •Сводная таблица результатов:
Расчетные характеристики программы
Число внешних связей равно 2. η*2=2. Для такого значения этого параметра значение потенциального объема = 8, предельного объема = 8.
Объем программы:
V**= (2 + 2*log2 2*) log2(2 + 1*)
Уровень программы:
Интеллектуальное содержание программы:
Работа программиста:
E=
Время программирования:
T= =
Оценка времени программирования:
Уровень языка:
Ожидаемое число ошибок в программе:
В = E2/3/3000 (11.14)
= V\ 3000, (11.15)
Автоматическая оценка работы программ Pascal
Statistics for module my20_pascal.lxm
=====================================
The number of different operators : 19
The number of different operands : 32
The total number of operators : 102
The total number of operands : 116
Dictionary ( D) : 51
Length ( N) : 218
Length estimation ( ^N) : 240.711
Volume ( V) : 1236.59
Potential volume ( *V) : 8
Limit volume (**V) : 8
Programming level ( L) : 0.00646941
Programming level estimation ( ^L) : 0.0290381
Intellect ( I) : 35.9082
Time of programming ( T) : 10619.1
Time estimation ( ^T) : 2612.3
Programming language level (lambda) : 0.0517553
Work on programming ( E) : 191144
Error ( B) : 1.10608
Error estimation ( ^B) : 0.412196
Table:
====================================
Operators:
| 1 | 19 | ()
| 2 | 13 | *
| 3 | 6 | +
| 4 | 4 | -
| 5 | 6 | /
| 6 | 3 | <
| 7 | 30 | =
| 8 | 3 | const
| 9 | 2 | erf
| 10 | 2 | erfc
| 11 | 2 | exp
| 12 | 2 | for
| 13 | 3 | if
| 14 | 1 | program
| 15 | 1 | random
| 16 | 1 | randomize
| 17 | 2 | real
| 18 | 1 | repeat
| 19 | 1 | writeln
Operands:
| 1 | 1 | 0
| 2 | 3 | 0.0
| 3 | 3 | 1
| 4 | 8 | 1.0
| 5 | 1 | 1.0E-4
| 6 | 1 | 1.5
| 7 | 2 | 1.7724538
| 8 | 2 | 100
| 9 | 1 | 12
| 10 | 4 | 2.0
| 11 | 1 | 3
| 12 | 2 | count
| 13 | 3 | done
| 14 | 5 | ec
| 15 | 5 | er
| 16 | 1 | erf
| 17 | 1 | erfc
| 18 | 1 | erfd3
| 19 | 1 | false
| 20 | 7 | i
| 21 | 2 | k
| 22 | 4 | sqrtpi
| 23 | 10 | sum
| 24 | 3 | sum1
| 25 | 6 | term
| 26 | 3 | terms
| 27 | 2 | tol
| 28 | 1 | true
| 29 | 4 | u
| 30 | 4 | v
| 31 | 16 | x
| 32 | 8 | x2
Summary:
=====================================
The number of different operators : 19
The number of different operands : 32
The total number of operators : 102
The total number of operands : 116
Dictionary ( D) : 51
Length ( N) : 218
Length estimation ( ^N) : 240.711
Volume ( V) : 1236.59
Potential volume ( *V) : 8
Limit volume (**V) : 8
Programming level ( L) : 0.00646941
Programming level estimation ( ^L) : 0.0290381
Intellect ( I) : 35.9082
Time of programming ( T) : 10619.1
Time estimation ( ^T) : 2612.3
Programming language level (lambda) : 0.0517553
Work on programming ( E) : 191144
Error ( B) : 1.10608
Error estimation ( ^B) : 0.412196
С
Statistics for module my20_c.lxm
=====================================
The number of different operators : 23
The number of different operands : 30
The total number of operators : 111
The total number of operands : 118
Dictionary ( D) : 53
Length ( N) : 229
Length estimation ( ^N) : 251.249
Volume ( V) : 1311.69
Potential volume ( *V) : 8
Limit volume (**V) : 8
Programming level ( L) : 0.00609898
Programming level estimation ( ^L) : 0.0221076
Intellect ( I) : 28.9984
Time of programming ( T) : 11948.2
Time estimation ( ^T) : 3616.49
Programming language level (lambda) : 0.0487919
Work on programming ( E) : 215068
Error ( B) : 1.19654
Error estimation ( ^B) : 0.437231
Table:
====================================
Operators:
| 1 | 18 | ()
| 2 | 13 | *
| 3 | 5 | +
| 4 | 2 | ++
| 5 | 10 | ,
| 6 | 2 | -
| 7 | 1 | --
| 8 | 6 | /
| 9 | 4 | <
| 10 | 28 | =
| 11 | 1 | ==
| 12 | 1 | >
| 13 | 2 | _-
| 14 | 2 | erf
| 15 | 2 | erfc
| 16 | 2 | exp
| 17 | 3 | for
| 18 | 3 | if
| 19 | 1 | main
| 20 | 1 | printf
| 21 | 1 | random
| 22 | 1 | randomize
| 23 | 2 | return
Operands:
| 1 | 1 | "\n"
| 2 | 3 | 0
| 3 | 3 | 0.0
| 4 | 2 | 1
| 5 | 8 | 1.0
| 6 | 1 | 1.0E-4
| 7 | 1 | 1.5
| 8 | 2 | 1.7724538
| 9 | 1 | 100
| 10 | 1 | 1000
| 11 | 1 | 12
| 12 | 1 | 2
| 13 | 3 | 2.0
| 14 | 1 | 3
| 15 | 2 | count
| 16 | 3 | done
| 17 | 5 | ec
| 18 | 5 | er
| 19 | 9 | i
| 20 | 5 | k
| 21 | 4 | sqrtpi
| 22 | 10 | sum
| 23 | 3 | sum1
| 24 | 6 | term
| 25 | 3 | terms
| 26 | 2 | tol
| 27 | 4 | u
| 28 | 4 | v
| 29 | 16 | x
| 30 | 8 | x2
Summary:
=====================================
The number of different operators : 23
The number of different operands : 30
The total number of operators : 111
The total number of operands : 118
Dictionary ( D) : 53
Length ( N) : 229
Length estimation ( ^N) : 251.249
Volume ( V) : 1311.69
Potential volume ( *V) : 8
Limit volume (**V) : 8
Programming level ( L) : 0.00609898
Programming level estimation ( ^L) : 0.0221076
Intellect ( I) : 28.9984
Time of programming ( T) : 11948.2
Time estimation ( ^T) : 3616.49
Programming language level (lambda) : 0.0487919
Work on programming ( E) : 215068
Error ( B) : 1.19654
Error estimation ( ^B) : 0.437231