Rewrite $m^{6}+27$ as $\left(m^{2}\right)^{3}+3^{3}$. The sum of cubes can be factored using the rule: $a^{3}+b^{3}=\left(a+b\right)\left(a^{2}-ab+b^{2}\right)$. The following polynomials are not factored since they do not have any rational roots: $m^{2}+3,m^{4}-3m^{2}+9$.