Per-Developer vs Per-Repo Subscription
1. What is KSLOC?
2. What is the difference between Per-Repo and Per-Developer licensing?
Per-Repo licensing means that you are purchasing one subscription for one source repository. The price does not depend on the size of the code repository, but on the number of Source Lines Of Code (SLOC) to which you apply PostSharp. So you can get starting adding PostSharp to a large team and project - just for 250$.
You can have unlimited number of developer working with the license, as long as the size of the code to which you apply PostSharp does not exceed the number of KSLOC you purchased. If that happens, you can purchase additional number of KSLOC at anytime.
Check below to find out how many KSLOC you should buy.
Per-Developer licensing means that the subscription is bought for one or more users. There are no limits to the number of KSLOC nor repositories whatsoever.
3. Which type of licensing is the best for my team?
- There are a lot of developers on your team but you want to start using PostSharp on a small project or component.
- Your team wants to build a component using PostSharp that other people will use, and you don’t want them to have a PostSharp license.
- You want to start small as you cannot estimate how big your project will become.
- You are not sure how many developers in the team will be using PostSharp.
- You are just starting with PostSharp and you don’t want to have big commitment until you test it works for you.
- You have fixed or predictable number of developers who are going to build code enhanced by PostSharp.
- Your company has strong privacy and security requirements and cloud-based licensing is not acceptable for you.
- Your company is simply more comfortable with a traditional per-developer licensing model.
4. I want to buy Per-Repo subscription, how many KSLOC should I buy?
1. Download and run PostSharp SLOC Counter
PostSharp counts 1 line per declaration and per debugging step
2. Divide this number by 5
Customers typically add aspects to 10-20% of their code. With per-repo licenses, you pay as you use.
3. Remove 1000
Every subscription comes with 1 KSLOC for free.
Example. You have a solution Foo.sln where Visual Studio Code Metrics compute 18 KSLOC. Using PostSharp SLOC Counter, you figure out that PostSharp sees only 10 KSLOC (that’s fine, the rest are probably comments, namespace statements, and so on). You’re likely to add aspects to 20% of this code, that’s 2 KSLOC. 1 comes for free, so you need to purchase 1.
Don’t worry if you get it wrong. You can increase your repo size at any time without penalty.
5. I want to buy Per-Developer subscription, how do I know how many seats I need?
Lite vs Standard Per-Developer Subscription
|LITE SUBSCRIPTION||STANDARD SUBSCRIPTION|
|Includes Perpetual License||No||Yes|
|Includes 1 Year of Support||Yes||Yes|
|Price Level, 1st year||70%||100%|
|Price Level, next years||70%||60% - 70% - 85%|
|Early Bird renewal discounts||No||Yes|
|Switch to Perpetual Plus Subscription||Yes
(remaining value of your subscription discounted)