01
Technologies and end of support
Every language, framework and database, with its version, its end-of-support date and how far it lags the current release.
You inherited a piece of software, you are torn between fixing it and rebuilding it, or you want to know whether the code you pay for holds up. An independent audit answers with evidence, not impressions.
The code stayed, the knowledge left. Before handing the software to a new team, you need to know what it is taking over.
It is the most expensive decision to make on instinct. The audit puts both options side by side, with what supports each one.
Part of the company’s value rests on its platform. A neutral reading of the code belongs in the due diligence.
Deadlines stretch for no visible reason. It often means technical debt now sets the pace.
An intrusion, a failed penetration test, a privacy law question: the audit looks for the causes in the code, not only the door that was used.
The real question is not whether your code is good. It is whether it can carry what comes next: growth, a new team, a sale.
The report answers that question, with the evidence.
01
Every language, framework and database, with its version, its end-of-support date and how far it lags the current release.
02
Tables, foreign keys, normalization: a poorly cut model limits what your data can tell you.
03
Complexity, duplication, automated tests, the language of the code: what makes every change slow or risky.
04
Hand-built queries, permissions, passwords, vulnerable dependencies, personal data under Québec’s privacy law.
05
Where your business rules live: in a layer of their own, or mixed into the screens and the controllers.
06
Navigation, consistent screens, forms, error messages and phone display, walked through as a new user would.
01 Scoping
| Item | Detail | Provided by | Status |
|---|---|---|---|
| Audit question | Keep and update, or rebuild? | Management | Agreed |
| Confidentiality agreement | Signed before any access | Witify | Signed |
| Code repository | Full copy, with its history | Alpha Group | Received |
| Database | Structure and anonymized data | Alpha Group | Received |
| Hosting | Read access to the server | Current vendor | Pending |
| Live application | One test account per role | Alpha Group | Received |
A four-part technical analysis report, presented to management and to the IT team. Planned duration: four weeks.
02 Measures
03 Reading
// Sales by region report
82 public function salesByRegion(string $region, string $from): array
83 {
84 $sql = "SELECT c.name, SUM(l.total) AS total
85 FROM orders o
86 JOIN customers c ON c.id = o.customer_id
87 JOIN order_lines l ON l.order_id = o.id
88 WHERE o.region = '" . $region . "'
89 AND o.created_at >= '" . $from . "'
90 GROUP BY c.name
91 ORDER BY total DESC";
92
93 return $this->connection->fetchAllAssociative($sql);
94 }
95
96 // A customer’s open orders
04 Interviews
A customer portal planned for the summer
UpcomingThe software must keep up with a second branch opening
UpcomingOnly the current vendor knows the server
BlockingThe Monday report takes several minutes
IrritantDuplicate orders get fixed in Excel
IrritantPeople avoid touching the tax calculation
BlockingUpdates are made straight in production
BlockingThe documentation dates from launch
IrritantTwo modules no longer have an owner
Irritant05 Report
The rebuild then follows our development method, from discovery to quality testing. The report is its starting point.
src/Repository/ReportRepository.php:88
High
Security
src/Repository/ReportRepository.php:88
Finding
Three report queries insert a filter typed on screen straight into the SQL text. A malicious filter could read other data.
Recommendation
Move these three queries to bound parameters. A targeted fix, to do first.
Order rules written in the controllers
src/Controller/OrderController.php:214
Medium
Scalability
src/Controller/OrderController.php:214
Tax calculation written twice
src/Service/QuoteService.php:57
Medium
Data integrity
src/Service/QuoteService.php:57
No tests on invoicing
tests/Invoice/ (missing)
Medium
Maintenance
tests/Invoice/ (missing)
Order status stored as free text
orders.status
Medium
Data value
orders.status
Identifiers in French and in English
src/Entity/Commande.php:23
Low
Readability
src/Entity/Commande.php:23
The same outline from one audit to the next. The document belongs to you and can circulate without us.
The last part of the report compares both options on the same points, then takes a position. We recommend a rebuild when several foundations give way at once: a language or framework at end of life, hand-written data access, weak security, no tests at all. Otherwise, keeping the software and updating it is often the better choice.
When the rebuild wins, what comes next is described on our modernization page and, for a PHP system, our PHP rewrite page.
| Point | Keep and update Recommended | Rebuild on Laravel and Vue |
|---|---|---|
| Starting point | The current code, updated version by version | A new base, data carried over from the old one |
| New features | Alongside the updates | After the migration |
| What limits it | Symfony to catch up over four versions | A higher initial investment |
| Debt found | Concentrated in the reports module | Corrected by the rebuild |
| Duration and budget | To be assessed | To be assessed |
Keep and update. Data access goes mostly through the ORM and the debt is concentrated in the reports. PHP and MySQL first, then Symfony version by version, with tests around orders and invoicing.
01
What gets fixed this week, what gets planned, what can stay as is: we rank the findings with you, by the risk and the effort of each one.
02
The same tools, run again on the corrected code. The grades by axis show what really moved, and the next weak spot to address.
03
An end of support coming up, a release that removes an irritant, a task automation or AI would do better: we point out what is worth the investment, and what can wait.
04
A module to add, another vendor’s quote, software to acquire: we read every proposal in the light of what the audit showed.
Before proposing an approach, Witify analyzed the code and the database of the old CuistotNet, the ordering, production and invoicing software of Cuistot du Marchand. The rebuild started from that survey: recipes, orders, invoices and years of history came along.
What we are asked before someone opens a code repository to us.
Another question? Write to us at info@witify.io or call 1 800 334 9031.
A code review is a daily practice: a developer reads a colleague’s work before it is merged. A code audit is a one-off, independent mandate. It examines the code, the database and the hosting to inform a business decision: invest, acquire, rebuild or carry on.
A technical analysis report in four parts: the state of the technology (versions, end of support, database, grades by axis), the architecture findings, the improvement opportunities, then the comparison between keeping the software and rebuilding it, with a recommendation.
Every finding cites a file and a line, its severity and what is at stake for your operations. Management and the technical team can both read it.
Between one and four weeks in the vast majority of cases. The duration depends on the size of the codebase, the number of integrations and the depth requested. A scoping audit, meant to settle the fix-or-rebuild question, often wraps up in a week.
The price follows the effort, so the size and complexity of the system. It is a fixed-scope mandate: we agree on the perimeter and the deliverables before starting. The amount does not move afterwards. Compared with the cost of a rewrite launched on a bad assumption, it is often the most profitable spend of the project.
We mainly audit PHP applications (Laravel, Symfony, CodeIgniter, Zend, CakePHP, framework-less code), JavaScript and TypeScript (Node, Vue, React), along with MySQL, MariaDB and PostgreSQL relational databases. Our technologies page details our coverage.
Yes: the audit rests on reading the code. We sign a non-disclosure agreement on request, before any access. We work on an isolated copy and destroy the copies at the end of the mandate. An anonymized database is enough in most cases.
That is in fact the most frequent case. Our independence is the value of the mandate: we did not write this code and we have nothing to defend. The report stays factual and belongs to you, including if you choose to stay with your current vendor.
No. A share of our audits conclude that the system is sound and that a few specific points simply need fixing. When a rewrite or a modernization is the right call, the report explains why, with numbers to back it.
You decide. You can hand the action plan to your internal team, to your current vendor, or ask us to carry it out under a support and maintenance mandate. The report is yours, with no obligation to continue.
No, the two complement each other. A penetration test attacks the application from the outside and proves a flaw is exploitable. A code audit reads the inside and finds the structural weaknesses an attack has not reached yet. On sensitive systems, do both.
The report describes the code, not the people. Software carries the constraints of its time: tight deadlines, needs that changed, tools that aged. Each notion is explained before it is assessed, and the report sticks to facts.
Your team can even use it to back the work it is already asking for.
They are essential for measuring: complexity, duplication, known flaws, versions at end of life. But a tool counts paths through the code without understanding what they mean. It sees neither a business rule written twice under two names nor a poorly thought-out permission.
So every finding in the report has been opened and read in the code. False alerts are dropped before writing.
In 30 minutes, an expert pins down with you the decision to make, the access to plan for and how long the audit will take.
Free. No commitment. Reply within 24 hours.
Names and figures shown in the interfaces are examples.