-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additions to CFLint XML (was: Building a mechanism to pass timestamps and additional counters into FIndbugs XML) #278
Comments
EXSLT is pretty much a dead road. The ideal option, if we wanted to have creating timestamps as part of the XSLT process, would be to switch to XSLT 2 --- which I can only find Saxxon-HE to support, but it's not under BSD but Mozilla license. Not sure if/how much of an issue that'd present, @ryaneberly. Alternatively we could just build a bunch of more things into CFLints "native" XML output, such as the timestamp and other info (see discussion around #276). I think that'd be the preferable option. |
I like enhancing the xml option.
…On Sat, Jun 3, 2017 at 3:00 AM, Kai Koenig ***@***.***> wrote:
EXSLT is pretty much a dead road.
The ideal option, if we wanted to have creating timestamps as part of the
XSLT process, would be to switch to XSLT 2 --- which I can only find
Saxxon-HE to support, but it's not under BSD but Mozilla license. Not sure
if/how much of an issue that'd present, @ryaneberly
<https://github.com/ryaneberly>.
Alternatively we could just build a bunch of more things into CFLints
"native" XML output, such as the timestamp and other info (see discussion
around #276 <#276>). I *think*
that'd be the preferable option.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#278 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AFtZuzBqeFzUpR82x0Fip6tJdwhSGG31ks5sAQSqgaJpZM4NsnjG>
.
|
Todos: Timestamps In counts section: total_size Probably will also change total_bugs (which I could do easily via XSLT) over to a new counter in the CFLint XML. |
@TheRealAgentK, I added simple stat tracking at the file level. if (verbose) { display("Total files scanned: " + cflint.getStats().getFileCount()); display("Total size: " + cflint.getStats().getTotalSize()); } |
…lfiles and totalsize to CFLint output XML (in <counts>)
Work on #278, Improving Findbugs XML output with stats counts and timestamp
Done with this. Implications for the CFLint issues XML:
Findbugs structure has not changed compared to my first batch of changes (that are already in master), just populated the fields I previously added with meaningful information now. |
BugCollection timestamp/analysisTimestamp should have proper values, not only 0 - in XSLT 2 this can be done built-in, XSLT 1 needs EXSLT. Need to have a closer look into that.
The text was updated successfully, but these errors were encountered: