PMD for Salesforce Code Check

PMD is a source code analyzer. It finds common programming flaws like unused variables, empty catch blocks, unnecessary object creation, and so forth. It supports Java, JavaScript, Salesforce.com Apex and Visualforce, PLSQL, Apache Velocity, XML, XSL.
Additionally it includes CPD, the copy-paste-detector. CPD finds duplicated code in Java, C, C++, C#, Groovy, PHP, Ruby, Fortran, JavaScript, PLSQL, Apache Velocity, Scala, Objective C, Matlab, Python, Go, Swift and Salesforce.com Apex and Visualforce.

Please note, that this module requires a Java 8 runtime environment.

Use link – https://dl.bintray.com/pmd/pmd-eclipse-plugin/updates/
to install PMD Software in eclipse from Help->Install New Software->Add Repository.

After installation Just right click on your project and select ‘Check Code‘ in PMD
You can generate PMD report which create Report folder in your project location.

Advertisements

Platform developer 1 Dumps

Salesforce Platform Developer 1 certification questions.

1. What is a good practice for a developer to follow when writing a trigger? Choose 2 answers.
A. Using the Map data structure to hold query results by ID.
B. Using @future methods to perform DML operations.
C. Using the set data structure to ensure distinct records.
D. Using asynchronous callouts to call external systems.

2. Which code block returns the ListView of an Account object using the following debug statement?
system.debug(controller.getListViewOptions());
A. ApexPages.StandardSetController controller = new ApexPages.StandardSetController([ SELECT Id from Account LIMIT 1]);
B. ApexPages.StandardController controller = new ApexPages.StandardController(Database.queryLocator(‘SELECT Id from Account LIMIT 1’));
C. ApexPages.StandardController controller = new ApexPages.StandardController([ SELECT Id from Account LIMIT 1]);
D. ApexPages.StandardSetController controller = new ApexPages.StandardSetController(Database.queryLocator(‘SELECT Id from Account LIMIT 1’));

3. Which data type of collection of data types can SOQL statements populate or evaluate to? Choose 3 answers.
A. A Boolean
B. An Integer
C. A list of sObjects
D. A single sObject
E. A String

 

Salesforce app builder certification questions

Salesforce app builder certification questions

Q1. Sam is trying to convert a master detail relationship into a look up relationship, however is not able to do so. What could be the reason?
Choose 1 answer.

  • A. All records do not have the master relationship field populated
  • B. The Master relationship field is marked required on page layout
  • C. A roll up summary field exists on the master object
  • D. It is not possible to convert master detail to look up relationship

 

Q2. In a Salesforce1 Mobile app, which of the following corresponds to the tab area in the browser based application?

Choose 1 answer.

  • A. Navigation Menu
  • B. Header
  • C. Footer
  • D. Welcome screen

Please sent mail to rathod.suhas@gmail.com for all App developer dumps

Dump 1 : 60 Questions

Dump 2 : 61 Questions

Dump 3 : 60 Questions

Dump 4 : 104 Questions

We provide more informative docs of Salesforce with this. 

 

What is Cloud computing?

Cloud computing is a general term for the delivery of hosted services over the Internet.

Cloud computing enables companies to consume compute resources as a utility — just like electricity — rather than having to build and maintain computing infrastructures in-house.
Cloud computing promises several attractive benefits for businesses and end users. Three of the main benefits of cloud computing include:

• Self-service provisioning: End users can spin up computing resources for almost any type of workload on-demand.
• Elasticity: Companies can scale up as computing needs increase and then scale down again as demands decrease.
• Pay per use: Computing resources are measured at a granular level, allowing users to pay only for the resources and workloads they use.

Cloud computing services can be private, public or hybrid.