Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: Lazamataz

I recently finished a contract at lockheed. We insisted on 100% code coverage. It was not that hard to do, and improved the code quite a lot.

At our first integration meeting everything worked on the first try


89 posted on 03/17/2025 4:57:19 PM PDT by Mr. K (no consequence of repealing obamacare is worse than obamacare itself.)
[ Post Reply | Private Reply | To 49 | View Replies ]


To: Mr. K
I recently finished a contract at lockheed. We insisted on 100% code coverage. It was not that hard to do, and improved the code quite a lot.

As we discussed, that, of course, depends on how your business use-cases are arranged and implemented.... and also, in our case, the proper use of Mocks for such things as FTP and DB performants. Also, since we have external groups we interface with (such as Enterprise Transport, which sends to external entities) we need them to stand Mocks up too. Lots of moving parts. We're only required by Enterprise to have 80% code coverage on new code, and rightfully so.

In an ideal world, sure, 100% is best, but we've done well at 80%.

My biggest real complaint is the requirement we mitigate all Criticals, Majors, and Mediums in SonarQube. SonarQube sometimes has some pretty stupid code-quality conclusions.

90 posted on 03/17/2025 5:02:47 PM PDT by Lazamataz (I'm so on fire that I feel the need to stop, drop, and roll!)
[ Post Reply | Private Reply | To 89 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson