Code metrics

Measuring source code: its size, the complexity of its conditions, the coupling between classes and the cohesion inside one, and showing where those numbers concentrate across a package. Raising findings against a rule is static analysis.

Overview

SAP SHIPS

The Code Metric Tool, program /SDF/CD_CUSTOM_CODE_METRIC, reached from transaction /SDF/CD_CCA, counts lines of code, statements and comments and computes complexity of conditions and complexity weighted by decision depth.

Not covered: At size and complexity. Coupling between objects and cohesion within a class are not among the metrics listed for it.

The metric list rests on a community article about the tool; no SAP page describing it was retrieved. How the community entries relate to the tool has not been assessed.

Sourcekseretis/abap-metrics: READMEchecked

Artifacts2

2 of 2 artifacts
ArtifactSignals
Apps1
abap-metricsSoftware-engineering metrics for an ABAP class or package
Signals
Quiet
Packages1
BenjaminWeisheit/ABAP-2-CODE-CHARTAConverts ABAP code metrics into Code Charta's JSON format
Signals
Quiet

Details

Coverage
statecore and community, ABAP
assessed
relationshipunassessed
Sourcekseretis/abap-metrics: READMEchecked SourceSaptechnicalguru.com: ABAP code metric toolchecked
For your agent