| Anonymous | Login | 2010-09-08 18:29 BST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki |
| View Issue Details[ Jump to Notes ] [ Wiki ] | [ Issue History ] [ Print ] | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |
| 0000076 | jquantlib | [All Projects] tools | public | 2008-12-27 14:17 | 2009-03-09 00:08 | |
| Reporter | Richard Gomes | |||||
| Assigned To | Satyendra Gurjar | |||||
| Priority | normal | Severity | major | Reproducibility | have not tried | |
| Status | closed | Resolution | fixed | |||
| Platform | OS | OS Version | ||||
| Product Version | ||||||
| Target Version | 0.1.2 | Fixed in Version | 0.1.2 | |||
| Summary | 0000076: Create PMD rule which detects multiple top level classes inside a single .java file | |||||
| Description | A certain .java file must have only one top level class. This is a "marking task", i.e: once PMD produces the report, we need to create tasks for every case reported by PMD and then solve all occurrences. | |||||
| Steps To Reproduce | 1. Open CzechRepublic.java 2. Notice that there are 2 top level classes: CzechRepublic and CzechRepublicPSECalendar | |||||
| Tags | No tags attached. | |||||
| Attached Files | ||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0000104) Richard Gomes (manager) 2009-02-02 02:35 |
* I've created colt.xml and fastutil.xml under directory src/main/pmd as example. * I've integrated these 2 rulesets in pom.xml near line 900: <ruleset>${basedir}/src/main/pmd/colt.xml</ruleset> <ruleset>${basedir}/src/main/pmd/fastutil.xml</ruleset> * The following articles explain how PMD rulesets can be created: http://pmd.sourceforge.net/howtowritearule.html [^] http://www.onjava.com/pub/a/onjava/2003/04/09/pmd_rules.html [^] |
|
(0000164) Satyendra Gurjar (developer) 2009-02-11 11:19 |
found rule //CompilationUnit[count(/TypeDeclaration) > 1] will check in rules xml |
|
(0000183) Satyendra Gurjar (developer) 2009-02-16 17:29 |
added pmd/multipletopleveltypes.xml |
|
(0000233) Richard Gomes (manager) 2009-03-09 00:08 |
Rule moved to architectural.xml |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2008-12-27 14:17 | Richard Gomes | New Issue | |
| 2008-12-27 15:20 | Richard Gomes | Issue Monitored: Richard Gomes | |
| 2008-12-27 15:20 | Richard Gomes | Issue Monitored: Renjith Nair | |
| 2009-01-25 22:41 | Richard Gomes | Target Version | => 0.1.2 |
| 2009-01-25 23:25 | Richard Gomes | Relationship added | child of 0000030 |
| 2009-02-02 02:35 | Richard Gomes | Note Added: 0000104 | |
| 2009-02-11 11:18 | Satyendra Gurjar | Status | new => assigned |
| 2009-02-11 11:18 | Satyendra Gurjar | Assigned To | => Satyendra Gurjar |
| 2009-02-11 11:19 | Satyendra Gurjar | Note Added: 0000164 | |
| 2009-02-16 17:29 | Satyendra Gurjar | Note Added: 0000183 | |
| 2009-02-16 17:29 | Satyendra Gurjar | Status | assigned => resolved |
| 2009-02-16 17:29 | Satyendra Gurjar | Resolution | open => fixed |
| 2009-03-09 00:08 | Richard Gomes | Note Added: 0000233 | |
| 2009-03-09 00:08 | Richard Gomes | Status | resolved => closed |
| 2009-03-09 00:08 | Richard Gomes | Fixed in Version | => 0.1.2 |
| Copyright © 2000 - 2009 MantisBT Group |