Code review comment: why we are passing in a null value here?

Code under review:
private void createReport(final IBundleCoverage bundleCoverage, ModuleCoverage moduleCoverage) {
        boolean containsSourceFiles = true;
        for (IPackageCoverage packageCoverage : bundleCoverage.getPackages()) {
            if (TesterinaConstants.DOT.equals(this.module.moduleName())) {
                containsSourceFiles = packageCoverage.getName().isEmpty();
            }
            if (containsSourceFiles) {
                for (ISourceFileCoverage sourceFileCoverage : packageCoverage.getSourceFiles()) {
                    
                    
                    
                    String sourceFileModule = decodeIdentifier(sourceFileCoverage.getPackageName().split("/")[1]);
                    
                    if (sourceFileModule.equals(this.module.moduleName().toString())
                            && sourceFileCoverage.getName().contains(BLANG_SRC_FILE_SUFFIX)
                            && !sourceFileCoverage.getName().contains("tests/")) {
                        List<Integer> coveredLines = new ArrayList<>();
                        List<Integer> missedLines = new ArrayList<>();

                        for (int i = sourceFileCoverage.getFirstLine(); i <= sourceFileCoverage.getLastLine(); i++) {
                            ILine line = sourceFileCoverage.getLine(i);
                            if (line.getStatus() == NOT_COVERED) {
                                missedLines.add(i);
                            } else if (line.getStatus() == PARTLY_COVERED || line.getStatus() == FULLY_COVERED) {
                                coveredLines.add(i);
                            }
                        }
                        Document document = null;
                        for (DocumentId documentId : module.documentIds()) {
                            if (module.document(documentId).name().equals(sourceFileCoverage.getName())) {
                                document = module.document(documentId);
                            }
                        }
                        moduleCoverage.addSourceFileCoverage(document, coveredLines, missedLines);
                    }
                }
            }
        }
    }

Line commented on: boolean containsSourceFiles = true;

Revised code:
private void createReport(final IBundleCoverage bundleCoverage, ModuleCoverage moduleCoverage) {
        boolean containsSourceFiles = true;

        for (IPackageCoverage packageCoverage : bundleCoverage.getPackages()) {
            if (TesterinaConstants.DOT.equals(this.module.moduleName())) {
                containsSourceFiles = packageCoverage.getName().isEmpty();
            }

            if (containsSourceFiles) {
                for (ISourceFileCoverage sourceFileCoverage : packageCoverage.getSourceFiles()) {
                    
                    
                    
                    String sourceFileModule = decodeIdentifier(sourceFileCoverage.getPackageName().split("/")[1]);

                    
                    if (sourceFileModule.equals(this.module.moduleName().toString())
                            && sourceFileCoverage.getName().contains(BLANG_SRC_FILE_SUFFIX)
                            && !sourceFileCoverage.getName().contains("tests/")) {
                        List<Integer> coveredLines = new ArrayList<>();
                        List<Integer> missedLines = new ArrayList<>();

                        for (int i = sourceFileCoverage.getFirstLine(); i <= sourceFileCoverage.getLastLine(); i++) {
                            ILine line = sourceFileCoverage.getLine(i);
                            if (line.getStatus() == NOT_COVERED) {
                                missedLines.add(i);
                            } else if (line.getStatus() == PARTLY_COVERED || line.getStatus() == FULLY_COVERED) {
                                coveredLines.add(i);
                            }
                        }
                        Document document = null;
                        for (DocumentId documentId : module.documentIds()) {
                            if (module.document(documentId).name().equals(sourceFileCoverage.getName())) {
                                document = module.document(documentId);
                            }
                        }
                        moduleCoverage.addSourceFileCoverage(document, coveredLines, missedLines);

                    }
                }
            }
        }
    }