| 1 |
-*- encoding: utf-8; indent-tabs-mode: nil -*- |
| 2 |
|
| 3 |
TO DO |
| 4 |
===== |
| 5 |
|
| 6 |
Play the CPANTS game |
| 7 |
-------------------- |
| 8 |
|
| 9 |
But remember that this is not an end in itself. It is just |
| 10 |
a mean (kwalitee checking) towards an end (quality). |
| 11 |
For example, the module did not get the points for |
| 12 |
the LICENSE POD paragraph. Yet, there is a LICENSE POD paragraph. Just the |
| 13 |
automated CPANTS check did not recognize its contents. |
| 14 |
But any human reader will admit the paragraph is correct. |
| 15 |
So this is a kwalitee issue I will not fix. |
| 16 |
And I will not complain to the authors of the programs |
| 17 |
that power the CPANTS site. I have better things to |
| 18 |
do and they have better things to do. |
| 19 |
|
| 20 |
But there are other issues that need to be fixed. |
| 21 |
I will fix them (when the CPANTS website is up; at |
| 22 |
the moment it is down). |
| 23 |
|
| 24 |
Play the Devel::Cover game |
| 25 |
-------------------------- |
| 26 |
|
| 27 |
I know that you can have 100% code coverage and still |
| 28 |
have bugs in your module. Yet, having a poor coverage |
| 29 |
is a sure recipe to have lurking bugs in your code. |
| 30 |
So I will strive to have a better code coverage, |
| 31 |
while not forgetting to expand the data coverage. |
| 32 |
|
| 33 |
Yet, the original author has provided six trigonometrical |
| 34 |
function using degrees: sin, cos, tan, asin, acos, atan. |
| 35 |
But only three of them are used in the module. So |
| 36 |
the other three are not covered by the tests. I will leave |
| 37 |
them just like that, I will neither delete them, nor create |
| 38 |
a bogus test file just to ensure there are green-colored |
| 39 |
in the Devel::Cover reports. |
| 40 |
|
| 41 |
Other topics |
| 42 |
------------ |
| 43 |
|
| 44 |
Since this module is OO, there could be convenience accessors, |
| 45 |
retrieving the longitude and the latitude of a given |
| 46 |
DT::E::Sunrise object. |
| 47 |
|
| 48 |
There is always room for improvement in the documentation. |
| 49 |
|
| 50 |
The precise algorithm should be more thoroughly analysed to understand |
| 51 |
why the 15.04107 value advised by Paul Schlyter does not give the |
| 52 |
proper results. And it should be tested with polar locations and |
| 53 |
special dates (solstices, transition between day+night and polar night |
| 54 |
or between day+night and midnight sun). |