Вы находитесь на странице: 1из 9

5.1 Descripcin del lenguaje de codificacin.

A continuacin para realizar el sistema SYSCOBI el equipo tomo en cuenta un lenguaje muy amigable para el usuario que es el de Visual Basic y Acces. Por medio de los lenguajes ya mencionados anterior mente se crearan diversos formularios con Visual Basic para que desde ah se introduzcan los datos necesarios para la manipulacin de la base de datos creada con Acces ya que es necesario para que el usuario tenga todos los recursos disponibles para brindar un mejor servicio y calidad al mismo tiempo se reducirn perdidas de informacin.

5.2 Modulos relevantes codificados Acontinuacion se presenta la insercin de vidrios: Private Sub AltaVid_Click() BloqueaBotones Frame1.Caption = "Alta de vidrios" Text8.Text = "Alta" DesbloqueaCajas Command7.Enabled = True Command8.Enabled = True Data1.Recordset.AddNew End Sub Acontinuacion se presenta la eliminacin de vidrios: Private Sub BajaVid_Click() Frame1.Caption = "Baja de vidrios" Text8.Text = "Baja" DesbloqueaCajas Command5.Enabled = True Command8.Enabled = True BloqueaCajas End Sub Posteriormente la alta de usuarios: Private Sub AltaCli_Click() BloquearBotones DesbloquearCajas Text1.Text = "Alta" Data4.Recordset.AddNew Command1.Enabled = False Command2.Enabled = False Command3.Enabled = False Command4.Enabled = False Command7.Enabled = True Command8.Enabled = True Frame1.Caption = "Alta de Clientes" End Sub Acontinuacion la baja de clientes: Private Sub BajaClie_Click() ConsCli_Click Command5.Enabled = True Command8.Enabled = True Frame1.Caption = "Baja de Clientes"

End Sub En esta parte describe el cdigo de impresin de nota: Private Sub Command17_Click() Data1.Recordset.Edit Data1.UpdateRecord Data4.Recordset.MoveLast Do While (Text25.Text = Text26.Text) Data5.Recordset.AddNew Text42.Text = Text26.Text Text41.Text = Text27.Text Text40.Text = Text28.Text Text39.Text = Text29.Text Text46.Text = Text30.Text Text45.Text = Text31.Text Text44.Text = Text32.Text Text43.Text = Text33.Text Text49.Text = Text34.Text Text48.Text = Text35.Text Text47.Text = Text36.Text Data5.Recordset.Update Data4.Recordset.Edit Text38.Text = 1 Data4.Recordset.Update Data4.Recordset.MovePrevious Loop Unload Me Form11.Text1.Text = 1 End Sub Ahora mostramos el codigo para la impresion de factura: Private Sub Command18_Click() Data1.Recordset.Edit Data1.UpdateRecord Data4.Recordset.MoveLast Do While (Text25.Text = Text26.Text) Data6.Recordset.AddNew Text53.Text = Text26.Text Text52.Text = Text27.Text Text51.Text = Text28.Text Text50.Text = Text29.Text Text57.Text = Text30.Text Text56.Text = Text31.Text Text55.Text = Text32.Text Text54.Text = Text33.Text Text60.Text = Text34.Text Text59.Text = Text35.Text

Text58.Text = Text36.Text Data6.Recordset.Update Data4.Recordset.Edit Text38.Text = 2 Data4.Recordset.Update Data4.Recordset.MovePrevious Loop Unload Me Form11.Text1.Text = 2 End Sub Este fragmento pertenece a las consultas de las notas haciendo referencia al botn anterior Private Sub Command4_Click() Do While (Text1.Text = Text2.Text) Data1.Recordset.MovePrevious Loop Text1.Text = Text2.Text Limpia Command5.Enabled = True Command6.Enabled = True If (Data1.Recordset.BOF) Then Command3_Click Else Do While (Text1.Text = Text2.Text) Data1.Recordset.MovePrevious Loop Data1.Recordset.MoveNext '--------------------------- Inicia cabecera Label2.Caption = Text6.Text Label4.Caption = Text10.Text Label6.Caption = Text11.Text Label1.Caption = Text12.Text Label7.Caption = Text7.Text Label8.Caption = Text8.Text Label9.Caption = Text9.Text '--------------------------- Termina cabecera, primer registro obligatorio Label10.Caption = Text4.Text Label11.Caption = Text3.Text Label12.Caption = Text5.Text Data1.Recordset.MoveNext If Text2.Text = Text1.Text Then Label14.Caption = Text4.Text Label15.Caption = Text3.Text Label16.Caption = Text5.Text Data1.Recordset.MoveNext If Text2.Text = Text1.Text Then Label18.Caption = Text4.Text

