phpMD / PHP CodeSniffer Plugin - plugin detail

Netbeans PHP Plugin which provides violations detected by PHP Mess Detector (phpmd.org by Manuel Pichler) and warnings / infos from PHP CodeSniffer (http://pear.php.net/package/PHP_CodeSniffer/) also Notices from PHP Copy & Paste Detector (by Sebastian Bergmann https://github.com/sebastianbergmann/phpcpd)

n/a
Plugin owner: jmglsn
Website: https://sourceforge.net/projects/phpmdnb/
Added: 2011-10-05
License: GPLv3
Category: Editing
Downloaded: 11,614 times
Rating:
 4.16, by 5 users

Plugin Log Show log

Versions available

Download plugin   Download size: 0.07 MB   Last Update: 2013-12-04

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version



Verifications for NetBeans versions

7.4 verification PASSED See verification details
Download plugin   Download size: 0.08 MB   Last Update: 2014-02-07

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

Plugin now supports php checkstyle from http://code.google.com/p/phpcheckstyle/ too. - fixed "not stored changes for php checkstyle options"

Verifications for NetBeans versions

7.3 verification PASSED See verification details
Download plugin   Download size: 0.05 MB   Last Update: 2013-01-16

This plugin is also available on the NetBeans Plugin Portal Update Center. Use 'Tools > Plugins' action from the NetBeans IDE main menu for convenient installation of this plugin


What's new in this version

PHP QA Plugin for Code Sniffer (phpcs), Copy & Paste Detector (phpcpd), Mess Detector (phpmd)

Verifications for NetBeans versions

7.2 verification PASSED See verification details
Download plugin   Download size: N/A   Last Update: 2011-10-05

What's new in this version



Verifications for NetBeans versions

Plugin is not subject to any verification

Download plugin   Download size: N/A   Last Update: 2011-10-05

What's new in this version



Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

  • PHP Mess Detector Tasks in Netbeans
  • PHP Code Sniffer Tasks in Netbeans
  • PHP Copy & Paste Detector Notices in Netbeans
  • project based settings
  • exclude / include support
  • cache support
  • Toolbar Button
  • automatic file encoding detection for PHP Code Sniffer
  • Latest version currently only on project homepage: phpMD / PHP CodeSniffer NetBeans plugin on Sourceforge

[ You have to be logged in to be able to comment. ]

User Comments

  

Re: Which plugin to choose...

@taatparya
I think at this moment number 3 has the best direct editor integration. My plugin (2) uses an extra window to show results from tools, and you need to call it by using a shortcut or icon click to refresh data for current file or folder. I'm not right sure which tools number 3 supports atm, but the most relevant qa tools are present in both, you may have noticed that nb 7.4 comes with some integrated static code qa tools too.
So it depends on your usage. I use my plugin to verify my code before I commit thinks, that's the reason why I prefer one list with all open tasks, while others may want to see those thinks while they are coding. You can try all at the same time, but I won't recommend to do so in production coding, it cold slow down your computer.

Jens
Posted by jmglsn on Dec 14, 2013
  

Which plugin to choose for Netbeans 7.4

Hi,

It seems that for Netbeans for PHP 7.4, there are too many plugins available for similar features for Code Sniffer. These include:
1. Static Analysis in the Core;
2. This one i.e. http://plugins.netbeans.org/plugin/40282/phpmd-php-codesniffer-plugin
3. http://plugins.netbeans.org/plugin/42434/phpcsmd

Can anybody suggest which one should I start with or do I need to use all?

taatparya
Posted by taatparya on Dec 14, 2013
  

Copy and Paste Detector

At this time phpcpd is not available as an action item, you can use it only via "scan this". (see pictures on sourceforge project homepage) I'm not sure if phpcpd will ever become an action item...
Posted by jmglsn on May 19, 2013
  

How can I use Copy & Paste Detector?

I configured PHPCPD but not found how to use it. I tried to see through the Action Items window but does not acknowledge anything in my projects. Found that the Action Items no filter specific pro PHPCPD only for PHPCS and PHPMD.
Posted by fred.wuerges on May 19, 2013
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo