Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CBlacklist has a deprecated constructor in /customers/a/f/c/ on line 6 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CBannedWords has a deprecated constructor in /customers/a/f/c/ on line 34 Warning: session_start(): Cannot start session when headers already sent in /customers/a/f/c/ on line 11 Warning: strpos(): needle is not a string or an integer in /customers/a/f/c/ on line 31 Warning: strpos(): needle is not a string or an integer in /customers/a/f/c/ on line 37 Blog by Joel Fjordén a.k.a. Will o Wisp
Rules Are Not Loaded?! 
Friday, November 2, 2007, 03:57 PM - Code Style Enforcer
I noticed a strange behavior today, in Visual Studio 2008. When I load a solution, the rules for Code Style Enforcer doesn't seem to be loaded. If I close the solution and open it up again, it is however, so nothing seems to happen the first time.

I'm not sure if this has something to do with Visual Studio 2008, DXCore 2.5.8, Code Style Enforcer 2.1.32 or if it only happens to me.

Please comment on this blog post if any of you experience the same problem and in which environment. I will look more into it when I get back from DevConnections.
10 comments ( 238 views )   |  related link

Code Style Enforcer 2.1.32 Released 
Thursday, November 1, 2007, 05:53 PM - Code Style Enforcer
First of all I'd like to thank you all for using, or at least trying out, Code Style Enforcer. I've had over 2000 unique downloads of the latest 2.1.29 version.

Now Code Style Enforcer 2.1.32 is here with one main feature in focus, due to user requests, and that is report generation. It's now possible to generate code rule violation reports for a solution, with different templates. Report data is stored as XML and XSLT is used to transform the data into different reports. The XSL templates included are a detailed violations report for every code file in a solution and a summary report showing the total number of violations of a specific kind, i.e. name, visibility, implementation. It's also possible to add custom report templates by simply adding them to the ReportTemplates directory.

Report generation can be accessed through the context menu of the solution, where it's also possible to activate/deactive Code Style Enforcer.

DXCore 2.5.8 is now required for this version of Code Style Enforcer. Uninstall any previous versions of Code Style Enforcer and DXCore, before installing the new versions.
5 comments ( 82 views )   |  related link

What's Going On?! 
Thursday, October 11, 2007, 08:53 PM - Code Style Enforcer
It’s been quite some time now, since I last posted some information about what’s going on. Well, to tell you the truth, I’ve been rather busy lately, changing employer among other things. So, unfortunately I’ve not been having that much time with Code Style Enforcer, but hopefully that will change.

The earlier posted information about a new version with a more detailed configuration of the code rules, e.g. different name rules depending on visibility or keyword, will have to wait a little longer, due to some architectural decisions.

A new version is planned to be released real soon though, containing a new feature where it’s possible to generate a report, i.e. XML file, containing information about all code rule violations for all files in a solution. Some users have wished for a feature like this, so I thought it would be a good thing to implement. That‘s what’s being agile after all.

A fix with the MSI installation of Code Style Enforcer for Windows Vista x64 is also planned for this release. I think you can expect this new release within a week or two…
3 comments ( 38 views )   |  related link

New Version 2.1.29 of Code Style Enforcer 
Wednesday, August 22, 2007, 05:28 PM - Code Style Enforcer
Here comes a new version with some minor, but yet quite inconvenient, bug fixes. Almost eight hundred unique downloads of version 2.1.25, closing in on one thousand ;)! Feels very good that so many are downloading it and at least are trying it out. Thanks!

New Features

• Code Style Enforcer activation dialog made more attractive.

• More nicer looking icons.

Bug Fixes

• Visual Studio crashed, due to a bug in DXCore, when attempting to parse a class with inheritance like: class ClassXXX : ClassXXX { }.

• Installation showed a non-informative error message, "Object reference not set to an instance of an object", when DXCore wasn't installed.
1 comment ( 8 views )   |  related link

Bug Fixes in the Next Release 
Friday, August 17, 2007, 11:17 AM - Code Style Enforcer
The upcoming version, will be released with a couple of days, and will most probably not contain any new features but instead some minor bug fixes.

Bugs Fixed:
• Workaround due to a bug in DXCore, which made Visual Studio crash when interhiting yourself, i.e. same sub class as base class.

• Installation now reports an informative message if DXCore is not installed, instead of "Object reference not set to an instance of an object".

If you know any more bugs, please let me know, and I might be able to fix them for this upcoming release.

Unfortunately I've not had enough time during my vacation to look more into the implementation of having multiple name rules for the same code type but with different visibilities or keywoards, e.g. public fields and private fields. But I don't think it will introduce to much problems for me, so I think there might be a first version out within a couple of weeks.
1 comment ( 8 views )   |  related link

Back Next