@er.pushpinderrana made the following review comments.
Manual Review
1. (+) Configure link on module page is incorrect that need to be fixed. In .info file there is admin/config/bacnet/manage and in .module file it is admin/config/services/bacnet
2. (*) As you are using system_settings_form(), it means bacnet_admin_settings_submit never called, need to remove it.
3. (+) bacnet_admin_settings_form(): All the variables defined in this form like bws1_server, bws1_login_name etc need to be delete using hook_uninstall() function after uninstallation of module.
The starred items (*) are fairly big issues and warrant going back to Needs Work. Items marked with a plus sign (+) are important and should be addressed before a stable project release. The rest of the comments in the code walkthrough are recommendations.
Comments
Comment #1
dbt102 commentedComment #2
dbt102 commentedAfter trimming down the module to eliminate all Pareview test errors/warnings there were still some code remnants that needed cleaned up, even thou the module worked great there were still a few items that I overlooked.
1. Fixed the configure link
2. Removed bacnet_admin_settings_submit because it is never called.
3. Added function bacnet_uninstall() to bacnet.install
(I think these all originated when trying to embed the bacnet site map feature and bacnetsite content type feature into the base module at the same time I was trying to address review comments. I got confused about the various pieces I was working on, and where I was working on them in my local dev environment. )
Comment #4
dbt102 commentedCleanup Pareview review
Comment #7
dbt102 commentedComment #8
dbt102 commentedComment #9
dbt102 commentedAfter last commit (b7627bc) I removed check_plain() from the two lines noted
Comment #11
dbt102 commentedCleaning up these errors also,
Comment #15
dbt102 commentedper https://www.drupal.org/node/2312955#comment-9167565
Comment #19
dbt102 commented