Home >
Coding Standards
Coding Standards
Throughout the years, we have built up a lot of expertise in defining, implementing and maintaining coding standards. PRECILOG and TIOBE not only ensure that the rules are relevant, so your organization can create high-quality code, but also puts significant effort into avoiding false positives and false negatives.
In alignment with customers, TIOBE analyzes patterns to derive additional rules. These rules are then added to the standard to ensure specific field issues and defects from reoccurring. In order to have the best coding standards possible, we participate in many coding standard boards in customer organizations, often in a leading position.
|
|
|
The following publicly available coding standards are actively maintained by TIOBE:
See the TIOBE Quality Indicator on how the coding standards are measured by TIOBE.
|
Are you interested in how our TiCS framework can help your organization improve its software quality? Feel free to contact us using the contact form on the right to request a free demo, a TiCS evaluation or apply to our "20-Bugs Challenge".
TiCS supports a vast amount of languages, code checkers and tools that we can integrate into our framework. You can find them on this page: list of supported tools.
|
|
When should I invest in an automated quality framework like TiCS?
|
+
|
When should I invest in an automated quality framework like TiCS?
|
|
The sooner the better, for many reasons. The most important reasons are:
Your code base is growing, and with that your technical debt. The longer you wait, the more code that needs to be rewritten.
TiCS does not only point out the issues with code quality, it also educates the developers in writing better code. It takes time and effort to improve the development skills of your developers.
|
How do you ensure rules and checks are balanced?
|
+
|
How do you ensure rules and checks are balanced?
|
|
Sometimes coding standard rules are not straightforward. For example the line length limit is set to 100. You might want to allow 105 in particular case. Simply because it’s not about the line length but really about readability of code. How can one ensure these rules and checks are “humane”?
The maximum length of a line is just one rule to increase readability, and not the most important one as well. At PRECILOG we have 2 means to have a workable solution:
Setting severity levels to rules to ensure the focus is on the most important rules.
Allowing suppressions for specific rules at specific locations in the code to ensure you can deviate if there is a good reason for it. Good to mention is that you also receive a clear overview of all suppressions in the code.
|
How does TiCS contribute to agile development methodologies?
|
+
|
How does TiCS contribute to agile development methodologies?
|
|
Agile methodologies like Test Driven Development (TDD) and Pair Programming (PP) can contribute to a faster development process and more importantly more reliable code. TIOBE contributes to this process in several ways. Just to mention a few:
TiCS measures code coverage on a continuous basis. Doing so, TIOBE supports in monitoring to which extent TDD is applied effectively throughout the project.
TiCS can be run from an IDE, before checking in the code. TiCS allows filtering on critical violations to the coding standard, making the pair programming more effective, focusing on the positive business impact that the code should make.
|
How does the feedback of a code quality tool like TiCS help in improving the code?
|
+
|
How does the feedback of a code quality tool like TiCS help in improving the code?
|
|
Feedback is key to improvement. Therefore TIOBE is putting all efforts in providing the feedback as soon as possible, and in the right format, from bit to board.
At development-level, feedback is provided via direct checking of the code, before it is checked in, but also with quality gates stopping defects slipping through. Marking what is wrong, why it’s wrong and how to do it better.
At management level, our TiCS dashboard highlights which projects are improving, where the major risks are in your software products and which systems are at acceptable quality levels.
This way, TIOBE helps in not only fixing violations, but ensuring that the code is improving.
|
|
Latest news
2024 November 11
Robin Radar Systems checks code quality
Robin Radar Systems, developer of bird and drone radar detection systems, starts using TIOBE's TiCS Framework to measure code quality.
2024 June 21
Schiphol checks code quality
Schiphol, Europe's 4th largest airport with over 60 million yearly passangers, starts using TIOBE's TiCS Framework to measure code quality.
2023 October 18
Fortune Technologies checks code quality
Fortune Technologies, a Taiwanese high-tech firm that provides enterprise IT solutions, has started to use TIOBE's TiCS Framework to measure code quality.
|