Professional Documents
Culture Documents
07/05/12 8 Java
Project
8 8 8 8 8 8
Phase
Planning Design Code Compile Test PM
Int. Time
Delta Time
105 105 180 3 60 60
Comments
Regresin multiple.
Ing. Domingo Garcia Ornelas Plan 0.45 530
07/05/12
8 Java To Date 46.20 1490 1795 35
(Planned/Actual)
Summary Size/Hour Planned Time Actual Time CPI (Cost-Performance Index) % Reuse % New Reusable Test Defects/KLOC or equivalent Total Defects/KLOC or equivalent Yield % % Appraisal COQ % Failure COQ COQ A/F Ratio PQI Program Size Base (B) Deleted (D) Modified (M) Added (A) Reused (R) Added and Modified (A+M) Total Size (T) Total New Reusable Estimated Proxy Size (E) Upper Prediction Interval (70%) Lower Prediction Interval (70%)
Plan 245
(Measured)
Actual 236
(Measured)
To Date
0
(Estimated)
0
(Counted)
0
(Estimated)
0
(Counted)
140
(A+M M)
125
(T B + D R)
180
(Estimated)
160
(Counted)
140
(Projected)
125
(A + M)
565
(A+M + B M D + R)
521
(Measured)
300
320
x (continued)
Reuse Instructions
Provide a summary of the listing contents. /* imports */ /* declaracin de clase */ /* declaracin de variables */ /* declaracin de mtodos */ /* clase prueba */ Describe how the program is used. Provide the declaration format, parameter values and types, and parameter limits. Provide warnings of illegal values, overflow conditions, or other conditions that could potentially result in improper operation.
public void captura(){ tex[3].setText(" "); if(!v.validacionInt(tex[0].getText())){ dof=v.getInt(); if(!v.validacionInt(tex[1].getText())){ Num_Seg=v.getInt(); if(!v.validacionDouble(tex[2].getText())){ P=v.getDouble(); calculos(); resultados(); }else tex[2].setText("Dato Erroneo"); }else tex[1].setText("Dato Erroneo"); }else tex[0].setText("Dato Erroneo"); }
Reuse Example
Use descriptive names for all variables, function names, constants, and other identifiers. Avoid abbreviations or single letter variables.
int dof=0; double x1=0;
07/05/12 8 Java
Problem Description Briefly describe the problems that you encountered. Error de sintaxis a la hora de codificar que se declar mal la variable x; por x1=0 que es matriz;
Proposal Description Briefly describe the process improvements that you propose. Con respecto a la programacin no se presento algn problema el problema fue entender la lgica de lo requerido.
Other Notes and Comments Note any other comments or observations that describe your experiences or improvement ideas.
Regresin multiple.
07/05/12 8 Java
Added 0 0 0 0 10 10
Deleted 0 0 3 0 4 6
Modified 1 4 2 7 4 16
Added 0 1 14 40 5 62
Size* 5 12 80 16 10 0
Size* 3 7 123 7 12 0
Actual Items 1 1 1 1 1
Reused Parts
Estimated Size
Actual Size
Total
(continued)
Week No.
Date
1 1 1 1
120 66 62
141
115 54 53
112
1 1 1 1 1
07/05/12
8 Java
To guide you in conducting an effective code review - Review the entire program for each checklist category; do not attempt to review for more than one category at a time! - As you complete each review step, check off that item in the box at the right. - Complete the checklist for one program or program unit before reviewing the next. Verify that the code covers all of the design. Verify that the includes are complete. Check variable and parameter initialization. - at program initiation - at start of every loop - at class/function/procedure entry Check function call formats. - pointers - parameters - use of & Check name spelling and use. - Is it consistent? - Is it within the declared scope? - Do all structures and classes use . reference? Check that all strings are - identified by pointers - terminated by NULL Check that all - pointers are initialized NULL - pointers are deleted only after new - new pointers are always deleted after use Check the output format. - Line stepping is proper. - Spacing is proper. Ensure that () are proper and matched. - Verify the proper use of ==, =, ||, and so on. - Check every logic function for (). Check every line of code for - instruction syntax - proper punctuation Ensure that the code conforms to the coding standards. Verify that all files are - properly declared - opened - closed
Calls
Names
Strings
Pointers
Output Format
X X X
Functional Specification Template Mndez Lira Cristhian Ivn, Sosa Hernandez Martin Student
Alonso
07/05/12
8 Java
Regresin multiple.
Ing. Domingo Garcia Ornelas
Prediccion
Attributes Declaration
multiplo
num_seg Std Rxy Xavg total Varianza Yk B Items Declaration
Description Variable de entrada Variable de entrada Variable para guardar resultados Variable para guardar resultados Variable de entrada Variable para guardar resultados Variable para guardar resultados Variable para guardar resultados Variable para guardar resultados
Description Resolucin de ecuacion Obtencin de raiz Se saca valor cuadrado Solucin de funcion Solucin de ecuacion
07/05/12
8 java
Design References
Este programa calcule la correlacin entre dos juegos de nmeros x y y calculan los parmetros de la regresin lineales y para un juego de pares de n de datos dado una estimacin, calcule una prediccin mejorada dnde calculan el 70% intervalo de la prediccin para esa estimacin. int dof=0; double x1=0; double P=0.0; double a=0.0; double b=0.0; int Num_Seg=0; double Resultado; String ResultadoS;
Parameters