<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/eclipse-metrics/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/eclipse-metrics/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 19 Jul 2016 19:24:30 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/eclipse-metrics/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#19 Invalid input exception</title><link>https://sourceforge.net/p/eclipse-metrics/bugs/19/?limit=25#c4b8</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I encountered the same defect with Eclipse Mars SP2 (eclipse.buildId=4.5.2.M20160212-1500)...&lt;br/&gt;
metrics plugin version 1.3.8.20100730-001&lt;br/&gt;
java version "1.8.0_66"&lt;/p&gt;
&lt;p&gt;!ENTRY net.sourceforge.metrics 4 4 2016-07-19 14:21:08.935&lt;br/&gt;
!MESSAGE Invalid source in AbstractLinesOfCode&lt;br/&gt;
!STACK 0&lt;br/&gt;
org.eclipse.jdt.core.compiler.InvalidInputException: Invalid_Character_Constant&lt;br/&gt;
        at org.eclipse.jdt.internal.core.util.PublicScanner.getNextToken(PublicScanner.java:1428)&lt;br/&gt;
        at net.sourceforge.metrics.calculators.AbstractLinesOfCode.calculateNumberOfLines(AbstractLinesOfCode.java:75)&lt;br/&gt;
        at net.sourceforge.metrics.calculators.AbstractLinesOfCode.calculate(AbstractLinesOfCode.java:39)&lt;br/&gt;
        at net.sourceforge.metrics.core.sources.AbstractMetricSource.invokeCalculators(AbstractMetricSource.java:514)&lt;br/&gt;
        at net.sourceforge.metrics.core.sources.AbstractMetricSource.calculate(AbstractMetricSource.java:174)&lt;br/&gt;
        at net.sourceforge.metrics.core.sources.AbstractMetricSource.recurse(AbstractMetricSource.java:325)&lt;br/&gt;
        at net.sourceforge.metrics.core.sources.Dispatcher.calculateAbstractMetricSource(Dispatcher.java:136)&lt;br/&gt;
        at net.sourceforge.metrics.core.sources.TypeMetrics.initializeTypeChildrenMethodPart(TypeMetrics.java:150)&lt;br/&gt;
        at net.sourceforge.metrics.core.sources.TypeMetrics.initializeTypeChildren(TypeMetrics.java:98)&lt;br/&gt;
        at net.sourceforge.metrics.core.sources.TypeMetrics.initializeChildren(TypeMetrics.java:94)&lt;br/&gt;
        at net.sourceforge.metrics.core.sources.AbstractMetricSource.recurse(AbstractMetricSource.java:315)&lt;br/&gt;
        at net.sourceforge.metrics.core.sources.Dispatcher.calculateAbstractMetricSource(Dispatcher.java:136)&lt;br/&gt;
        at net.sourceforge.metrics.core.sources.CompilationUnitMetrics.initializeChildren(CompilationUnitMetrics.java:101)&lt;br/&gt;
        at net.sourceforge.metrics.core.sources.AbstractMetricSource.recurse(AbstractMetricSource.java:315)&lt;br/&gt;
        at net.sourceforge.metrics.core.sources.Dispatcher.calculateAbstractMetricSource(Dispatcher.java:112)&lt;br/&gt;
        at net.sourceforge.metrics.builder.MetricsBuilder$ChangedCommand.execute(MetricsBuilder.java:555)&lt;br/&gt;
        at net.sourceforge.metrics.builder.MetricsBuilder$CalculatorThread.run(MetricsBuilder.java:779)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brian Brooks</dc:creator><pubDate>Tue, 19 Jul 2016 19:24:30 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net5f6552524335c44e973d6e45a5018ed9aa5222e0</guid></item><item><title>fields referenced through 'this' ignored</title><link>https://sourceforge.net/p/eclipse-metrics/bugs/24/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I just noticed that the fields referenced through the this pointer are ignored in the Henderson-Sellers lack of cohesion measure.&lt;/p&gt;
