custom code coverage data view

Answered

after run code with coverage, CoverageViewSuiteListener#afterSuiteChosen popup the coverage window,now I want custom the window data(like add column)。 Is there a easy way to override the afterSuiteChosen event ?

 

0
10 comments

Provide custom implementation from com.intellij.coverage.CoverageEngine#createCoverageViewExtension

0

is there another  way I can get no coverage class data, now I found    SourceLineCounterUtil#collectNonCoveredClassInfo.

0

com.intellij.coverage.CoverageSuite#getCoverageData

0

this class do not have classData, but coverageViewWindow has line info 。like this :


total line = 7 ,how to get this class's classData or lineDataArr.

0

Hello, I am currently doing plug-in development, com.Intellij.Coverage.CoverageEngine this class I can't quote, how do I refer to?

0

Xujunhua555 Coverage is a plugin, so you must add dependency on it. Plugin ID = 'Coverage' https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html

0

 

 

In my plug-in project JavaCoverageEngineExtension reference is less than the class, I see JavaCoverageEngineExtension this class's jar package is in the ideac - 2018.3.6 - source. In the jar, How do I import this JAR

0

It seems you didn't apply all necessary steps given in referenced documentation page.

0

Please sign in to leave a comment.