Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unused classes
Message
From
06/03/2006 20:56:56
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
06/03/2006 20:44:55
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
01101765
Message ID:
01101906
Views:
20
>That would be a false negative. A false positive would be a class which is subclassed, but subclasses are never used.

Yeah, I did think about that possibility, but I think that would be no problem. After deleting the unused subclasses, I could run the hypothetical process again, and detect the superclass.

> Also, if you're using a data-driven class factory, you'd need to check for factory calls, to see if there are dead records in the factory table.

I am not sure how that factory thing would work.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform