jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Maven 2.x JavaNCSS Plugin
  • MJNCSS-29

Truncated html report

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.0-beta-2
  • Fix Version/s: 2.1
  • Labels:
    None
  • Environment:
    maven 2.0.5,
    JVM IBM 1.4.2
    Windows XP Professional / AIX

Description

Hello,

Although the raw xml report seems to be well generated, the javancss html report produced for some of my projects is not complete. It's seems to be truncated at a random place without respect to the html syntax, etc. Decreasing the lineThreshold parameter does not resolve the problem. You will find attached the produced raw and html reports.

Kind regards,
Venelin Mitov

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. HTML File
    javancss.html
    28/Apr/08 8:50 AM
    8 kB
    Venelin Mitov
  2. XML File
    javancss-raw-report.xml
    28/Apr/08 8:50 AM
    196 kB
    Venelin Mitov
  3. Text File
    MJNCSS-29.patch
    11/Mar/09 4:26 PM
    0.6 kB
    Scott England-Sullivan
  4. Text File
    NcssReportGenerator.java-MJNCSS-29.patch
    29/Oct/09 9:30 AM
    0.5 kB
    Jacob Robertson

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Scott England-Sullivan added a comment - 11/Mar/09 4:25 PM

Sink.flush() isn't called before closing. I am posting a small patch to fix the issue but there may be a better place to call.

ses

Show
Scott England-Sullivan added a comment - 11/Mar/09 4:25 PM Sink.flush() isn't called before closing. I am posting a small patch to fix the issue but there may be a better place to call. ses
Hide
Permalink
Jacob Robertson added a comment - 29/Oct/09 9:30 AM

The given patch seems to be out of date. Here is an updated patch that I have tested to work for me. Basically it brings NcssReportGenerator in line with the way NcssAggregateReportGenerator works (correctly) by adding "getSink().close();" as the last line of "doReport".

Show
Jacob Robertson added a comment - 29/Oct/09 9:30 AM The given patch seems to be out of date. Here is an updated patch that I have tested to work for me. Basically it brings NcssReportGenerator in line with the way NcssAggregateReportGenerator works (correctly) by adding "getSink().close();" as the last line of "doReport".
Hide
Permalink
Jan Labrie added a comment - 13/Apr/10 5:00 AM

This issue is really annoying and makes the report function practically unusable. When is this issue expected to be fixed?

Show
Jan Labrie added a comment - 13/Apr/10 5:00 AM This issue is really annoying and makes the report function practically unusable. When is this issue expected to be fixed?
Hide
Permalink
Jean-Laurent de Morlhon added a comment - 17/May/10 4:22 AM

Latest patch applied on trunk in revision 12176.

Show
Jean-Laurent de Morlhon added a comment - 17/May/10 4:22 AM Latest patch applied on trunk in revision 12176.

People

  • Assignee:
    Jean-Laurent de Morlhon
    Reporter:
    Venelin Mitov
Vote (4)
Watch (5)

Dates

  • Created:
    28/Apr/08 8:50 AM
    Updated:
    17/May/10 4:23 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.