1 / 14

AmbientHackystat Code Review

AmbientHackystat Code Review. March 03, 2008. User Installation. Download the latest release (zip file) from AmbientHackystat’s Googlecode page. Extract the zip file to a directory with no spaces “c:icssvn-google” is good. “c:My Documents” is bad.

penha
Download Presentation

AmbientHackystat Code Review

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. AmbientHackystatCode Review March 03, 2008

  2. User Installation • Download the latest release (zip file) from AmbientHackystat’s Googlecode page. • Extract the zip file to a directory with no spaces • “c:\ics\svn-google” is good. • “c:\My Documents” is bad. Also, change the data in the configuration.example.xml file to meet your own data. The file can be found under ambientHackystat-0.1.402\xml\examples

  3. User Installation, cont’d • Navigate to the installation folder with your console and invoke the included jar file by running“java –jar ambienthackystat.jar xml/example/configuration.example.xml” • This should start the application.

  4. Developer’s Guide • Please use Eclipse IDE. • Please set up environment variables, as stated in the DevelopersGuide Wiki page.

  5. Developer’s Guide – Eclipse IDE • You will need to define some class path variables in order to run and test the system on Eclipse.

  6. Quality Assurance Tools • JUnit • CheckStyles • EMMA • PMD • FindBugs • SCLC To use this test please run “ant –f ‘QAT’.build.xml” To run them all at one run “ant –f verify.buil.xml” The javaDoc should be included in the folder: ambientHackystat-0.1.402\javadoc

  7. System Overview

  8. System Overview – Packages • Very Similar to the MyIsern Package.

  9. Package overview • Each device has their own package • Device package contains the device class + action classes • Some packages contain the JAXB-generated classes • Server package contains classes that retrieve data from Hackystat and change state of device(s). • Trigger Packages that contain trigger classes that correspond to different build events (Coverage Tests, Junit Testing).

  10. Future Developments

  11. State of Development • Current • Ambient Orb should be functional • Ambient Bunny is being worked on. • Have a few Triggers (Junit, coverage testing) • Future • Add more Triggers • Allow developer to choose which trigger will be used with ambient devices. • Have a UI for the controller. • Improve XML schema.

  12. Desired Goals of Review • General: • Find any possible system vulnerabilities • Suggestions for better system implementation • White Box/Black Box Testing • Break the buggah!

  13. Specifics: • We would like you to focus on the Trigger/Action Pairs. • There are multiple Triggers but few Actions. • Only the Orb works with the server. • Find trigger and actions pairs that don’t work well together. • Find triggers or actions that don’t work • The triggers might have errors with javamail, and derby but these are problems with javamail installation and running derby 10.2.2.0 • Test the Ambient Server • Test both Factories. (Trigger Factory/Action Factory) • Extra Credit! Test the XML Configuration code. Test for errors in reading and schema. • All files have JUnit test that you can configure to work with your system. (ie. Username/Password and Project)

  14. Specific Files to work on • Org.hackystat.ambientdevice.device • ActionFactory.java • Org.hackystat.ambientdevice.server • AmbientServer.java • Org.hackystat.ambientdevice.trigger • TriggerFactory.java • All the triggers

More Related