Previous posts introduced the Delay.FxCop custom code analysis assembly and demonstrated the benefits of automated code analysis for easily identifying problem areas in an assembly. The Delay.FxCop project included two rules, DF1000: Check spelling of all string literals and DF1001: Resources should be referenced - today I'm introducing another! The new rule follows in the footsteps of DF1001 by identifying unused parts of an assembly that can be removed to save space and reduce complexity. But while DF1001 operated on resources, today's DF1002: Uncalled methods should be removed analyzes the methods and properties of an assembly to help find those stale bits of code that aren't being used any more. Note: If this functionality seems familiar, it's because CA1811: Avoid uncalled private code is one of the standard FxCop rules. I've always been a big fan of CA1811, but frequently wished it could look beyond just private code to consider all code. Of course, limiting the scope of the "in-box" rule makes perfect sense from an FxCop point of view: you don't want the default rules to be noisy or else they'll get turned off and ignored. But the Delay.FxCop assembly isn't subject to the same restrictions, so I thought it would be neat to experiment with an implementation that analyzed all of an assembly's code. Further note: One of the downsides of this increased scope is that DF1002 can't distinguish between methods that are part of a library's public API and those that are accidentally unused. As far as DF1002 is concerned, they're both examples of code that's not called from within the assembly. Therefore, running this rule on a library involves some extra overhead to suppress the warnings for public APIs. If it's just a little extra work, maybe it's still worthwhile - but if it's overwhelming, you can always disable DF1002 for library assemblies and restrict it to applications where it's more relevant. Implementation-wise, DF1002: Uncalled methods should be removed isn't all that different from its predecessors - in fact, it extends and reuses the same assembly node enumeration helper introduced with DF1001. During analysis, every method of the assembly is visited and if it isn't "used" (more on this in a moment), a code analysis warning is output: DF1002 : Performance : The method 'SilverlightApplication.MainPage.UnusedPublicMethod' does not appear to be used in code.Of course, these warnings can be suppressed in the usual manner:[assembly: SuppressMessage("Usage", "DF1001:ResourcesShouldBeReferenced",
MessageId = "app.xaml", Scope = "resource", Target = "SilverlightApplication.g.resources",
Justification = "Loaded by Silverlight for App.xaml.")]
Read more: Delay's Blog
QR:
MessageId = "app.xaml", Scope = "resource", Target = "SilverlightApplication.g.resources",
Justification = "Loaded by Silverlight for App.xaml.")]
Read more: Delay's Blog
QR:
196 comments:
generic tramadol cheap 100mg tramadol - 100mg tramadol lot
buy cheap ativan ativan urban dictionary - ativan erowid
tramadol online buy tramadol with american express - buy tramadol online no prescription needed
buy tramadol cod next day delivery tramadol for dogs anti inflammatory - buy tramadol usa next day delivery
buy tramadol cod fedex buy tramadol free shipping - ultram 50 mg online
tramadol online tramadol er - tramadol hcl 50 mg addiction
buy tramadol free shipping tramadol dosage 12 pound dog - tramadol contraindications
tramadol online tramadol ketorolaco - tramadol no prescription free shipping
ambien for sale no prescription ambien cr 12.5mg coupon - generic ambien dosage
clonazepam drug klonopin generalized anxiety disorder gad ratings - klonopin reviews
buy tramadol online tramadol generic - can you buy tramadol in greece
can you buy tramadol online legally ways get high tramadol - how to buy tramadol online
clonazepam without prescription klonopin withdrawal crying - buy klonopin online overnight
buy tramadol cod tramadol 50mg good high - tramadol dosage recreational use
buy zolpidem online dosage of ambien cr - high ambien videos
generic ativan ativan anxiety - ativan withdrawal side effects how long
generic ambien ambien cost cvs - buy ambien with mastercard
buy tramadol with cod tramadol 93 58 dosage - order tramadol eu
buy ambien online ambien cr images - 2 ambien and alcohol
buy klonopin online no prescription klonopin side effects women - klonopin for depression
soma online soma bras location - soma generic fedex no prescription
tramadol cheap tramadol online pharmacy usa - generic tramadol
soma buy buy soma ship to texas - soma 500mg
clonazepam drug klonopin for anxiety as needed - klonopin withdrawal relapse
zolpidem drug ambien dosage 15 - ambien side effects liver damage
buy cheap ambien ambien side effects bad taste mouth - discount ambien online
order tramadol online overnight tramadol 50mg like - tramadol high lasts
buy klonopin online klonopin usual dosage - klonopin withdrawal clonidine
buy tramadol next day 100mg of tramadol high - tramadol order online tramadol 50mg
tramadol online tramadol 50mg dogs humans - tramadol dosage paracetamol
buy tramadol cod online 250mg tramadol high - tramadol hcl 50mg for dogs
buy tramadol without prescriptions tramadol hcl 100 - tramadol street value
viagra online buy now viagra cialis spam - viagra online deutschland
buy soma online soma 350 pills - soma intimates online store
buy ambien online no prescription buy generic ambien canada - ambien side effects overdose
buy generic viagra cheap order viagra in australia - viagra online 150 mg
tramadol 50mg buy tramadol bluelight - tramadol hcl er
generic ambien generic ambien 93 73 - ambien cr kidneys
buy tramadol no prescription buy tramadol ship to florida - tramadol manufacturer
carisoprodol soma soma muscle relaxant - order soma online texas
buy soma online generic soma 350 - soma images generic
buy viagra online viagra buy - can i buy viagra in manila
order ambien online pill report ambien - what is ambien prescribed for
buy tramadol online tramadol hcl powder - purchase tramadol cod
buy ambien online ambien zolpidem same - ambience mall gurgaon theatres
generic ambien buy ambien from india - ambien overdose emedicine
buy brand viagra online best online pharmacy viagra cialis - buy viagra online mastercard
soma online buy soma online with credit card - soma san diego 2010
klonopin online klonopin 6 weeks - klonopin lethal dose
purchase soma soma generic fedex no prescription - soma promotion code
ambien cost ambien side effects nih - zolpidem tartrate generic ambien cr
viagra for sale viagra what dosage is recommended - viagra buy uk
order viagra with mastercard buy viagra online with laser card - cheap generic viagra 50mg
where to order viagra viagra dosage strengths - how to purchase viagra in canada
cialis professional buy 36 hour cialis online - cialis quit working
buy viagra pills how to order viagra online in canada - buy viagra with paypal uk
buy cheap viagra viagra online quality - buy 200 mg viagra
buy viagra online reviews buy viagra canada mastercard - viagra new zealand buy online
buy discount tramadol tramadol zydus 50 mg - tramadol hcl 50mg dosage
soma pills soma 107 - cheap hotels sf soma
buy viagra with dapoxetine generic viagra wikipedia - viagra buy uk online
buy tramadol online cod overnight safest place buy tramadol online - tramadol for dogs side effects
buy viagra next day delivery cheap generic viagra pills online - cheap viagra pills
buy viagra online buy viagra no prescription australia - 4 generic viagra net
buy viagra cialis online can buy viagra online - buy viagra for women online
buy tramadol without a script buy tramadol online no prescription mastercard - buy tramadol online fedex delivery
buy viagra viagra kaufen - viagra online new zealand
buy tramadol cod next day delivery tramadol online no prescription overnight cod - tramadol medication 100mg
buy tramadol overnight delivery buy tramadol online no prescription - tramadol online
buy viagra for women can you buy viagra at walmart - best site buy generic viagra
tramadol online can you buy tramadol online no prescription - order tramadol online with cod
buy generic propecia generic propecia vs. brand name - propecia side effects constipation
buy tramadol 180 tramadol 50 mg kapsler - tramadol hcl versus tramadol
buy finasteride online propecia merck - propecia 1 month results
sildenafil citrate tablets viagra pill dosage - viagra dosage info
discount propecia propecia 90 count - propecia side effects cancer
buy retin-a online retin-a wrinkles over the counter - retin a cream dangers
buy propecia online propecia clinical results - propecia otc
buy viagra online usa buy viagra online dubai - cheap viagra in usa
buy retin-a online retin a co za - retin a acne testimonials
buy tramadol online 8 50 mg tramadol - tramadol dosage per kg
cheap tramadol get tramadol online no prescription - tramadol 50 mg how long does it stay in your system
retin-a online pharmacy retin-a gel and moisturizer - retin a acne worsens
propecia drug propecia side effects men's health - where can you buy non generic propecia
retin-a no prescription retin-a cream retin-a gel - retin-a directions
tramadol online overnight can you buy tramadol over the counter - tramadol veterinary dose
buy tramadol tramadol online visa - order tramadol pay cod
buy tramadol online no prescription cheap tramadol online no prescription usa - tramadol 50 mg is used to treat
tramadol 100mg tramadol high alcohol - tramadol 50 mg opiate
propecia for sale finasteride medication - cheap propecia london
buy tramadol online pharmacy reviews ultram - can you buy tramadol in canada
buy tramadol online mastercard overnight tramadol for dogs human use - buy tramadol in usa
buy finasteride online propecia patient results - where to buy propecia in uae
buy retin-a online retin a micro pump ndc - buy retin a gel 0.01
tramadol online buy cheap tramadol online cod - tramadol interactions
buy generic tramadol online tramadol hcl sleep - generic brand for tramadol
buy tramadol buy tramadol ultram - buy tramadol with mastercard
buy propecia online order propecia online - buy propecia finasteride australia
tramadol 50mg tramadol 083 - tramadol generic for ultram
buy tramadol tramadol online no prescription - buy tramadol dogs uk
buy tramadol with mastercard tramadol online canadian pharmacy - tramadol opiate addiction
buy retin-a online retin-a cream 0.1 no prescription - retin-a micro by ortho
order tramadol online ultram 50 mg tablets - tramadol hydrochloride 100mg/2ml
buy propecia online can you buy propecia over the counter in canada - propecia juanita
buy retin-a retin a cream 0.05 - where to buy retin a online no prescription
buy tramadol online cheap generic tramadol - order tramadol online mastercard
purchase tramadol buy tramadol online free shipping - tramadol hcl 50mg for dogs
buy tramadol online no prescription cod order tramadol with saturday delivery - tramadol 10mg
order tramadol can you buy tramadol uk - tramadol getting high
order tramadol tramadol zydus - tramadol 250 mg
buy retin-a retin a micro or retin a gel - retin-a results
tramadol generic tramadol 100mg vs vicodin - legit tramadol online
buy tramadol no rx tramadol 50 mg effects - tramadol recreational dose
propecia online pharmacy generic propecia thailand - propecia+minoxidil+reviews
tramadol 50 mg tramadol hcl user reviews - tramadol uss ship no prescription
cheapest viagra cheap viagra online canadian - generic viagra overnight delivery
tramadol 50mg order tramadol online saturday delivery - where to order tramadol online
buy tramadol buy tramadol online no prescription mastercard - tramadol hcl 50 mg high
buy viagra order viagra london - viagra buy thailand
cheap viagra viagra without prescriptions us - viagra online australia paypal
generic cialis cialis slogan - cialis daily buy
viagra online without prescription generic viagra from us - generic viagra dangers
tramadol 50 mg tramadol hcl fda - ultram better than tramadol
cheap viagra cheap viagra cialis levitra - viagra online nederland
tramadol 50mg buy ultram mastercard - buy tramadol online cod
cheap viagra is buying viagra online illegal - buy generic viagra forum
buy cialis no prescription buy genuine cialis online - buy cialis online new zealand
tramadol no prescription cheap tramadol for sale - buy tramadol no rx
cheap viagra generic viagra+england - order viagra online in us
buy tramadol order tramadol next day - tramadol online bluelight
viagra online without prescription gov us buy viagra - buy viagra and cialis
buy tadalafil order cialis online no prescription canada - order cialis online in canada
cheap viagra legal order viagra online us - buy cheap viagra online next day delivery
cheap viagra order viagra legally - can buy viagra online us
buy cialis buy cialis online greece - buy cialis online now
buy cialis generic what's price cialis - cialis daily tolerance
buy sildenafil buy viagra online next day - buy viagra us pharmacy
cialis online no prescription cialis upset stomach - online rx for cialis
generic cialis cialis quickly does work - cialis 0.25
buy cialis cialis online review online pharmacy - cialis price us
viagra online viagra online in usa - buy viagra online overnight
buy cialis buy cialis in vancouver bc - cialis online from us pharmacy
buy somas online soma carisoprodol drugs - buy soma online florida
buy soma online soma san diego phone - buy soma now
cialis online no prescription order cialis in usa - buy cialis online mastercard
buy soma online soma 350 mg ingredients - buy soma cheap
viagra online buy viagra online us paypal - viagra dosage wiki
buy soma online some pills - soma muscle relaxer street value
online soma soma online music - generic soma
viagra online cheap viagra online australia - viagra online 25mg
buy soma online buy soma online cod - buy soma from usa
order soma cymbalta soma drug interactions - where to buy somatropin online
soma online generic soma online - kind drug soma
buy soma online drug interactions with soma - soma muscle relaxer high
soma drug online soma puzzle - buy soma 350 mg online
generic soma buy soma online no prescription overnight - order soma online no rx
buy soma classification of the drug soma - history of soma san diego
carisoprodol soma soma san diego age - buy soma from usa
soma sale carisoprodol generic for soma - buy soma online cod
buy generic soma soma san diego drinking - best place buy soma online
order soma online soma pills high - cost of generic soma
buy generic soma soma san diego com shows - watch argento soma online free
buy soma where to buy soma overnight - soma concert venue san diego
cheap soma best place buy soma online - buy soma online overnight delivery
soma pills soma bras review - soma bras portland
where to buy retin-a online retin a cream side effects - best retin-a acne
buy soma buy soma next day - order soma legally online
buy tramadol ultram rx online - buy tramadol with cod
buy retin a buy retin a for cheap - buy retin-a for stretch marks
buy tramadol free shipping tramadol dosage limits - buy tramadol online australia no prescription
buy discount tramadol tramadol no prescription mastercard - buy tramadol online legit
tramadol 100 tramadol an 627 - buy tramadol legit
buy tramadol ultram legal order tramadol online - tramadol high alcohol
buy tramadol for dogs tramadol 50 mg slow release - tramadol yahoo answers
buy retin-a online where to buy retin a online - retin a cream vs retin a micro
tramadol online tramadol no prescription mastercard - tramadol is generic for what drug
order tramadol online cod buy tramadol in uk - tramadol no rx
buy tramadol saturday delivery tramadol 50mg like - tramadol online overnight delivery
buy tramadol online tramadol 50 mg max dosage - tramadol 50mg for dogs
buy tramadol online buy tramadol 50mg usa - ultram tramadol withdrawal symptoms
best buy tramadol can you get tramadol online legally - tramadol vicodin high
buy tramadol tramadol for dogs used by humans - tramadol for dogs same for humans
buy tramadol with cod buy 180 tramadol online - tramadol addiction
xanax no prescription tranxene vs xanax side effects - alprazolam 2mg generic xanax
generic xanax what does xanax high - long does 1mg xanax last
buy cialis online in usa buy cheap cialis link online - buy viagra cialis online
buy cialis online buy cialis online cheap - buy cialis vs viagra
buy cialis online cialis kidney stones - buy cialis in usa online
buy cialis online cialis online without rx - buy cheap cialis online us
http://buytramadolonlinecool.com/#96430 tramadol withdrawal wikipedia - tramadol hcl 50 mg espanol
buy klonopin online legal buy klonopin online - klonopin withdrawal easy
order klonopin how long do klonopin side effects last - 4 mg klonopin effects
buy klonopin online 2mg klonopin first time - 2mg klonopin to get high
order clonazepam klonopin withdrawal blog - klonopin overdose mg
carisoprodol 350 mg side effects of carisoprodol tablets - carisoprodol 350 mg looks like
carisoprodol 350 mg soma or carisoprodol - carisoprodol how to abuse
Post a Comment