jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Sonar Plugins
  • Sonar Plugins
  • SONARPLUGINS-616

Replace Java CPD with phpcpd

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: PHP-0.2
  • Fix Version/s: PHP-0.3
  • Component/s: PHP
  • Labels:
    None
  • Number of attachments :
    1

Description

For coherence and performance reasons, this solution is fairly better than the actual one.
After last modifications (see SONARPLUGINS-218) CPD is very ressource consuming and pratically must be desactivated for large projects.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    Fixes_NPE_when_CPD_report_is_empty.patch
    21/Oct/10 12:08 PM
    1 kB
    Juergen Kellerer
  • Options
    • Show All
    • Show Open

Sub-Tasks

1.
Update wiki documentation to explain phpcpd installation Sub-task Closed Closed Akram Ben Aissi
 

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Akram Ben Aissi added a comment - 17/Sep/10 4:54 AM

Due to perfomance issue with our current implementation, we are setting this to high priority and planning to use phpcpd on version 0.3

Show
Akram Ben Aissi added a comment - 17/Sep/10 4:54 AM Due to perfomance issue with our current implementation, we are setting this to high priority and planning to use phpcpd on version 0.3
Hide
Permalink
Juergen Kellerer added a comment - 21/Oct/10 12:08 PM

The current 0.3-SNAPSHOT version (revision 2237 of PhpCpdResultParser.java) causes a NullPointerException for the case that phpcpd did not find any duplicates.

The attached patch fixes this issue.

Show
Juergen Kellerer added a comment - 21/Oct/10 12:08 PM The current 0.3-SNAPSHOT version (revision 2237 of PhpCpdResultParser.java) causes a NullPointerException for the case that phpcpd did not find any duplicates . The attached patch fixes this issue .
Hide
Permalink
Akram Ben Aissi added a comment - 15/Dec/10 5:21 PM

Sonar PHP Plugin 0.3 rely on phpcpd !

Show
Akram Ben Aissi added a comment - 15/Dec/10 5:21 PM Sonar PHP Plugin 0.3 rely on phpcpd !
Hide
Permalink
Akram Ben Aissi added a comment - 15/Dec/10 5:23 PM - edited

fix was implemeted before patch was submitted, anyway, thank you for the patch !

Show
Akram Ben Aissi added a comment - 15/Dec/10 5:23 PM - edited fix was implemeted before patch was submitted, anyway, thank you for the patch !

People

  • Assignee:
    Akram Ben Aissi
    Reporter:
    Gabriele Santini
Vote (0)
Watch (1)

Dates

  • Created:
    12/Aug/10 1:42 AM
    Updated:
    27/Dec/10 6:45 PM
    Resolved:
    15/Dec/10 5:21 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.