My host service has a "audito system" running wich checks all code used in the site for some errors and/or code that will slow the server down. They send me this report. I don´t know if this really is important cause I´m not confortable with asp... Anyway I´m sending it to you guys... The hostserver told me this kind of bug can cause some instability on the servers so thats it..
Thanks guys.
Brisotti www.webkits.com.br
(the number in the begining means the sort of bug.. 1 to 5, where 5 is worst..)
admin_emaillist.asp 3 **** ObjeObject not destroied at the end of file !! - Variable - rs
config.asp 4 **** Wrong driver used !!= Should be used OLEDB !!
custom_link.asp 2 **** Conexao - my_conn - opened more then one time with the same name. 2 **** Conexao - my_conn - opened more then one time with the same name. 2 **** Conexao - my_conn - opened more then one time with the same name. 4 **** Conexion not closed !! - Variable - my_conn 3 **** ObjeObject not destroied at the end of file !! - Variable - my_conn
forum.asp 4 **** Conexion not closed !! - Variable - my_conn 3 **** ObjeObject not destroied at the end of file !! - Variable - my_conn 3 **** ObjeObject not destroied at the end of file !! - Variable - rs
inc_create_forum_mysql.asp 4 **** Conexion not closed !! - Variable - my_conn 3 **** ObjeObject not destroied at the end of file !! - Variable - my_conn
inc_top.asp 4 **** Conexion not closed !! - Variable - my_conn 3 **** ObjeObject not destroied at the end of file !! - Variable - my_conn
inc_top_short.asp 4 **** Conexion not closed !! - Variable - my_conn 3 **** ObjeObject not destroied at the end of file !! - Variable - my_conn
link.asp 2 **** Conexao - my_conn - opened more then one time with the same name. 2 **** Conexao - my_conn - opened more then one time with the same name. 2 **** Conexao - my_conn - opened more then one time with the same name. 4 **** Conexion not closed !! - Variable - my_conn 3 **** ObjeObject not destroied at the end of file !! - Variable - my_conn
members.asp 3 **** ObjeObject not destroied at the end of file !! - Variable - rs
pop_config_help.asp 4 **** Uso indevido de Driver de Conexao ao Banco de dados !! Deve-se usar OLEDB !!
pop_delete.asp 3 **** ObjeObject not destroied at the end of file !! - Variable - rs
post.asp 3 **** ObjeObject not destroied at the end of file !! - Variable - rs
setup.asp 2 **** Conexion - my_conn - opened more then one time with the same name.
setup_login.asp 4 **** Conexion not closed !! - Variable - my_conn 3 **** ObjeObject not destroied at the end of file !! - Variable - my_conn
topic.asp 4 **** Conexion not closed !! - Variable - my_conn 3 **** ObjeObject not destroied at the end of file !! - Variable - my_conn
Great. We should find this SW, or at least make it analize the latest version. Unclosed/undestroyed objects are important, but I don't know how this "audit" software works. If it works on files -without taking the includes into account- the results are normal. Do you know the exact name of the software?
It looks like it's NOT taking into consideration the include files
quote: inc_create_forum_mysql.asp 4 **** Conexion not closed !! - Variable - my_conn 3 **** ObjeObject not destroied at the end of file !! - Variable - my_conn
inc_top.asp 4 **** Conexion not closed !! - Variable - my_conn 3 **** ObjeObject not destroied at the end of file !! - Variable - my_conn
Of course my_conn is not destroyed in inc_top, it's done in inc_footer and thus it IS taken care of just not within that file.
I think most of these are the normal analysis errors you'll find when includes are not taken into consideration.
So do I. But if we find this software, it will be very usefull especially for our own projects. I never write "bad" code - at least I try (whenever I open something, even a tag I directly write the closing part), but some of our coders do. It will also be usefull when we take a freeware ASP code into consideration.
Does anybody know such software (better than this one)?