b4e9b0ae88cc7b2b604ef44e9286f322acd079ae
Files Diff
- Added: 1
- Removed: 4
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 3 | ||
Move And Rename Method private writeCounter(element XMLElement, missedattr String, coveredattr String, counter ICounter) : void from class org.jacoco.report.internal.xml.XMLCoverageWriter to private counterAttributes(element XMLElement, missedattr String, coveredattr String, counter ICounter) : void from class org.jacoco.report.internal.xml.ReportElement | From | To | |
Move And Rename Method private writeMethod(m IMethodCoverage, parent XMLElement) : void from class org.jacoco.report.internal.xml.XMLCoverageWriter to public method(coverage IMethodCoverage) : ReportElement from class org.jacoco.report.internal.xml.ReportElement | From | To | |
Move And Rename Method public testMinimalHTMLDocument() : void from class org.jacoco.report.internal.html.HTMLDocumentTest to public should_create_minimal_valid_html_document() : void from class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Change Parameter Type | 5 | ||
Change Parameter Type parent : XMLElement to parent : ReportElement in method private writePackage(p IPackageCoverage, parent ReportElement) : void in class org.jacoco.report.internal.xml.XMLCoverageWriter | From | To | |
Change Parameter Type parent : XMLElement to parent : ReportElement in method private writeSourceFile(s ISourceFileCoverage, parent ReportElement) : void in class org.jacoco.report.internal.xml.XMLCoverageWriter | From | To | |
Change Parameter Type element : XMLElement to element : ReportElement in method public writeBundle(bundle IBundleCoverage, element ReportElement) : void in class org.jacoco.report.internal.xml.XMLCoverageWriter | From | To | |
Change Parameter Type element : XMLElement to element : ReportElement in method public XMLGroupVisitor(element ReportElement, name String) in class org.jacoco.report.internal.xml.XMLGroupVisitor | From | To | |
Change Parameter Type parent : XMLElement to parent : ReportElement in method private writeClass(c IClassCoverage, parent ReportElement) : void in class org.jacoco.report.internal.xml.XMLCoverageWriter | From | To | |
Move Method | 2 | ||
Move Method public head() : HTMLElement from class org.jacoco.report.internal.html.HTMLDocument to public head() : HTMLElement from class org.jacoco.report.internal.html.HTMLElement | From | To | |
Move Method public body() : HTMLElement from class org.jacoco.report.internal.html.HTMLDocument to public body() : HTMLElement from class org.jacoco.report.internal.html.HTMLElement | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute private HEADER_STANDALONE : String from class org.jacoco.report.internal.xml.XMLDocument to private HEADER_STANDALONE : String from class org.jacoco.report.internal.xml.XMLElement | From | To | |
Pull Up Attribute private HEADER : String from class org.jacoco.report.internal.xml.XMLDocument to private HEADER : String from class org.jacoco.report.internal.xml.XMLElement | From | To | |
Pull Up Attribute private DOCTYPE : String from class org.jacoco.report.internal.xml.XMLDocument to private DOCTYPE : String from class org.jacoco.report.internal.xml.XMLElement | From | To | |
Move Attribute | 2 | ||
Move Attribute private SYSTEM : String from class org.jacoco.report.internal.html.HTMLDocument to private SYSTEM : String from class org.jacoco.report.internal.html.HTMLElement | From | To | |
Move Attribute private PUBID : String from class org.jacoco.report.internal.html.HTMLDocument to private PUBID : String from class org.jacoco.report.internal.html.HTMLElement | From | To | |
Change Variable Type | 21 | ||
Change Variable Type doc : HTMLDocument to html : HTMLElement in method public render() : void in class org.jacoco.report.internal.html.page.ReportPage | From | To | |
Change Variable Type doc : Document to html : HTMLElement in method private parseDoc() : Document in class org.jacoco.report.internal.html.table.CounterColumnTest | From | To | |
Change Variable Type doc : Document to html : HTMLElement in method private parseDoc() : Document in class org.jacoco.report.internal.html.table.LabelColumnTest | From | To | |
Change Variable Type doc : Document to html : HTMLElement in method private parseDoc() : Document in class org.jacoco.report.internal.html.table.BarColumnTest | From | To | |
Change Variable Type doc : Document to html : HTMLElement in method private parseDoc() : Document in class org.jacoco.report.internal.html.table.PercentageColumnTest | From | To | |
Extract Method | 53 | ||
Extract Method private parseDoc() : Document extracted from public testItemTotal() : void in class org.jacoco.report.internal.html.table.CounterColumnTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testFooter2() : void in class org.jacoco.report.internal.html.table.PercentageColumnTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testALinkable2() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testItemWithLink() : void in class org.jacoco.report.internal.html.table.LabelColumnTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testItemCovered() : void in class org.jacoco.report.internal.html.table.CounterColumnTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testHighlightNone() : void in class org.jacoco.report.internal.html.page.SourceHighlighterTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testTd1() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testTbody() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testTable() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testLink() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testSpan1() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testLocale() : void in class org.jacoco.report.internal.html.table.CounterColumnTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testHighlightBranchesFC() : void in class org.jacoco.report.internal.html.page.SourceHighlighterTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testSetLanguage() : void in class org.jacoco.report.internal.html.page.SourceHighlighterTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testALinkable3() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testDefaultTabWidth() : void in class org.jacoco.report.internal.html.page.SourceHighlighterTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testTd2() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testTitle() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testDiv() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testItemMissed() : void in class org.jacoco.report.internal.html.table.CounterColumnTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testSpan2() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testHighlighting() : void in class org.jacoco.report.internal.html.page.SourceHighlighterTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testPre() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testItem1() : void in class org.jacoco.report.internal.html.table.PercentageColumnTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testHighlightBranchesPC() : void in class org.jacoco.report.internal.html.page.SourceHighlighterTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testH1() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testNoBars() : void in class org.jacoco.report.internal.html.table.BarColumnTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testALinkable4() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testLocale() : void in class org.jacoco.report.internal.html.table.PercentageColumnTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testTfoot() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testItem2() : void in class org.jacoco.report.internal.html.table.PercentageColumnTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testSpan3() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testA1() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testRedBarOnly() : void in class org.jacoco.report.internal.html.table.BarColumnTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testFooter() : void in class org.jacoco.report.internal.html.table.LabelColumnTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testBarWidths() : void in class org.jacoco.report.internal.html.table.BarColumnTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testP() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testImg() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testThead() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testGreenBarOnly() : void in class org.jacoco.report.internal.html.table.BarColumnTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testCode() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testHighlightBranchesNC() : void in class org.jacoco.report.internal.html.page.SourceHighlighterTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testA2() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testFooter() : void in class org.jacoco.report.internal.html.table.CounterColumnTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testDefaultLanguage() : void in class org.jacoco.report.internal.html.page.SourceHighlighterTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testTr() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testALinkable1() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testRounding() : void in class org.jacoco.report.internal.html.table.PercentageColumnTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testFooter1() : void in class org.jacoco.report.internal.html.table.PercentageColumnTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testFooter() : void in class org.jacoco.report.internal.html.table.BarColumnTest | From | To | |
Extract Method private assertContent(expected String) : void extracted from public testMeta() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testLocale() : void in class org.jacoco.report.internal.html.table.BarColumnTest | From | To | |
Extract Method private parseDoc() : Document extracted from public testItemWithoutLink() : void in class org.jacoco.report.internal.html.table.LabelColumnTest | From | To | |
Rename Method | 35 | ||
Rename Method public testThead() : void renamed to public thead_should_create_thead_tag() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testSpan3() : void renamed to public span_should_create_span_tag_with_class_and_id_attribute() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testSpan2() : void renamed to public span_should_create_span_tag_with_class_attribute() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testP() : void renamed to public p_should_create_p_tag() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testTd2() : void renamed to public td_should_create_td_tag_with_class_attribute() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public setUp() : void renamed to public setup() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testPre() : void renamed to public pre_should_create_pre_tag_with_class_attribute() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testALinkable1() : void renamed to public a_should_create_span_tag_when_no_link_is_given() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testAddAttributeToClosedNode() : void renamed to public attr_should_throw_exception_when_closed() : void in class org.jacoco.report.internal.xml.XMLElementTest | From | To | |
Rename Method public testAddTextToClosedNode() : void renamed to public text_should_throw_exception_when_closed() : void in class org.jacoco.report.internal.xml.XMLElementTest | From | To | |
Rename Method public testTbody() : void renamed to public tbody_should_create_tbody_tag() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testLink() : void renamed to public link_should_create_link_tag_with_attributes() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public setUp() : void renamed to public setup() : void in class org.jacoco.report.internal.xml.XMLElementTest | From | To | |
Rename Method public testImg() : void renamed to public img_should_create_img_tag_with_attributes() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testCode() : void renamed to public code_should_create_code_tag() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testTitle() : void renamed to public title_should_create_title_tag() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testEmptyNode() : void renamed to public close_should_be_allowed_multiple_times() : void in class org.jacoco.report.internal.xml.XMLElementTest | From | To | |
Rename Method public testTd1() : void renamed to public td_should_create_td_tag() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testALinkable2() : void renamed to public a_should_create_span_tag_with_class_attribute_when_no_link_is_given() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testTr() : void renamed to public tr_should_create_tr_tag() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testMixedContent() : void renamed to public text_should_allow_mixing_with_elements() : void in class org.jacoco.report.internal.xml.XMLElementTest | From | To | |
Rename Method public testMeta() : void renamed to public meta_should_create_meta_tag_with_attributes() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method private getDocument() : Document renamed to private parseDoc() : Document in class org.jacoco.report.internal.xml.XMLGroupVisitorTest | From | To | |
Rename Method public testH1() : void renamed to public h1_should_create_h1_tag() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testTfoot() : void renamed to public tfoot_should_create_tfoot_tag() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testSpan1() : void renamed to public span_should_create_span_tag() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testDiv() : void renamed to public div_should_create_div_tag_with_class_attribute() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testALinkable4() : void renamed to public a_should_create_a_tag_with_class_attribute_when_link_is_given() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testALinkable3() : void renamed to public a_should_create_a_tag_when_link_is_given() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testA1() : void renamed to public a_should_create_a_tag_with_href_attribute() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testA2() : void renamed to public a_should_create_a_tag_with_href_and_class_attribute() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testInvalidAttributeOutput2() : void renamed to public attr_should_throw_exception_when_child_was_added() : void in class org.jacoco.report.internal.xml.XMLElementTest | From | To | |
Rename Method public testAddChildToClosedNode() : void renamed to public element_should_throw_exception_when_closed() : void in class org.jacoco.report.internal.xml.XMLElementTest | From | To | |
Rename Method public testTable() : void renamed to public table_should_create_table_tag_with_attributes() : void in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Rename Method public testInvalidAttributeOutput1() : void renamed to public attr_should_throw_exception_when_text_was_added() : void in class org.jacoco.report.internal.xml.XMLElementTest | From | To | |
Rename Variable | 1 | ||
Rename Variable doc : HTMLDocument to html : HTMLElement in method public render() : void in class org.jacoco.report.internal.html.page.ReportPage | From | To | |
Change Return Type | 5 | ||
Change Return Type XMLElement to void in method public text(text String) : void in class org.jacoco.report.internal.xml.XMLElement | From | To | |
Change Return Type void to ReportElement in method public method(coverage IMethodCoverage) : ReportElement in class org.jacoco.report.internal.xml.ReportElement | From | To | |
Change Return Type XMLElement to void in method public attr(name String, value String) : void in class org.jacoco.report.internal.xml.XMLElement | From | To | |
Change Return Type XMLElement to void in method public attr(name String, value int) : void in class org.jacoco.report.internal.xml.XMLElement | From | To | |
Change Return Type XMLElement to void in method public attr(name String, value long) : void in class org.jacoco.report.internal.xml.XMLElement | From | To | |
Replace Variable With Attribute | 20 | ||
Replace Variable With Attribute doc : Document to html : HTMLElement in method private parseDoc() : Document in class org.jacoco.report.internal.html.table.BarColumnTest | From | To | |
Replace Variable With Attribute doc : Document to html : HTMLElement in method private parseDoc() : Document in class org.jacoco.report.internal.html.table.PercentageColumnTest | From | To | |
Replace Variable With Attribute doc : Document to html : HTMLElement in method private parseDoc() : Document in class org.jacoco.report.internal.html.table.LabelColumnTest | From | To | |
Replace Variable With Attribute doc : Document to html : HTMLElement in method private parseDoc() : Document in class org.jacoco.report.internal.html.table.CounterColumnTest | From | To | |
Rename Attribute | 5 | ||
Rename Attribute doc : HTMLDocument to html : HTMLElement in class org.jacoco.report.internal.html.table.PercentageColumnTest | From | To | |
Rename Attribute doc : HTMLDocument to html : HTMLElement in class org.jacoco.report.internal.html.table.TableTest | From | To | |
Rename Attribute doc : HTMLDocument to html : HTMLElement in class org.jacoco.report.internal.html.table.LabelColumnTest | From | To | |
Rename Attribute doc : HTMLDocument to html : HTMLElement in class org.jacoco.report.internal.html.table.CounterColumnTest | From | To | |
Rename Attribute doc : HTMLDocument to html : HTMLElement in class org.jacoco.report.internal.html.table.BarColumnTest | From | To | |
Change Attribute Type | 12 | ||
Change Attribute Type buffer : StringWriter to buffer : ByteArrayOutputStream in class org.jacoco.report.internal.html.page.SourceHighlighterTest | From | To | |
Change Attribute Type doc : HTMLDocument to html : HTMLElement in class org.jacoco.report.internal.html.table.TableTest | From | To | |
Change Attribute Type doc : HTMLDocument to html : HTMLElement in class org.jacoco.report.internal.html.table.CounterColumnTest | From | To | |
Change Attribute Type element : XMLElement to element : ReportElement in class org.jacoco.report.internal.xml.XMLGroupVisitor | From | To | |
Change Attribute Type root : XMLElement to root : ReportElement in class org.jacoco.report.internal.xml.XMLGroupVisitorTest | From | To | |
Change Attribute Type buffer : StringWriter to buffer : ByteArrayOutputStream in class org.jacoco.report.internal.xml.XMLElementTest | From | To | |
Change Attribute Type html : HTMLDocument to html : HTMLElement in class org.jacoco.report.internal.html.page.SourceHighlighterTest | From | To | |
Change Attribute Type doc : HTMLDocument to html : HTMLElement in class org.jacoco.report.internal.html.table.LabelColumnTest | From | To | |
Change Attribute Type doc : HTMLDocument to html : HTMLElement in class org.jacoco.report.internal.html.table.BarColumnTest | From | To | |
Change Attribute Type buffer : StringWriter to buffer : ByteArrayOutputStream in class org.jacoco.report.internal.html.HTMLElementTest | From | To | |
Change Attribute Type doc : HTMLDocument to html : HTMLElement in class org.jacoco.report.internal.html.table.PercentageColumnTest | From | To | |
Change Attribute Type buffer : StringWriter to buffer : ByteArrayOutputStream in class org.jacoco.report.internal.xml.XMLGroupVisitorTest | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method public parse(buffer ByteArrayOutputStream) : Document extracted from private getDocument() : Document in class org.jacoco.report.internal.xml.XMLGroupVisitorTest & moved to class org.jacoco.report.internal.xml.XMLSupport | From | To | |
Extract And Move Method public parse(buffer ByteArrayOutputStream) : Document extracted from private assertPathMatches(expected String, path String) : void in class org.jacoco.report.xml.XMLFormatterTest & moved to class org.jacoco.report.internal.xml.XMLSupport | From | To | |
Rename Parameter | 1 | ||
Rename Parameter m : IMethodCoverage to coverage : IMethodCoverage in method public method(coverage IMethodCoverage) : ReportElement in class org.jacoco.report.internal.xml.ReportElement | From | To |