afawcett / apex-codeanalysis

Force.com Apex code analyser using the Tooling API and Canvas
BSD 3-Clause "New" or "Revised" License
50 stars 49 forks source link

How to install this in Salesforce org #3

Open paviinfotech opened 8 years ago

paviinfotech commented 8 years ago

Hi Sir,

I am new to salesforce, I wanted to do a code analysis in Salesforce org. I dont have any clue on how to use this. Do we need to install the MAVEN in salesforce. the question would be silly, please adjust my ignorance.

Please help me to guide how to use this tool.

afawcett commented 7 years ago

This project really started as a bit of a proof of concept, linked with the related blog i wrote around the Tooling API. There is a gap in terms of it not recognising usage of methods in test code or Visualforce markup. I had hoped Salesforce would improve the API, if they had have done i would have made the tool easier to instal, via a package, but so far they have not. I will log your feedback as an enhancement though and if one day my motivations change and/or someone from the community wants to help address the gaps, we can make things a bit easier. For now you will need to know something about Heroku development.

MorganMarchese commented 1 year ago

@afawcett since you're "on the inside" now, any chance of you getting the product team to take these gaps seriously? It's 2023 and we still don't have an easy mechanism for scanning our codebase for unused references/classes - this has become significantly important to me as our org is reaching our apex limit but I don't believe we are reaching it legitimately. Unfortunately today that means manually sifting through many thousands of apex classes and 6 million lines of code to identify redundancies...