Main Content

モデル メトリクス

モデルの準拠性メトリクス データを収集してカスタム モデル メトリクスを作成

モデル メトリクスを使用して、モデルとコードがサイズ、複雑度、可読性の要件に準拠しているかどうかを評価することができます。カスタム モデル メトリクスの作成、メトリクス結果の計算、およびメトリクス データのエクスポートを行うには、モデル メトリクス API を使用します。モデルのメトリクス データと準拠性ステータスを可視化するには、メトリクス ダッシュボードを使用します。はじめに、メトリクス ダッシュボードを使用したメトリクス データの収集と確認を参照してください。

クラス

すべて展開する

slmetric.Engine(削除予定) モデルまたはモデル コンポーネントに関するメトリクス データを収集する
slmetric.metric.MetaInformation(To be removed) Access meta-information for metrics
slmetric.metric.Result(To be removed) Metric data for specified model component and metric algorithm
slmetric.metric.ResultCollection(To be removed) Metric data for specified model metric
slmetric.metric.ResultDetail(To be removed) Details about instances of slmetric.metric.Result objects
slmetric.metric.ResultClassification(To be removed) Access metric data thresholds results
slmetric.config.Configuration(削除予定) メトリクス データ カテゴリおよびカスタム メトリクス ファミリを指定する
slmetric.config.ThresholdConfiguration(To be removed) Specify metric and slmetric.metric.Result property for thresholding
slmetric.config.Threshold(削除予定) メトリクス結果しきい値を保持するオブジェクト
slmetric.config.Classification(削除予定) カテゴリカル メトリクス データ範囲の指定
slmetric.config.MetricRange(To be removed) Specify metric data threshold values
slmetric.dashboard.Configuration(To be removed) Object containing information on Metrics Dashboard layout and widgets
slmetric.dashboard.Container (To be removed) Widget for holding slmetric.dashboard.Widget and slmetric.dashboard.CustomWidget objects in Metrics Dashboard
slmetric.dashboard.CustomWidget(削除予定) カスタム メトリクス ダッシュボード ウィジェットを保持するオブジェクト
slmetric.dashboard.Group(To be removed) Widget for holding slmetric.dashboard.Container, slmetric.dashboard.Widget and slmetric.dashboard.CustomWidget objects on Metrics Dashboard
slmetric.dashboard.Layout(削除予定) メトリクス ダッシュボードのカスタマイズを保持するオブジェクトを作成する
slmetric.dashboard.Widget(削除予定) 実際の再利用/可能な再利用、システム インターフェイス、またはシステム情報ウィジェットを保持するオブジェクト
Advisor.component.Componentメトリクス解析のコンポーネントを作成する
Advisor.component.Typesコンポーネント タイプを指定する enum クラスの作成
slmetric.metric.Metric(削除予定) モデル メトリクスを作成する抽象クラス

関数

すべて展開する

metricsdashboard(削除予定) メトリクス ダッシュボードを開く
slmetric.metric.getAvailableMetrics(削除予定) 利用可能なメトリクスの取得
slmetric.config.getActiveConfiguration(削除予定) アクティブなメトリクス ダッシュボード カスタム構成を含む XML ファイルのファイル パスおよび名前を取得する
slmetric.config.setActiveConfiguration(To be removed) Activate custom configuration for metric engine to use
slmetric.dashboard.setActiveConfiguration(削除予定) カスタム メトリクス ダッシュボード レイアウトを有効にする
slmetric.dashboard.getActiveConfiguration(削除予定) アクティブなメトリクス ダッシュボード レイアウトを含む XML ファイルのファイル パスおよび名前を取得する
slmetric.metric.createNewMetricClass(削除予定) カスタム モデル メトリクスの新規メトリクス クラスを作成する
slmetric.metric.registerMetric(To be removed) Register a custom model metric with the model metric repository
slmetric.metric.unregisterMetric(To be removed) Unregister a custom model metric from the model metric repository
slmetric.metric.refresh(To be removed) Update available model metrics

トピック

モデル保守性ダッシュボードへの移行

メトリクス データの確認

メトリクスとダッシュボード機能のカスタマイズ