224 Commits

Author SHA1 Message Date
Andreas Dangel
847ea1c084 [maven-release-plugin] prepare release pmd_releases/5.5.3 2017-01-28 14:43:17 +01:00
Sergey
0c351b1917 Caching of results 2017-01-28 09:47:20 +01:00
Sergey
6fa51ec364 Reporting modifier 2017-01-28 09:47:20 +01:00
Sergey Gorbaty
e95d1ef372 Adding a test 2017-01-24 14:27:35 -03:00
Sergey Gorbaty
3079ce26a8 Bug fix 2017-01-24 14:27:29 -03:00
Sergey
ba325eb8a2 Dead code removal 2017-01-16 18:25:33 -03:00
Sergey
1bbd10f01b Detection of sharing violation when Database. methods are used 2017-01-16 17:36:20 -03:00
Sergey
fb25329e0d Bug fix to improve detection of concatenated vars 2017-01-16 15:23:26 -03:00
Sergey
7e83147a61 Unit test bug 2017-01-16 15:02:43 -03:00
Juan Martín Sotuyo Dodero
80b2792db5 Fix #183 - Count whole expressions as 1 line
- This is consistent with how we count "lines" in other languages.
 - Notice we are not actually counting lines, so multiline expressions are
    counted as 1.
 - Having multiple variable declarations together is still counting 1 per variable.
2017-01-15 18:33:06 +01:00
Juan Martín Sotuyo Dodero
16b9d566f3 Merge branch 'pr-184' into pmd/5.5.x 2017-01-12 22:35:05 -03:00
Sergey
79121c42cc Comment to warn future folks to check Apex compiler implementation first 2017-01-12 22:28:45 -03:00
Sergey Gorbaty
edabb22f37 Improving detection for assignment operator 2017-01-12 22:28:45 -03:00
Sergey Gorbaty
a38526544a Improving open redirect detection for static fields 2017-01-12 22:28:45 -03:00
Juan Martín Sotuyo Dodero
9b0839a46c Merge branch 'pr-181' into pmd/5.5.x 2017-01-12 21:38:21 -03:00
Sergey
608c9139be Bug fix #3 for else statements 2017-01-12 21:32:07 -03:00
Sergey
9db4b2503d Bug fixes part 2 2017-01-12 21:32:07 -03:00
Sergey
9d384f404c Bug fixes 2017-01-12 21:32:07 -03:00
Sergey Gorbaty
7a3ab3d7a1 Accessibility checks improved with CF 2017-01-12 21:31:31 -03:00
Sergey Gorbaty
9baf99f19d CF based CRUD rule checking 2017-01-12 21:31:31 -03:00
Sergey
03a5aa2519 Legacy test class declaration 2017-01-07 22:21:33 -03:00
Sergey
9c85a78884 Improving open redirect detection for strings prefixed with / 2017-01-07 22:00:48 -03:00
Andreas Dangel
04cefcbe06 GC and thread safety changes
(Re-applied from 10e3bc172bd7a2b97b2a98fcf423a3232d3bdd25)
2017-01-04 20:18:21 +01:00
Andreas Dangel
2566bbaf2e apex: Take over rule descriptions from changelog for security ruleset 2017-01-04 20:06:36 +01:00
Sergey
5e07095f0c Bug fix for missing casting methods 2017-01-04 19:52:06 +01:00
Sergey
9aae5a191b New rule suggests using named credentials 2017-01-02 15:14:05 -03:00
Sergey
7d691e6c69 Adding support for property 2017-01-02 14:29:12 -03:00
Juan Martín Sotuyo Dodero
5c6f808a45 Rename variable to match Checkstyle config 2016-12-21 08:52:18 -03:00
Sergey
01bb78b974 Improving detection for DML with inline new object 2016-12-21 08:40:00 -03:00
Sergey
6bf31ece84 GC and thread safety changes 2016-12-16 16:24:33 -03:00
Sergey Gorbaty
5e2db6c42b Removing static 2016-12-16 15:46:22 -03:00
Sergey Gorbaty
5f908a306d Clearing data collection 2016-12-16 15:46:12 -03:00
Sergey Gorbaty
64e193fcb6 Bug fix - contd 2016-12-16 15:46:04 -03:00
Sergey Gorbaty
27936a5e04 Improving open redirect rule to avoid test classes/methods 2016-12-16 15:45:53 -03:00
Juan Martín Sotuyo Dodero
6c8f3489f8 Avoid shared rule state 2016-12-14 18:13:24 -03:00
Sergey Gorbaty
251a4254c7 Clearing collection after detection 2016-12-14 17:32:58 -03:00
Sergey
f2eb813419 Finetuning of regex 2016-12-14 17:32:52 -03:00
Sergey
1d5e0e5304 Flagging of System.debug 2016-12-14 17:32:46 -03:00
Sergey
8864936c1b Adding to the rule chain 2016-12-13 10:01:33 -03:00
Sergey
d1acba8fc9 Code style changes 2016-12-13 10:01:24 -03:00
Sergey
19bdf1419f Rule check-in 2016-12-13 10:01:16 -03:00
Sergey Gorbaty
5f79c56bc5 Moving Pattern 2016-12-10 18:11:48 -03:00
Sergey Gorbaty
f9882bec87 Improving getter detection 2016-12-10 18:11:41 -03:00
Juan Martín Sotuyo Dodero
a854dae229 Fix checkstyle violations 2016-12-08 19:25:38 -03:00
Sergey Gorbaty
920a58a043 Code style fixes 2016-12-08 19:17:08 -03:00
Sergey Gorbaty
f9f4a7f1a1 Refactoring other rules for FQvariableName 2016-12-08 19:16:31 -03:00
Sergey Gorbaty
06ef5abf9e Refactoring of variable name collection 2016-12-08 19:12:32 -03:00
Sergey Gorbaty
2d10c55e3f Bug fix that addresses recognition of object member variable as a variable of class 2016-12-08 19:10:59 -03:00
Sergey Gorbaty
4edc552692 Improving detection of SOQL injection with variables flowing into Database.query 2016-12-02 17:12:05 -03:00
Sergey Gorbaty
8719fbdd0e Whitelisting String.isEmpty
Improved detection of casting and additional test cases
Typo fix
2016-12-02 16:43:48 -03:00