You are on page 1of 9

PSP Time Recording Log Student Program Instructor

Mndez Lira Cristhian Ivn, Sosa Hernandez Martin Alonso

Regresin multiple. Ing. Domingo Garcia Ornelas

Date Program # Language

07/05/12 8 Java

Project
8 8 8 8 8 8

Phase
Planning Design Code Compile Test PM

Start Date and Time


07/05/12 7:00AM 09/05/12 7:00AM 09/05/12 4:00PM 09/05/12 07:00PM 10/05/12 04:00PM 10/05/12 05:00PM

Int. Time

Stop Date and Time


07/05/12 8:45AM 09/05/12 8:45AM 09/05/12 7:00PM 09/05/12 07:03 PM 10/05/12 05:00PM 10/05/12 06:00PM

Delta Time
105 105 180 3 60 60

Comments

PSP2.1 Project Plan Summary


Student Program Instructor
Mndez Lira Cristhian Ivn, Sosa Hernandez Martin Alonso

Regresin multiple.
Ing. Domingo Garcia Ornelas Plan 0.45 530

Date Program # Language Actual 0.40 513

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%)

60% 0% 4.5% 4.6% 93%

65% 0% 1.3% 1.4% 90%

84% 58% 2.10% 2.30% 191%

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)

369 583 1281 320

140
(Projected)

125
(A + M)

565
(A+M + B M D + R)

521
(Measured)

300

320

x (continued)

Coding Standard Template


Purpose Program Headers Header Format To guide the development of programs Begin all programs with a descriptive header.
/* Instituto tecnolgico de len Mndez Lira Cristhian Ivn, Sosa Hernandez Martin Alonso Ing. Domingo Garca Ornelas Programa 8 Fecha: 07/05/12 Informacin de la versin Copyright */

Listing Contents Contents Example

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

Identifiers Identifier 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;

PSP Process Improvement Proposal (PIP) Student Program Instructor


Mndez Lira Cristhian Ivn,Sosa Hernandez Martin Alonso

Regresin multiple. Ing.Domingo Garcia Ornelas

Date Program # Language

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.

Size Estimating Template Student Program Instructor Size Measure


Mndez Lira Cristhian Ivn,SosaHernandezMartin Alonso

Regresin multiple.

Ing Domingo Garca


223

Date Program # Language

07/05/12 8 Java

Base Parts Inicio captura calculo_correlacion calculo_significancia calculo_IntervalPrediccion Total B

Base 5 20 17 109 13 133

Estimated Deleted Modified 0 0 0 0 4 0 0 20 0 0 M 4 20 BA Actual

Added 0 0 0 0 10 10

Base Parts Inicio captura calculo_correlacion calculo_significancia calculo_IntervalPrediccion total

Base 5 20 17 109 13 152

Deleted 0 0 3 0 4 6

Modified 1 4 2 7 4 16

Added 0 1 14 40 5 62

Parts Additions Inicio() Captura() calculo_correlacion() calculo_significancia() calculo_IntervalPrediccion() Total

Type metodo Mtodo Mtodo metodo metodo

Estimated Items Rel. Size 1 5 1 12 1 80 1 16 1 10


PA

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)

Schedule Planning Template Student Program Instructor


Mndez Lira Cristhian Ivn, Sosa Hernandez Martin Alonso

Regresin multiple. Ing. Domingo Garcia Ornelas Plan


Cumulative Planned Value Cumulative Schedule Hours Schedule Hours Schedule Hours

Date Program # Language Actual


Week Earned Value Cumulative Earned Value

07/05/12 8 Java Predicted


Cumulative Predicted Earned Value
1

Week No.

Date

1 1 1 1

07/05/12 07/05/12 09/05/12 10/05/12

120 66 62
141

120 185 232


372 3372

115 54 53
112

115 174 257


372

Cumulative Schedule Hours

1 1 1 1 1

Code Review Checklist


Student Program Instructor Purpose General
Mndez Lira Cristhian Ivn, Sosa Hernandez Martin Alonso

Regresin multiple. Ing. Domingo Garcia Ornelas

Date Program # Language

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

Complete Includes Initialization

Calls

Names

Strings

Pointers

Output Format

() Pairs Logic Operators Line-by-line check

X X X

Standards File Open and Close

Functional Specification Template Mndez Lira Cristhian Ivn, Sosa Hernandez Martin Student
Alonso

Date Program # Language

07/05/12
8 Java

Program Instructor Class Name Parent Class

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

raiz=((N*x2)-Math.pow(x,2))*((N*y2)Math.pow(y,2)); X=(Math.abs(Rxy)*Math.pow((N2),0.5))/(Math.pow((1-Math.pow(Rxy,2)),0.5)); B2[i]=Math.pow(A1[i],-A); Fx[i]=D*B2[i]; T[i]=(W/3)*Mult[i]*Fx[i];

Description Resolucin de ecuacion Obtencin de raiz Se saca valor cuadrado Solucin de funcion Solucin de ecuacion

Logic Specification Template


Student Program Instructor
Mndez Lira Cristhian Ivn, Sosa Hernandez Martin Alonso

Regresin multiple. Ing. Domingo Garcia Ornelas

Date Program # Language

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

You might also like