PowerShell / PowerShell/PSScriptAnalyzer

Proposal: Basic Telemetry for PSSA

Đang mở
#1,414 3 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Issue - Discussion
Ngôn ngữ chính
C#
Star
2.2k
Fork
414
Merge trung bình
13 giờ 1 phút
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Issue không nêu tên tệp, bài kiểm thử hoặc điểm vào nào. Hãy bắt đầu bằng cách chuyển các câu hỏi được liệt kê và các chỉ số được đề xuất thành một thiết kế telemetry cho PSSA, bao quát việc sử dụng bên trong và bên ngoài PSES. Công việc được xem là hoàn tất khi có phạm vi đã thống nhất và kế hoạch triển khai để thu thập các chỉ số được đề xuất.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
powershell
Lĩnh vực
analytics, observability
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.