PowerShell / PowerShell/PSScriptAnalyzer

Proposal: Basic Telemetry for PSSA

Offen
#1,414 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Issue - Discussion
Vorherrschende Sprache
C#
Sterne
2.2k
Forks
414
Ø Merge
13 Std. 1 Min.
Gemergte PRs (30 T.)
2

Beschreibung

PSScript Analyzer Proposed Telemetry

Goal

To better understand how PSSA is being used both within PSES and in isolation in order to make informed investments in PSSA 2.0.

Questions

  • What versions of PowerShell are being used with PSSA? What versions of PowerShell should we continue to support?
  • What tasks are PSSA currently being used to accomplish?
    • To what extent is PSSA being used inside vs. outside of PSES? Which of these experiences is most important to optimize?
    • To what extent are custom rules vs. built in rules being used?
    • What is the proportional use of PSSA as a formatter vs "analyzer"?
  • To what extent are the compatibility rules being used? Which platforms are being targeted the most?
  • What rules are being turned off? What rules should we strip out?
  • Which rules are causing the largest performance delays?

Proposed Metrics

  • Version of PowerShell
  • Inside vs Outside of PSES
  • CI usage/environment type
  • Time for each rule to complete
  • Count of:
    • Known formatter type rules
    • Known analyzer type rules (tally for each one)
    • Custom rules (not on our known list)
    • Known compatibility profiles (tally for each one)
    • Use of a configuration

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Das Issue nennt keine Dateien, Tests oder Einstiegspunkte. Beginne damit, die aufgeführten Fragen und vorgeschlagenen Metriken in ein Telemetriedesign für PSSA zu überführen, das die Verwendung innerhalb und außerhalb von PSES abdeckt. Abgeschlossen ist die Aufgabe, wenn ein abgestimmter Umfang und ein Implementierungsplan für die Erfassung der vorgeschlagenen Metriken vorliegen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
powershell
Bereich
analytics, observability
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.