Technical Documentation LogProcessor

From PatioWiki

(Difference between revisions)
Jump to: navigation, search
(Created page with 'In the LogProcessor module we have implemented the analysis of the Log of the exercises and the exportation of the produced results to a [http://es.wikipedia.org/wiki/CSV…')
(Proofreading)
 
(5 intermediate revisions not shown)
Line 1: Line 1:
-
In the [[LogProcessor]] module we have implemented the analysis of the [[Log]] of the exercises and the exportation of the produced results to a [http://es.wikipedia.org/wiki/CSV CSV] file. Besides, you can produce graphs and pattern analyses of some type of exercises.
+
In the [[LogProcessor]] module we have implemented the analysis of the [[Log]] of the exercises and the exportation of the results to a [http://es.wikipedia.org/wiki/CSV CSV] file. Besides, you can produce graphs and pattern analyses of some type of exercises.
__TOC__
__TOC__
Line 5: Line 5:
= Use Case =
= Use Case =
-
In the use case diagram you can visualize the available actions of this module. You can '''Analyse a log''', '''Export analysis to a CSV file''', '''Analyse patterns''' or '''Produce graphs''' using data form [[Log]] files of the exercises.
+
In the use case diagram you can see the available actions that you can perform with this module, such as '''Analyse a log''', '''Export analysis to a CSV file''', '''Analyse patterns''' or '''Produce graphs''' using data form [[Log]] files of the exercises.
[[File:Log_UC.png|400px|Case use diagram of the processor of logs]]
[[File:Log_UC.png|400px|Case use diagram of the processor of logs]]
Line 11: Line 11:
= Class Diagram of the Log Reader =
= Class Diagram of the Log Reader =
-
In the class diagram of the log reader you can visualize the '''AbstractCommonLogGraph''' class which is used to produce graphs ('''CommonLogGraph''') and the pattern analyses ('''CommonLogPattern'''). The diagram also contains the '''AbstractCommonLogProcessor''' class which is used to read logs from the database ('''CommonLogProcessor''') or from a disk file ('''CommonFileLogProcessor''').
+
In the class diagram of the log reader you can see the '''AbstractCommonLogGraph''' class which is used to produce graphs ('''CommonLogGraph''') and the pattern analyses ('''CommonLogPattern'''). The diagram also contains the '''AbstractCommonLogProcessor''' class which is used to read logs from the database ('''CommonLogProcessor''') or from a disk file ('''CommonFileLogProcessor''').
[[File:Log_reader_diagram.png|800px|Class diagram of the log reader]]
[[File:Log_reader_diagram.png|800px|Class diagram of the log reader]]
-
= Class Diagram of the Log Eventos =
+
= Class Diagram of the Log Events =
-
En el diagrama de clases de eventos se tiene la jerarquía de eventos que el programa reconoce. Como se observa, existe una división entre eventos del puntero ('''AbstractPointerEvent''') y eventos de los ejercicios ('''LogEvent''').
+
In the class diagram of the log events you can see the events hierarchy that the program use. As you can see, there is a division between events of the pointing device ('''AbstractPointerEvent''') and the exercise events ('''LogEvent''').
[[File:Log_events_diagram.png|600px|Class diagram of the log events]]
[[File:Log_events_diagram.png|600px|Class diagram of the log events]]
-
= Diagrama de Clases del Procesador de Logs =
+
= Class Diagram of the Log Processor =
-
En el diagrama de clases del procesador de logs se observa la división existente entre los procesadores para los ejercicios realizados con el módulo [[Aprendo]] ('''AbstractAprendoProcessor''') y el módulo [[Leo]] ('''AbstractLeoProcessor'''). Nótese que existe una clase específica encargada de procesar los logs de cada tipo de ejercicio.
+
In the class diagram of the log processor you can see the existing division between the processors of the [[Aprendo]] module exercises ('''AbstractAprendoProcessor''') and the [[Leo]] module exercises ('''AbstractLeoProcessor'''). Note that there is a specific class for processing logs of each type of exercises.
[[File:Log_processor_diagram.png|800px|Class diagram of the log processor]]
[[File:Log_processor_diagram.png|800px|Class diagram of the log processor]]
-
= Diagrama de Clases de las Gráficas de Logs =
+
= Class Diagram of the Graphs of Logs =
-
En el diagrama de clases de las gráficas de logs se observan las distintas gráficas ('''DirectionalGraph''', '''PointsDensityGraph''' y '''AllPointsGraph''') que pueden incluirse dentro de el panel contenedor de gráficas '''GraphPanel'''. Nótese que el panel de gráficas también puede ser utilizado dentro del panel de análisis de patrones ('''PatternStudyPanel''') el cual contiene además a los listados de patrones ('''PatternList''') y ('''PatternUserList''').
+
In the class diagram of the log graphs you can see several classes ('''DirectionalGraph''', '''PointsDensityGraph''' and '''AllPointsGraph''') which can be included into the panel containing graphs called '''GraphPanel'''. Note that the '''GraphPanel''' can also be included into the panel of pattern analysis ('''PatternStudyPanel''') which contains two classes; '''PatternList''' and '''PatternUserList'''.
-
[[File:Log_graph_diagram.png|800px|Class diagram of the log graphs]]
+
[[File:Log_graph_diagram.png|800px|Class diagram of the graphs of logs]]
-
= Diagrama de Clases del Exportador de Resultados =
+
= Class Diagram of the Results Exporter =
-
En el diagrama de clases del exportador de resultados se observa nuevamente una división entre las clases exportadoras de ejercicios del módulo [[Aprendo]] (Heredan de '''AbstractAprendoExporter''') y las correspondientes al módulo [[Leo]] (Heredan de '''AbstractLeoExporter''').
+
In the class diagram of the results exporter you can see a division between the classes of the [[Aprendo]] module exercises (they inherit from '''AbstractAprendoExporter''' class) and the [[Leo]] ones (they inherit from '''AbstractLeoExporter''').
-
[[File:Log_exporter_diagram.png|800px|Class diagram of the result exporter]]
+
[[File:Log_exporter_diagram.png|800px|Class diagram of the results exporter]]
-
= Diagrama de Clases del Reproductor de Logs =
+
= Class Diagram of the Log Player =
-
En el diagrama de clases del reproductor de logs se puede observar, al igual que en casos anteriores, la división entre clases para los ejercicios del módulo [[Aprendo]] ('''AbstractAprendoPlayer''') y del módulo [[Leo]] ('''AbstractLeoPlayer'''). Luego, cada ejercicio tiene su propia clase que implementa el motor de reproducción específico. Nótese que tanto la reproducción de ejercicios ('''AbstractExercisePlayer''') como la de eventos del ratón ('''MouseEventsGlassPane''') heredan de la clase '''AbstractPlayerComponent'''.
+
In the class diagram of the log player you can see a division between the classes of the [[Aprendo]] module ('''AbstractAprendoPlayer''') and the [[Leo]] module ones ('''AbstractLeoPlayer'''). There is a specific class for each exercise. These classes implement the proper engine for the player depending on the exercise to be played. Note that the class used for replaying exercise events ('''AbstractExercisePlayer''') and the class for pointing device events ('''MouseEventsGlassPane''') inherit from the '''AbstractPlayerComponent''' class.
[[File:Log_player_diagram.png|600px|Class diagrama of the log player]]
[[File:Log_player_diagram.png|600px|Class diagrama of the log player]]

Current revision as of 13:27, 27 October 2011

In the LogProcessor module we have implemented the analysis of the Log of the exercises and the exportation of the results to a CSV file. Besides, you can produce graphs and pattern analyses of some type of exercises.

Contents


Use Case

In the use case diagram you can see the available actions that you can perform with this module, such as Analyse a log, Export analysis to a CSV file, Analyse patterns or Produce graphs using data form Log files of the exercises.

Case use diagram of the processor of logs

Class Diagram of the Log Reader

In the class diagram of the log reader you can see the AbstractCommonLogGraph class which is used to produce graphs (CommonLogGraph) and the pattern analyses (CommonLogPattern). The diagram also contains the AbstractCommonLogProcessor class which is used to read logs from the database (CommonLogProcessor) or from a disk file (CommonFileLogProcessor).

Class diagram of the log reader

Class Diagram of the Log Events

In the class diagram of the log events you can see the events hierarchy that the program use. As you can see, there is a division between events of the pointing device (AbstractPointerEvent) and the exercise events (LogEvent).

Class diagram of the log events

Class Diagram of the Log Processor

In the class diagram of the log processor you can see the existing division between the processors of the Aprendo module exercises (AbstractAprendoProcessor) and the Leo module exercises (AbstractLeoProcessor). Note that there is a specific class for processing logs of each type of exercises.

Class diagram of the log processor

Class Diagram of the Graphs of Logs

In the class diagram of the log graphs you can see several classes (DirectionalGraph, PointsDensityGraph and AllPointsGraph) which can be included into the panel containing graphs called GraphPanel. Note that the GraphPanel can also be included into the panel of pattern analysis (PatternStudyPanel) which contains two classes; PatternList and PatternUserList.

Class diagram of the graphs of logs

Class Diagram of the Results Exporter

In the class diagram of the results exporter you can see a division between the classes of the Aprendo module exercises (they inherit from AbstractAprendoExporter class) and the Leo ones (they inherit from AbstractLeoExporter).

Class diagram of the results exporter

Class Diagram of the Log Player

In the class diagram of the log player you can see a division between the classes of the Aprendo module (AbstractAprendoPlayer) and the Leo module ones (AbstractLeoPlayer). There is a specific class for each exercise. These classes implement the proper engine for the player depending on the exercise to be played. Note that the class used for replaying exercise events (AbstractExercisePlayer) and the class for pointing device events (MouseEventsGlassPane) inherit from the AbstractPlayerComponent class.

Class diagrama of the log player

Personal tools
In other languages