Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sf-org-summary

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sf-org-summary

## Overview

  • 0.4.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

SF Org Summary

SF Org Summary is a powerful Salesforce CLI plugin designed to provide a comprehensive overview of your Salesforce Org instance(s). This tool offers valuable insights into key metadata, test results, code metrics, usage of limit-related resources, linter results, and more, empowering you to better understand and monitor your Salesforce environment.

Features

Component Summary

Utilize the Tooling API to aggregate and track metadata details. Get a quick overview of component totals, including the last modified date.

Tests Summary

Run Apex tests and analyze the health of your codebase. Evaluate the overall test coverage of your Apex code and Flows.

Org Limits Overview

Fetch actual usage related to Salesforce Org limits to ensure you stay within the allowed thresholds.

Code Analysis

Identify and analyze potential risks in your codebase for Apex and JavaScript. Receive insights into various aspects such as severity, file location, and suggested improvements. The tool also measures the lines of code in your Apex Classes, Triggers, Aura Components, Lightning Web Components, and Static Resources, providing context by calculating the average amount of issues per line of code. The breakdown of lines of code includes total lines, comments, and actual code lines.

Health Check Score

Assess the health of your Salesforce instance with a comprehensive health check score. Understand the amount of open risks versus compliance and receive detailed information about security-related settings.

Installation

Install the SF Org Summary plugin seamlessly into your Salesforce CLI environment:

sfdx plugins:install sf-org-summary

Usage

sfdx summarize:org [flags]

Options

-c, --components <datapoint1,datapoint2>: Specify the data points to include in the summary.
-g, --nohealthcheck: Skip fetching and displaying Salesforce Health Check Score and Risks.
-k, --keepdata: Keep the intermediate data files generated during the summary process.
-l, --nolimits: Skip fetching and displaying Salesforce Org limits.
-s, --nocodeanalysis: Skip counting lines of code.
-t, --notests: Skip running Apex tests during the summary.
-u, --targetusername <username>: Specify the target Salesforce Org username.

Examples

Get a summary for a Salesforce org:

sfdx summarize:org -u my-org-username

Get a summary of specific components while skipping apex tests:

sfdx summarize:org -u my-org-username --notests -c ApexClass,ApexTrigger,LightningComponentBundle

Keywords

FAQs

Package last updated on 01 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc