Thanks. After some testing, I can confirm that the defense value won't change until after you change her back into the normal form. This is intended since the stat values rely on certain checks before they are re-calculated, and being in a swimwear or exposed form will have the defense values offset. If there are any other out-of-sync anomalies, there should be an option in her menu that appears where she can forcibly repair herself.
As for the electric resistance, she starts off with an electric weakness (-25), and the janeria upgrade will give her some resistance (+25), which leads to a total of 0, so that is also correct (essentially she is no longer weak to electric), as well as giving a +50 bonus to shields, which is also correct.
Hope this helps.