&lt;p&gt;For instance.&lt;/p&gt;
&lt;p&gt;this.aField; // ignored&lt;br /&gt;
aField; // not ignored&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tony Edgin</dc:creator><pubDate>Wed, 28 Dec 2011 23:37:53 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net0ccd0d4b3de82c358d039fb90ac3415a6aa09120</guid></item><item><title>Error prevents Histograms and Dashboard output</title><link>https://sourceforge.net/p/eclipse-metrics/bugs/23/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When generating HTML output with Histograms and Dashboard selected, I see the following error message:&lt;/p&gt;
&lt;p&gt;"Found class com.sun.image.codec.jpeg.JPEGImageEncoder, but interface was expected"&lt;/p&gt;
&lt;p&gt;and no output is generated.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 08 Jul 2011 14:21:48 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd18e35a46857796469d5137472c6047cc99ff63e</guid></item><item><title>Angle brackets appear in method name</title><link>https://sourceforge.net/p/eclipse-metrics/bugs/22/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The code I'm analysing includes the following static initializer block:&lt;/p&gt;
&lt;p&gt;static {&lt;br /&gt;
try {&lt;br /&gt;
exportStaticMethods();&lt;br /&gt;
} catch (Exception ex) {&lt;br /&gt;
Log.error(ex.getMessage(), ex);&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;This results in the following line in the XML output:&lt;/p&gt;
&lt;p&gt;&amp;lt;method name="&amp;lt;init&amp;gt;" line="46" NLS="1"/&amp;gt;&lt;/p&gt;
&lt;p&gt;The angle brackets in the name are not valid XML (according to Firefox), so the file has to be edited before use.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 08 Jul 2011 13:31:11 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net419c797c5b02c0f73e51a041884a3ae2d3b19ec4</guid></item><item><title>incorrect number of classes/types reported </title><link>https://sourceforge.net/p/eclipse-metrics/bugs/21/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I used metrics for getting the metrics  of ATMExample, and the number of classes reported  in Summary Statistics is 57.  However, 65 class files are generated when the project is compiled. Also, the file types.csv reports 67 types.&lt;/p&gt;
&lt;p&gt;I found the following duplications in types.csv: &lt;/p&gt;
&lt;p&gt;PACKAGE TYPE    LINE&lt;br /&gt;
banking Receipt$(anonymous)   59&lt;br /&gt;
banking Receipt$1   59&lt;br /&gt;
simulation  SimulatedBank$Failure   236&lt;br /&gt;
simulation  SimulatedBank.Failure   236&lt;/p&gt;
&lt;p&gt;The source code of ATMExample is available here: &lt;a href="http://www.cs.gordon.edu/local/courses/cs211/atmexample.tar" rel="nofollow"&gt;http://www.cs.gordon.edu/local/courses/cs211/atmexample.tar&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Radu Vanciu</dc:creator><pubDate>Sat, 04 Jun 2011 22:36:00 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netf62ad10af3232ea8f8163c4e44b720b7e4c5c92a</guid></item><item><title>metric computation on full build should run in backgroun</title><link>https://sourceforge.net/p/eclipse-metrics/bugs/20/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;On a large project it takes some time for all metrics to be computed. This appears to be a blocking operation. Is there any reason it can't be offered to run in the background? This is hit, for example, if a metric configuration setting (e.g. a threshold) is changed.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Mon, 23 Aug 2010 14:20:06 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net46393ddba08ed10eccaa5e84e58563e0ea88e1b9</guid></item><item><title>Invalid input exception</title><link>https://sourceforge.net/p/eclipse-metrics/bugs/19/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Unfortunately the exception doesn't include on which file.&lt;/p&gt;
&lt;p&gt;org.eclipse.jdt.core.compiler.InvalidInputException: Invalid_Character_Constant&lt;br /&gt;
at org.eclipse.jdt.internal.core.util.PublicScanner.getNextToken(PublicScanner.java:1362)&lt;br /&gt;
at net.sourceforge.metrics.calculators.AbstractLinesOfCode.calculateNumberOfLines(AbstractLinesOfCode.java:74)&lt;br /&gt;
at net.sourceforge.metrics.calculators.AbstractLinesOfCode.calculate(AbstractLinesOfCode.java:39)&lt;br /&gt;
at net.sourceforge.metrics.core.sources.AbstractMetricSource.invokeCalculators(AbstractMetricSource.java:487)&lt;br /&gt;
at net.sourceforge.metrics.core.sources.AbstractMetricSource.calculate(AbstractMetricSource.java:167)&lt;br /&gt;
at net.sourceforge.metrics.core.sources.AbstractMetricSource.recurse(AbstractMetricSource.java:305)&lt;br /&gt;
at net.sourceforge.metrics.core.sources.Dispatcher.calculateAbstractMetricSource(Dispatcher.java:132)&lt;br /&gt;
at net.sourceforge.metrics.core.sources.TypeMetrics.initializeChildren(TypeMetrics.java:79)&lt;br /&gt;
at net.sourceforge.metrics.core.sources.AbstractMetricSource.recurse(AbstractMetricSource.java:297)&lt;br /&gt;
at net.sourceforge.metrics.core.sources.Dispatcher.calculateAbstractMetricSource(Dispatcher.java:132)&lt;br /&gt;
at net.sourceforge.metrics.core.sources.CompilationUnitMetrics.initializeChildren(CompilationUnitMetrics.java:86)&lt;br /&gt;
at net.sourceforge.metrics.core.sources.AbstractMetricSource.recurse(AbstractMetricSource.java:297)&lt;br /&gt;
at net.sourceforge.metrics.core.sources.Dispatcher.calculateAbstractMetricSource(Dispatcher.java:109)&lt;br /&gt;
at net.sourceforge.metrics.builder.MetricsBuilder$ChangedCommand.execute(MetricsBuilder.java:509)&lt;br /&gt;
at net.sourceforge.metrics.builder.MetricsBuilder$CalculatorThread.run(MetricsBuilder.java:713)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Volker Stolz</dc:creator><pubDate>Mon, 14 Jun 2010 09:18:07 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net7358702d620440a38698fc93421718fdeffcde40</guid></item><item><title>Index OOB for inner classes</title><link>https://sourceforge.net/p/eclipse-metrics/bugs/18/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;java.lang.ArrayIndexOutOfBoundsException: 0&lt;br /&gt;
at net.sourceforge.metrics.core.sources.CompilationUnitMetrics.addInnerClasses(CompilationUnitMetrics.java:100)&lt;br /&gt;
at net.sourceforge.metrics.core.sources.CompilationUnitMetrics.initializeChildren(CompilationUnitMetrics.java:88)&lt;br /&gt;
at net.sourceforge.metrics.core.sources.AbstractMetricSource.recurse(AbstractMetricSource.java:297)&lt;br /&gt;
at net.sourceforge.metrics.core.sources.Dispatcher.calculateAbstractMetricSource(Dispatcher.java:109)&lt;br /&gt;
at net.sourceforge.metrics.builder.MetricsBuilder$ChangedCommand.execute(MetricsBuilder.java:509)&lt;br /&gt;
at net.sourceforge.metrics.builder.MetricsBuilder$CalculatorThread.run(MetricsBuilder.java:713)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Volker Stolz</dc:creator><pubDate>Mon, 14 Jun 2010 09:16:54 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net3b6f22361c9d9fc8e048c483946c9556c96cad97</guid></item><item><title>eclipse 3.5.1</title><link>https://sourceforge.net/p/eclipse-metrics/bugs/17/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;hi,&lt;br /&gt;
thanks for writing this code!  my friend sent me some stats and i think it is really useful, so thanks!&lt;/p&gt;
&lt;p&gt;i am running eclipse 3.5.1 on linux and i don't have the 'metrics' option under the project properties (nor under global properties), and as thus, i don't see the metrics in the problems view.&lt;/p&gt;
&lt;p&gt;thanks!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 18 Feb 2010 18:44:54 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net0e322795abf3803c730d0c0f18abe893d99fe4c9</guid></item><item><title>Index Out Of Bounds thrown for static blocks</title><link>https://sourceforge.net/p/eclipse-metrics/bugs/16/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This is the root cause of my 'Index Out of R' defect... By tinkering I have found that the writeMethodInfo method of com.stateofflow.eclipse.metrics.export.csv.RowWriter is throwing an index out of bounds exception for static blocks as these have no method name, or more importantly a '(' to search for. My tinkering has shown the return value of methodInfo.getName() in these cases to be &amp;lt;init&amp;gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 22 Oct 2009 13:21:38 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net2952f4d7baba9ea27131da45003af3cae2d786e4</guid></item></channel></rss>