When superflares were originally discovered on solar-type stars it was suggested[REF] that these eruptions may be produced by the interaction of the star's magnetic field with the magnetic field of a gas-giant planet orbiting so close to the primary that the magnetic fields were linked.
Not all planetary transits can be detected by Kepler, since the planetary orbit may be out of the line of sight to Earth.