Tag List Report

The following document contains the listing of user tags found in the code. Below is the summary of the occurrences per tag.

Tag Class Total number of occurrences Tag strings used by tag class
Open issues in the code 34 TODO, FIXME, XXX

Each tag is detailed below:

Open issues in the code

Number of occurrences found in the code: 34

org.djunits.unit.AngleUnitTest Line
Check two conversions between non-standard Angle units assertEquals("one GRAD is about 54 ARCMINUTE", 54, getMultiplicationFactorTo(AngleUnit.GRAD, AngleUnit.ARCMINUTE), 0.5); assertEquals("one ARCMINUTE is about 0.0185 GRAD", 0.0185, getMultiplicationFactorTo(AngleUnit.ARCMINUTE, AngleUnit.GRAD), 0.0001); Check conversion factor to standard unit for all remaining time units 72
org.djunits.unit.DefinesSITest Line
Test for SI for relative classes; BASE for absolute classes 52
org.djunits.unit.MoneyUnit Line
allow for static conversion factors between MoneyUnits. 21
allow for dynamic conversion factors between MoneyUnits. 22
org.djunits.unit.SIUnit Line
this is horrible / PK We need a better way to determine if a unit is supposed to have localization information. 42
org.djunits.unit.Unit Line
professional logging of errors 106
org.djunits.unit.VolumeUnitTest Line
checkUnitRatioNameAndAbbreviation(VolumeUnit.OUNCE_IMP_FLUID, .00002841306, 0.00000000001, "horsepower (metric)", "hp(M)"); 65
checkUnitRatioNameAndAbbreviation(VolumeUnit.PINT_US_FLUID, 0.000473176473, 0.0000000000001, "pt(US fl)", "hp(M)"); 67
checkUnitRatioNameAndAbbreviation(VolumeUnit.PINT_IMP, 735.49875, 0.00001, "horsepower (metric)", "hp(M)"); 69
checkUnitRatioNameAndAbbreviation(VolumeUnit.QUART_US_FLUID, 0.000946353, 0.0000000001, "qt(US fl)", "hp(M)"); 70
checkUnitRatioNameAndAbbreviation(VolumeUnit.QUART_IMP, 0.00113652, 0.000005, "quart (imperial)", "qt (imp)"); 71
org.djunits.value.ScalarOperationsTest Line
Probably we exclude too much here for the tests... 660
org.djunits.value.VectorOperationsTest Line
multiplyBy and divideBy are currently only available for a non mutable argument. Next if statement is always taken. It is quite possible that multiplyBy will be restricted to Dimensionless vector arguments. 231
Check for BASE field in absolutes, SI field in relatives 369
- Peter does not know how to write this with generics... Does not work yet because mixed mutable immutable minus does not exist yet Object right = findAndExecuteConstructor(vectorClass, new Object[] { thirdValue, getSIUnitInstance(getUnitClass(vectorClass)), storageType }, abs, doubleType); System.out.println("left : " + left.getClass() + " right : " + right.getClass()); System.out.println(Arrays.toString(left.getClass().ClassUtil.resolveMethod(left.getClass(), s()).replaceAll(" org", "\norg")); System.out.println("super class " + right.getClass().getSuperclass()); Method minus = left.getClass().getMethod("minus", new Class<?>[] { right.getClass().getSuperclass() }); result = minus.invoke(left, right); result = left.minus(right); verifyAbsRelPrecisionAndValues(false, doubleType, storageType, result, twoThirdValue, 0.0001); 811
- Peter does not know how to write this with generics... Does not work yet because mixed mutable immutable minus does not exist yet Object right = findAndExecuteConstructor(vectorClass, new Object[] { thirdValue, getSIUnitInstance(getUnitClass(vectorClass)), storageType }, abs, doubleType); System.out.println("left : " + left.getClass() + " right : " + right.getClass()); System.out.println(Arrays.toString(left.getClass().getMethods()).replaceAll(" org", "\norg")); System.out.println("super class " + right.getClass().getSuperclass()); Method minus = ClassUtil.resolveMethod(left.getClass(), "minus", new Class<?>[] { right.getClass().getSuperclass() }); result = minus.invoke(left, right); result = left.minus(right); verifyAbsRelPrecisionAndValues(false, doubleType, storageType, result, twoThirdValue, 0.0001); 845
this should not be necessary 1351
this should not be necessary 1372
Probably we exclude too much here for the tests... 1462
should also work for mutable and mix of mutable and immutable System.out.println("Type of right is " + compatibleRight.getClass()); 1499
interpolate is not yet generated by the code generator ... Method interpolate = ClassUtil.resolveMethod(vectorClass, "interpolate", vectorClass, vectorClass, double.class); AbstractDoubleScalar<?, ?> result; result = (AbstractDoubleScalar<?, ?>) interpolate.invoke(null, zero, one, ratio); verifyAbsRelPrecisionAndValues(abs, doubleType, result, expectedResult, 0.01); 1616
org.djunits.value.formatter.Format Line
check how to always format numbers corresponding to the Locale used. <p> This file was generated by the djunits value classes generator, 26 jun, 2015 <p> Copyright (c) 2015-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> BSD-style license. See <a href="http://djunits.org/docs/license.html">DJUNITS License</a>. <p> $LastChangedDate: 2019-01-18 00:35:01 +0100 (Fri, 18 Jan 2019) $, @version $Revision: 324 $, by $Author: averbraeck $, initial version 26 jun, 2015 <br> 7
org.djunits.value.vdouble.matrix.DoubleMatrixUtilTest Line
other base units 96
other base units 151
org.djunits.value.vdouble.scalar.DoubleScalarUtilTest Line
other base units 87
other base units 135
org.djunits.value.vdouble.vector.DoubleVectorUtilTest Line
other base units 96
other base units 151
org.djunits.value.vfloat.matrix.FloaMatrixUtilTest Line
other base units 96
other base units 151
org.djunits.value.vfloat.scalar.FloatScalarUtilTest Line
other base units 86
other base units 134
org.djunits.value.vfloat.vector.FloatVectorUtilTest Line
other base units 96
other base units 151