Label19.Caption = Text3.Text Label20.Caption = Text5.Text Data1.Recordset.MoveNext If Text2.Text = Text1.Text Then Label22.Caption = Text4.Text Label23.Caption = Text3.Text Label24.Caption = Text5.Text Data1.Recordset.MoveNext If Text2.Text = Text1.Text Then Label26.Caption = Text4.Text Label27.Caption = Text3.Text Label28.Caption = Text5.Text Data1.Recordset.MoveNext If Text2.Text = Text1.Text Then Label30.Caption = Text4.Text Label31.Caption = Text3.Text Label32.Caption = Text5.Text Data1.Recordset.MoveNext If Text2.Text = Text1.Text Then Label36.Caption = Text4.Text Label37.Caption = Text3.Text Label38.Caption = Text5.Text Data1.Recordset.MoveNext End If End If End If End If End If End If Data1.Recordset.MovePrevious End If End Sub Y este fragmento perternece al botn siguiente de las consultas de notas Private Sub Command5_Click() Limpia Command3.Enabled = True Command4.Enabled = True Data1.Recordset.MoveNext Text1.Text = Text2.Text If Data1.Recordset.EOF Then Command6_Click Else '--------------------------- Inicia cabecera Label2.Caption = Text6.Text Label4.Caption = Text10.Text Label6.Caption = Text11.Text Label1.Caption = Text12.Text Label7.Caption = Text7.Text

Label8.Caption = Text8.Text Label9.Caption = Text9.Text '--------------------------- Termina cabecera, primer registro obligatorio Label10.Caption = Text4.Text Label11.Caption = Text3.Text Label12.Caption = Text5.Text Data1.Recordset.MoveNext If Text2.Text = Text1.Text Then Label14.Caption = Text4.Text Label15.Caption = Text3.Text Label16.Caption = Text5.Text Data1.Recordset.MoveNext If Text2.Text = Text1.Text Then Label18.Caption = Text4.Text Label19.Caption = Text3.Text Label20.Caption = Text5.Text Data1.Recordset.MoveNext If Text2.Text = Text1.Text Then Label22.Caption = Text4.Text Label23.Caption = Text3.Text Label24.Caption = Text5.Text Data1.Recordset.MoveNext If Text2.Text = Text1.Text Then Label26.Caption = Text4.Text Label27.Caption = Text3.Text Label28.Caption = Text5.Text Data1.Recordset.MoveNext If Text2.Text = Text1.Text Then Label30.Caption = Text4.Text Label31.Caption = Text3.Text Label32.Caption = Text5.Text Data1.Recordset.MoveNext If Text2.Text = Text1.Text Then Label36.Caption = Text4.Text Label37.Caption = Text3.Text Label38.Caption = Text5.Text Data1.Recordset.MoveNext End If End If End If End If End If End If Data1.Recordset.MovePrevious End If End Sub Para la consulta de facturas, vidrios y clientes es la misma estructura solo con excepcin de los datos.

5.3 Prueba de la caja negra ( falta implementar )

5.4 Prueba de la caja blanca Este es el grafo de flujo que nos permite hallar la complejidad ciclomatica. 1 14

2,3

4,5

10

11

12

13 COMPLEJIDAD CICLOMATICA V(G)=A-N+2 14 aristas -12 nodos + 2= 4 regiones V(G)=P+1 3 nodos predicado + 1 = 4 regiones

5.5 Pruebas de alfa y beta ( falta implementar ) CAPITULO VI 6.1 Aspectos de calidad

Correccin: Hasta dnde satisface un programa su especificacin y consigue los objetivos de la misin del . cliente. Si. Por que nuestro software (SYSCOVI) cumple con todas las necesidades del cliente. Fiabilidad: Hasta dnde puede quedarse un programa que lleve a cabo su funcin pretendida con la exactitud solicitada. Cabe hacer notar que se han propuesto otras definiciones de fiabilidad ms completas. Si. Por que en la base de datos se almacena correctamente la informacin evitando posterior mente la perdida de informacin. Eficiencia: El conjunto de recursos informticos y de cdigo necesarios para que un programa realice su funcin. Si. Ya que nuestro software no requiere grandes cantidades de memoria para su ejecucin. Integridad: Hasta dnde se puede controlar el acceso al software o a los datos por individuos no autorizados. Si. Cuenta con contrasea para evitar que otros usuarios no autorizados no accedan al sistema. Usabilidad (facilidad de manejo): El esfuerzo necesario para aprender, operar, y preparar datos de entrada e interpretar las salida (resultados) de un programa. Si. La interfaz es demasiado amigable para que cualquier usuario previamente autorizado lo maneje sin problema alguno.

Facilidad de mantenimiento: El esfuerzo necesario para localizar y arreglar un error en un programa. Si. Por que todo esta ordenado y al tener un problema sabramos detectarlo y arreglar la parte daada. Flexibilidad: El esfuerzo necesario para modificar un programa operativo. Si. Por que la documentacin esta en orden entonces al requerir nuevos cambios sabramos implementar la parte modificada para obtener un mejor resultado. Facilidad de prueba: El esfuerzo necesario para aprobar un programa para asegurarse de que realiza su funcin pretendida. Si. Por que cumple con las pruebas alfa y beta. Portabilidad: El esfuerzo necesario para trasladar el programa de un entorno de sistema hardware y/o software a otro. Si. Por que el ordenador donde se va a instalar no es necesario que tenga grandes capacidades para la ejecucin del sistema (SYSCOVI), por lo tanto tiene un 80% de portabilidad. Reusabilidad: (capacidad de reutilizacin): Hasta dnde se puede volver a utilizar un programa (o partes) en otras aplicaciones con relacin al empaquetamiento y alcance de las funciones que ejecuta el programa. Si. Por que se puede implementar en cualquier problema que requiera la utilizacin de una base de datos. Interoperatividad: El esfuerzo necesario para acoplar un sistema con otro. Si. Ya que en caso de que se necesite integrar algn otro software SYSCOVI no tendra ningn problema para acoplarse con otro tipo de software.

Вам также может понравиться