Other files ignored by Codecov
Showing 3 of 7 files from the diff.
@@ -320,9 +320,8 @@
Loading
320 | 320 | } |
|
321 | 321 | } |
|
322 | 322 | ||
323 | - | /* And then let's just output attributes, if any (whether to copy |
|
324 | - | * implicit, aka "default" attributes, is configurable) |
|
325 | - | */ |
|
323 | + | // And then let's just output attributes, if any (whether to copy |
|
324 | + | // implicit, aka "default" attributes, is configurable) |
|
326 | 325 | int attrCount = mCfgCopyDefaultAttrs ? |
|
327 | 326 | attrCollector.getCount() : |
|
328 | 327 | attrCollector.getSpecifiedCount(); |
@@ -777,7 +777,7 @@
Loading
777 | 777 | writeEndDocument(); |
|
778 | 778 | return; |
|
779 | 779 | ||
780 | - | // Element start/end events: |
|
780 | + | // Element start/end events: |
|
781 | 781 | case START_ELEMENT: |
|
782 | 782 | if (sr instanceof StreamReaderImpl) { |
|
783 | 783 | StreamReaderImpl impl = (StreamReaderImpl) sr; |
@@ -875,7 +875,14 @@
Loading
875 | 875 | ||
876 | 876 | case PROCESSING_INSTRUCTION: |
|
877 | 877 | { |
|
878 | + | mAnyOutput = true; |
|
879 | + | // Need to finish an open start element? |
|
880 | + | if (mStartElementOpen) { |
|
881 | + | closeStartElement(mEmptyElement); |
|
882 | + | } |
|
878 | 883 | mWriter.writePIStart(sr.getPITarget(), true); |
|
884 | + | // Similar to COMMENT, contents assumed to have been validated; |
|
885 | + | // no escaping allowed, so: |
|
879 | 886 | sr.getText(wrapAsRawWriter(), preserveEventData); |
|
880 | 887 | mWriter.writePIEnd(); |
|
881 | 888 | } |
Files | Complexity | Coverage |
---|---|---|
src/main/java/com/ctc/wstx | 51.13% | 60.53% |
Project Totals (168 files) | 51.13% | 60.53% |
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.