
Cyclomatic Complexity
Cyclomatic Complexity (CC) is one of the metrics we can use to measure code complexity. Lewis looks at how it is calculated and what it means for programmers.

Cyclomatic Complexity (CC) is one of the metrics we can use to measure code complexity. Lewis looks at how it is calculated and what it means for programmers.

Java assertions are a useful feature of the language. An assertion is a statement that lets us test any assumptions that we have about our code. The Java assert statement helps to reduce buggy code.

Lewis experiments with using AI to write a file walker in Java, with some more elaborate stream processing.

Lewis takes a look at how to use a stream-based approach to walking a file tree.

Lewis looks at how to walk a file tree in Java with the walkFileTree() method and the FileVIsitor interface.

In the final part of this series on memory leaks in Java, Lewis takes a look at the JDK Flight Recorder and JDK Mission Control tools. Together these create a complete tool chain to continuously collect detailed runtime information.

Now that you know about some of the causes of memory leaks in your Java program, Lewis takes a quick look at profilers and other tools that can help you, in particular VisualVM and JConsole.

Lewis looks at how you can use the verbose output from the garbage collector to find memory leaks in your Java program.

In part 4 of this series on memory leaks in Java, Lewis looks at how incorrect or missing equals() and hashCode() methods can cause memory leaks.

Lewis continues his series on how to avoid memory leaks in Java. This week he looks at the effect of string interning on memory.
Check that incusdata.com is an approved sender, so that your Java tips don’t land up in the spam folder.
Our privacy policy means your data is safe. You can unsubscribe from these tips at any time.
Thank you for completing the form. We're excited that you have chosen to contact us about training. We will process the information as soon as we can, and we will do our best to contact you within 1 working day. (Please note that our offices are closed over weekends and public holidays.)
Our privacy policy ensures your data is safe: Incus Data does not sell or otherwise distribute email addresses. We will not divulge your personal information to anyone unless specifically authorised by you.
If you need any further information, please contact us on tel: (27) 12-666-2020 or email info@incusdata.com