Files
openide/java/java-impl/resources/inspectionDescriptions/MethodCoupling.html
Leonid Shalupov 40795fe787 IJI-2422: community/java: move resources under resources root
GitOrigin-RevId: 8b2b63fc6db476ca0c2cfe5cadd84db6c4236d0f
2025-02-05 04:43:28 +00:00

14 lines
735 B
HTML

<html>
<body>
Reports methods that reference too many other classes.
Methods with too high coupling can be very fragile and should be probably split into smaller methods.
<p>Each referenced class is counted only once no matter how many times it is referenced.</p>
<!-- tooltip end -->
<p>Configure the inspection:</p>
<ul>
<li>Use the <b>Method coupling limit</b> field to specify the maximum allowed coupling for a method.</li>
<li>Use the <b>Include couplings to java system classes</b> option to count references to classes from <code>java</code>or <code>javax</code> packages.</li>
<li>Use the <b>Include couplings to library classes</b> option to count references to third-party library classes.</li>
</ul>
</body>
</html>