kontext-e / jqassistant-plugins

This repository contains plugins for buschmais' jQAssistant.
GNU General Public License v3.0
18 stars 10 forks source link

JaCoCo plugins slows down scanning #67

Closed DirkMahler closed 4 years ago

DirkMahler commented 4 years ago

Adding the JaCoco plugin to jQA leads to a general and notable decrease in scanning performance. This is caused by the accepts method calling fileResource.getFile() which is potentially expensive if the fileResource is located in an archive (e.g. JAR file). It should be verified if this method call can be avoided at all or the cheaper check for the XML file extension can be performed before accessing the file itself.

kontext-e commented 4 years ago

Same applies for PMD, SpotBugs/FindBugs and Checkstyle.