Presentation is loading. Please wait.

Presentation is loading. Please wait.

JCheck jEdit Spellcheck Plug-in Group Section 6 2 4 8.

Similar presentations


Presentation on theme: "JCheck jEdit Spellcheck Plug-in Group Section 6 2 4 8."— Presentation transcript:

1 jCheck jEdit Spellcheck Plug-in Group Section 6 2 4 8

2 What is jEdit? Text editor for programmers Written entirely in Java Developed since 1998 Highly Customizable

3 What is jCheck? Plug-in for jEdit Java “Spellchecker” Finds undefined properties, keywords, and function names Suggests possible replacements

4 Why chose jEdit/jCheck? jEdit has sophisticated plug-in architecture Active community with many resources Most plug-in ideas already implemented jCheck chosen because it was not done yet and would be a useful feature Parts of existing plug-ins used to ease development

5 Solution Process Organization Management/ Organization Object Research/ Requirements Library/ Presentation ParserTesting DocumentationProcess Log WebsiteRepository

6 Solution Process SDP Model Used extreme programming Four sub-groups worked in pairs Parser group Library and Presentation group Testing, Research and Requirements Object group

7 Solution Process Group wiki powered by QwikiWiki - Josh Resources

8 Solution Process Group forums powered by PunBB - Mason Resources

9 Solution Process Shared code repository via Subversion – Mason Resources

10 Solution Design Design specification – Bhavya Management

11 Organization Solution Design Flowchart – Joel and Josh

12 Solution Design Object Model UML – Joel

13 Classes Solution Design jCheckPluginJCheckFrameParserLibraryKeyword Undefined KW Defined KW Location

14 Solution Design Story cards – Alen and Chris Management

15 Solution Implementation Time Management - Alexandra Management

16 Solution Implementation Parser Tokenizer Regular expressions LevenshteinOperationsSkippingReplacing Skip all Replace all

17 Solution Testing Overview Testing Hierarchy – Bhavya

18 Solution Testing Pre-Integration Test Flowchart – Bhavya

19 Solution Testing Pre-Integration Unit testing with jUnit – Ralph and Sopagna public class Math { static public int add(int a, int b) { return a + b; } static public int multiply(int a, int b) { return a * b; } import junit.framework.*; public class TestMath extends TestCase { protected void setUp() { // put common setup code in here } protected void tearDown() { // put common cleanup code in here } public void testAdd() { int num1 = 3; int num2 = 2; int total = 6; int sum = 0; sum = Math.add(num1, num2); assertEquals(sum, total); } public void testMulitply() { int num1 = 3; int num2 = 7; int total = 21; int sum = 0; sum = Math.multiply(num1, num2); assertEquals("Problem with multiply", sum, total); num1 = 5; num2 = 4; total = 20; sum = Math.multiply(num1, num2); assertEquals("Problem with multiply", sum, total); } Actual Class Test class

20 Solution Testing Post-Integration Issue Manager – Mason

21 Status Fixing bugs in issue tracker Finishing testing Preparing project for submission Gathering and organization logs and docs

22 Post-mortem What we would have done differently: Implement parser using open-source code Utilize features from other plug-ins Show tree using Sidekick plug-in Batch processing using ProjectWizard Cover areas not implemented due to time constraints Scope Real-time checking Underline errors

23 Questions


Download ppt "JCheck jEdit Spellcheck Plug-in Group Section 6 2 4 8."

Similar presentations


Ads by Google