Posts Tagged ‘nj’
You never know when users may add that trailing slash on an enrolment URL…
iOS 5 Beta now available for developers
Post detailing backwards compatibility issues for running CE5 code on CE6.
A step-by-step howto for profiling Silverlight apps.
“The iPhone is not logging your location. Rather, it’s maintaining a database of Wi-Fi hotspots and cell towers around your current location, some of which may be located more than one hundred miles away from your iPhone, to help your iPhone rapidly and accurately calculate its location when requested.”
Some interesting snippets:
…What’s interesting here is that we were able to spot this defect using cyclomatic complexity rather than code coverage. Code coverage indicated we were done after one test case, but CC forced us to write an additional one. Not bad, eh?
Luckily, the method under test in this case only had a CC of 2. Imagine if that defect were buried in a method with a CC of 102. Good luck finding it!
…As demonstrated above, cyclomatic complexity is a good indicator of code complexity; moreover, it’s an excellent barometer for developer testing. A good rule of thumb is to create a number of test cases equal to the cyclomatic complexity value of the code being tested. In the case of the
updatePCensus() method seen in Figure 2, you would need 114 test cases to achieve full coverage.
Apple iPhones and 3G iPads are secretly recording and storing details of all their owners’ movements, researchers claim.
Location data is kept in a hidden, unencrypted file, but is this file accessible from any app on the phone?